;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[T03_urg]
{
#ACT
ReadValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBCONDITION" [T03_urg_0]
#ELSEACT
break

[T03_urg_0()]
#ACT
mov A1 %ARG(1)
LoadValue P1 "QuestDiary\Judgement\Flag.txt" [T03] [EventStart]
LoadValue P2 "QuestDiary\Judgement\Flag.txt" [T03] [GiveTimeOver]
LoadValue P3 "QuestDiary\Judgement\Flag.txt" [T03] [end]

#IF
Equal P1 1
Equal P2 1
Equal A1 "End"
#ACT
Goto @T03NPC_Normal
break

#IF
Equal P1 1
Equal P2 1
#ACT
Goto @T03NPC_Timeover
break

#IF
Equal P1 1
Equal P2 0
!Equal A1 "End"
#ACT
Goto @T03NPC_gogo
break

#IF
Equal P1 0
Equal P2 0
!Equal A1 "End"
#ACT
Goto @T03NPC_Doing
break

#ELSEACT
Goto @T03NPC_Normal
break

[@T03NPC_Normal]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\T03\T03Npc.txt] @Convert_T03Npc_0

[@T03NPC_Timeover]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\T03\T03Npc.txt] @Convert_T03Npc_1

[@T03NPC_Doing]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\T03\T03Npc.txt] @Convert_T03Npc_2

[@T03NPC_gogo]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\T03\T03Npc.txt] @Convert_T03Npc_3

[@T03NPC_okgo]
#ACT
mapmove D1601 68 260 15

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