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






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

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

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


#ACT
goto @Umyoungki_Area_27
break

#ELSEACT
break

[@Umyoungki_Area_27]
#IF
large S1 15
#ACT
mov S1 1
break
#ELSEACT
goto @Umyoungki_no
break

[@Umyoungki_no]
#IF
Equal s1 15
#ACT
goto @Umyoungki_Area_27_1
break

#ELSEACT
goto @Umyoungki_Area_27_2
break

[@Umyoungki_Area_27_1]
#IF
#ACT
give 沃玛金牌 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=3"


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

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

}









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

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

#IF
Equal A0 %USERNAME
Equal D0 27
Equal D1 6


#ACT
goto @Umyoungkijul_Area_27
break

#ELSEACT
break

[@Umyoungkijul_Area_27]
#IF
large S1 10
#ACT
mov S1 1
break
#ELSEACT
goto @Umyoungkijul_no
break

[@Umyoungkijul_no]
#IF
Equal s1 10
#ACT
goto @Umyoungkijul_Area_27_1
break

#ELSEACT
goto @Umyoungkijul_Area_27_2
break

[@Umyoungkijul_Area_27_1]
#IF
#ACT
give 无名日志 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=7"


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

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

}








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

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

#IF
Equal A0 %USERNAME
Equal D0 27
Equal D1 15


#ACT
goto @Umyoungkijang_Area_1
break

#ELSEACT
break

[@Umyoungkijang_Area_1]
#IF
#ACT
give 灵魂明珠 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=16"


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

}










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

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

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


#ACT
goto @kijang_Area_1
break

#ELSEACT
break

[@kijang_Area_1]
#IF
#ACT
give 灵魂明珠 1
give 沃玛神铁锤 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=19"


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

}











[@AreaQuest_Umyoungkiwang]
{
#IF
checkitem 沃玛金牌 1
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
ReadValueSql "TBL_BasicCharQuest" %A9 "FLD_CHAR,FLD_STATUS1,FLD_STATUS1_RDY" [@Quest_kiwang_1]
#ELSEACT
break

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

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


#ACT
goto @kiwang_Area_1
break

#ELSEACT
break

[@kiwang_Area_1]
#IF
#ACT
take 沃玛金牌 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=22"


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

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