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



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

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

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 15
#ACT
GOTO @JangsinWha_STEP4
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 14
#ACT
GOTO @JangsinWha_STEP3_2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 13
#ACT
GOTO @JangsinWha_STEP3
BREAK

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

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 1
#ACT
GOTO @JangsinWha_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_0

#ACT
BREAK



[@JangsinWha_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_1

[@JangsinWha_STEP1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_2

[@JangsinWha_STEP1_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_3

[@JangsinWha_STEP1_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_4

[@JangsinWha_STEP1_4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_5

[@JangsinWha_STEP1_5]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_6

[@JangsinWha_STEP1_6]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_7

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

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_8

[@JangsinWha_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_9

[@JangsinWha_STEP3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_10

[@JangsinWha_STEP3_1]
#IF
checkitem 猫眼石 1
#ACT
take 猫眼石 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=14"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_11


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_12

#ELSEACT
break

[@JangsinWha_STEP3_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_13

[@JangsinWha_STEP3_3]
#IF
#ACT
Mov A0 "AreaQuest11"
Mov D0 1
Mov D1 0
Mov D2 0
Mov D3 0
Goto @EverythingReward
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=15"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_14

[@JangsinWha_STEP4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_15

}





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

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

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 5
#ACT
GOTO @Sunghuk_STEP4
BREAK

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

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

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

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_16

#ACT
BREAK

[@Sunghuk_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_17

[@Sunghuk_STEP1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_18

[@Sunghuk_STEP1_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_19

[@Sunghuk_STEP1_3]
#IF
#ACT
SET [199] 1
Mov S1 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=3"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_20

[@Sunghuk_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_21

[@Sunghuk_STEP3]
#IF
checkitem 药草
#ACT
SET [199] 0
take 药草
Mov A0 "AreaQuest11"
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=5"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_22


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_23

#ELSEACT
break

[@Sunghuk_STEP3_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_24

[@Sunghuk_STEP3_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_25

[@Sunghuk_STEP4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_26

}





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

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

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 6
#ACT
GOTO @Paengssi_STEP2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 5
#ACT
GOTO @Paengssi_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_27

#ACT
BREAK


[@Paengssi_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_28

[@Paengssi_STEP1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_29

[@Paengssi_STEP1_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_30

[@Paengssi_STEP1_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_31

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

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_32

[@Paengssi_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_33

}





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

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

#IF
Equal A0 %USERNAME
Equal D0 31
Equal D1 12
#ACT
GOTO @BanyaSouk_STEP19
BREAK

#IF
Equal A0 %USERNAME
Equal D0 31
Equal D1 11
#ACT
GOTO @BanyaSouk_STEP18
BREAK

#IF
Equal A0 %USERNAME
Equal D0 31
Equal D1 10
#ACT
GOTO @BanyaSouk_STEP17_2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 31
Equal D1 9
#ACT
GOTO @BanyaSouk_STEP17
BREAK

#IF
Equal A0 %USERNAME
Equal D0 31
Equal D1 8
#ACT
GOTO @BanyaSouk_STEP16
BREAK

#IF
Equal A0 %USERNAME
Equal D0 31
Equal D1 7
#ACT
GOTO @BanyaSouk_STEP15_2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 31
Equal D1 6
#ACT
GOTO @BanyaSouk_STEP15
BREAK

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

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

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

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 20
#ACT
GOTO @BanyaSouk_STEP12
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 19
#ACT
GOTO @BanyaSouk_STEP11
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 18
#ACT
GOTO @BanyaSouk_STEP10
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 17
#ACT
GOTO @BanyaSouk_STEP9_2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 16
checkitem 潘夜之泪 200
#ACT
GOTO @BanyaSouk_STEP9
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 16
#ACT
GOTO @BanyaSouk_STEP8
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 15
#ACT
GOTO @BanyaSouk_STEP7
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 13
#ACT
GOTO @BanyaSouk_STEP6
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 12
#ACT
GOTO @BanyaSouk_STEP5_1
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 11
#ACT
GOTO @BanyaSouk_STEP5
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 10
#ACT
GOTO @BanyaSouk_STEP4
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 9
#ACT
GOTO @BanyaSouk_STEP3_1
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 8
#ACT
GOTO @BanyaSouk_STEP3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 7
#ACT
GOTO @BanyaSouk_STEP2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 6
#ACT
GOTO @BanyaSouk_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_34

#ACT
BREAK

[@BanyaSouk_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_35

[@BanyaSouk_STEP1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_36

[@BanyaSouk_STEP1_2]
#IF
#ACT
SET [199] 1
Mov S1 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=7"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_37

[@BanyaSouk_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_38

[@BanyaSouk_STEP3]
#IF
checkitem 抛魂铃铛 1
#ACT
take 抛魂铃铛 1
SET [199] 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=9"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_39


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_40

#ELSEACT
break

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

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_41

[@BanyaSouk_STEP4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_42

[@BanyaSouk_STEP5]
#IF
checkitem 赋魂铃铛 1
#ACT
SET [199] 0
take 赋魂铃铛 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=12"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_43

[@BanyaSouk_STEP5_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_44

[@BanyaSouk_STEP5_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_45

[@BanyaSouk_STEP5_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_46

[@BanyaSouk_STEP5_4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_47

[@BanyaSouk_STEP5_5]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_48

[@BanyaSouk_STEP5_6]
#IF
#ACT
give 猫眼石 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=13"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_49

[@BanyaSouk_STEP5_7]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_50

[@BanyaSouk_STEP5_8]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_51

[@BanyaSouk_STEP5_9]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_52

[@BanyaSouk_STEP6]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_53

[@BanyaSouk_STEP7]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_54

[@BanyaSouk_STEP7_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_55

[@BanyaSouk_STEP7_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_56

[@BanyaSouk_STEP7_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_57

[@BanyaSouk_STEP7_4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_58

[@BanyaSouk_STEP7_5]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_59

[@BanyaSouk_STEP7_6]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_60

[@BanyaSouk_STEP7_7]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_61

[@BanyaSouk_STEP7_8]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_62

[@BanyaSouk_STEP7_9]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_63

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

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_64

[@BanyaSouk_STEP8]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_65

[@BanyaSouk_STEP9]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_66

[@BanyaSouk_STEP9_1]
#IF
checkitem 潘夜之泪 200
#ACT
take 潘夜之泪 200
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=17"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_67


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_68

#ELSEACT
break

[@BanyaSouk_STEP9_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_69

[@BanyaSouk_STEP9_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_70

[@BanyaSouk_STEP9_4]
#IF
#ACT
SET [199] 1
Mov S1 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=18"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_71

[@BanyaSouk_STEP10]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_72

[@BanyaSouk_STEP11]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_73

[@BanyaSouk_STEP11_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_74

[@BanyaSouk_STEP11_2]
#IF
#ACT
SET [199] 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=20"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_75

[@BanyaSouk_STEP12]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_76

[@BanyaSouk_STEP13]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_77

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

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_78


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_79

#ELSEACT
break

[@BanyaSouk_STEP13_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_80

[@BanyaSouk_STEP13_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_81

[@BanyaSouk_STEP13_4]
#IF
#ACT
SET [199] 1
Mov S1 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=4"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_82

[@BanyaSouk_STEP14]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_83

[@BanyaSouk_STEP15]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_84

[@BanyaSouk_STEP15_1]
#IF
checkitem 素玉戒指 1
#ACT
take 素玉戒指 1
SET [199] 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=7"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_85


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_86

#ELSEACT
break

[@BanyaSouk_STEP15_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_87

[@BanyaSouk_STEP15_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_88

[@BanyaSouk_STEP15_4]
#IF
#ACT
SET [199] 1
Mov S1 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=8"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_89

[@BanyaSouk_STEP16]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_90

[@BanyaSouk_STEP17]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_91

[@BanyaSouk_STEP17_1]
#IF
checkitem 名册 1
#ACT
SET [199] 0
take 名册 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=10"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_92


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_93

#ELSEACT
break

[@BanyaSouk_STEP17_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_94

[@BanyaSouk_STEP17_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_95

[@BanyaSouk_STEP17_4]
#IF
#ACT
SET [183] 0
SET [199] 1
Mov S1 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=11"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_96

[@BanyaSouk_STEP17_5]
#IF
#ACT
SET [183] 1
SET [199] 0
Mov A0 "AreaQuest11"
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=32"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_97

[@BanyaSouk_STEP18]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_98

[@BanyaSouk_STEP19]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_99

[@BanyaSouk_STEP19_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_100

[@BanyaSouk_STEP19_2]
#IF
#ACT
SET [199] 0
Mov A0 "AreaQuest11"
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=32"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_101

}




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

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

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

#IF
Equal A0 %USERNAME
Equal D0 31
Equal D1 1
#ACT
GOTO @Buaklukjonja_STEP6
BREAK

#IF
Equal A0 %USERNAME
Equal D0 31
Equal D1 0
#ACT
GOTO @Buaklukjonja_STEP5
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 23
#ACT
GOTO @Buaklukjonja_STEP3
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 22
#ACT
GOTO @Buaklukjonja_STEP2
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 21
#ACT
GOTO @Buaklukjonja_STEP1_4
BREAK

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 20
#ACT
GOTO @Buaklukjonja_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_102

#ACT
BREAK

[@Buaklukjonja_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_103

[@Buaklukjonja_STEP1_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_104

[@Buaklukjonja_STEP1_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_105

[@Buaklukjonja_STEP1_3]
#IF
checkitem 断了的琵琶弦 1
#ACT
take 断了的琵琶弦 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=21"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_106


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_107

#ELSEACT
break

[@Buaklukjonja_STEP1_4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_108

[@Buaklukjonja_STEP1_5]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_109

[@Buaklukjonja_STEP1_6]
#IF
#ACT
SET [199] 1
Mov S1 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=22"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_110

[@Buaklukjonja_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_111

[@Buaklukjonja_STEP3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_112

[@Buaklukjonja_STEP3_1]
#IF
checkitem 除魔大师的秘传书 1
#ACT
SET [199] 0
take 除魔大师的秘传书 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=0"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=31"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_113


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_114

#ELSEACT
break

[@Buaklukjonja_STEP5]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_115

[@Buaklukjonja_STEP6]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_116

[@Buaklukjonja_STEP6_1]
#IF
#ACT
give 极乐琵琶 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=2"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_117

[@Buaklukjonja_STEP7]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide11\ChoBoGuide11.txt] @Convert_ChoBoGuide11_118

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