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



[@020B_jin]

{



#ACT

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

LoadValue P2 "QuestDiary\Judgement\Flag.txt" [020] [GiveTimeOver]

LoadValue P3 "QuestDiary\Judgement\Flag.txt" [020] [Result]

LoadValue P4 "QuestDiary\Judgement\Flag.txt" [020] [HumanCount2]

LoadValue P5 "QuestDiary\Judgement\Flag.txt" [020] [Result]

MovR P9 100



#IF

!checklevel 22

#ACT

Goto @020B_Low_Level

break



#IF



Equal P1 1

Equal P2 0

Equal P3 0

#ACT

Goto @020B_QusestClose

break



#IF

check [773] 1

Equal P1 1

Equal P3 2

#ACT

Goto @020B_QuestSuccess

break



#IF

Equal P1 1

Equal P2 1

Equal P3 0

#ACT

Goto @020B_GiveTimeover

break



#IF

Equal P1 1

Equal P2 0

Equal P3 0

Equal P5 0

#ACT

Goto @020B_Questdoing

break





#IF

Equal P1 0

Equal P2 0

Equal P3 0

#ACT

GOTO @020B_GiveQUEST

break

#ELSEACT

GOTO @020BNPC_Normal

break





[@020BNPC_Normal]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1323\NPC020B.txt] @Convert_NPC020B_0



[@020B_QuestSuccess]

begin

#IF

check [773] 1

#ACT

set [772] 0

set [773] 0

mov A0 "Judgement"

mov D0 20

mov D1 2

mov D2 0

mov D3 0

goto @EveryThingReward



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1323\NPC020B.txt] @Convert_NPC020B_1



#ELSEACT

goto @020BNPC_Normal

end





[@020B_GiveQUEST]

begin

#ACT

set [772] 0

set [773] 0



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1323\NPC020B.txt] @Convert_NPC020B_2



[@020B_GetQuest]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1323\NPC020B.txt] @Convert_NPC020B_3



[@020B_NOQuest]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1323\NPC020B.txt] @Convert_NPC020B_4



[@020B_Questdoing]

begin

#ACT

LoadValue P4 "QuestDiary\Judgement\Flag.txt" [020] [HumanCount2]

#IF

small P4 20



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1323\NPC020B.txt] @Convert_NPC020B_5



#ELSEACT

Goto @020B_QusestClose

break

end

[@020B_okstart]

begin

#IF

!CheckLevel 22

#ACT

Goto @020_Low_Level

break





#ACT

LoadValue P1 "QuestDiary\Judgement\Flag.txt" [020] [HumanCount2]

#IF

Large P1 20

#ACT

Goto @020B_QusestClose

break

#ELSEACT

LoadValue P1 "QuestDiary\Judgement\Flag.txt" [020] [HumanCount2]

set [773] 1

set [772] 0

Inc P1 1

SaveValue "QuestDiary\Judgement\Flag.txt" [020] [HumanCount2] %P1

Mapmove DQ1600_01 29 34

end



[@020B_Low_Level]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1323\NPC020B.txt] @Convert_NPC020B_6



[@020B_nostart]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1323\NPC020B.txt] @Convert_NPC020B_7



[@020B_GiveTimeover]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1323\NPC020B.txt] @Convert_NPC020B_8



[@020B_QusestClose]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1323\NPC020B.txt] @Convert_NPC020B_9



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