;;; HalloweenNPC / Teleports back from 13 to OldBichon / Toxin ;;;


[@HalloweenNPC2]
{
#SAY
Do you wish to return to the realm of the living <$USERNAME> ?\
\
<[ Yes please ]/@YesMoveMe>\\
;<[ Check Personal Kills ]/@CheckKills>\\
;<[ Female ToxinsUnderwear ]/@ToxUn>\\
<[ GoodBye ]/@exit>\\\

[@ToxUn]
#IF
CheckItem ToxinsUnderwear 1
#ACT
Take ToxinsUnderwear 1 
Give ToxinsUnderwear(F) 1
#SAY
<[ GoodBye ]/@exit>\\\


[@YesMoveMe]
#ACT
MapMove 10 311 265
break


[@CheckKills]
#IF
#ACT
FormatStr "FLD_QUEST ='Halloween' and FLD_CHARACTER='%s'" %USERNAME
ReadValueSql "TBL_StingQuests" %A9 "FLD_VAR1" @EvilDeadOne


[@EvilDeadOne()]
#ACT
mov D1 %ARG(1)
#SAY
You have <$OUTPUT(D1)> Points\\
<[ GoodBye ]/@exit>\

}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;