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



[@Basic_Warrior_2]
{
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSql "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@Warrior_Next2]

[@Warrior_Next2()]
#IF
#ACT
mov A0 %ARG(1)
mov D0 %ARG(2)
mov D1 %ARG(3)

#IF
Equal A0 %USERNAME
Equal D0 2
Equal D1 4
#ACT
GOTO @WarriorQuest_STEP4
BREAK

#IF
Equal A0 %USERNAME
Equal D0 2
Equal D1 3
#ACT
GOTO @WarriorQuest_STEP3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 2
Equal D1 2
#ACT
GOTO @WarriorQuest_STEP2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 2
Equal D1 1
#ACT
GOTO @WarriorQuest_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_0

#ACT
BREAK

[@WarriorQuest_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_1

[@WarriorQuest_STEP1_2]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=2"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_2

[@WarriorQuest_STEP1_1]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=3"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_3

[@WarriorQuest_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_4

[@WarriorQuest_STEP3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_5

[@WarriorQuest_STEP4]
#IF
checkitem Êé¼® 1
#ACT
SET [301] 1
take Êé¼® 1
Mov A0 "AreaQuest1"
Mov D0 2
Mov D1 0
Mov D2 0
Mov D3 0
Goto @EverythingReward
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=0"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=3"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_6


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_7

#ELSEACT
break

}


[@Basic_Warrior_2_1]
{
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSql "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@Warrior_Next3]

[@Warrior_Next3()]
#IF
#ACT
mov A0 %ARG(1)
mov D0 %ARG(2)
mov D1 %ARG(3)

#IF
Equal A0 %USERNAME
Equal D0 2
Equal D1 4
#ACT
GOTO @WarriorQuest_STEP6
BREAK

#IF
Equal A0 %USERNAME
Equal D0 2
Equal D1 3
#ACT
GOTO @WarriorQuest_STEP5
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_8

#ACT
BREAK


[@WarriorQuest_STEP5]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_9

[@WarriorQuest_STEP5_1]
#IF
#ACT
give Êé¼® 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=4"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_10

[@WarriorQuest_STEP6]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_11

}




[@Basic_Warrior_3]
{
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSql "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@WarriorQuest_3]

[@WarriorQuest_3()]
#IF
#ACT
mov A0 %ARG(1)
mov D0 %ARG(2)
mov D1 %ARG(3)

#IF
Equal A0 %USERNAME
Equal D0 3
Equal D1 4
checkitem ÐÞ¸´ÓÍ 1
#ACT
GOTO @Warrior_jobwha4
BREAK


#IF
Equal A0 %USERNAME
Equal D0 3
Equal D1 3
#ACT
GOTO @Warrior_jobwha3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 3
Equal D1 2
#ACT
GOTO @Warrior_jobwha2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 3
Equal D1 1
#ACT
GOTO @Warrior_jobwha1
BREAK

#IF
Equal A0 %USERNAME


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_12

#ACT
BREAK

[@Warrior_jobwha1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_13

[@Warrior_jobwha1_1]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=3"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_14

[@Warrior_jobwha1_2]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=2"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_15

[@Warrior_jobwha2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_16

[@Warrior_jobwha3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_17

[@Warrior_jobwha4]
#IF
checkitem ÐÞ¸´ÓÍ 1

#ACT
SET [301] 1
TAKE ÐÞ¸´ÓÍ 1
Mov A0 "AreaQuest1"
Mov D0 3
Mov D1 0
Mov D2 0
Mov D3 0
Goto @EverythingReward
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=0"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=4"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_18


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_19

#ELSEACT
BREAK

}


[@Basic_Warrior_3_1]
{

#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSql "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@WarriorQuest_3_1]

[@WarriorQuest_3_1()]
#IF
#ACT
mov A0 %ARG(1)
mov D0 %ARG(2)
mov D1 %ARG(3)

#IF
Equal A0 %USERNAME
Equal D0 3
Equal D1 4
#ACT
GOTO @Warrior_jobwha6
BREAK

#IF
Equal A0 %USERNAME
Equal D0 3
Equal D1 3
#ACT
GOTO @Warrior_jobwha5
BREAK

#IF
Equal A0 %USERNAME


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_20

#ACT
BREAK

[@Warrior_jobwha5]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_21

[@Warrior_jobwha5_1]
#IF
#ACT
GIVE ÐÞ¸´ÓÍ 1
GIVE ÉÕ¾Æ 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=4"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_22

[@Warrior_jobwha6]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_23

}





[@Basic_Warrior_4]
{
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSql "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@WarriorQuest_4]

[@WarriorQuest_4()]
#IF
#ACT
mov A0 %ARG(1)
mov D0 %ARG(2)
mov D1 %ARG(3)

#IF
Equal A0 %USERNAME
Equal D0 4
Equal D1 4
#ACT
GOTO @Warrior_chunl4
BREAK

#IF
Equal A0 %USERNAME
Equal D0 4
Equal D1 3
#ACT
GOTO @Warrior_chunl3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 4
Equal D1 2
#ACT
GOTO @Warrior_chunl2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 4
Equal D1 1
#ACT
GOTO @Warrior_chunl1
BREAK

#IF
Equal A0 %USERNAME


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_24

#ACT
BREAK

[@Warrior_chunl1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_25

[@Warrior_chunl1_1]
#IF
#ACT
GIVE ÊéÐÅ 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=3"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_26

[@Warrior_chunl1_2]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=2"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_27

[@Warrior_chunl2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_28

[@Warrior_chunl3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_29

[@Warrior_chunl4]
#IF
#ACT
SET [301] 1
Mov A0 "AreaQuest1"
Mov D0 4
Mov D1 0
Mov D2 0
Mov D3 0
Goto @EverythingReward
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=0"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=5"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_30

}


[@Basic_Warrior_4_1]
{
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSql "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@Warrior_4_1]

[@Warrior_4_1()]
#IF
#ACT
mov A0 %ARG(1)
mov D0 %ARG(2)
mov D1 %ARG(3)

#IF
Equal A0 %USERNAME
Equal D0 4
Equal D1 4
#ACT
GOTO @Warrior_chunl6
BREAK

#IF
Equal A0 %USERNAME
Equal D0 4
Equal D1 3
#ACT
GOTO @Warrior_chunl5
BREAK

#IF
Equal A0 %USERNAME


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_31

#ACT
BREAK

[@Warrior_chunl5]
#IF
checkitem ÊéÐÅ 1

#ACT
TAKE ÊéÐÅ 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=4"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_32


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_33

#ELSEACT
break

[@Warrior_chunl6]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_34

}





[@Basic_Warrior_5]
{
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSql "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@WarriorQuest_5]

[@WarriorQuest_5()]
#IF
#ACT
mov A0 %ARG(1)
mov D0 %ARG(2)
mov D1 %ARG(3)


#IF
Equal A0 %USERNAME
Equal D0 5
Equal D1 3
CHECKITEM ¼¦Èâ 3
#ACT
GOTO @Warrior_chicken4
BREAK

#IF
Equal A0 %USERNAME
Equal D0 5
Equal D1 3
#ACT
GOTO @Warrior_chicken3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 5
Equal D1 2
#ACT
GOTO @Warrior_chicken2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 5
Equal D1 1
#ACT
GOTO @Warrior_chicken1
BREAK


#IF
Equal A0 %USERNAME
Equal D0 6
Equal D1 2
CHECKITEM ÖíÈâ 2
#ACT
GOTO @Warrior_Pig3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 6
Equal D1 2
#ACT
GOTO @Warrior_Pig2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 6
Equal D1 1
#ACT
GOTO @Warrior_Pig1
BREAK

#IF
Equal A0 %USERNAME
Equal D0 7
Equal D1 2
CHECKITEM Å£Èâ 1
#ACT
GOTO @Warrior_Cow3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 7
Equal D1 2
#ACT
GOTO @Warrior_Cow2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 7
Equal D1 1
#ACT
GOTO @Warrior_Cow1
BREAK

#IF
Equal A0 %USERNAME


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_35

#ACT
BREAK

[@Warrior_chicken1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_36

[@Warrior_chicken1_1]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=3"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=5"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_37

[@Warrior_chicken1_2]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=2"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=5"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_38

[@Warrior_chicken2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_39

[@Warrior_chicken3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_40

[@Warrior_chicken4]
#IF
checkitem ¼¦Èâ 3

#ACT
take ¼¦Èâ 3
Mov A0 "AreaQuest1"
Mov D0 5
Mov D1 0
Mov D2 0
Mov D3 0
Goto @EverythingReward
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=1"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=6"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_41


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_42

#ELSEACT
break

[@Warrior_chicken4_1]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=2"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=6"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_43

[@Warrior_chicken4_2]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=1"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=6"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_44

[@Warrior_Pig1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_45

[@Warrior_Pig2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_46

[@Warrior_Pig3]
#IF
checkitem ÖíÈâ 2

#ACT
take ÖíÈâ 2
Mov A0 "AreaQuest1"
Mov D0 6
Mov D1 0
Mov D2 0
Mov D3 0
Goto @EverythingReward
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=1"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=7"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_47


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_48

#ELSEACT
break

[@Warrior_Pig3_1]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=2"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=7"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_49

[@Warrior_Pig3_2]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=1"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=7"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_50

[@Warrior_Cow1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_51

[@Warrior_Cow2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_52

[@Warrior_Cow3]
#IF
checkitem Å£Èâ 1

#ACT
SET [301] 1
TAKE Å£Èâ 1
Mov A0 "AreaQuest1"
Mov D0 7
Mov D1 0
Mov D2 0
Mov D3 0
Goto @EverythingReward
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=0"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=8"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_53


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_54

#ELSEACT
break

}




[@Basic_Warrior_8]
{
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSql "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY,FLD_MAKEIDX" [@WarriorQuest_1]

[@WarriorQuest_1()]
#IF
#ACT
mov A0 %ARG(1)
mov D0 %ARG(2)
mov D1 %ARG(3)

#IF
Equal A0 %USERNAME
Equal D0 8
Equal D1 3
checkitem Èâ 4
#ACT
GOTO @Warrior_deer4
BREAK

#IF
Equal A0 %USERNAME
Equal D0 8
Equal D1 3
#ACT
GOTO @Warrior_deer3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 8
Equal D1 2
#ACT
GOTO @Warrior_deer2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 8
Equal D1 1
#ACT
GOTO @Warrior_deer1
BREAK

#IF
Equal A0 %USERNAME
Equal D0 9
Equal D1 3
#ACT
GOTO @Warrior_husuabi3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 9
Equal D1 2
#ACT
GOTO @Warrior_husuabi2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 9
Equal D1 1
#ACT
GOTO @Warrior_husuabi1
BREAK

#IF
Equal A0 %USERNAME
Equal D0 9
Equal D1 0
#ACT
GOTO @Warrior_husuabi0
BREAK

#IF
Equal A0 %USERNAME
Equal D0 10
Equal D1 3
#ACT
GOTO @Warrior_galguli3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 10
Equal D1 2
#ACT
GOTO @Warrior_galguli2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 10
Equal D1 1
#ACT
GOTO @Warrior_galguli1
BREAK

#IF
Equal A0 %USERNAME


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_55

#ACT
BREAK


[@Warrior_deer1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_56

[@Warrior_deer1_1]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=3"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=8"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_57

[@Warrior_deer1_2]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=2"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=8"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_58

[@Warrior_deer2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_59

[@Warrior_deer3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_60

[@Warrior_deer4]
#IF
checkitem Èâ 4

#ACT
take Èâ 4
Mov A0 "AreaQuest1"
Mov D0 8
Mov D1 0
Mov D2 0
Mov D3 0
Goto @EverythingReward
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=1"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=9"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_61


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_62

#ELSEACT
break

[@Warrior_deer4_1]
#IF
#ACT
SET [199] 1
MOV S1 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=2"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=9"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_63

[@Warrior_deer4_2]
#IF
#ACT
SET [199] 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=1"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=9"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_64

[@Warrior_husuabi1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_65

[@Warrior_husuabi2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_66

[@Warrior_husuabi3]
#IF
#ACT
Mov A0 "AreaQuest1"
Mov D0 9
Mov D1 0
Mov D2 0
Mov D3 0
Goto @EverythingReward
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=1"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=10"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_67


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_68

#ELSEACT
break

[@Warrior_husuabi3_1]
#IF
#ACT
SET [199] 1
MOV S1 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=2"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=10"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_69

[@Warrior_husuabi3_2]
#IF
#ACT
SET [199] 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=1"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=10"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_70

[@Warrior_galguli1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_71

[@Warrior_galguli2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_72

[@Warrior_galguli3]
#IF
#ACT
SET [199] 0
SET [301] 1
SET [209] 1
Mov A0 "AreaQuest1"
Mov D0 10
Mov D1 0
Mov D2 0
Mov D3 0
Goto @EverythingReward
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=0"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=11"


#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_73


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide1\ChoBoGuide1_Warrior.txt] @Convert_ChoBoGuide1_Warrior_74

#ELSEACT
break

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

ÿ     