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






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

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

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 3

#ACT
goto @Busikgi_AreaQuest_1
break

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

#ACT
goto @Busikgi2_AreaQuest_1
break

#ELSEACT
break

[@Busikgi_AreaQuest_1]
#IF
large S1 15
#ACT
mov S1 1
break
#ELSEACT
goto @Busikgi_AreaQuest_no
break

[@Busikgi_AreaQuest_no]
#IF
Equal s1 15
#ACT
goto @Busikgi_AreaQuest_1_1
break

#ELSEACT
goto @Busikgi_AreaQuest_1_2
break


[@Busikgi_AreaQuest_1_1]
#IF
#ACT
give 药草 1
Mov S1 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=4"


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

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


[@Busikgi2_AreaQuest_1]
#IF
large S1 15
#ACT
mov S1 1
break
#ELSEACT
goto @Busikgi2_AreaQuest_no
break

[@Busikgi2_AreaQuest_no]
#IF
Equal s1 15
#ACT
goto @Busikgi2_AreaQuest_1_1
break

#ELSEACT
goto @Busikgi2_AreaQuest_1_2
break


[@Busikgi2_AreaQuest_1_1]
#IF
#ACT
give 抛魂铃铛 1
Mov S1 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=8"


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

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



}








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

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

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

#ACT
goto @Nanginki_AreaQuest_1
break

#ELSEACT
break

[@Nanginki_AreaQuest_1]
#IF
large S1 15
#ACT
mov S1 1
break
#ELSEACT
goto @Nanginki_AreaQuest_no
break

[@Nanginki_AreaQuest_no]
#IF
Equal s1 15
#ACT
goto @Nanginki_AreaQuest_1_1
break

#ELSEACT
goto @Nanginki_AreaQuest_1_2
break


[@Nanginki_AreaQuest_1_1]
#IF
#ACT
give 赋魂铃铛 1
Mov S1 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=11"


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

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

}








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

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

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

#ACT
goto @Bungjul_AreaQuest_1
break

#IF
Equal A0 %USERNAME
Equal D0 30
Equal D1 22

#ACT
goto @Bungjul2_AreaQuest_1
break

#ELSEACT
break

[@Bungjul_AreaQuest_1]
#IF
large S1 15
#ACT
mov S1 1
break
#ELSEACT
goto @Bungjul_AreaQuest_no
break

[@Bungjul_AreaQuest_no]
#IF
Equal s1 15
#ACT
goto @Bungjul_AreaQuest_1_1
break

#ELSEACT
goto @Bungjul_AreaQuest_1_2
break


[@Bungjul_AreaQuest_1_1]
#IF
#ACT
give 断了的琵琶弦 1
Mov S1 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=19"


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

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




[@Bungjul2_AreaQuest_1]
#IF
large S1 15
#ACT
mov S1 1
break
#ELSEACT
goto @Bungjul2_AreaQuest_no
break

[@Bungjul2_AreaQuest_no]
#IF
Equal s1 15
#ACT
goto @Bungjul2_AreaQuest_1_1
break

#ELSEACT
goto @Bungjul2_AreaQuest_1_2
break


[@Bungjul2_AreaQuest_1_1]
#IF
#ACT
give 除魔大师的秘传书 1
Mov S1 0
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=23"


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

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

}






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

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

#IF
Equal A0 %USERNAME
Equal D0 31
Equal D1 5


#ACT
goto @gulkijang_Area_1
break

#ELSEACT
break

[@gulkijang_Area_1]
#IF
#ACT
give 素玉戒指 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=6"


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

}








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

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

#IF
Equal A0 %USERNAME
Equal D0 31
Equal D1 8


#ACT
goto @gulkijang_Next_1
break

#ELSEACT
break

[@gulkijang_Next_1]
#IF
#ACT
give 名册 1
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=9"


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

}







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

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

#IF
Equal A0 %USERNAME
Equal D0 31
Equal D1 11


#ACT
goto @HaegulBanwang_Next_1
break

#ELSEACT
break

[@HaegulBanwang_Next_1]
#IF
#ACT
FormatStr "FLD_CHAR='%s'" %USERNAME
UpdateValueSql "TBL_BasicCharQuest" %A9 "FLD_STATUS1_RDY=12"


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

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