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

[@SabukStoneNpc7_start1]
{
#IF
IsCastleGuild Sabuk
IsGuildMaster
#ACT
goto @SabukStoneNpc7_Master
break

#IF
IsCastleGuild Sabuk
#ACT
goto @SabukStoneNpc7_Guild
break



[@SabukStoneNpc7_Guild]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc7.txt] @Convert_SabukStoneNpc7_0

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

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


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

#IF
#ACT
goto @SabukQuestStep7_MasterNo
break

[@SabukQuestStep7_MasterNo]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc7.txt] @Convert_SabukStoneNpc7_1

[@SabukQuestStep7_Master]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc7.txt] @Convert_SabukStoneNpc7_2

[@SabukMainUser_Master_Step7]
#CALL [SabukCastleQuest\SabukQuestEvent.txt] @SabukQuest_Control_Step7

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