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




[@021_NPC]
{
#ACT
LoadValue B1 "QuestDiary\Judgement\Flag.txt" [021] [QuestUserName]
LoadValue P1 "QuestDiary\Judgement\Flag.txt" [021] [RecieveMail]
LoadValue P2 "QuestDiary\Judgement\Flag.txt" [021] [SendMail]

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

#IF
Equal B1 ""
Equal P1 0
Equal P2 0
#ACT
GOTO @021_giveQUEST
break
#ELSEACT
GOTO @021NPC_Normal
break

#IF
Equal B1 %username
Equal P1 1
Equal P2 0
#ACT
GOTO @021_waitingQUEST
break

#IF
Equal B1 %username
Equal P1 1
Equal P2 1
#ACT
GOTO @021_resultQUEST
break

#ELSEACT
GOTO @021NPC_Normal
break

[@021NPC_Normal]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_0

[@021Level_Low]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_1

[@021_Talk_Refuse]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_2

[@021_TalkingAbout_Refuse]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_3

[@021_giveQUEST]
begin
#ACT
LoadValue P1 "QuestDiary\Judgement\Flag.txt" [021] [GiveTimeOver]
LoadValue B1 "QuestDiary\Judgement\Flag.txt" [021] [QuestUserName]
#IF
Equal B1 ""
Equal P1 0
#ACT
Goto @021_giveQUEST2
break
#ELSEACT
Goto @021NPC_Normal
break

end

[@021_giveQUEST2]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_4

[@021_NPC_1]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_5

[@021_NPC_2]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_6

[@021_NPC_2_1]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_7

[@021_NPC_3]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_8

[@021_NPC_4]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_9

[@021_NPC_5]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_10

[@021_NPC_6]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_11

[@021_NPC_7]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_12

[@021_doingQUEST]
begin
#ACT
LoadValue B1 "QuestDiary\Judgement\Flag.txt" [021] [QuestUserName]
#IF
!Equal B1 ""
#ACT
Goto @019Slow_Step
break

#ACT
LoadValue P1 "QuestDiary\Judgement\Flag.txt" [021] [RecieveMail]

#IF
Equal P1 0
#ACT
Give 神女书信 1
SaveValue "QuestDiary\Judgement\Flag.txt" [021] [RecieveMail] 1
Savevalue "QuestDiary\Judgement\Flag.txt" [021] [QuestUserName] %Username

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_13

[@021Slow_Step]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_14

[@021_waitingQUEST]
begin

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_15

[@021_resultQUEST]
begin
#ACT
mov A0 "Judgement"
mov D0 21
mov D1 1
mov D2 0
mov D3 0
goto @EveryThingReward
Savevalue "QuestDiary\Judgement\Flag.txt" [021] [QuestUserName] ""
Savevalue "QuestDiary\Judgement\Flag.txt" [021] [End] 1
Savevalue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_16

}




[@021_NPC_Numa]
{
#ACT
LoadValue B1 "QuestDiary\Judgement\Flag.txt" [021] [QuestUserName]
LoadValue P1 "QuestDiary\Judgement\Flag.txt" [021] [RecieveMail]
LoadValue P2 "QuestDiary\Judgement\Flag.txt" [021] [SendMail]


#IF
Equal P2 1
Equal B1 %Username

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_17

#ACT
break

#IF
Equal P1 1
Equal B1 %Username

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_18

#ACT
break

#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_19

[@021_NPC_Numa_1]
begin
#IF
Checkitem 神女书信 1

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_20


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_21

[@021_NPC_Numa_2]
begin
#ACT
Take 神女书信 1
Savevalue "QuestDiary\Judgement\Flag.txt" [021] [SendMail] 1

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1418\NPC021.txt] @Convert_NPC021_22

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