;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@NPCQuest_Check]
{
#ACT
mov D0 0
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\NpcQuest_Def\17Agent_Numa-4.txt] @Convert_17Agent_Numa-4_0

#IF
#ACT
LoadValue P1 "\QuestDiary\Judgement\Flag.txt" [T03] [End]
LoadValue P2 "\QuestDiary\Judgement\Flag.txt" [T05] [End]
#IF
Equal P1 1
Equal P2 0
checkitem °ÔÈºµñÏñ 1

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\NpcQuest_Def\17Agent_Numa-4.txt] @Convert_17Agent_Numa-4_1

#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\NpcQuest_Def\17Agent_Numa-4.txt] @Convert_17Agent_Numa-4_2

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

[@getmission_Check_0()]
#ACT
mov A1 %ARG(1)
mov A2 %ARG(2)

#IF
Equal A1 "Q051"
Equal A2 "Start"
#ACT
GOTO @051select
break


#IF
Equal A1 "Q005"
Equal A2 "Start"
#ACT
GOTO @005select
break


#IF
Equal A1 "Q006"
Equal A2 "Start"
#ACT
GOTO @006select
break


#IF
Equal A1 "Q008"
Equal A2 "Start"
#ACT
GOTO @008select
break


#IF
Equal A1 "Q009"
Equal A2 "Start"
#ACT
GOTO @009select
break


#IF
Equal A1 "Q013"
Equal A2 "Start"
#ACT
GOTO @013select
break


#IF
Equal A1 "Q050"
Equal A2 "Start"
#ACT
GOTO @050select
break


#IF
Equal A1 "Q052"
Equal A2 "Start"
#ACT
GOTO @052select
break

#IF
#ACT
LoadValue P2 "\QuestDiary\Judgement\Flag.txt" [014] [End]

#IF
Equal A1 "Q1318"
Equal A2 "Start"
Equal P2 0

#ACT
GOTO @014select
break


#IF
#ACT
LoadValue P2 "\QuestDiary\Judgement\Flag.txt" [015] [End]

#IF
Equal A1 "Q1418"
Equal A2 "Start"
Equal P2 0
#ACT
GOTO @015select
break

#IF
#ACT
LoadValue P2 "\QuestDiary\Judgement\Flag.txt" [016] [End]

#IF
Equal A1 "Q1422"
Equal A2 "Start"
Equal P2 0
#ACT
GOTO @016select
break

#IF
#ACT
LoadValue P2 "\QuestDiary\Judgement\Flag.txt" [020] [End]

#IF
Equal A1 "Q1323"
Equal A2 "Start"
Equal P2 0
#ACT
GOTO @020select
break


#IF
#ACT
GOTO @Normal_Talk
break

[@Normal_Talk]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\NpcQuest_Def\17Agent_Numa-4.txt] @Convert_17Agent_Numa-4_3

[@get_pagun_sell]
#IF
checkitem °ÔÈºµñÏñ 1
#ACT
take °ÔÈºµñÏñ 1
give ½ð±Ò 50000

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\NpcQuest_Def\17Agent_Numa-4.txt] @Convert_17Agent_Numa-4_4

#ACT
break
#ELSEACT
break

#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\NpcQuest_Def\17Agent_Numa-4.txt] @Convert_17Agent_Numa-4_5

[@005select]
#CALL [\\Judgement\Story\005\005NPC.txt] @005_Agent

[@006select]
#CALL [\\Judgement\Story\006\006NPC.txt] @006_Agent

[@008select]
#CALL [\\Judgement\Story\008\NPC008A.txt] @008_Agent

[@013select]
#CALL [\\Judgement\Story\013\NPC013.txt] @013_Agent

[@014select]
#CALL [\\Judgement\Story\1318\NPC014.txt] @014_Agent

[@015select]
#CALL [\\Judgement\Story\1418\015NPC.txt] @015_Agent

[@016select]
#CALL [\\Judgement\Story\1422\016NPC.txt] @016_Agent

[@020select]
#CALL [\\Judgement\Story\1323\NPC020A.txt] @020_Agent

[@051select]
#CALL [\\Judgement\Story\051\NPC051.txt] @051_Agent




[@050select]
#CALL [Judgement\Story\050\050npc.txt] @050_Officer

[@052select]
#CALL [Judgement\Story\052\NPC052.txt] @052_Officer
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;