;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@NPCQuest_Check]
{
#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)

#IF
Equal A1 "Q007"
Equal A2 "Start"
#ACT
GOTO @007Call
break

#IF
#ACT

LoadValue P2 "\QuestDiary\Judgement\Flag.txt" [019] [End]
#IF
Equal A1 "Q1318"
Equal A2 "Start"
Equal P2 0

#ACT
GOTO @019select
break

#IF
#ACT
LoadValue P2 "\QuestDiary\Judgement\Flag.txt" [021] [End]
#IF
Equal A1 "Q1418"
Equal A2 "Start"
Equal P2 0

#ACT
GOTO @021select
break


#IF
Equal A1 "Q031"
Equal A2 "Start"
#ACT
GOTO @031Call
break

#IF
#ACT
goto @normaltalk
break

[@normaltalk]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\NpcQuest_Def\17numaofficer_Job-npcroom1.txt] @Convert_17numaofficer_Job-npcroom1_0

[@031Call]
#CALL [\\Judgement\Story\031\031NPC.txt] @031_NPC_Numa

[@007Call]
#CALL [\\Judgement\Story\007\NPC007.txt] @007_NPC_Numa

[@019select]
#CALL [\\Judgement\Story\1318\NPC019.txt] @019_NPC_Numa

[@021select]
#CALL [\\Judgement\Story\1418\NPC021.txt] @021_NPC_Numa
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;