Actor Satanic_RaisedZombie
{  
	Health 4
	Radius 20
	Height 56
	Speed 4
	MONSTER
	+FLOORCLIP
	+FRIENDLY
	+FLOATBOB
	DamageFactor NoDamage,	 		0
	DamageFactor DrainHealthEver,	0
	DamageFactor DrainHealth,		0
	DamageFactor DrainMana,			0
	DamageFactor Posession, 		0
	States
	{
	Spawn:
		POSS W 0 A_JumpIfInventory("Satanic_ExplodeCorpsesThing",1,3)
		POSS W 1 ACS_Execute(787,0,0,0,0)
		POSS W 1 A_Chase
		Goto Spawn
		POSS W 0
		Goto Death
	Death.DrainMana:
	Death.DrainHealth:
	Burn:
	Death:
		POSS M 1 A_Explode(512,96)
		POSS M 1 A_UnsetSolid
		POSS M 1 A_SpawnItem("Satanic_RaisedZombieExplosion")
		POSS M 2
		POSS N 5 A_XScream
		POSS O 5 A_NoBlocking
		POSS PQRST 5
		POSS U 5
		Stop
	}
}

ACTOR Satanic_RaisedChaingunnerZombie
{  
	Health 4
	Radius 20
	Height 56
	Speed 4
	MONSTER
	+FLOORCLIP
	+FRIENDLY
	+FLOATBOB
	DamageFactor NoDamage,	 		0
	DamageFactor DrainHealthEver,	0
	DamageFactor DrainHealth,		0
	DamageFactor DrainMana,			0
	DamageFactor Posession, 		0
	States
	{
	Spawn:
		CZOM C 0 A_JumpIfInventory("Satanic_ExplodeCorpsesThing",1,3)
		CZOM C 1 ACS_Execute(787,0,0,0,0)
		CZOM C 1 A_Chase
		Goto Spawn
		CZOM C 0
		Goto Death
	Death.DrainMana:
	Death.DrainHealth:
	Burn:
	Death:
		POSS M 1 A_Explode(600,128)
		POSS M 1 A_UnsetSolid
		POSS M 1 A_SpawnItem("Satanic_RaisedZombieExplosion")
		POSS M 2
		POSS N 5 A_XScream
		POSS O 5 A_NoBlocking
		POSS PQRST 5
		POSS U 5
		Stop
	}
}

ACTOR Satanic_RaisedDoubleChaingunnerZombie
{  
	Health 4
	Radius 20
	Height 56
	Speed 4
	MONSTER
	+FLOORCLIP
	+FRIENDLY
	+FLOATBOB
	DamageFactor NoDamage,	 		0
	DamageFactor DrainHealthEver,	0
	DamageFactor DrainHealth,		0
	DamageFactor DrainMana,			0
	DamageFactor Posession, 		0
	States
	{
	Spawn:
		DPOB B 0 A_JumpIfInventory("Satanic_ExplodeCorpsesThing",1,3)
		DPOB B 1 ACS_Execute(787,0,0,0,0)
		DPOB B 1 A_Chase
		Goto Spawn
		DPOB C 0
		Goto Death
	Death.DrainMana:
	Death.DrainHealth:
	Burn:
	Death:
		POSS M 1 A_Explode(600,128)
		POSS M 1 A_UnsetSolid
		POSS M 1 A_SpawnItem("Satanic_RaisedZombieExplosion")
		POSS M 2
		POSS N 5 A_XScream
		POSS O 5 A_NoBlocking
		POSS PQRST 5
		POSS U 5
		Stop
	}
}

Actor Satanic_ExplodeCorpsesThing : Inventory
{
	Inventory.MaxAmount 1
}


Actor Satanic_RaisedZombieExplosion
{
	Speed 	0
	Height 	0
	Radius 	0
	Mass 	0
	PROJECTILE
	-SOLID
	States
	{
	Spawn:
		NONE A 1
		Goto Death
	Death: 
		MSP1 AAA 0 A_CustomMissile("Satanic_RaisedZombieRipper",0,Random(-64,64),Random(0,360),2,Random(0,360))
		MSP1 AAA 0 A_CustomMissile("Satanic_RaisedZombieRipper",0,Random(-64,64),Random(0,360),2,Random(0,360))
		MSP1 AAA 0 A_CustomMissile("Satanic_RaisedZombieRipper",0,Random(-64,64),Random(0,360),2,Random(0,360))
		MSP1 AAA 0 A_CustomMissile("Satanic_RaisedZombieRipper",0,Random(-64,64),Random(0,360),2,Random(0,360))
		MSP1 AAA 0 A_CustomMissile("Satanic_RaisedZombieRipper",0,Random(-64,64),Random(0,360),2,Random(0,360))
		MSP1 AAA 0 A_CustomMissile("Satanic_RaisedZombieRipper",0,Random(-64,64),Random(0,360),2,Random(0,360))
		MSP1 AAA 0 A_CustomMissile("Satanic_RaisedZombieRipper",0,Random(-64,64),Random(0,360),2,Random(0,360))
		MSP1 AAA 0 A_CustomMissile("Satanic_RaisedZombieRipper",0,Random(-64,64),Random(0,360),2,Random(0,360))
		MSP1 AAA 0 A_CustomMissile("Satanic_RaisedZombieRipper",0,Random(-64,64),Random(0,360),2,Random(0,360))
		MSP1 AAA 0 A_CustomMissile("Satanic_RaisedZombieRipper",0,Random(-64,64),Random(0,360),2,Random(0,360))
		MSP1 AAA 0 A_CustomMissile("Satanic_RaisedZombieRipper",0,Random(-64,64),Random(0,360),2,Random(0,360))
		MSP1 A 0 A_SpawnItem("Satanic_SmokeSpawner")
		MSP1 A 0 A_PlaySound("weapons/rocklx")
		MSP1 H 2 BRIGHT Light ("deadheadexplosion1")
		MSP1 I 2 BRIGHT Light ("deadheadexplosion2")
		MSP1 J 2 BRIGHT Light ("deadheadexplosion3")
		MSP1 K 2 BRIGHT Light ("deadheadexplosion4")
		MSP1 L 2 BRIGHT Light ("deadheadexplosion5")
		MSP1 M 2 BRIGHT Light ("deadheadexplosion6") 
		MSP1 N 2 BRIGHT Light ("deadheadexplosion7")
		MSP1 OP 2 Bright
		Stop
    }
}

Actor Satanic_RaisedZombieRipper
{
	Speed	16
	Height	1
	Radius	1
	Mass	8
	Damage	5
	RenderStyle	Add
	Decal 		BloodSmear
	Alpha		0.8 
	Scale		0.5
	PROJECTILE
	-NOGRAVITY
	+RIPPER
	States
	{
	Spawn:
		NULL A 3 A_SpawnItem("Satanic_Blood")
		Loop
    Death: 
		NULL A 0
		Stop
    }
}