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

[@SabukStoneNpc25_start1]
{
#IF
IsCastleGuild Sabuk
IsGuildMaster
#ACT
goto @SabukStoneNpc25_Master
break

#IF
#ACT
goto @SabukStoneNpc25_Guild
break



[@SabukStoneNpc25_Guild]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc25.txt] @Convert_SabukStoneNpc25_0

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

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



#IF
CheckHum D1703_013 1
!Equal A3 "Stop"
Equal D1 9
Equal D2 3
#ACT
goto @SabukQuestStep25_Master
break

#IF
!CheckHum D1703_013 1
!Equal A3 "Stop"
Equal D1 9
Equal D2 2
#ACT
goto @SabukQuestStep25_Master1
break

#IF
CheckHum D1703_013 1
!Equal A3 "Stop"
Equal D1 9
Equal D2 2
#ACT
goto @SabukQuestStep25_Master2
break

#IF
#ACT
goto @SabukQuestStep25_MasterNo
break

[@SabukQuestStep25_MasterNo]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc25.txt] @Convert_SabukStoneNpc25_1

[@SabukQuestStep25_Master1]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc25.txt] @Convert_SabukStoneNpc25_2

[@SabukQuestStep25_Master2]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc25.txt] @Convert_SabukStoneNpc25_3

[@SabukQuestStep25_Master]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc25.txt] @Convert_SabukStoneNpc25_4

[@SabukMainUser_Master_Step25]
#CALL [SabukCastleQuest\SabukQuestEvent.txt] @SabukQuest_Control_Step25

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