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



[@014_Agent]

{







#ACT

LoadValue B1 "QuestDiary\Judgement\Flag.txt" [014] [QuestUserName]

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

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

LoadValue P3 "QuestDiary\Judgement\Flag.txt" [014] [EventStart]

LoadValue P4 "QuestDiary\Judgement\Flag.txt" [014] [QuestSuccess]



#IF

!CheckLevel 22

#ACT

Goto @014Level_Low

break





#IF

Equal B1 %Username

Equal P3 1

Equal P4 1

#ACT

Goto @014_Success

break



#IF

Equal B1 %Username

Equal P3 1

Equal P4 0

#ACT

Goto @014_Failed

break



#IF

Equal B1 %Username

Equal P2 0

Equal P3 0

Equal P4 0

#ACT

Goto @014_doingQUEST

break



#IF

Equal B1 %Username

Equal P2 1

Equal P3 0

Equal P4 0

#ACT

Goto @014_TooSlow

break





#IF

Equal B1 ""

Equal P1 0

#ACT

GOTO @014_giveQUEST

break

#ELSEACT

GOTO @014NPC_Normal

break



[@014Level_Low]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC014.txt] @Convert_NPC014_0



[@014NPC_Normal]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC014.txt] @Convert_NPC014_1



[@014Slow_Step]

begin

#ACT

LoadValue B1 "QuestDiary\Judgement\Flag.txt" [014] [QuestUserName]



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC014.txt] @Convert_NPC014_2



[@014_TooSlow]

begin

#ACT

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

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

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



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC014.txt] @Convert_NPC014_3



[@014refuseQuest]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC014.txt] @Convert_NPC014_4



[@014_giveQUEST]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC014.txt] @Convert_NPC014_5



[@014getQuest]

begin

#ACT

LoadValue B1 "QuestDiary\Judgement\Flag.txt" [014] [QuestUserName]

#IF

!Equal B1 ""

#ACT

Goto @014Slow_Step

break



#IF

#ACT

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

LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\1318\NPC014.txt] [Convert] [Msg0]

Speak %A7

DelayGoto [Grobal] 900 @014Timecheck1



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC014.txt] @Convert_NPC014_6



[@014_doingQUEST]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC014.txt] @Convert_NPC014_7



[@014_GoGo]

begin

#IF

CheckGroupCount 1



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC014.txt] @Convert_NPC014_8





#ELSESAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC014.txt] @Convert_NPC014_9



[@014GoGo2]

begin

#ACT

Close



GroupMove "DQ1600_02,27,174" %Username

Goto @014EventStart

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

end



[@014Timecheck1]

#ACT

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



#IF

!Equal P1 1

#ACT

SaveValue "QuestDiary\Judgement\Flag.txt" [014] [GroupTimeOver] 1

break

#ELSEACT

break





[@014EventStart]

#CALL [Judgement\Story\1318\014Event.txt] @set014A







[@014_Success]

begin

#ACT

mov A0 "Judgement"

mov D0 14

mov D1 2

mov D2 0

mov D3 0

goto @EveryThingReward

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

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

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

LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\1318\NPC014.txt] [Convert] [Msg1]

Speak %A7



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC014.txt] @Convert_NPC014_10



[@014_Failed]

begin

#ACT

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

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

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

LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\1318\NPC014.txt] [Convert] [Msg2]

Speak %A7



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC014.txt] @Convert_NPC014_11



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