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

[@SabukStoneNpc27_start1]
{
#IF
IsCastleGuild Sabuk
IsGuildMaster
#ACT
goto @SabukStoneNpc27_Master
break

#IF
#ACT
goto @SabukStoneNpc27_Guild
break



[@SabukStoneNpc27_Guild]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc27.txt] @Convert_SabukStoneNpc27_0

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

[@SabukStoneNpc27_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 10
Equal D2 2
#ACT
goto @SabukQuestStep27_Master
break

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

#IF
#ACT
goto @SabukQuestStep27_MasterNo
break

[@SabukQuestStep27_MasterNo]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc27.txt] @Convert_SabukStoneNpc27_1

[@SabukQuestStep27_Master1]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc27.txt] @Convert_SabukStoneNpc27_2

[@SabukQuestStep27_Master]

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\SabukCastleQuest\SabukStoneNpc27.txt] @Convert_SabukStoneNpc27_3

[@SabukMainUser_Master_Step27]
#CALL [SabukCastleQuest\SabukQuestEvent.txt] @SabukQuest_Control_Step27

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