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






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

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

#IF
Equal A0 %USERNAME
Equal D0 20
Equal D1 7

#ACT
goto @Kimssi_Oma_1
break

#ELSEACT
break

[@Kimssi_Oma_1]
#IF
small s1 6
#ACT
goto @Kimssi_Oma_1_2
break

#ELSEACT
goto @Kimssi_Oma_1_1
break

[@Kimssi_Oma_1_1]
#IF
#ACT
give ÍõÌú½³µÄÌú´¸ 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=8"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=20"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide4\Monster.txt] @Convert_Monster_0

[@Kimssi_Oma_1_2]
#ACT
movr D9 3
inc D9 1

#IF
Equal D9 2
#ACT
inc S1 1
break

#ELSEACT
break

}








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

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

#IF
Equal A0 %USERNAME
Equal D0 20
Equal D1 10

#ACT
goto @wha_Omajounsa_1
break

#ELSEACT
break

[@wha_Omajounsa_1]
#IF
small s1 6
#ACT
goto @wha_Omajounsa_1_2
break

#ELSEACT
goto @wha_Omajounsa_1_1
break

[@wha_Omajounsa_1_1]
#IF
#ACT
give ½ÇµÑ 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=11"
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1=20"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide4\Monster.txt] @Convert_Monster_1

[@wha_Omajounsa_1_2]
#ACT
movr D9 3
inc D9 1

#IF
Equal D9 2
#ACT
inc S1 1
break

#ELSEACT
break

}








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

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

#IF
Equal A0 %USERNAME
Equal D0 20
Equal D1 12
#ACT
goto @Omayongsa_Area_1
break

#ELSEACT
break

[@Omayongsa_Area_1]
#IF
#ACT
map 0
give °ë¿é²»ËÀÅÆ 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=13"
delaygoto [local] 3 @Omayongsa_say

[@Omayongsa_say]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide4\Monster.txt] @Convert_Monster_2

}









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

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

#IF
Equal A0 %USERNAME
Equal D0 20
Equal D1 15
#ACT
goto @haegultosa_Area_1
break

#ELSEACT
break

[@haegultosa_Area_1]
#IF
#ACT
map 0
give ²»ËÀÅÆ 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=16"
delaygoto [local] 3 @haegultosa_say

[@haegultosa_say]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide4\Monster.txt] @Convert_Monster_3

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