;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@SabukStoneNpc6_start1]
{
#IF
IsCastleGuild Sabuk
IsGuildMaster
#ACT
goto @SabukStoneNpc6_Master
break

#IF
IsCastleGuild Sabuk
#ACT
goto @SabukStoneNpc6_Guild
break



[@SabukStoneNpc6_Guild]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc6.txt] @Convert_SabukStoneNpc6_0

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

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

#IF
!Equal A3 "Stop"
Equal D1 2
Equal D2 1
#ACT
goto @SabukQuestStep6_Master
break

#IF
!Equal A3 "Stop"
Equal D1 2
Equal D2 2
#ACT
goto @SabukQuestStep6_Master1
break

#IF
!Equal A3 "Stop"
Equal D1 2
Equal D2 3
#ACT
goto @SabukQuestStep6_Master2
break

#IF
#ACT
goto @SabukQuestStep6_MasterNo
break

[@SabukQuestStep6_Master1]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc6.txt] @Convert_SabukStoneNpc6_1

[@SabukQuestStep6_Master2]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc6.txt] @Convert_SabukStoneNpc6_2

[@SabukQuestStep6_MasterNo]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc6.txt] @Convert_SabukStoneNpc6_3

[@SabukQuestStep6_Master]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc6.txt] @Convert_SabukStoneNpc6_4

[@SabukMainUser_Master_Step6]
#CALL [SabukCastleQuest\SabukQuestEvent.txt] @SabukQuest_Control_Step6
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;