;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@NPCSAY]
{
#IF
IsAdmin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_0


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_1

#ELSEACT
break




























[@check_A_D]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_2

[@check_A_F]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_3

#ACT
takew ·ÉÁú½££¨»ð£© 1
takew ·ÉÁú½££¨±ù£© 1
takew ·ÉÁú½££¨À×£© 1
takew ·ÉÁú½££¨·ç£© 1
takew ·ÉÁú½££¨ÉñÊ¥£© 1
takew ·ÉÁú½££¨°µºÚ£© 1
takew ·ÉÁú½££¨»ÃÓ°£© 1


[@NPCSAY_A]
begin
#IF
#ACT
ReadValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBCONDITION" [@NPCSAY_A_0]

[@NPCSAY_A_0()]
#ACT
mov A1 %ARG(1)
#IF
Equal A1 "End"
#ACT
Goto @NPCSAY_1
#ELSEACT
Goto @NOSAY
end

[@NOSAY]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_4

[@NPCSAY_1]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_5

[@clearQuest]
#CALL [Judgement\Story\test\GMTEST1.txt] @clearquest_1

[@RQuest]
#ACT
ReadValueSql "TBL_JobServerMain" "FLD_JOB='JOBRANDOM'" "FLD_JOBCONDITION" [@RQuest_A_0]


[@RQuest_A_0()]
#ACT
mov A1 %ARG(1)
#IF
Equal A1 "End"
#ACT
Goto @RQUEST_1
break
#ELSEACT
Goto @NOSAY
break

[@RQUEST_1]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_6

[@SQuest]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_7

[@Quest01]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_8

[@Quest02]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_9

[@Quest03]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_10

[@Quest04]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_11

[@Quest05]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_12

[@Quest06]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_13

[@Quest08]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_14

[@T1storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_15

#ACT
UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T1',FLD_JOBCONDITION='Start'"
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1
goto @MainControl1_T1
end
[@MainControl1_T1]
#CALL [Judgement\Story\T1\T1.txt] @T1Start


[@052storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_16

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1
UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q052',FLD_JOBCONDITION='Start'"
SaveValue "QuestDiary\Judgement\Flag.txt" [052] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [052] [Position] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [052] [PreTell] 0
goto @MainControl1_052
end
[@MainControl1_052]
#CALL [Judgement\Story\052\052.txt] @052Start


[@T2storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_17

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1
UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T2',FLD_JOBCONDITION='Start'"
goto @MainControl1_T2
end
[@MainControl1_T2]
#CALL [Judgement\Story\T2\T2.txt] @T2Start


[@050storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_18

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1
UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q050',FLD_JOBCONDITION='Start'"
SaveValue "QuestDiary\Judgement\Flag.txt" [050] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [050] [GiveTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [050] [KillNuma] 0
goto @MainControl1_050
end
[@MainControl1_050]
#CALL [Judgement\Story\050\050.txt] @050Start


[@T3storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_19

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1
UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T3',FLD_JOBCONDITION='Start'"
goto @MainControl1_T3
end
[@MainControl1_T3]
#CALL [Judgement\Story\T3\T3.txt] @T3Start


[@T4storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_20

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1
UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T4',FLD_JOBCONDITION='Start'"
goto @MainControl1_T4
end
[@MainControl1_T4]
#CALL [Judgement\Story\T4\T4.txt] @T4Start


[@051storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_21

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1
UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q051',FLD_JOBCONDITION='Start'"
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
goto @MainControl1_051
end
[@MainControl1_051]
#CALL [Judgement\Story\051\051.txt] @051Start


[@T00storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_22

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1
UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T00',FLD_JOBCONDITION='Start'"
goto @MainControl1_T00
end
[@MainControl1_T00]
#CALL [Judgement\Story\T00\T00.txt] @T00Start


[@T001storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_23

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1
UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T001',FLD_JOBCONDITION='Start'"
goto @MainControl1_T001
end
[@MainControl1_T001]
#CALL [Judgement\Story\T001\T001.txt] @T001Start


[@002storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_24

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1
UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q002',FLD_JOBCONDITION='Start'"
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

goto @MainControl1_002
end
[@MainControl1_002]
#CALL [Judgement\Story\002\002.txt] @002Start


[@004storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_25

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1
UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q004',FLD_JOBCONDITION='Start'"
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
goto @MainControl1_004
end
[@MainControl1_004]
#CALL [Judgement\Story\004\004.txt] @004Start


[@005storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_26

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q005',FLD_JOBCONDITION='Start'"
SaveValue "QuestDiary\Judgement\Flag.txt" [005] [OpenGate] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [005] [CloseGate] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [005] [QuestSuccess] 0
goto @MainControl1_005
end
[@MainControl1_005]
#CALL [Judgement\Story\005\005.txt] @005Start


[@006storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_27

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q006',FLD_JOBCONDITION='Start'"
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
goto @MainControl1_006
end
[@MainControl1_006]
#CALL [Judgement\Story\006\006.txt] @006Start


[@007storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_28

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q007',FLD_JOBCONDITION='Start'"
SaveValue "QuestDiary\Judgement\Flag.txt" [007] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [007] [RecieveMail] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [007] [SendMail] 0
goto @MainControl1_007
end
[@MainControl1_007]
#CALL [Judgement\Story\007\007.txt] @007Start


[@008storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_29

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q008',FLD_JOBCONDITION='Start'"
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
goto @MainControl1_008
end
[@MainControl1_008]
#CALL [Judgement\Story\008\008.txt] @008Start


[@T01storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_30

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T01',FLD_JOBCONDITION='Start'"
goto @MainControl1_T01
end
[@MainControl1_T01]
#CALL [Judgement\Story\T01\T01.txt] @T01Start


[@009storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_31

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q009',FLD_JOBCONDITION='Start'"
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
goto @MainControl1_009
end
[@MainControl1_009]
#CALL [Judgement\Story\009\009.txt] @009Start


[@010storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_32

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q010',FLD_JOBCONDITION='Start'"
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
goto @MainControl1_010
end
[@MainControl1_010]
#CALL [Judgement\Story\010\010.txt] @010Start



[@011storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_33

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q011',FLD_JOBCONDITION='Start'"
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
goto @MainControl1_011
end
[@MainControl1_011]
#CALL [Judgement\Story\011\011.txt] @011Start



[@012storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_34

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q012',FLD_JOBCONDITION='Start'"
SaveValue "QuestDiary\Judgement\Flag.txt" [012] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [012] [RecieveSay] 0
goto @MainControl1_012
end
[@MainControl1_012]
#CALL [Judgement\Story\012\012.txt] @012Start



[@013storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_35

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q013',FLD_JOBCONDITION='Start'"
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
goto @MainControl1_013
end
[@MainControl1_013]
#CALL [Judgement\Story\013\013.txt] @013Start


[@T02storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_36

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T02',FLD_JOBCONDITION='Start'"
goto @MainControl1_T02
end
[@MainControl1_T02]
#CALL [Judgement\Story\T02\T02Event.txt] @T02Start


[@1318storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_37

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q1318',FLD_JOBCONDITION='Start'"
SaveValue "QuestDiary\Judgement\Flag.txt" [014] [Open] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [014] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [018] [Open] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [018] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [019] [Open] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [019] [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] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [018] [RecieveMail] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [018] [QuestSuccess] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [019] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [019] [RecieveMail] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [019] [SendMail] 0
goto @MainControl1_1318
end
[@MainControl1_1318]
#CALL [Judgement\Story\1318\1318.txt] @1318Start


[@1418storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_38

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q1418',FLD_JOBCONDITION='Start'"
SaveValue "QuestDiary\Judgement\Flag.txt" [015] [Open] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [015] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [017] [Open] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [017] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [021] [Open] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [021] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [022] [Open] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [022] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [026] [Open] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [026] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [015] [HumanCount] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [015] [SuccessCount] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [017] [HumanCount] 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] [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] [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
goto @MainControl1_1418
end
[@MainControl1_1418]
#CALL [Judgement\Story\1418\1418.txt] @1418Start


[@1422storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_39

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q1422',FLD_JOBCONDITION='Start'"
SaveValue "QuestDiary\Judgement\Flag.txt" [023] [Open] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [023] [end] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [027] [Open] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [027] [end] 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] [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] [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
goto @MainControl1_1422
end
[@MainControl1_1422]
#CALL [Judgement\Story\1422\1422.txt] @1422Start


[@1323storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_40

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q1323',FLD_JOBCONDITION='Start'"
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
goto @MainControl1_020
end
[@MainControl1_1323]
#CALL [Judgement\Story\1323\1323.txt] @1323Start


[@024storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_41

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q024',FLD_JOBCONDITION='Start'"
SaveValue "QuestDiary\Judgement\Flag.txt" [024] [QuestUserName] ""
SaveValue "QuestDiary\Judgement\Flag.txt" [024] [QuestSuccess] 0
goto @MainControl1_024
end
[@MainControl1_024]
#CALL [Judgement\Story\024\024.txt] @024Start


[@025storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_42

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q025',FLD_JOBCONDITION='Start'"
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
goto @MainControl1_025
end
[@MainControl1_025]
#CALL [Judgement\Story\025\025.txt] @025Start


[@T03storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_43

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T03',FLD_JOBCONDITION='Start'"
SaveValue "QuestDiary\Judgement\Flag.txt" [T03] [GiveTimeOver] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [T03] [MapClose] 0
SaveValue "QuestDiary\Judgement\Flag.txt" [T03] [Eventstart] 0
goto @MainControl1_T03
end
[@MainControl1_T03]
#CALL [Judgement\Story\T03\T03.txt] @T03Start


[@T04storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_44

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T04',FLD_JOBCONDITION='Start'"

goto @MainControl1_T04
end
[@MainControl1_T04]
#CALL [Judgement\Story\T04\T04.txt] @T04Start


[@029storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_45

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q029',FLD_JOBCONDITION='Start'"
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
goto @MainControl1_029
end
[@MainControl1_029]
#CALL [Judgement\Story\029\029.txt] @029Start


[@030storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_46

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q030',FLD_JOBCONDITION='Start'"
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
goto @MainControl1_030
end
[@MainControl1_030]
#CALL [Judgement\Story\030\030.txt] @030Start


[@031storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_47

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='Q031',FLD_JOBCONDITION='Start'"
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
goto @MainControl1_031
end
[@MainControl1_031]
#CALL [Judgement\Story\031\031.txt] @031Start































[@T06storyQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_48

#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 1

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME='T06',FLD_JOBCONDITION='Start'"
goto @MainControl1_T06
end
[@MainControl1_T06]
#CALL [Judgement\Story\T06\T06.txt] @T06Start





[@036EventQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_49

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBRANDOM'" "FLD_JOBNAME='Q036',FLD_JOBCONDITION='Start'"
movenpc "npcroom1,6,11,ÅµÂê×èÁ¦¾ü" D002,86,216
goto @MainControl1_036
end
[@MainControl1_036]
#CALL [Judgement\Event\036\036.txt] @036Start


[@037EventQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_50

#ACT
movenpc "npcroom1,6,12,´åÃñ" 4,162,193

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBRANDOM'" "FLD_JOBNAME='Q037',FLD_JOBCONDITION='Start'"
goto @MainControl1_037
end
[@MainControl1_037]
#CALL [Judgement\Event\037\037.txt] @037Start


[@038_1EventQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_51

#ACT
Movenpc "npcroom1,6,13,ÎäÊ¿1" 4,184,198

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBRANDOM'" "FLD_JOBNAME='Q0381',FLD_JOBCONDITION='Start'"
Goto @MainControl1_0381
end
[@MainControl1_0381]
#CALL [Judgement\Event\0381\0381.txt] @0381start


[@038_2EventQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_52

#ACT
Movenpc "npcroom1,7,14,ÎäÊ¿2" 4,136,111

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBRANDOM'" "FLD_JOBNAME='Q0382',FLD_JOBCONDITION='Start'"
Goto @MainControl1_0382
end
[@MainControl1_0382]
#CALL [Judgement\Event\0382\0382.txt] @0382start


[@039EventQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_53

#ACT
Movenpc "npcroom1,7,13,ÓñÁé" D002,84,74

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBRANDOM'" "FLD_JOBNAME='Q039',FLD_JOBCONDITION='Start'"
Goto @MainControl1_039
end
[@MainControl1_039]
#CALL [Judgement\Event\039\039.txt] @039start


[@040EventQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_54

#ACT
Movenpc "npcroom1,5,10,×ÚÖ÷¹úÕì²ì±ø1" D002,115,134
Movenpc "npcroom1,4,17,×ÚÖ÷¹úÕì²ì±ø" DQ1600_11,155,57

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBRANDOM'" "FLD_JOBNAME='Q040',FLD_JOBCONDITION='Start'"
SaveValue "QuestDiary\Judgement\Flag.txt" [040] [StateGate] 1
goto @MainControl1_040
end
[@MainControl1_040]
#CALL [Judgement\Event\040\040.txt] @040Start


[@041EventQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_55

#ACT
Movenpc "npcroom1,4,12,ÅµÂêÉÌÈË" 4,199,144

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBRANDOM'" "FLD_JOBNAME='Q041',FLD_JOBCONDITION='Start'"
goto @MainControl1_041
end
[@MainControl1_041]
#CALL [Judgement\Event\041\041.txt] @041Start


[@042EventQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_56

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBRANDOM'" "FLD_JOBNAME='Q042',FLD_JOBCONDITION='Start'"
goto @MainControl1_042
end
[@MainControl1_042]
#CALL [Judgement\Event\042\042.txt] @042Start


[@043EventQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_57

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBRANDOM'" "FLD_JOBNAME='Q043',FLD_JOBCONDITION='Start'"
goto @MainControl1_043
end
[@MainControl1_043]
#CALL [Judgement\Event\043\043.txt] @043Start


[@044EventQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_58

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBRANDOM'" "FLD_JOBNAME='Q044',FLD_JOBCONDITION='Start'"
goto @MainControl1_044
end
[@MainControl1_044]
#CALL [Judgement\Event\044\044.txt] @044Start


[@045EventQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_59

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBRANDOM'" "FLD_JOBNAME='Q045',FLD_JOBCONDITION='Start'"
goto @MainControl1_045
end
[@MainControl1_045]
#CALL [Judgement\Event\045\045.txt] @045Start


[@046EventQuest]
begin
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\test\GMTEST.txt] @Convert_GMTEST_60

#ACT

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBRANDOM'" "FLD_JOBNAME='Q046',FLD_JOBCONDITION='Start'"
goto @MainControl1_046
end
[@MainControl1_046]
#CALL [Judgement\Event\046\046.txt] @046Start

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