;;;QQ:67762207
[@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
该回去见霸王幽灵了……\ \
#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
（这是何物？难道是遗骸……？霸王幽灵不是没形体的吗？怎么会……）\ \
<关 闭/@exit>
#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
（终于打败了霸王教主，该带着霸王教主雕像去见霸王幽灵了。）\

[@PaChun_Quest2_next]
#IF
#ACT
MOV A0 %USERMAP
#IF
EQUAL A0 "D904"
#ACT
mapting D904 D903 54 55
break
#IF
EQUAL A0 "$04D904"
#ACT
mapting $04D904 D903 54 55
break
#IF
EQUAL A0 "$01D904"
#ACT
mapting $01D904 D903 54 55
break
#IF
EQUAL A0 "$02D904"
#ACT
mapting $02D904 D903 54 55
break
#IF
EQUAL A0 "$03D904"
#ACT
mapting $03D904 D903 54 55
break

}
;;;QQ:67762207