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

[@SabukStoneNpc11_start1]
{
#IF
IsCastleGuild Sabuk
IsGuildMaster
#ACT
goto @SabukStoneNpc11_Master
break

#IF
IsCastleGuild Sabuk
#ACT
goto @SabukStoneNpc11_Guild
break



[@SabukStoneNpc11_Guild]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc11.txt] @Convert_SabukStoneNpc11_0

[@SabukStoneNpc11_Master]
#ACT

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

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


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

#IF
#ACT
goto @SabukQuestStep11_MasterNo
break

[@SabukQuestStep11_MasterNo]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc11.txt] @Convert_SabukStoneNpc11_1

[@SabukQuestStep11_Master]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc11.txt] @Convert_SabukStoneNpc11_2

[@SabukMainUser_Master_Step11]
#CALL [SabukCastleQuest\SabukQuestEvent.txt] @SabukQuest_Control_Step11

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