;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@Main]
#IF
Check  [300] 1

#ACT
Goto @Complete1
Break

#ELSESAY
Hello <$USERNAME> I can tell you a secret\
if you just dont tell anyone!\\
<[ Your secrets safe with me ]/@Next1>\
<[ I can't keep secrets ]/@exit>\\\

[@Next1]
#SAY

Ok here I go, Millions of years ago\
I was the 'right hand' of 'Doom',\
After i betray him, 'Doom' banished me\
from the temple.\\

It has been a long time since I been there\\
... ok ok ok, enough with the story, if you\

want me to get you inside then you have to\
do a favour for me!\\
<[ Ok I will do it ]/@Next2>\\\

[@Next2]
#SAY
Bring me these items :\\
400 ForbiddenFruit\
200 GodStatue\
15 SpiderLine\
10 Relic\
5 Nail\\
<[ I have them! ]/@Next3>\
<[ Or you can just give me 10 mil :P ]/@Next4>\
<[ I'll get the now ]/@exit>\\\

[@Next3]
#IF
CheckItem ForbiddenFruit 400
CheckItem GodStatue 200
CheckItem SpiderLine 15
CheckItem Relic 10
CheckItem Nail 5
#ACT
Take ForbiddenFruit 400
Take GodStatue 200
Take SpiderLine 15
Take Relic 10
Take Nail 5
Set  [300]  1
GiveEXP  %USERNAME 1000000
Give     Gold      5000000
#SAY
Ty for those, I will even offer you\
Some special services now!!\\
<[ Ooo what services? ]/@Complete1>\\
#ELSESAY
You do not have all those items!!\\
Bring me these items :\\
400 ForbiddenFruit\
200 GodStatue\
15 SpiderLine\
10 Relic\
5 Nail\\
<[ I'll get the now ]/@exit>\\\

[@Next4]
#IF
CheckGold  10000000
#ACT
Take  Gold 10000000
Set  [300]  1
#SAY
Ty for that, I will even offer you\
Some special services now!!\\
<[ Ooo what services? ]/@Complete1>\\
#ELSESAY


[@Complete1]
#IF
Check  [300] 1
#SAY
I can offer you the following\\
<[ Move to AncientTemple ]/@MoveToAT>\
;<[ Purchase Drugs ]/@PurchaseDrugs>\
<[ Start Quest for The Lower Dungeon ]/@ATQuestCALL>\
<[ Exit ]/@exit>\\\

[@ATQuestCALL]
#CALL [Quests\ATQuest.txt] @ATMainStart



[@MoveToAT]
#IF
Check  [300]  1
#SAY
<[ Ancient Temple - 1 ]/@MovingNow(AT01,33,210)>\
#IF
Check  [399]  1
#SAY
<[ Ancient Temple - 2 ]/@MovingNow(AT04,267,276)>\\\


[@MovingNow()]
#IF
#ACT
Mov   A1   %ARG(1)
Mov   D1   %ARG(2)
Mov   D2   %ARG(3)

#IF
#ACT
Give TownTeleport 1
Mapmove %A1 %D1 %D2

#SAY
Moving....\

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;