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

[@SabukStoneNpc21_start1]
{
#IF
IsCastleGuild Sabuk
IsGuildMaster
#ACT
goto @SabukStoneNpc21_Master
break

#IF
#ACT
goto @SabukStoneNpc21_Guild
break



[@SabukStoneNpc21_Guild]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc21.txt] @Convert_SabukStoneNpc21_0

[@SabukStoneNpc21_Master]
#ACT

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

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



#IF
CheckHum D1703_011 1
CheckHum D1703_013 1
!Equal A3 "Stop"
Equal D1 8
Equal D2 2
#ACT
goto @SabukQuestStep21_Master
break

#IF
!CheckHum D1703_011 1
!CheckHum D1703_013 1
!Equal A3 "Stop"
Equal D1 8
Equal D2 2
#ACT
goto @SabukQuestStep21_Master1
break

#IF
#ACT
goto @SabukQuestStep21_MasterNo
break

[@SabukQuestStep21_MasterNo]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc21.txt] @Convert_SabukStoneNpc21_1

[@SabukQuestStep21_Master1]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc21.txt] @Convert_SabukStoneNpc21_2

[@SabukQuestStep21_Master]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc21.txt] @Convert_SabukStoneNpc21_3

[@SabukMainUser_Master_Step21]
#CALL [SabukCastleQuest\SabukQuestEvent.txt] @SabukQuest_Control_Step21

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