;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@SabukStoneNpc4_start1]
{
#IF
IsCastleGuild Sabuk
IsGuildMaster
#ACT
goto @SabukStoneNpc4_Master
break

#IF
IsCastleGuild Sabuk
#ACT
goto @SabukStoneNpc4_Guild
break



[@SabukStoneNpc4_Guild]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc4.txt] @Convert_SabukStoneNpc4_0

[@SabukStoneNpc4_Master]
#ACT
ReadValueSql "TBL_SabukGuildQuest" "FLD_SabukQuest='SabukQuest'" "FLD_SabukCondition,FLD_SabukStatus,FLD_SabukStatusReady" [@SabukStoneNpc4_Call_0]

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

#IF
!Equal A3 "Stop"
Equal D1 1
Equal D2 4
#ACT
goto @SabukQuestStep4_Master
break

#IF
!Equal A3 "Stop"
Equal D1 1
Equal D2 5
#ACT
goto @SabukQuestStep4_Master1
break

#IF
!Equal A3 "Stop"
Equal D1 1
Equal D2 6
#ACT
goto @SabukQuestStep4_Master2
break

#IF
#ACT
goto @SabukQuestStep4_MasterNo
break

[@SabukQuestStep4_Master1]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc4.txt] @Convert_SabukStoneNpc4_1

[@SabukQuestStep4_Master2]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc4.txt] @Convert_SabukStoneNpc4_2

[@SabukQuestStep4_MasterNo]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc4.txt] @Convert_SabukStoneNpc4_3

[@SabukQuestStep4_Master]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc4.txt] @Convert_SabukStoneNpc4_4

[@SabukMainUser_Master_Step4]
#CALL [SabukCastleQuest\SabukQuestEvent.txt] @SabukQuest_Control_Step4
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;