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






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

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

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 23


#ACT
goto @Guuol_Area_1
break

#ELSEACT
break

[@Guuol_Area_1]
#IF
#ACT
give ²»ËÀÅÆ 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=24"


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

}








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

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

#IF
Equal A0 %USERNAME
Equal D0 21
Equal D1 18


#ACT
goto @jombi2_AreaQuest_1

#ELSEACT
break

[@jombi2_AreaQuest_1]
#IF
large S1 6
#ACT
mov S1 1
break
#ELSEACT
goto @AreaQuest_Jombi_no
break

[@AreaQuest_Jombi_no]
#IF
Equal s1 6
#ACT
goto @jombi2_AreaQuest_1_1
break

#ELSEACT
goto @jombi2_AreaQuest_1_2
break


[@jombi2_AreaQuest_1_1]
#IF
#ACT
give É®ÂÂ½©Ê¬¹Ç 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=19"


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

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

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