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

[@SabukStoneNpc19_start1]
{
#IF
IsCastleGuild Sabuk
IsGuildMaster
#ACT
goto @SabukStoneNpc19_Master
break

#IF
#ACT
goto @SabukStoneNpc19_Guild
break



[@SabukStoneNpc19_Guild]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc19.txt] @Convert_SabukStoneNpc19_0

[@SabukStoneNpc19_Master]
#ACT

ReadValueSql "TBL_SabukGuildQuest" "FLD_SabukQuest='SabukQuest'" "FLD_SabukUserName,FLD_SabukCondition,FLD_SabukStatus,FLD_SabukStatusReady" [@SabukStoneNpc19_Call_0]

[@SabukStoneNpc19_Call_0()]
#ACT
mov A2 %ARG(1)
mov A3 %ARG(2)
mov D1 %ARG(3)
mov D2 %ARG(4)

#IF
Equal A2 %USERNAME
!Equal A3 "Stop"
Equal D1 7
Equal D2 3
#ACT
goto @SabukMainUser_Master_Step19_A
break


#IF
Equal A2 %USERNAME
!Equal A3 "Stop"
Equal D1 6
Equal D2 2
#ACT
goto @SabukQuestStep19_Master1
break


#IF
checkhum D1702_011 10
Equal A2 %USERNAME
!Equal A3 "Stop"
Equal D1 7
Equal D2 1
#ACT
goto @SabukQuestStep19_Master
break

#IF
!checkhum D1702_011 10
Equal A2 %USERNAME
!Equal A3 "Stop"
Equal D1 7
Equal D2 1
#ACT
goto @SabukQuestStep19_Master_hum
break


#IF
#ACT
goto @SabukQuestStep19_MasterNo
break

[@SabukQuestStep19_MasterNo]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc19.txt] @Convert_SabukStoneNpc19_1

[@SabukQuestStep19_Master_hum]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc19.txt] @Convert_SabukStoneNpc19_2

[@SabukQuestStep19_Master]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc19.txt] @Convert_SabukStoneNpc19_3

[@SabukQuestStep19_Master1]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc19.txt] @Convert_SabukStoneNpc19_4

[@SabukMainUser_Master_Step19_A]
#CALL [SabukCastleQuest\SabukQuestEvent.txt] @SabukQuest_Control_Step19_A



[@SabukMainUser_Master_Step19]
#CALL [SabukCastleQuest\SabukQuestEvent.txt] @SabukQuest_Control_Step19

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