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







[@023NPC_governer]

{

begin

#ACT

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

LoadValue P1 "QuestDiary\Judgement\Flag.txt" [023] [GrupTimeOver]

LoadValue P2 "QuestDiary\Judgement\Flag.txt" [023] [EventStart]

LoadValue P3 "QuestDiary\Judgement\Flag.txt" [023] [QuestSuccess]



#IF

!CheckLevel 22

#ACT

Goto @023Level_Low

break





#IF

Equal B1 ""

Equal P1 0

Equal P2 0

Equal P3 0

#ACT

GOTO @023_GiveQUEST

break



#IF

Equal B1 %username

Equal P1 1

Equal P2 1

Equal P3 0

#ACT

GOTO @023_FailQUEST

break





#IF

Equal B1 %username

Equal P1 0

Equal P2 0

Equal P3 0

#ACT

GOTO @023_waitingQUEST

break

#IF

Equal B1 %username

Equal P1 1

Equal P2 0

Equal P3 0

#ACT

GOTO @023_TimeOverQUEST

break



#IF

Equal B1 %username

Equal P2 1

Equal P3 1

#ACT

GOTO @023_resultQUEST

break



#ELSEACT

GOTO @023NPC_Normal

break

end



[@023_FailQUEST]

begin

#ACT

SaveValue "QuestDiary\Judgement\Flag.txt" [023] [QuestUserName] ""

SaveValue "QuestDiary\Judgement\Flag.txt" [023] [End] 1

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



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_0



[@023_resultQUEST]

begin

#ACT

mov A0 "Judgement"

mov D0 23

mov D1 2

mov D2 0

mov D3 0

goto @EveryThingReward

SaveValue "QuestDiary\Judgement\Flag.txt" [023] [QuestUserName] ""

SaveValue "QuestDiary\Judgement\Flag.txt" [023] [End] 1

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



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_1



[@023Level_Low]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_2



[@023NPC_Normal]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_3



[@023_GiveQUEST]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_4



[@023_GiveQUEST_1]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_5



[@023_GiveQUEST_2]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_6



[@023_GiveQUEST_3]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_7



[@023_GiveQUEST_4]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_8



[@023_GiveQUEST_5]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_9



[@023_GiveQUEST_6]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_10



[@023_GiveQUEST_7]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_11



[@023_GiveQUEST_8]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_12



[@023_GiveQUEST_9]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_13



[@023_GiveQUEST_10]

begin

#ACT

#ACT

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

#IF

Equal B1 ""



#ACT

saveValue "QuestDiary\Judgement\Flag.txt" [023] [QuestUserName] %username





#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_14



#ELSEACT

Goto @019Slow_Step

break

end





[@023_talk_2]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_15



[@019Slow_Step]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_16



[@023_waitingQUEST]

begin

#IF

!checkitem Ìú¿ó 30



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_17



#ACT

Goto @023_waitingQUEST1

break

end



[@023_waitingQUEST1]

begin

#IF

!checkduraeva Ìú¿ó 15



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_18



#ACT

Goto @023_waitingQUEST2

break

end



[@023_waitingQUEST3]

begin

#IF

checkitem Ìú¿ó 30

checkduraeva Ìú¿ó 15



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_19



[@023_Eventstart]

#IF

checkitem Ìú¿ó 30

checkduraeva Ìú¿ó 15

#ACT

Savevalue "QuestDiary\Judgement\Flag.txt" [023] [Eventstart] 1

Groupmove "DQ1600_02, 38 , 167, 5" %Username

Goto @Eventmsg

break

#ELSEACT

Goto waitingQUEST



[@Eventmsg]

#CALL [Judgement\Story\1422\023Event.txt] @set023A





}











[@023_Npc]



{

begin

#ACT

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



#IF

Equal B1 %username

#ACT

Goto @023_Mission

break

#ELSEACT

Goto @023_grup

break

end



[@023_grup]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_20



[@023_Mission]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_21



[@023_Mission_1]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_22



[@023_Mission_2]

begin

#IF

checkitem Ìú¿ó 30

checkduraeva Ìú¿ó 15



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_23





#ELSESAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_24



[@023_Mission_3]

begin

#IF

checkitem Ìú¿ó 30

checkduraeva Ìú¿ó 15



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_25



#ACT

movenpc "DQ1600_02,139,27,ÅµÂêºóÇÚ±ø" npcroom1,6,15

take Ìú¿ó 30

SaveValue "QuestDiary\Judgement\Flag.txt" [023] [QuestSuccess] 1

MapTing DQ1600_02 4 464 44

MonClear DQ1600_02



#ELSESAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1422\NPC023.txt] @Convert_NPC023_26



#ELSEACT

break

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