;;;;;;;;;;;;;NPC for JinchonTemple Quests - Toxin;;;;;;;;;;;;;

[@Main]
#IF
check [450] 0
check [451] 0
#SAY
Hello friend, may I ask a favour of you?\
\
<[ Sure thing ]/@ShadowQuestBegin_0>\
<[ No way! ]/@exit>\\\
#ACT
break

;;;; Checks if quest has been started previously ;;;;

#IF
check [450] 1
check [451] 0
#ACT
goto @ShadowQuestBegin_1
break

;;;; Skips intro if quest has been started ;;;;

#IF
#SAY
You have already completed my trial, go and see\
my brother, Freddy, who will set you your next\
task.\
\
<[ I'm on it! ]/@exit>\\\

;;;; Sends you to next NPC if flag [451] shows as complete ;;;;

[@ShadowQuestBegin_0]
#IF
#SAY
Thanks for accepting my task.  If you can complete it\
then you're ready to take on the ShadowTemple quests\
set by my brothers.\
\
Please travel to my training room and slay some of the\
ShadowDemons you find there.\
\
<[ Ok, lets go ]/@ShadowQuestBegin_1>\
<[ I need more information first ]/@ShadowQuestBegin_Info>\
<[ Maybe later... ]/@exit>\\\

[@ShadowQuestBegin_1]
#IF
#SAY
All I ask is that you slay some of the shadow creatures\
that I've imprisioned.  Once you have killed enough of\
them and proved your worth I will tell my brothers that\
you are ready.  Let me know when you're ready to leave.\
\
<[ I'm ready now ]/@ShadowQuestBegin_2>\
<[ I'll be back in a minute ]/@exit>\\\

[@ShadowQuestBegin_2]
#IF
#ACT
set [450] 1
#ACT
map 3_000
#ELSEACT
goto @Main


[@ShadowQuestBegin_Info]
#IF
#SAY
ShadowTemple is a dark place plagued by the shadows\
of fallen kings.  Left unchecked these kings can\
even regain their former strength and that wouldn't\
be a good thing.\
\
Heroes are needed to keep them in the shadow lands\
for as long as it takes.  My brothers and I have done\
this for years, but age has not been as kind to us\
as it has the shadow creatures, and we now need to\
find suitable heroes to take our place.\
\
<[ Back ]/@Main>\
<[ Exit ]/@exit>\\\
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;