;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@main008_Mon]
{
begin
#ACT
LoadValue P1 "QuestDiary\Judgement\Flag.txt" [007] [SendMail]

#IF
Equal P1 1
#ACT
Goto @Jaha_win
break

#IF
check [781] 1
Equal P1 0
#ACT
Goto @Agent_win
break

#IF
check [782] 1
Equal P1 0
#ACT
Goto @Jin_win
break
#ELSEACT
break
end

[@Jaha_win]

#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg0]
EventMsg "DQ1600_01" %A7 18
DelayGoto [Grobal] 12 @set008_3B_1

[@set008_3B_1]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg1]
EventMsg "DQ1600_01" %A7 10081
DelayGoto [Grobal] 12 @set008_3B_2

[@set008_3B_2]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg2]
EventMsg "DQ1600_01" %A7 10007
mov A0 "Judgement"
mov D0 8
mov D1 3
mov D2 0
mov D3 0
goto @EveryThingReward

DelayGoto [Grobal] 12 @EventLose2

[@EventLose2]
begin
#ACT
UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBCONDITION='End'"
Savevalue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0
MapTing DQ1600_01 4 464 44
MonClear DQ1600_01
end


[@Agent_win]
begin
#IF
check [781] 1
#ACT
saveValue "QuestDiary\Judgement\Flag.txt" [008] [Result] 1
Goto @Agent_win2
#ELSEACT
break

[@Agent_win2]

#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg3]
EventMsg "DQ1600_01" %A7 10433
DelayGoto [Grobal] 12 @set008_3D_1

[@set008_3D_1]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg4]
EventMsg "DQ1600_01" %A7 10081
DelayGoto [Grobal] 12 @set008_3D_2

[@set008_3D_2]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg5]
EventMsg "DQ1600_01" %A7 10007
DelayGoto [Grobal] 12 @set008_3D_3

[@set008_3D_3]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg6]
EventMsg "DQ1600_01" %A7 10007
DelayGoto [Grobal] 12 @set008_3D_4

[@set008_3D_4]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg7]
EventMsg "DQ1600_01" %A7 10433
DelayGoto [Grobal] 12 @set008_3D_5

[@set008_3D_5]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg8]
EventMsg "DQ1600_01" %A7 10081
DelayGoto [Grobal] 12 @set008_3D_6

[@set008_3D_6]
#ACT

LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg9]
EventMsg "DQ1600_01" %A7 10007

mov A0 "Judgement"
mov D0 8
mov D1 1
mov D2 0
mov D3 0
goto @EveryThingReward
DelayGoto [Grobal] 12 @008EventWin

[@008EventWin]
begin
#ACT
MapTing DQ1600_01 4 464 44
MonClear DQ1600_01
DelayGoto [Grobal] 12 @set008_3G
end

[@set008_3G]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg10]
EventMsg Grobal %A7 10003
DelayGoto [Grobal] 12 @set008_3G_1

[@set008_3G_1]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg11]
EventMsg Grobal %A7 10005
DelayGoto [Grobal] 12 @set008_3G_2

[@set008_3G_2]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg12]
EventMsg Grobal %A7 10003



[@Jin_win]
begin
#IF
check [782] 1
#ACT
saveValue "QuestDiary\Judgement\Flag.txt" [008] [Result2] 1
Goto @Jin_win2
#ELSEACT
break

[@Jin_win2]

#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg13]
EventMsg "DQ1600_01" %A7 10433
DelayGoto [Grobal] 12 @set008_3E_1

[@set008_3E_1]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg14]
EventMsg "DQ1600_01" %A7 10042
DelayGoto [Grobal] 12 @set008_3E_2

[@set008_3E_2]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg15]
EventMsg "DQ1600_01" %A7 10007
DelayGoto [Grobal] 12 @set008_3E_3

[@set008_3E_3]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg16]
EventMsg "DQ1600_01" %A7 10007
DelayGoto [Grobal] 12 @set008_3E_4

[@set008_3E_4]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg17]
EventMsg "DQ1600_01" %A7 10433
DelayGoto [Grobal] 12 @set008_3E_5

[@set008_3E_5]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg18]
EventMsg "DQ1600_01" %A7 10007
DelayGoto [Grobal] 12 @set008_3E_6

[@set008_3E_6]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg19]
EventMsg "DQ1600_01" %A7 10433
DelayGoto [Grobal] 12 @set008_3E_7

[@set008_3E_7]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg20]
EventMsg "DQ1600_01" %A7 18
DelayGoto [Grobal] 12 @set008_3E_8

[@set008_3E_8]
#ACT
mov A0 "Judgement"
mov D0 8
mov D1 1
mov D2 0
mov D3 0
goto @EveryThingReward
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg21]
EventMsg "DQ1600_01" %A7 10433


DelayGoto [Grobal] 12 @008EventWin2

[@008EventWin2]
begin
#ACT
MapTing DQ1600_01 5 202 129
MonClear DQ1600_01
DelayGoto [Grobal] 12 @set008_3H
end

[@set008_3H]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg22]
EventMsg Grobal %A7 10081
DelayGoto [Grobal] 12 @set008_3H_1

[@set008_3H_1]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg23]
EventMsg Grobal %A7 10005
DelayGoto [Grobal] 12 @set008_3H_2

[@set008_3H_2]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg24]
EventMsg Grobal %A7 10081
DelayGoto [Grobal] 12 @set008_3H_3

[@set008_3H_3]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg25]
EventMsg Grobal %A7 10005
DelayGoto [Grobal] 12 @set008_3H_4

[@set008_3H_4]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\008\Mon_008.txt] [Convert] [Msg26]
EventMsg Grobal %A7 10003







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