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







[@031_NPC]

{









#ACT

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

LoadValue P1 "QuestDiary\Judgement\Flag.txt" [031] [RecieveMail]

LoadValue P2 "QuestDiary\Judgement\Flag.txt" [031] [SendMail]

Mov B9 %username



#IF

!CheckLevel 22

#ACT

Goto @031Level_Low

break



#IF

Equal B1 ""

Equal P1 0

Equal P2 0

#ACT

GOTO @031_giveQUEST

break



#IF

Equal B1 %USERNAME

Equal P1 1

Equal P2 0

#ACT

GOTO @031_waitingQUEST

break



#IF

Equal B1 %USERNAME

Equal P1 1

Equal P2 1

#ACT

GOTO @031_resultQUEST

break



#IF

#ACT

GOTO @031NPC_Normal

break



[@031NPC_Normal]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_0



[@031Level_Low]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_1



[@031_Talk_Refuse]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_2



[@031_TalkingAbout_Refuse]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_3



[@031_giveQUEST]

begin

#ACT

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



#IF

Equal P1 0

#ACT

Goto @031_giveQUEST2

break

#ELSEACT

Goto @031NPC_Normal

break

end



[@031_giveQUEST2]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_4



[@031_NPC_1]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_5



[@031_NPC_2]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_6



[@031_NPC_3]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_7



[@031_NPC_4]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_8



[@031_NPC_5]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_9



[@031_NPC_6]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_10



[@031_NPC_7]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_11



[@031_doingQUEST]

begin

#ACT

LoadValue P1 "QuestDiary\Judgement\Flag.txt" [031] [RecieveMail]



#IF

Equal P1 0

#ACT

Give 神女书信 1

SaveValue "QuestDiary\Judgement\Flag.txt" [031] [RecieveMail] 1

Savevalue "QuestDiary\Judgement\Flag.txt" [031] [QuestUserName] %Username



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_12





#ELSESAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_13



[@031_waitingQUEST]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_14



[@031_resultQUEST]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_15



[@031_resultQUEST_1]

begin

#ACT

mov A0 "Judgement"

mov D0 31

mov D1 1

mov D2 0

mov D3 0

goto @EveryThingReward



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

UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBCONDITION='End'"



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_16



}









[@031_NPC_Numa]

{

#ACT

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

LoadValue P1 "QuestDiary\Judgement\Flag.txt" [031] [RecieveMail]

LoadValue P2 "QuestDiary\Judgement\Flag.txt" [031] [SendMail]



#IF

Equal P2 1

Equal B1 %USERNAME



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_17



#ACT

break



#IF

Equal P1 1

Equal B1 %USERNAME



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_18



[@031_NPC_Numa_1]

begin

#IF

Checkitem 神女书信 1



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_19





#ELSESAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_20



[@031_NPC_Numa_2]

begin

#ACT

Take 神女书信 1

Savevalue "QuestDiary\Judgement\Flag.txt" [031] [SendMail] 1

LoadValue P1 "QuestDiary\Judgement\Flag.txt" [MainTimer] [NumaKingPunished]



#IF

Equal P1 1



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_21





#ELSESAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\031\031NPC.txt] @Convert_031NPC_22



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