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



[@KyungGab_Quest1]
{
#ACT
FormatStr "FLD_SINUSERNAME='%s'" %USERNAME

ReadValueSql "TBL_SinGiSunQuest" %A9 "FLD_SINMAINSTEP,FLD_SINSTEP_READY" [@KyungGab_Quest2_0]

[@KyungGab_Quest2_0()]
#ACT
mov D1 %ARG(1)
mov D2 %ARG(2)

#IF
Equal D1 1
Equal D2 3
#ACT
goto @KyungGab_Quest2_1
break

#IF
#ACT
break


[@KyungGab_Quest2_1]
#IF

#ACT
FormatStr "FLD_SINUSERNAME='%s'" %USERNAME
UpdateValueSql "TBL_SinGiSunQuest" %A9 "FLD_SINMAINSTEP=1"
UpdateValueSql "TBL_SinGiSunQuest" %A9 "FLD_SINSTEP_READY=4"
set [204] 0
break

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SinGiSun\Mon_SinGi.txt] @Convert_Mon_SinGi_0

#ELSEACT
break

}



[@HwanMa_Quest1]
{
#ACT
FormatStr "FLD_SINUSERNAME='%s'" %USERNAME

ReadValueSql "TBL_SinGiSunQuest" %A9 "FLD_SINMAINSTEP,FLD_SINSTEP_READY" [@KyungGab_Quest2_0]

[@KyungGab_Quest2_0()]
#ACT
mov D1 %ARG(1)
mov D2 %ARG(2)

#IF
Equal D1 2
Equal D2 2
#ACT
FormatStr "FLD_SINUSERNAME='%s'" %USERNAME
UpdateValueSql "TBL_SinGiSunQuest" %A9 "FLD_SINMAINSTEP=2"
UpdateValueSql "TBL_SinGiSunQuest" %A9 "FLD_SINSTEP_READY=3"
give ÒÅº¡ 1
set [204] 0
break

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SinGiSun\Mon_SinGi.txt] @Convert_Mon_SinGi_1

#ELSEACT
break

}



[@PaChun_Quest1]
{
#ACT
FormatStr "FLD_SINUSERNAME='%s'" %USERNAME

ReadValueSql "TBL_SinGiSunQuest" %A9 "FLD_SINMAINSTEP,FLD_SINSTEP_READY" [@PaChun_Quest1_0]

[@PaChun_Quest1_0()]
#ACT
mov D1 %ARG(1)
mov D2 %ARG(2)

#IF
Equal D1 3
Equal D2 1
#ACT
goto @PaChun_Quest2
Delaygoto [Grobal] 120 @PaChun_Quest2_next
break

#ELSEACT
Delaygoto [Grobal] 120 @PaChun_Quest2_next
break

[@PaChun_Quest2]
#ACT
FormatStr "FLD_SINUSERNAME='%s'" %USERNAME
UpdateValueSql "TBL_SinGiSunQuest" %A9 "FLD_SINMAINSTEP=3"
UpdateValueSql "TBL_SinGiSunQuest" %A9 "FLD_SINSTEP_READY=2"
set [204] 0
Give °ÔÍõ½ÌÖ÷µñÏñ 1

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SinGiSun\Mon_SinGi.txt] @Convert_Mon_SinGi_2

[@PaChun_Quest2_next]
#IF
#ACT
mapting D1406 D1405 54 55
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;