;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@042Start]
{
#ACT
Monclear DQ1600_12
Movenpc "npcroom1,15,11,鬼킵쯔" D002,170,151
Movenpc "npcroom1,5,12,衿킵쯔" DQ1600_12,158,55
Movenpc "npcroom1,5,13,늠킵쯔" DQ1600_12,159,56
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Event\042\042.txt] [Convert] [Msg0]
LineMsg Grobal %A7

Param1 DQ1600_12
Param2 154
Param3 57
SetMission
MonGenP "DQ1600_12,124,59,5" 킵쯔7 5
MonGenP "DQ1600_12,124,59,5" 킵쯔7 5
MonGenP "DQ1600_12,124,59,5" 킵쯔쉥却7 5
MonGenP "DQ1600_12,173,45,10" 킵쯔7 5
MonGenP "DQ1600_12,173,45,10" 킵쯔7 5
MonGenP "DQ1600_12,173,45,10" 킵쯔쉥却7 5
Clearmission
MongenP "DQ1600_12,100,100,80" 킵쯔7 50
MongenP "DQ1600_12,100,100,80" 킵쯔7 50
MongenP "DQ1600_12,100,100,80" 킵쯔쉥却7 25
MongenP "DQ1600_12,100,100,80" 킵쯔랬일7 25

DelayGoto [Grobal] 300 @042_GateClose

[@042_GateClose]
begin
#ACT
Param1 DQ1600_12
Param2 154
Param3 57
SetMission
MonGenP "DQ1600_12,124,59,5" 킵쯔7 5
MonGenP "DQ1600_12,124,59,5" 킵쯔7 5
MonGenP "DQ1600_12,124,59,5" 킵쯔쉥却7 5
MonGenP "DQ1600_12,173,45,10" 킵쯔7 5
MonGenP "DQ1600_12,173,45,10" 킵쯔7 5
MonGenP "DQ1600_12,173,45,10" 킵쯔쉥却7 5
Movenpc "D002,170,151,鬼킵쯔" npcroom1,15,11
FormatStr "FLD_JOB='%s'" "JOBRANDOM"
UpdateValueSql "TBL_JobServerMain" %A9 "FLD_JOBNAME='Q042',FLD_JOBCONDITION='End'"
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Event\042\042.txt] [Convert] [Msg1]
EventMsg "DQ1600_12" %A7 18
DelayGoto [Grobal] 72 @042_Event1
end

[@042_Event1]
begin
#ACT
Param1 DQ1600_12
Param2 154
Param3 57
SetMission
MonGenP "DQ1600_12,124,59,5" 킵쯔7 5
MonGenP "DQ1600_12,124,59,5" 킵쯔7 5
MonGenP "DQ1600_12,124,59,5" 킵쯔쉥却7 5
MonGenP "DQ1600_12,173,45,10" 킵쯔7 5
MonGenP "DQ1600_12,173,45,10" 킵쯔7 5
MonGenP "DQ1600_12,173,45,10" 킵쯔쉥却7 5
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Event\042\042.txt] [Convert] [Msg2]
EventMsg "DQ1600_12" %A7 18
DelayGoto [Grobal] 600 @042_Event2
end

[@042_Event2]
begin
#IF
!CheckMonMap "DQ1600_12,157,55,8" 1
#ACT
Goto @042_Success
#ELSEACT
Goto @042_Failed
end

[@042_Success]
begin
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Event\042\042.txt] [Convert] [Msg3]
EventMsg "DQ1600_12" %A7 10781
mov A0 "Judgement"
mov D0 42
mov D1 1
mov D2 0
mov D3 0
goto @EveryThingReward
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Event\042\042.txt] [Convert] [Msg4]
LineMsg "DQ1600_12" %A7
Movenpc "DQ1600_12,158,55,衿킵쯔" npcroom1,5,12
Movenpc "DQ1600_12,159,56,늠킵쯔" npcroom1,5,13
Mapting DQ1600_12 D002 170 151
Monclear DQ1600_12
FormatStr "FLD_JOB='%s'" "JOBRANDOM"
UpdateValueSql "TBL_JobServerMain" %A9 "FLD_JOBNAME='Q042',FLD_JOBCONDITION='End'"
end


[@042_Failed]
begin
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Event\042\042.txt] [Convert] [Msg5]
EventMsg "DQ1600_12" %A7 18
Mapting DQ1600_12 D002 170 151
Monclear DQ1600_12
Movenpc "DQ1600_12,158,55,衿킵쯔" npcroom1,5,12
Movenpc "DQ1600_12,159,56,늠킵쯔" npcroom1,5,13
SaveValue "QuestDiary\Judgement\Flag.txt" [MainTimer] [EventQuest] 0
end


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