;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@T2Start]
{
#ACT
ReadValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME,FLD_JOBCONDITION" [@T2Start_0]

[@T2Start_0()]
#ACT
mov B1 %ARG(1)
mov B2 %ARG(2)
#IF
Equal B1 "T2"
Equal B2 "Start"
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T2\T2.txt] [Convert] [Msg0]
EventMsg Grobal %A7 10081
DelayGoto [Grobal] 12 @setT2_1

[@setT2_1]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T2\T2.txt] [Convert] [Msg1]
EventMsg Grobal %A7 10005
DelayGoto [Grobal] 12 @setT2_2

[@setT2_2]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T2\T2.txt] [Convert] [Msg2]
EventMsg Grobal %A7 10081
DelayGoto [Grobal] 12 @setT2_3

[@setT2_3]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T2\T2.txt] [Convert] [Msg3]
EventMsg Grobal %A7 10005
DelayGoto [Grobal] 12 @setT2_4

[@setT2_4]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T2\T2.txt] [Convert] [Msg4]
EventMsg Grobal %A7 10008
DelayGoto [Grobal] 12 @setT2_5

[@setT2_5]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T2\T2.txt] [Convert] [Msg5]
EventMsg Grobal %A7 10005
DelayGoto [Grobal] 12 @setT2_6

[@setT2_6]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T2\T2.txt] [Convert] [Msg6]
EventMsg Grobal %A7 10008
DelayGoto [Grobal] 12 @setT2_6_1

[@setT2_6_1]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T2\T2.txt] [Convert] [Msg7]
EventMsg Grobal %A7 10005
DelayGoto [Grobal] 12 @setT2_7

[@setT2_7]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T2\T2.txt] [Convert] [Msg8]
EventMsg Grobal %A7 10005
UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBCONDITION='End'"
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;