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



[@024NPC_governer]
{
begin
#ACT
LoadValue B1 "QuestDiary\Judgement\Flag.txt" [024] [QuestUserName]
LoadValue P1 "QuestDiary\Judgement\Flag.txt" [024] [end]
LoadValue P2 "QuestDiary\Judgement\Flag.txt" [024] [QuestSuccess]

#IF
!CheckLevel 22
#ACT
Goto @024Level_Low
break

#IF
Equal B1 ""
Equal P1 1
Equal P2 0
#ACT
Goto @024NPC_Normal
break
#IF
Equal B1 ""
Equal P1 0
Equal P2 0
#ACT
GOTO @024_GiveQUEST
break

#ELSEACT
GOTO @024NPC_Normal
break
end


[@024Level_Low]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\024\NPC024.txt] @Convert_NPC024_0

[@024NPC_Normal]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\024\NPC024.txt] @Convert_NPC024_1

[@024_GiveQUEST]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\024\NPC024.txt] @Convert_NPC024_2

[@024_GiveQUEST_1]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\024\NPC024.txt] @Convert_NPC024_3

[@024_GiveQUEST_2]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\024\NPC024.txt] @Convert_NPC024_4

[@024_GiveQUEST_3]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\024\NPC024.txt] @Convert_NPC024_5

[@024_GiveQUEST_4]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\024\NPC024.txt] @Convert_NPC024_6

[@024_GiveQUEST_5]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\024\NPC024.txt] @Convert_NPC024_7

[@024_GiveQUEST_6]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\024\NPC024.txt] @Convert_NPC024_8

[@024_GiveQUEST_7]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\024\NPC024.txt] @Convert_NPC024_9

[@024_GiveQUEST_10]
begin
#ACT
#ACT
set [777] 1
LoadValue B1 "QuestDiary\Judgement\Flag.txt" [021] [QuestUserName]
#IF
Equal B1 ""

#ACT
saveValue "QuestDiary\Judgement\Flag.txt" [021] [QuestUserName] %username


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\024\NPC024.txt] @Convert_NPC024_10

#ELSEACT
Goto @019Slow_Step
break
end


[@024_talk_2]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\024\NPC024.txt] @Convert_NPC024_11

[@019Slow_Step]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\024\NPC024.txt] @Convert_NPC024_12

}


[@024governer_end]
{
begin
#ACT
LoadValue P1 "QuestDiary\Judgement\Flag.txt" [024] [QuestSuccess]
#IF
check [777] 1
check [778] 1
Equal P1 1
#ACT
goto @024_resultQUEST
#ELSEACT
goto @024_resultQUEST_1
break

[@024_resultQUEST]
#ACT
set [777] 0
set [778] 0
mov A0 "Judgement"
mov D0 24
mov D1 1
mov D2 0
mov D3 0
goto @EveryThingReward
SaveValue "QuestDiary\Judgement\Flag.txt" [024] [QuestUserName] ""
Savevalue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\024\NPC024.txt] @Convert_NPC024_13

[@024_resultQUEST_1]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\024\NPC024.txt] @Convert_NPC024_14

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