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



[@018_talk]

{

#ACT

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

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

LoadValue P2 "QuestDiary\Judgement\Flag.txt" [T03] [open]

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

LoadValue P4 "QuestDiary\Judgement\Flag.txt" [018] [End]

MovR P9 100



#IF

Equal B1 %Username

Equal P1 1

Equal P2 0

Equal P3 1

#ACT

Goto @018_Success

break

#IF

Equal B1 %Username

Equal P2 0

Equal P3 0

#ACT

Goto @018_doingQUEST

break

#IF

Equal D1 1

#ACT

Goto @018NPC_Normal

break



#IF

Equal B1 ""

Equal P1 0

Equal P4 0

Small P9 100

#ACT

Mov D1 1

GOTO @018_giveQUEST

break

#ELSEACT

Mov D1 1

GOTO @018NPC_Normal

break







[@018NPC_Normal]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_0



[@018_giveQUEST]



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_1



[@018_getQUEST]

begin

#ACT

Savevalue "QuestDiary\Judgement\Flag.txt" [018] [QuestUserName] %USERNAME

give 比奇城主书信 1



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_2



[@018Slow_Step]

begin

#ACT

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



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_3



[018_noQUEST]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_4



[@018_doingQUEST]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_5



[@018_Success]

begin

#ACT

mov A0 "Judgement"

mov D0 18

mov D1 1

mov D2 0

mov D3 0

goto @EveryThingReward



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



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_6



}







[@018_DoGwantalk]

{

#ACT

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

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

LoadValue P2 "QuestDiary\Judgement\Flag.txt" [T03] [open]

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





#IF

Equal B1 %Username

Equal P1 1

Equal P2 1

Equal P3 0

#ACT

GOTO @018DoGwantimeover

break

#IF

Equal B1 %Username

Equal P1 1

Equal P2 0

Equal P3 0

#ACT

GOTO @018DoGwandoingQUEST

break



#IF

Equal B1 %Username

Equal P1 0

Equal P2 0

Equal P3 0

#ACT

GOTO @018DoGwangiveQUEST

break



#IF

Equal B1 %Username

Equal P1 1

Equal P2 0

Equal P3 1

#ACT

GOTO @018QuestSuccess

break

#ELSEACT

GOTO @Normal_Talk



[@Normal_Talk]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_7



[@018DoGwangiveQUEST]

begin

#IF

checkitem 比奇城主书信 1



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_8





#ELSESAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_9



[@018_talk1_2]

begin

#ACT

take 比奇城主书信 1



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_10



[@018_talk1_3]

begin

#ACT

saveValue "QuestDiary\Judgement\Flag.txt" [018] [RecieveMail] 1



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_11



[@018_talk1_4]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_12



[@018DoGwandoingQUEST]

begin

#IF

checkitem 蜘蛛线 500

checkitem 银矿 10

checkduraeva 银矿 5

#ACT

take 蜘蛛线 500

take 银矿 10

saveValue "QuestDiary\Judgement\Flag.txt" [018] [QuestSuccess] 1



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_13



#ELSEACT

break



#ELSESAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_14



[@018_reQuestsay]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_15



[@018QuestSuccess]

begin



#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_16



[@018DoGwantimeover]

begin





#SAY

#INCLUDE [..\Convert_Def\QuestDiary\Judgement\Story\1318\NPC018.txt] @Convert_NPC018_17



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