;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@NPCQuest_Check]
{
#IF
CheckPos DQ1600_22 139 27 5
#ACT
Goto @mission_Selection
break

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

[@mission_Selection]
#ACT
ReadValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME,FLD_JOBCONDITION" [@mission_Selection_0]


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

#IF
Equal A1 "Q1422"
Equal A2 "Start"
equal P2 0
#ACT
Goto @023select
break
end

[@023select]
#CALL [Judgement\Story\1422\NPC023.txt] @023_Npc
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;