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



[@MusaQuestStep11]
{
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1=11"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] @Convert_MusaQuestLevel_0

[@MusaQuestStep1_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] @Convert_MusaQuestLevel_1

[@MusaQuestStep1_1]
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@StartLevel11Quest_1]

[@StartLevel11Quest_1()]
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 11
Equal D1 1
#ACT
goto @MiR3_mainSAY
BREAK

#IF
Equal D0 11
Equal D1 0
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
goto @MiR3_mainSAY
BREAK


[@MiR3_mainSAY]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] @Convert_MusaQuestLevel_2

[@MusaQuestStep1_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] @Convert_MusaQuestLevel_3

[@MusaQuestStep2_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] @Convert_MusaQuestLevel_4

[@MusaQuestStep2_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] @Convert_MusaQuestLevel_5

[@MusaQuestStep2_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] @Convert_MusaQuestLevel_6

[@MusaQuestStep2_3_1]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] @Convert_MusaQuestLevel_7

[@MusaQuestStep2_3_2]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] @Convert_MusaQuestLevel_8

[@MusaQuestStep2_3_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] @Convert_MusaQuestLevel_9

[@MusaQuestStep1_4]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=0"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=12"
Delaygoto [local] 300 @BasicUnLimitRootControl

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] @Convert_MusaQuestLevel_10

}




[@MusaQuestStep12]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep12_Check]

[@MusaQuestStep12_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 12
Equal D1 0
#ACT
SET [102] 1
SET [302] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg0]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}




[@MusaQuestStep13]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep13_Check]

[@MusaQuestStep13_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 13
Equal D1 0
#ACT
SET [102] 1
SET [302] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg1]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}





[@MusaQuestStep14]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep14_Check]

[@MusaQuestStep14_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 14
Equal D1 0
#ACT
SET [102] 1
SET [302] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg2]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}






[@MusaQuestStep15]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep15_Check]

[@MusaQuestStep15_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 15
Equal D1 0
#ACT
SET [102] 1
SET [302] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg3]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}




[@MusaQuestStep16]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep16_Check]

[@MusaQuestStep16_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 16
Equal D1 0
#ACT
SET [102] 1
SET [302] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg4]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}





[@MusaQuestStep17]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep17_Check]

[@MusaQuestStep17_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 17
Equal D1 0
#ACT
SET [102] 1
SET [302] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg5]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}





[@MusaQuestStep18]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep18_Check]

[@MusaQuestStep18_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 18
Equal D1 0
#ACT
SET [102] 1
SET [302] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg6]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}





[@MusaQuestStep19]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep19_Check]

[@MusaQuestStep19_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 19
Equal D1 0
#ACT
SET [103] 1
SET [303] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg7]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}




[@MusaQuestStep20]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep20_Check]

[@MusaQuestStep20_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 20
Equal D1 0
#ACT
SET [104] 1
SET [304] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg8]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}




[@MusaQuestStep21]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep21_Check]

[@MusaQuestStep21_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 21
Equal D1 0
#ACT
SET [105] 1
SET [305] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg9]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}




[@MusaQuestStep22]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep22_Check]

[@MusaQuestStep22_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 22
Equal D1 0
#ACT
SET [106] 1
SET [306] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg10]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}




[@MusaQuestStep23]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep23_Check]

[@MusaQuestStep23_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 23
Equal D1 0
#ACT
SET [106] 1
SET [306] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg11]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}




[@MusaQuestStep24]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep24_Check]

[@MusaQuestStep24_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 24
Equal D1 0
#ACT
SET [106] 1
SET [306] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg12]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}





[@MusaQuestStep25]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep25_Check]

[@MusaQuestStep25_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 25
Equal D1 0
#ACT
SET [107] 1
SET [307] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg13]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}





[@MusaQuestStep26]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep26_Check]

[@MusaQuestStep26_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 26
Equal D1 0
#ACT
SET [107] 1
SET [307] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg14]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}





[@MusaQuestStep27]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep27_Check]

[@MusaQuestStep27_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 27
Equal D1 0
#ACT
SET [108] 1
SET [308] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg15]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}





[@MusaQuestStep28]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep28_Check]

[@MusaQuestStep28_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 28
Equal D1 0
#ACT
SET [109] 1
SET [309] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg16]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}




[@MusaQuestStep29]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep29_Check]

[@MusaQuestStep29_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 29
Equal D1 0
#ACT
SET [110] 1
SET [310] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg17]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}




[@MusaQuestStep30]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep30_Check]

[@MusaQuestStep30_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 30
Equal D1 0
#ACT
SET [111] 1
SET [311] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg18]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}




[@MusaQuestStep31]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep31_Check]

[@MusaQuestStep31_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 31
Equal D1 0
#ACT
SET [111] 1
SET [311] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg19]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}




[@MusaQuestStep32]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep32_Check]

[@MusaQuestStep32_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 32
Equal D1 0
#ACT
SET [112] 1
SET [312] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg20]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}






[@MusaQuestStep33]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep33_Check]

[@MusaQuestStep33_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 33
Equal D1 0
#ACT
SET [112] 1
SET [312] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg21]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

}




[@MusaQuestStep34]
{
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
ReadValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1,FLD_STATUS1_RDY" [@MusaQuestStep34_Check]

[@MusaQuestStep34_Check()]
#IF
#ACT
mov D0 %ARG(1)
mov D1 %ARG(2)

#IF
Equal D0 34
Equal D1 0
#ACT
SET [112] 1
SET [312] 0
Set [200] 1
FormatStr "FLD_CHAR='%s'" %USERNAME
MOV A2 %A9
UpdateValueSql "TBL_BasicCharQuest" %A2 "FLD_STATUS1_RDY=1"
LoadValue A7 [Convert_Def\QuestDiary\AreaQuest\MusaQuestLevel.txt] [Convert] [Msg22]
EventMsg [Private] %A7
Delaygoto [local] 300 @BasicUnLimitRootControl
#ELSEACT
Delaygoto [local] 300 @BasicUnLimitRootControl

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