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






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

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

#IF
Equal A0 %USERNAME
Equal D0 26
Equal D1 4


#ACT
goto @Kaemi_Area_1
break

#ELSEACT
break

[@Kaemi_Area_1]
#IF
#ACT
give ÉñÃØÓÍ 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=5"


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

}








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

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

#IF
Equal A0 %USERNAME
Equal D0 26
Equal D1 2



#ACT
goto @BungjungKaemi_Area_1
break

#ELSEACT
break

[@BungjungKaemi_Area_1]
#IF
large S1 15
#ACT
mov S1 1
break
#ELSEACT
goto @BungjungKaemi_no
break

[@BungjungKaemi_no]
#IF
Equal s1 15
#ACT
goto @BungjungKaemi_1
break

#ELSEACT
goto @BungjungKaemi_2
break


[@BungjungKaemi_1]
#IF
#ACT
give ½ðÁîÅÆ 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=3"

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

[@BungjungKaemi_1_1]
#IF

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

[@BungjungKaemi_1_2]
#IF

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

[@BungjungKaemi_1_3]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide7\Monster.txt] @Convert_Monster_4

[@BungjungKaemi_1_4]
#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide7\Monster.txt] @Convert_Monster_5

[@BungjungKaemi_1_5]
#IF
#ACT
mapmove 0 95 58
delaygoto [local] 3 @BungjungKaemi_say

[@BungjungKaemi_say]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide7\Monster.txt] @Convert_Monster_6

[@BungjungKaemi_2]
#IF
#ACT
inc S1 1
break

}








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

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

#IF
Equal A0 %USERNAME
Equal D0 25
Equal D1 10
checkitem ½ðÁîÅÆ 1

#ACT
goto @kapjuKaemi_Area_1
break

#ELSEACT
break


[@kapjuKaemi_Area_1]
#IF
large S1 5
#ACT
mov S1 1
break
#ELSEACT
goto @kapjuKaemi_no
break

[@kapjuKaemi_no]
#IF
Equal s1 5
#ACT
goto @kapjuKaemi_1_1
break

#ELSEACT
goto @kapjuKaemi_1_2
break

[@kapjuKaemi_1_1]
#IF
#ACT
take ½ðÁîÅÆ 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=11"

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide7\Monster.txt] @Convert_Monster_7

[@kapjuKaemi_3]
#IF
#ACT
map 0
delaygoto [local] 3 @kapjuKaemi_3_say

[@kapjuKaemi_3_say]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\AreaQuest\ChoBoGuide7\Monster.txt] @Convert_Monster_8

[@kapjuKaemi_1_2]
#IF
random 3
#ACT
inc S1 1
break

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