IF
Global("X#SafanaMother","GLOBAL",2)
Global("x#fw3600Exists","GLOBAL",0)
THEN
RESPONSE #100
SetGlobal("x#fw3600Exists","GLOBAL",1)
CreateCreature("x#fw3600",[557.386],3)
ChangeEnemyAlly("x#fw3600",NEUTRAL)
END

IF
Global("X#SafanaMother","GLOBAL",7)
THEN
RESPONSE #100
ActionOverride("x#fw3600",DestroySelf())
END

IF
GlobalGT("X#SafanaMother","GLOBAL",1)
Global("PirateTreasure","GLOBAL",2)
THEN
RESPONSE #100
ActionOverride("sil",MoveToObject(Player1))
ActionOverride("sil",FaceObject(Player1))
ActionOverride("sil",Dialogue(Player1))
END


IF
Global("X#SafanaMother","GLOBAL",9)
GlobalTimerExpired("X#SAMOM","GLOBAL")
Global("X#ArishanExists","GLOBAL",0)
THEN
RESPONSE #100
SetGlobal("X#ArishanExists","GLOBAL",1)
CreateCreature("X#ARISHA",[160.335],3)
END


