;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@clearquest_1]
{

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_0

[@RQUESTclear]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_1

#ACT
UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBRANDOM'" "FLD_JOBNAME='T0',FLD_JOBCONDITION='End'"



[@SQuestclear]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_2

[@Quest01clear]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_3

[@Quest02clear]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_4

[@Quest03clear]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_5

[@Quest04clear]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_6

[@Quest05clear]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_7

[@Quest06clear]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_8

[@Quest08]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_9

[@allquestclear]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_10

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T0',FLD_JOBDAYCOUNT=0,FLD_JOBCONDITION='End'"


DelayGoto [Grobal] 2 @T1Questclear
DelayGoto [Grobal] 4 @052Questclear
DelayGoto [Grobal] 6 @T2Questclear
DelayGoto [Grobal] 8 @050Questclear
DelayGoto [Grobal] 8 @loding


DelayGoto [Grobal] 10 @T3Questclear
DelayGoto [Grobal] 12 @T4Questclear
DelayGoto [Grobal] 14 @051Questclear
DelayGoto [Grobal] 16 @T00Questclear
DelayGoto [Grobal] 16 @loding1

DelayGoto [Grobal] 18 @T001Questclear
DelayGoto [Grobal] 20 @002Questclear
DelayGoto [Grobal] 22 @004Questclear
DelayGoto [Grobal] 24 @005Questclear
DelayGoto [Grobal] 24 @loding2


DelayGoto [Grobal] 26 @006Questclear
DelayGoto [Grobal] 28 @007Questclear
DelayGoto [Grobal] 30 @008Questclear
DelayGoto [Grobal] 32 @T01Questclear
DelayGoto [Grobal] 32 @loding3



DelayGoto [Grobal] 34 @009Questclear
DelayGoto [Grobal] 36 @010Questclear
DelayGoto [Grobal] 38 @011Questclear
DelayGoto [Grobal] 40 @012Questclear
DelayGoto [Grobal] 40 @loding4


DelayGoto [Grobal] 42 @013Questclear
DelayGoto [Grobal] 44 @T02Questclear
DelayGoto [Grobal] 46 @1318Questclear
DelayGoto [Grobal] 48 @1418Questclear
DelayGoto [Grobal] 48 @loding5



DelayGoto [Grobal] 50 @1422Questclear
DelayGoto [Grobal] 56 @loding6


DelayGoto [Grobal] 58 @1323Questclear
DelayGoto [Grobal] 64 @loding7


DelayGoto [Grobal] 66 @024Questclear
DelayGoto [Grobal] 68 @025Questclear
DelayGoto [Grobal] 72 @loding8


DelayGoto [Grobal] 74 @T03Questclear
DelayGoto [Grobal] 76 @T04Questclear
DelayGoto [Grobal] 78 @029Questclear
DelayGoto [Grobal] 80 @030Questclear
DelayGoto [Grobal] 80 @loding9

DelayGoto [Grobal] 82 @031Questclear
DelayGoto [Grobal] 88 @loding10


DelayGoto [Grobal] 94 @T06Questclear
DelayGoto [Grobal] 94 @loding11
goto @lodin

[@lodin]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] [Convert] [Msg0]
speak %A7


[@loding]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] [Convert] [Msg1]
speak %A7




[@loding1]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] [Convert] [Msg2]
speak %A7


[@loding2]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] [Convert] [Msg3]
speak %A7

[@loding3]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] [Convert] [Msg4]
speak %A7

[@loding4]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] [Convert] [Msg5]
speak %A7

[@loding5]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] [Convert] [Msg6]
speak %A7

[@loding6]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] [Convert] [Msg7]
speak %A7

[@loding7]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] [Convert] [Msg8]
speak %A7

[@loding8]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] [Convert] [Msg9]
speak %A7

[@loding9]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] [Convert] [Msg10]
speak %A7

[@loding10]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] [Convert] [Msg11]
speak %A7

[@loding11]
#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T0',FLD_JOBDAYCOUNT=0,FLD_JOBCONDITION='End'"
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] [Convert] [Msg12]
speak %A7




[@T1Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_11

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T0',FLD_JOBDAYCOUNT=0,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0



[@052Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_12

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T1',FLD_JOBDAYCOUNT=0,FLD_JOBCONDITION='End'"
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [052] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [052] [Position] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [052] [PreTell] 0



[@T2Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_13

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q052',FLD_JOBDAYCOUNT=1,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0




[@050Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_14

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T2',FLD_JOBDAYCOUNT=1,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [050] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [050] [GiveTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [050] [KillNuma] 0



[@T3Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_15

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q050',FLD_JOBDAYCOUNT=2,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0



[@T4Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_16

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T3',FLD_JOBDAYCOUNT=2,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0



[@051Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_17

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T4',FLD_JOBDAYCOUNT=2,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [051] [MonZen] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [051] [EnterGate] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [051] [CloseGate] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [051] [HumanRun] 0



[@T00Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_18

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q051',FLD_JOBDAYCOUNT=3,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0



[@T001Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_19

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T00',FLD_JOBDAYCOUNT=3,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0




[@002Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_20

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T001',FLD_JOBDAYCOUNT=3,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [002] [GiveTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [002] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [002] [ReadingNow] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [002] [ReadLetter] 0



[@004Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_21

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q002',FLD_JOBDAYCOUNT=3,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [004] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [004] [GiveTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [004] [GroupTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [004] [EventStart] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [004] [QuestSuccess] 0




[@005Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_22

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q004',FLD_JOBDAYCOUNT=4,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [005] [OpenGate] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [005] [CloseGate] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [005] [QuestSuccess] 0



[@006Questclear]

#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_23

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q005',FLD_JOBDAYCOUNT=4,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [006] [GateOpen] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [006] [GateClose] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [006] [FirstFailed] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [006] [SecondFailed] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [006] [ThirdFailed] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [006] [QuestSuccess] 0



[@007Questclear]

#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_24

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q006',FLD_JOBDAYCOUNT=7,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [007] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [007] [RecieveMail] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [007] [SendMail] 0



[@008Questclear]

#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_25

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q007',FLD_JOBDAYCOUNT=7,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [008] [EventStart] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [008] [GiveTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [008] [Result] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [008] [Result2] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [008] [HumanCount] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [008] [HumanCount2] 0



[@T01Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_26

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q008',FLD_JOBDAYCOUNT=8,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0



[@009Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_27

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T01',FLD_JOBDAYCOUNT=8,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [009] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [009] [GrupTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [009] [EventStart] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [009] [QuestSuccess] 0



[@010Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_28

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q009',FLD_JOBDAYCOUNT=8,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [010] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [010] [GrupTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [010] [EventStart] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [010] [QuestSuccess] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [010] [GiveTimeOver] 0




[@011Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_29

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q010',FLD_JOBDAYCOUNT=8,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [011] [mon] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [011] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [011] [GrupTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [011] [EventStart] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [011] [QuestSuccess] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [011] [GiveTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [011] [Missionsay] 0




[@012Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_30

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q011',FLD_JOBDAYCOUNT=9,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [012] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [012] [RecieveSay] 0




[@013Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_31

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q013',FLD_JOBDAYCOUNT=9,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [013] [OpenGate] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [013] [CloseGate] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [013] [FirstFailed] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [013] [SecondFailed] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [013] [ThirdFailed] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [013] [QuestSuccess] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [013] [GateOpen] 0



[@T02Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_32

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T02',FLD_JOBDAYCOUNT=11,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0




[@1318Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_33

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T02',FLD_JOBDAYCOUNT=12,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [014] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [014] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [014] [GiveTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [014] [GroupTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [014] [EventStart] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [014] [QuestSuccess] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [018] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [018] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [018] [RecieveMail] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [018] [QuestSuccess] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [019] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [019] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [019] [RecieveMail] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [019] [SendMail] 0


[@1323Questclear]

#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_34

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q1318',FLD_JOBDAYCOUNT=12,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [020] [EventStart] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [020] [GiveTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [020] [Result] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [008] [Result2] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [020] [HumanCount] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [020] [HumanCount2] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [020] [HumanCountr] 0





[@1418Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_35

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q1323',FLD_JOBDAYCOUNT=13,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [015] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [015] [HumanCount] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [015] [SuccessCount] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [017] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [017] [HumanCount] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [021] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [021] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [021] [RecieveMail] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [021] [SendMail] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [022] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [022] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [022] [RecieveMail] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [022] [Eventstart] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [022] [GrupTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [022] [SendMail] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [026] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [026] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [026] [GrupTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [026] [EventStart] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [026] [QuestSuccess] 0



[@1422Questclear]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_36

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='1418',FLD_JOBDAYCOUNT=13,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [016] [Open] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [016] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [016] [HumanCount] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [023] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [023] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [023] [GrupTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [023] [Eventstart] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [023] [QuestSuccess] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [027] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [027] [QuestUserName1] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [027] [QuestUserName2] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [027] [QuestUserName3] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [027] [AmorMove] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [027] [JeasMove] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [027] [TumoMove] 0



[@024Questclear]

#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_37

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q1422',FLD_JOBDAYCOUNT=14,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [024] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [024] [QuestSuccess] 0



[@025Questclear]

#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_38

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q024',FLD_JOBDAYCOUNT=14,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [025] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [025] [GrupTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [025] [EventStart] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [025] [QuestSuccess] 0




[@T03Questclear]

#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_39

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q025',FLD_JOBDAYCOUNT=15,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [T03] [GiveTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [T03] [MapClose] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [T03] [Eventstart] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [028] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [028] [AttackGuild] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [028] [NormalGuild] 0




[@T04Questclear]

#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_40

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T03',FLD_JOBDAYCOUNT=16,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0




[@029Questclear]

#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_41

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T04',FLD_JOBDAYCOUNT=16,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [029] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [029] [GiveTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [029] [GroupTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [029] [EventStart] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [029] [QuestSuccess] 0



[@030Questclear]

#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_42

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q029',FLD_JOBDAYCOUNT=17,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [030] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [030] [GiveTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [030] [GroupTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [030] [EventStart] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [030] [QuestSuccess] 0



[@031Questclear]

#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_43

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q030',FLD_JOBDAYCOUNT=17,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [031] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [031] [GiveTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [031] [RecieveMail] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [031] [SendMail] 0

































[@T06Questclear]

#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST1.txt] @Convert_GMTEST1_44

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T05',FLD_JOBDAYCOUNT=19,FLD_JOBCONDITION='End'"

SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0


[@Defult_JB_Contorol_1]
#CALL [\Judgement\StoryControl.txt] @SuperMainControl
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;