//XzarShlum
IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
AreaCheck("AR7324")
Global("XzarShlum","GLOBAL",1)
Dead("schlumpsa")
THEN
RESPONSE #100
SetGlobal("XzarShlum","GLOBAL",2)
Dialogue(Player1)
END

IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
AreaCheck("AR8602")
Global("XzarSlaves","GLOBAL",0)
Dead("cmogremage")
THEN
RESPONSE #100
SetGlobal("XzarSlaves","GLOBAL",1)
StartDialogueNoSet(Player1)
END


IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
AreaCheck("AR7326")
Global("XzarOgreBA","GLOBAL",0)
Dead("sewerogre")
THEN
RESPONSE #100
SetGlobal("XzarOgreBA","GLOBAL",1)
StartDialogueNoSet(Player1)
END

IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
AreaCheck("AR9600")
Global("XzarChicken","GLOBAL",0)
PartyHasItem("MISC49")
THEN
RESPONSE #100
SetGlobal("XzarChicken","GLOBAL",1)
StartDialogueNoSet(Player1)
END


IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("XzarMourns","GLOBAL",0)
Dead("Montaron")
THEN
RESPONSE #100
SetGlobal("XzarMourns","GLOBAL",1)
SetGlobalTimer("XZMourns","GLOBAL", 28800)
END

IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("XzarMourns","GLOBAL",1)
Dead("Montaron")
GlobalTimerExpired("XZMourns","GLOBAL")
THEN
RESPONSE #100
SetGlobal("XzarMourns","GLOBAL",2)
StartDialogueNoSet(Player1)
END

//Slimes

IF
Global("Chapter","GLOBAL",7)
AreaCheck("AR7212")
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("XzarSlime","GLOBAL",1)
THEN
   RESPONSE #100
   SetGlobal("XzarSlime","GLOBAL",2)
   StartDialogueNoSet(Player1)
END

IF
AreaCheck("AR7212")
PartyHasItem("misc78")
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("XzUnder","GLOBAL",0)
OR(10)
See("xzslime")
See("xzjelly")
Dead("xzslime")
Dead("xzjelly")
AttackedBy([EVILBUTBLUE],DEFAULT)
Race(LastSeenBy(),SLIME)
See("zizi1")
See("zizi2")
See("zizi3")
See("zizi4")
THEN
   RESPONSE #100
   SetGlobal("XzUnder","GLOBAL",1)
   StartDialogueNoSet(Player1)
END

IF
AreaCheck("AR3400")
Dead("carsa")
Dead("kahrk")
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("XzarKahrk","GLOBAL",0)
THEN
   RESPONSE #100
   SetGlobal("XzarKahrk","GLOBAL",1)
   StartDialogueNoSet(Player1)
END

IF
AreaCheck("AR3900")
PartyHasItem("DAGG03")
Dead("reven")
Global("XzarDagger","GLOBAL",0)
THEN
RESPONSE #100
SetGlobal("XzarDagger","GLOBAL",1)
StartDialogueNoSet(Player1)
END

IF
AreaCheck("AR7500")
GlobalGT("SPRITE_IS_DEADZOMBIEW","GLOBAL",3)
Global("XzarZombie","GLOBAL",0)
THEN
   RESPONSE #100
SetGlobal("XzarZombie","GLOBAL",1)
   StartDialogueNoSet(Player1)
END

IF
AreaCheck("AR7704")
Global("XzarBoss","GLOBAL",4)
Dead("oulam")
Dead("wheber")
Dead("william")
Dead("niemain")
!Dead("xzar")
THEN
RESPONSE #100
SetGlobal("XzarBoss","GLOBAL",7)
Dialogue(Player1)
END
