;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;







[@030NPC_governer]

{









#ACT

LoadValue B2 "QuestDiary\Judgement\Flag.txt" [030] [QuestUserName]

LoadValue P1 "QuestDiary\Judgement\Flag.txt" [030] [EventStart]





#IF

!CheckLevel 22

#ACT

Goto @030Level_Low

break



#IF

Equal B2 ""

Equal P1 0

#ACT

GOTO @030_giveQUEST

break



#IF

Equal B2 %USERNAME

Equal P1 0

#ACT

GOTO @030_doingQUEST

break



#IF

Equal B2 %USERNAME

Equal P1 1

#ACT

GOTO @030_resultQUEST

break



#ELSEACT

GOTO @030NPC_Normal

break



[@030NPC_Normal]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_0



[@030Level_Low]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_1



[@030Slow_Step]

begin

#ACT

LoadValue B2 "QuestDiary\Judgement\Flag.txt" [030] [QuestUserName]



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_2



[@030_TimeOver]

begin

#ACT

Take 箱子 1

Savevalue "QuestDiary\Judgement\Flag.txt" [030] [QuestUserName] ""

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBCONDITION='End'"

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



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_3



[@030refuseQuest]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_4



[@030_NotHave]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_5



[@030_giveQUEST]

begin

#ACT

LoadValue P1 "QuestDiary\Judgement\Flag.txt" [030] [GiveTimeOver]



#IF

Equal P1 0

#ACT

Goto @030_giveQUEST2

break

#ELSEACT

Goto @030NPC_Normal

break

end



[@030_giveQUEST2]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_6



[@030getQuset]

begin

#ACT

LoadValue B2 "QuestDiary\Judgement\Flag.txt" [030] [QuestUserName]

#IF

!Equal B2 ""

#ACT

Goto @030Slow_Step

break



#IF

#ACT

Savevalue "QuestDiary\Judgement\Flag.txt" [030] [QuestUserName] %USERNAME

Give 地图 1

Goto @030Timecheck



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_7



[@030getQuset1]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_8



[@030getQuset2]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_9



[@030getQuset3]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_10



[@030_doingQUEST]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_11



[@030_GoGo]

begin

#ACT

LoadValue P2 "QuestDiary\Judgement\Flag.txt" [030] [GroupTimeOver]



#IF

Equal P2 1

#ACT

Goto @030_TimeOver

break



#IF

!CheckItem 地图 1

#ACT

Goto @030_NotHave

break



#IF





#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_12





#ELSESAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_13



[@030_Brief]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_14



[@030GoGo2]

begin

#ACT

close

MapMove DQ1600_02 27 174



goto @030EventStart

Savevalue "QuestDiary\Judgement\Flag.txt" [030] [EventStart] 1

end



[@030Timecheck]

#CALL [Judgement\Story\030\030.txt] @030timecheck



[@030EventStart]

#CALL [Judgement\Story\030\030Event.txt] @030Event







[@030_resultQUEST]

begin

#ACT

LoadValue P1 "QuestDiary\Judgement\Flag.txt" [030] [QuestSuccess]



#IF

Equal P1 1

#ACT

Goto @030_Success

#ELSEACT

Goto @030_Failed

end



[@030_Success]

begin

#ACT

mov A0 "Judgement"

mov D0 30

mov D1 1

mov D2 0

mov D3 0

goto @EveryThingReward



Savevalue "QuestDiary\Judgement\Flag.txt" [030] [QuestUserName] ""

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBCONDITION='End'"

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



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_15



[@030_Failed]

begin

#ACT

take 地图 1

Savevalue "QuestDiary\Judgement\Flag.txt" [030] [QuestUserName] ""

Savevalue "QuestDiary\Judgement\Flag.txt" [030] [END] 1

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



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_16



}









[@030NPC_Numa]

{

#ACT

LoadValue P1 "QuestDiary\Judgement\Flag.txt" [030] [QuestSuccess]

LoadValue B2 "QuestDiary\Judgement\Flag.txt" [030] [QuestUserName]

Mov B9 %username

#IF

Equal P1 1

#ACT

Goto @030NPC_Numa_3

break



#IF

Equal B2 %USERNAME



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_17





#ELSESAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_18



[@030NPC_Numa_1]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_19



[@030NPC_Numa_2]

begin

#IF

checkitem 地图 1

#ACT

take 地图 1

Savevalue "QuestDiary\Judgement\Flag.txt" [030] [QuestSuccess] 1

mov A0 "Judgement"

mov D0 30

mov D1 2

mov D2 0

mov D3 0

goto @030NPC_Numa_2_Reward



LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] [Convert] [Msg0]

LineMsg "DQ1600_02" %A7



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_20





#ELSESAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_21



[@030NPC_Numa_3]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\030\030NPC.txt] @Convert_030NPC_22



[@030NPC_Numa_Exit]

begin

#ACT

Mapting DQ1600_02 41 78 326

MonClear DQ1600_02

end





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