;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@NPCQuest_Check]
{
#IF
CheckPos Q022 139 27 1
#ACT
Goto @Topa_Selection
break

#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\NpcQuest_Def\17ToparkQ022_Job-npcroom1.txt] @Convert_17ToparkQ022_Job-npcroom1_0

#ELSEACT
break

[@Topa_Selection]
#ACT
ReadValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME,FLD_JOBCONDITION" [@getmission_Check_0]


[@getmission_Check_0()]
#ACT
mov A1 %ARG(1)
mov A2 %ARG(2)
LoadValue P2 "QuestDiary\Judgement\Flag.txt" [022] [end]

#IF
Equal A1 "Q1418"
Equal A2 "Start"
equal P2 0
#ACT
Goto @022select
break


[@022select]
#CALL [Judgement\Story\1418\NPC022.txt] @022_Topark




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