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



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

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

#IF
Equal A0 %USERNAME
Equal D0 12
Equal D1 3
checkitem ºÖÉ«Àõ×Ó 3
#ACT
GOTO @MusaQuest12_STEP4
BREAK

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

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

#IF
Equal A0 %USERNAME
Equal D0 12
Equal D1 1
#ACT
GOTO @MusaQuest12_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_0

#ACT
BREAK




[@MusaQuest12_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_1

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

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_2

[@MusaQuest12_STEP1_1]
#IF
#ACT
MOV s1 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=3"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_3

[@MusaQuest12_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_4

[@MusaQuest12_STEP3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_5

[@MusaQuest12_STEP4]
#IF
checkitem ºÖÉ«Àõ×Ó 3
#ACT
SET [302] 1
take ºÖÉ«Àõ×Ó 3
Mov A0 "AreaQuest2"
Mov D0 12
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=13"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_6


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_7

#ELSEACT
break

}





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

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

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

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

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

#IF
Equal A0 %USERNAME
Equal D0 13
Equal D1 1
#ACT
GOTO @MusaQuest13_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_8

#ACT
BREAK

[@MusaQuest13_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_9

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

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_10

[@MusaQuest13_STEP1_1]
#IF
#ACT
MOV s1 0
SET [199] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=3"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_11

[@MusaQuest13_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_12

[@MusaQuest13_STEP3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_13

[@MusaQuest13_STEP4]
#IF
checkitem É­ÁÖÑ©ÈËÖ¸¼× 1
#ACT
SET [199] 0
SET [302] 1
take É­ÁÖÑ©ÈËÖ¸¼× 1
Mov A0 "AreaQuest2"
Mov D0 13
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=14"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_14


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_15

#ELSEACT
break

}






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

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

#IF
Equal A0 %USERNAME
Equal D0 14
Equal D1 3
checkitem Ê³ÈËÊ÷Ò¶ 2
#ACT
GOTO @MusaQuest14_STEP4
BREAK

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

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

#IF
Equal A0 %USERNAME
Equal D0 14
Equal D1 1
#ACT
GOTO @MusaQuest14_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_16

#ACT
BREAK



[@MusaQuest14_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_17

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

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_18

[@MusaQuest14_STEP1_1]
#IF
#ACT
MOV s1 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=3"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_19

[@MusaQuest14_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_20

[@MusaQuest14_STEP3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_21

[@MusaQuest14_STEP4]
#IF
checkitem Ê³ÈËÊ÷Ò¶ 2
#ACT
SET [302] 1
take Ê³ÈËÊ÷Ò¶ 2
Mov A0 "AreaQuest2"
Mov D0 14
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=15"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_22


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_23

#ELSEACT
break


}


----------------------------------------------------------------------------------------------------------------------------------------------------------------


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

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

#IF
Equal A0 %USERNAME
Equal D0 15
Equal D1 3
checkitem ¶¾Ö©ÖëÑÀ³Ý 3
#ACT
GOTO @MusaQuest15_STEP4
BREAK

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

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

#IF
Equal A0 %USERNAME
Equal D0 15
Equal D1 1
#ACT
GOTO @MusaQuest15_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_24

#ACT
BREAK


[@MusaQuest15_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_25

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

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_26

[@MusaQuest15_STEP1_1]
#IF
#ACT
MOV s1 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=3"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_27

[@MusaQuest15_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_28

[@MusaQuest15_STEP3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_29

[@MusaQuest15_STEP4]
#IF
checkitem ¶¾Ö©ÖëÑÀ³Ý 3
#ACT
SET [302] 1
take ¶¾Ö©ÖëÑÀ³Ý 3
Mov A0 "AreaQuest2"
Mov D0 15
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=16"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_30


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_31

#ELSEACT
break

}

----------------------------------------------------------------------------------------------------------------------------------------------------------------


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

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

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

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

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

#IF
Equal A0 %USERNAME
Equal D0 16
Equal D1 1
#ACT
GOTO @MusaQuest16_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_32

#ACT
BREAK


[@MusaQuest16_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_33

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

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_34

[@MusaQuest16_STEP1_1]
#IF
#ACT
MOV s1 0
SET [199] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=3"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_35

[@MusaQuest16_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_36

[@MusaQuest16_STEP3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_37

[@MusaQuest16_STEP4]
#IF
checkitem ¼ÒÆ× 1
#ACT
SET [302] 1
SET [199] 0
take ¼ÒÆ× 1
Mov A0 "AreaQuest2"
Mov D0 16
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=17"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_38


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_39

#ELSEACT
break

}


----------------------------------------------------------------------------------------------------------------------------------------------------------------


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

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

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

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

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

#IF
Equal A0 %USERNAME
Equal D0 17
Equal D1 1
#ACT
GOTO @MusaQuest17_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_40

#ACT
BREAK

[@MusaQuest17_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_41

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

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_42

[@MusaQuest17_STEP1_1]
#IF
#ACT
MOV s1 0
SET [199] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=3"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_43

[@MusaQuest17_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_44

[@MusaQuest17_STEP3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_45

[@MusaQuest17_STEP4]
#IF
checkitem ¶ñÀÇÖ®Ñª 1
#ACT
SET [302] 1
SET [199] 0
take ¶ñÀÇÖ®Ñª 1
Mov A0 "AreaQuest2"
Mov D0 17
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=18"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_46


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_47

#ELSEACT
break

}


----------------------------------------------------------------------------------------------------------------------------------------------------------------


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

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

#IF
Equal A0 %USERNAME
Equal D0 18
Equal D1 3
checkitem ¶¾Éßµ¨Ö­ 3
#ACT
GOTO @MusaQuest18_STEP4
BREAK

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

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

#IF
Equal A0 %USERNAME
Equal D0 18
Equal D1 1
#ACT
GOTO @MusaQuest18_STEP1
BREAK

#IF
Equal A0 %USERNAME

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_48

#ACT
BREAK



[@MusaQuest18_STEP1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_49

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

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_50

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

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_51

[@MusaQuest18_STEP2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_52

[@MusaQuest18_STEP3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_53

[@MusaQuest18_STEP4]
#IF
checkitem ¶¾Éßµ¨Ö­ 3

#ACT
SET [302] 1
take ¶¾Éßµ¨Ö­ 3
Mov A0 "AreaQuest2"
Mov D0 18
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=19"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_54


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide2\ChoBoGuide2.txt] @Convert_ChoBoGuide2_55

#ELSEACT
break

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