actor VeryDeadMarine: DeadMarine Replaces DeadMarine
{
	Game Doom
	Damagefactor "Avoid", 0.0	Damagefactor "BHFTOnBarrel", 0.0	Damagefactor "Blood", 0.0
	Damagefactor "CancelTeleportFog", 0.0	Damagefactor "CauseWaterSplash", 0.0
	Damagefactor "FriendBullet", 0.0	Damagefactor "GibRemoving", 100.0
	Damagefactor "HangingHook", 0.0	Damagefactor "Head", 1.25	Damagefactor "HeadKick", 0.0
	Damagefactor "HelperMarineFatallity", 0.0	Damagefactor "KillMe", 0.0	Damagefactor "Leg", 0.0
	Damagefactor "MonsterKnocked", 0.0	Damagefactor "PussyGrab", 0.0	Damagefactor "Repair", 0.0
	Damagefactor "RevenantHitStomach", 0.0	Damagefactor "SpawnMarine", 0.0	Damagefactor "Stealth", 0.0
	DamageFactor "SSG", 5.0	Damagefactor "ExtremePunches", 5.0	Damagefactor "Fatality", 5.0	Damagefactor "HelperMarineFatallity", 5.0
	DamageFactor "TankWeakSpot", 0.0	Damagefactor "Taunt", 0.0	Damagefactor "TeleportRemover", 100.0
	Damagefactor "Use", 0.0
	+CORPSE
	+ALWAYSTELEFRAG
	States
	{
    Spawn:
	    TNT1 A 0
		TNT1 AAAAA 0 A_CustomMissile ("SuperWallOldBlood", 10, 0, random (0, 360), 2, random (5, 40))
		TNT1 AAAAAA 0 A_SpawnItemEx("Brutal_OldBloodSpot",random(64, -64),random(64, -64))
		TNT1 A 0 A_SpawnItem("MediumOldBloodSpot")
		TNT1 A 0
		TNT1 A 0 A_Jump(160,4)
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 1 A_SpawnItem("CurbstompedMarine")
		TNT1 A 2 Thing_Remove(0)
		Stop
		TNT1 A 0 A_Jump(160,4)
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 1 A_SpawnItem("AteMarine")
		TNT1 A 2 Thing_Remove(0)
		Stop
		TNT1 A 0 A_Jump(160,4)
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 1 A_SpawnItem("DeadRippedOffMarine")
		TNT1 A 2 Thing_Remove(0)
		Stop
		TNT1 A 0 A_Jump(160,4)
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 1 A_SpawnItem("FuckedMarine")
		TNT1 A 2 Thing_Remove(0)
		Stop
		TNT1 A 0 A_Jump(160,4)
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 1 A_SpawnItem("ADoomedSpaceMarine2")
		TNT1 A 2 Thing_Remove(0)
		Stop
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 1 A_SpawnItem("ADoomedSpaceMarine")
		TNT1 A 2 Thing_Remove(0)
		Stop
	}
}

actor VeryVeryDeadMarine: GibbedMarine Replaces GibbedMarine
{
	Game Doom
	Damagefactor "Avoid", 0.0	Damagefactor "BHFTOnBarrel", 0.0	Damagefactor "Blood", 0.0
	Damagefactor "CancelTeleportFog", 0.0	Damagefactor "CauseWaterSplash", 0.0
	Damagefactor "FriendBullet", 0.0	Damagefactor "GibRemoving", 100.0
	Damagefactor "HangingHook", 0.0	Damagefactor "Head", 1.25	Damagefactor "HeadKick", 0.0
	Damagefactor "HelperMarineFatallity", 0.0	Damagefactor "KillMe", 0.0	Damagefactor "Leg", 0.0
	Damagefactor "MonsterKnocked", 0.0	Damagefactor "PussyGrab", 0.0	Damagefactor "Repair", 0.0
	Damagefactor "RevenantHitStomach", 0.0	Damagefactor "SpawnMarine", 0.0	Damagefactor "Stealth", 0.0
	DamageFactor "SSG", 5.0	Damagefactor "ExtremePunches", 5.0	Damagefactor "Fatality", 5.0	Damagefactor "HelperMarineFatallity", 5.0
	DamageFactor "TankWeakSpot", 0.0	Damagefactor "Taunt", 0.0	Damagefactor "TeleportRemover", 100.0
	Damagefactor "Use", 0.0
	+CORPSE
	+ALWAYSTELEFRAG
	States
	{
    Spawn:
		TNT1 A 0
		TNT1 AAAAA 0 A_CustomMissile ("SuperWallOldBlood", 10, 0, random (0, 360), 2, random (5, 40))
		TNT1 AAAAAAA 0 A_SpawnItemEx("Brutal_OldBloodSpot",random(64, -64),random(64, -64))
		TNT1 A 0 A_SpawnItem("MediumOldBloodSpot")
		TNT1 A 0 A_Jump(160,4)
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 1 A_SpawnItem("GibDec")
		TNT1 A 2 Thing_Remove(0)
		Stop
		TNT1 A 0 A_Jump(160,4)
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 1 A_SpawnItem("GibDec")
		TNT1 A 2 Thing_Remove(0)
		Stop
		TNT1 A 0 A_Jump(160,4)
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 1 A_SpawnItem("VeryDeadCivilian")
		TNT1 A 2 Thing_Remove(0)
		Stop
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 1 A_SpawnItem("GutsPile")
		TNT1 A 2 Thing_Remove(0)
		Stop
	}
}

actor VeryVeryDeadMarine2 : VeryVeryDeadMarine Replaces GibbedMarineExtra	{}

actor CurbstompedMarine
{
	Game Doom
    Health 100
	BloodType "DeadBlood", "SawBlood", "SawBlood"

	Damagefactor "Avoid", 0.0	Damagefactor "BHFTOnBarrel", 0.0	Damagefactor "Blood", 0.0
	Damagefactor "CancelTeleportFog", 0.0	Damagefactor "CauseWaterSplash", 0.0
	Damagefactor "FriendBullet", 0.0	Damagefactor "GibRemoving", 100.0
	Damagefactor "HangingHook", 0.0	Damagefactor "Head", 1.25	Damagefactor "HeadKick", 0.0
	Damagefactor "HelperMarineFatallity", 0.0	Damagefactor "KillMe", 0.0	Damagefactor "Leg", 0.0
	Damagefactor "MonsterKnocked", 0.0	Damagefactor "PussyGrab", 0.0	Damagefactor "Repair", 0.0
	Damagefactor "RevenantHitStomach", 0.0	Damagefactor "SpawnMarine", 0.0	Damagefactor "Stealth", 0.0
	DamageFactor "SSG", 5.0	Damagefactor "ExtremePunches", 5.0	Damagefactor "Fatality", 5.0	Damagefactor "HelperMarineFatallity", 5.0
	DamageFactor "TankWeakSpot", 0.0	Damagefactor "Taunt", 0.0	Damagefactor "TeleportRemover", 100.0
	Damagefactor "Use", 0.0
    +NOTELEPORT
    +MOVEWITHSECTOR
	+FLOORCLIP
	+FORCEXYBILLBOARD
	+SHOOTABLE
	-SOLID
	+GHOST
	+NOTAUTOAIMED
	+CORPSE
	+ALWAYSTELEFRAG
    States
	{
    Spawn:
		PLDH A 3000
		Loop

	Death.Burn:
	Death.Fire:
	Death.Flames:
		TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_SpawnItem("GoryAshes")
		Stop

	Pain.Kick:
	Pain.ExplosiveImpact:
		TNT1 A 0
		TNT1 A 0 ThrustThingZ(0,25,0,1)
		TNT1 A 0 A_Jump(256, "Spawn")
		TNT1 A 0 A_Die

	Pain.Trample:
		TNT1 A 0
		TNT1 A 0 A_PlaySound("floorslimy")
		TNT1 A 0 ThrustThingZ(0,25,1,1)
		TNT1 A 0 A_Jump(256, "Spawn")
		TNT1 A 0 A_Die

    Death:
  	     TNT1 A 0 A_SpawnItem("Gibz")
	     TNT1 A 0 A_NoBlocking
		 TNT1 AA 0 A_CustomMissile ("XDeath1", 5, 0, random (0, 360), 2, random (0, 160))
		 TNT1 A 0 A_CustomMissile ("XDeath2b", 5, 0, random (0, 360), 2, random (0, 160))
		 TNT1 A 0 A_CustomMissile ("XDeath3b", 5, 0, random (0, 360), 2, random (0, 160))
		 TNT1 AAAAAAA 0 A_CustomMissile ("XDeathSkinPiece2", 5, 0, random (0, 360), 2, random (0, 160))
		 TNT1 AAAA 0 A_CustomMissile ("XDeathSkinPiece1", 5, 0, random (0, 360), 2, random (0, 160))
		 TNT1 AAAAAAAA 0 A_CustomMissile ("SmallSuperGore", 10, 0, random (0, 360), 2, random (10, 170))
		 TNT1 AAAA 0 A_CustomMissile ("BloodMistSmall", 35, 0, random (0, 360), 2, random (40, 90))
		 TNT1 AA 0 A_CustomMissile ("BloodMistBig", 15, 0, random (0, 360), 2, random (0, 60))
		 TNT1 A 0 A_SpawnItem("MediumBLoodSpot", 0, 10)
		 Stop

	  Death.plasma:
        TNT1 A 0
		TNT1 A 0 A_NoBlocking
        TNT1 A 0 A_XScream
        TNT1 A 0 A_NoBlocking
        TNT1 A 0 A_CustomMissile ("XDeathBurnedMeat", 32, 0, random (0, 360), 2, random (0, 160))
	    TNT1 A 0 A_CustomMissile ("XDeathBurnedMeat3", 32, 0, random (0, 360), 2, random (0, 160))
		EXPL AAA 0 A_CustomMissile ("ExplosionSmoke", 32, 0, random (0, 360), 2, random (0, 360))
        TNT1 A 0
        Stop

	Death.TeleportRemover:
	    TNT1 A 0
		TNT1 A 0 A_Scream
		TNT1 A 0 A_NoBlocking
		Stop

	Death.Desintegrate:
		 TNT1 A 0
		 TNT1 AAAA 0 A_CustomMissile ("Brutal_FlyingBloodFake", 0, 0, random (0, 360), 2, random (0, 90))
         TNT1 A 0 A_CustomMissile ("Brutal_FlyingBlood", 7, 0, random (0, 360), 2, random (30, 60))
		 TNT1 AA 0 A_CustomMissile ("BloodMistSmall", 7, 0, random (0, 360), 2, random (30, 60))
		 TNT1 A 0 A_SpawnItem("Gibz")
		 TNT1 A 0 A_SpawnItem("MeatDeathSmall")
		 Stop

	Death.CrushedBodies:
		TNT1 A 0 A_NoBlocking
		TNT1 AA 0 A_SpawnItem("MeatDeathSmall")
		TNT1 A 0 A_SetAngle(0)
		TNT1 A 0 bright A_CustomMissile ("SuperGoreSpawner2", 1, -40, random (0, 360), 2, random (25, 45))
		TNT1 A 0 bright A_CustomMissile ("SuperGoreSpawner2", 1, 40, random (0, 360), 2, random (25, 45))
		TNT1 A 0 A_CustomMissile ("XDeath1", 1, random (-30, 30), random (0, 360), 2, random (0, 160))
		TNT1 A 0 A_CustomMissile ("XDeath2b", 1, random (-30, 30), random (0, 360), 2, random (0, 160))
		TNT1 A 0 A_CustomMissile ("XDeath3b", 1, random (-30, 30), random (0, 360), 2, random (0, 160))
		TNT1 AA 0 A_CustomMissile ("BloodMistBig", 1, -40, random (0, 360), 2, random (30, 90))
		TNT1 AA 0 A_CustomMissile ("BloodMistBig", 1, 40, random (0, 360), 2, random (30, 90))
		TNT1 A 0 A_SetAngle(90)
		TNT1 A 0 bright A_CustomMissile ("SuperGoreSpawner2", 1, -40, random (0, 360), 2, random (25, 45))
		TNT1 A 0 bright A_CustomMissile ("SuperGoreSpawner2", 1, 40, random (0, 360), 2, random (25, 45))
		TNT1 A 0 A_CustomMissile ("XDeath1", 1, random (-30, 30), random (0, 360), 2, random (0, 160))
		TNT1 A 0 A_CustomMissile ("XDeath2b", 1, random (-30, 30), random (0, 360), 2, random (0, 160))
		TNT1 A 0 A_CustomMissile ("XDeath3b", 1, random (-30, 30), random (0, 360), 2, random (0, 160))
		TNT1 AA 0 A_CustomMissile ("BloodMistBig", 1, -40, random (0, 360), 2, random (30, 90))
		TNT1 AA 0 A_CustomMissile ("BloodMistBig", 1, 40, random (0, 360), 2, random (30, 90))
		TNT1 A 0 A_SpawnItem ("CrushedRemains")
		TNT1 A 1
		TNT1 A 1 A_XScream
		Stop
	}
}

actor RappedMarine: CurbstompedMarine
{
    States
    {
    Spawn:
		XPL4 F 9100
		Loop
	}
}

actor AteMarine: CurbstompedMarine
{
    States
    {
		Spawn:
		XPL1 E 1900
		Loop

		Death:
		TNT1 A 0 A_Scream
		TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_SpawnItem("MeatDeathSmall")
		TNT1 A 0 A_CustomMissile ("XDeathArm1", 15, 0, random (0, 360), 2, random (0, 180))
		TNT1 A 0 A_SpawnItem("RipGuts")
		PPOD A 0 A_SpawnItemEx("BasicMarineGib3", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		PPOD A 0 A_SpawnItemEx("BasicMarineGib4", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		TNT1 A 0 A_SpawnItemEx("DeadRippedOffMarine", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		Stop
	}
}

actor FuckedMarine: CurbstompedMarine
{
    States
    {
		Spawn:
		XPL3 F 1900
		Loop

		Death:
		TNT1 A 0 A_Scream
		TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_SpawnItem("MeatDeathSmall")
		TNT1 A 0 A_CustomMissile ("XDeathArm1", 15, 0, random (0, 360), 2, random (0, 180))
		TNT1 A 0 A_SpawnItem("RipGuts")
		PPOD A 0 A_SpawnItemEx("BasicMarineGib3", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		PPOD A 0 A_SpawnItemEx("BasicMarineGib4", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		TNT1 A 0 A_SpawnItemEx("DeadRippedOffMarineRight", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		Stop
	}
}

actor DeadRippedOffMarine: CurbstompedMarine
{
    States
    {
		Spawn:
		XPL2 F 1900
		Loop

		Death:
		TNT1 A 0 A_Scream
		TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_SpawnItem("MeatDeathSmall")
		PPOD A 0 A_SpawnItemEx("BasicMarineGib1", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		PPOD A 0 A_SpawnItemEx("BasicMarineGib2", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		TNT1 A 0 A_SpawnItem("Gibz")
		Stop
	}
}

actor DeadRippedOffMarineRight: DeadRippedOffMarine
{
    States
    {
		Spawn:
		XPL2 L 1900
		Loop
	}
}

actor VeryDeadCivilian: CurbstompedMarine
{
    States
    {
    Spawn:
		TNT1 A 0 A_SpawnItem("GoreFliesWsound", 0, random(0, 15))
		TNT1 AAA 0 A_SpawnItem("GoreFlies", 0, random(0, 15))

	Idle:
	   DCIV A 70
	   TNT1 A 0 A_SpawnItemEX("MaggotSpawner", random(-8, 8), random(-8, 8), random(0, 10))
       Loop
	}
}

actor MarineEattenByDemon: CurbstompedMarine
{
Health 100
Height 16
Radius 8
MONSTER
-GHOST
+THRUACTORS
+FRIENDLY
States
	{
		Spawn:
		NULL A 0
		NULL A 0 A_GiveInventory("ComeEatMeDemon")
		NULL A 0 A_SpawnItem ("GrowingBloodPool")
		Stay:
		XPL1 EEE 6 A_SpawnItem("KillMe")
		XPL1 E -1
		Loop
	}
}

actor MarineGotOwnedByImp: CurbstompedMarine
{
	Health 100
    States
    {
		Spawn:
		TNT1 A 0
		TNT1 A 60
		IPFP P 1
		IPFP P -1
		Loop

		Death:
		TNT1 A 0 A_Scream
		TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_CustomMissile ("MuchBlood2", 15, 0, random (0, 360), 2, random (0, 180))
		TNT1 A 0 A_SpawnItem("MeatDeathSmall")
		PPOD A 0 A_SpawnItemEx("BasicMarineGib3", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		PPOD A 0 A_SpawnItemEx("BasicMarineGib4", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		TNT1 A 0 A_SpawnItemEx("DeadRippedOffMarine", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		Stop
	}
}

actor ADoomedSpaceMarine: CurbstompedMarine
{
    States
    {
		Spawn:
		PLAY N 1900
		Loop

		Death:
		TNT1 A 0 A_Scream
		TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_CustomMissile ("XDeathArm1", 15, 0, random (0, 360), 2, random (0, 180))
		TNT1 A 0 A_SpawnItem("MeatDeathSmall")
		TNT1 A 0 A_SpawnItemEx("AteMarine", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		Stop
	}
}

actor ADoomedSpaceMarine2: CurbstompedMarine
{
    States
    {
		Spawn:
		PLA9 N 1900
		Loop

		Death:
		TNT1 A 0 A_Scream
		TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_SpawnItem("MeatDeathSmall")
		TNT1 A 0 A_CustomMissile ("XDeathArm1", 15, 0, random (0, 360), 2, random (0, 180))
		TNT1 A 0 A_SpawnItemEx("AteMarine", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		Stop
	}
}

actor DeadHalfMarine: CurbstompedMarine
{
    States
    {
		Spawn:
		HPLA A 1900
		Loop
	}
}

actor GutsPile
{
    Radius 1
    Height 1
	+NOBLOCKMAP
	+MOVEWITHSECTOR
    States
    {
		Spawn:
		TNT1 A 0 A_SpawnItem("GoreFliesWsound", 0, random(0, 15))
		TNT1 AAA 0 A_SpawnItem("GoreFlies", 0, random(0, 15))
		Goto Death

		Death:
		GUTS P 63
		TNT1 A 0 A_SpawnItemEX("MaggotSpawner", random(-8, 8), random(-8, 8), random(0, 10))
		Loop
	}
}

actor SuperDestroyedBody
{
    Radius 1
    Height 1
	+NOBLOCKMAP
	+MOVEWITHSECTOR
    States
    {
		Spawn:
		GUTS P 32
		GUTS P -1
		Stop
	}
}

actor GoryAshes
{
    Radius 1
    Height 1
	+NOBLOCKMAP
	+MOVEWITHSECTOR
    States
    {
		Spawn:
		TNT1 A 0
		GIBD SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS 6 A_CustomMissile ("BurnParticles", 8, 0, random (0, 180), 2, random (0, 180))
		GIBD SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS 8 A_CustomMissile ("PlasmaSmoke", 8, 0, random (0, 180), 2, random (0, 180))
		GIBD S -1
		Stop
	}
}

actor GibDec
{
    Radius 1
    Height 1
	+NOBLOCKMAP
	+MOVEWITHSECTOR
    States
    {
		Spawn:
		TNT1 A 1
		TNT1 A 0 A_SpawnItem("GoreFliesWsound", 0, random(0, 15))
		TNT1 AA 0 A_SpawnItem("GoreFlies", 0, random(0, 15))
		TNT1 A 0 A_Jump(255, "Death1", "Death2", "Death3", "Death4")

		Death1:
		GIBS Z 77
		TNT1 A 0 A_SpawnItemEX("MaggotSpawner", random(-12, 12), random(-12, 12), random(0, 10))
		Loop

		Death2:
		GIBD A 70
		TNT1 A 0 A_SpawnItemEX("MaggotSpawner", random(-12, 12), random(-12, 12), random(0, 10))
		Loop

		Death3:
		GIBD B 63
		TNT1 A 0 A_SpawnItemEX("MaggotSpawner", random(-12, 12), random(-12, 12), random(0, 10))
		Loop

		Death4:
		GIBD C 84
		TNT1 A 0 A_SpawnItemEX("MaggotSpawner", random(-12, 12), random(-12, 12), random(0, 10))
		Loop
	}
}

// Dead on a stick ---------------
ACTOR DeadDeadStick: DeadStick Replaces DeadStick
{
	Health 100
	Mass 99999999
	Radius 16
	Height 64
	+SOLID
	+SHOOTABLE
    bloodtype "DeadBlood"
	Damagefactor "Avoid", 0.0	Damagefactor "BHFTOnBarrel", 0.0	Damagefactor "Blood", 0.0
	Damagefactor "CancelTeleportFog", 0.0	Damagefactor "CauseWaterSplash", 0.0
	Damagefactor "FriendBullet", 0.0	Damagefactor "GibRemoving", 100.0
	Damagefactor "HangingHook", 0.0	Damagefactor "Head", 1.25	Damagefactor "HeadKick", 0.0
	Damagefactor "HelperMarineFatallity", 0.0	Damagefactor "KillMe", 0.0	Damagefactor "Leg", 0.0
	Damagefactor "MonsterKnocked", 0.0	Damagefactor "PussyGrab", 0.0	Damagefactor "Repair", 0.0
	Damagefactor "RevenantHitStomach", 0.0	Damagefactor "SpawnMarine", 0.0	Damagefactor "Stealth", 0.0
	DamageFactor "SSG", 5.0	Damagefactor "ExtremePunches", 5.0	Damagefactor "Fatality", 5.0	Damagefactor "HelperMarineFatallity", 5.0
	DamageFactor "TankWeakSpot", 0.0	Damagefactor "Taunt", 0.0	Damagefactor "TeleportRemover", 100.0
	Damagefactor "Use", 0.0

    GibHealth 10
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_SpawnItem("GoreFliesWsound", 0, random(0, 45))
		TNT1 AAAA 0 A_SpawnItem("GoreFlies", 0, random(0, 45))
		TNT1 A 0 A_SpawnItem("MediumOldBloodSpot",0,0)
		Goto Stand
	Stand:
		POL1 A 70
		TNT1 A 0 A_SpawnItemEX("MaggotSpawner", random(-8, 8), random(-8, 8), random(20, 60))
		Loop
	Death:
		TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_Scream
		TNT1 A 0 A_CustomMissile ("ZombieXDeath", 0, 0, random (0, 360), 2, random (0, 160))
		CAPT N -1
		Stop
	}
}

// Still alive on a stick --------------------------------------------------
ACTOR DeadLiveStick: LiveStick Replaces LiveStick
{
	Health 100
	Mass 99999999
	Radius 16
	Height 64
    GibHealth 10
	+SOLID
	+SHOOTABLE
	Damagefactor "Avoid", 0.0	Damagefactor "BHFTOnBarrel", 0.0	Damagefactor "Blood", 0.0
	Damagefactor "CancelTeleportFog", 0.0	Damagefactor "CauseWaterSplash", 0.0
	Damagefactor "FriendBullet", 0.0	Damagefactor "GibRemoving", 100.0
	Damagefactor "HangingHook", 0.0	Damagefactor "Head", 1.25	Damagefactor "HeadKick", 0.0
	Damagefactor "HelperMarineFatallity", 0.0	Damagefactor "KillMe", 0.0	Damagefactor "Leg", 0.0
	Damagefactor "MonsterKnocked", 0.0	Damagefactor "PussyGrab", 0.0	Damagefactor "Repair", 0.0
	Damagefactor "RevenantHitStomach", 0.0	Damagefactor "SpawnMarine", 0.0	Damagefactor "Stealth", 0.0
	DamageFactor "SSG", 5.0	Damagefactor "ExtremePunches", 5.0	Damagefactor "Fatality", 5.0	Damagefactor "HelperMarineFatallity", 5.0
	DamageFactor "TankWeakSpot", 0.0	Damagefactor "Taunt", 0.0	Damagefactor "TeleportRemover", 100.0
	Damagefactor "Use", 0.0

    bloodtype "DeadBlood"
	States
	{
	Spawn:
		POL6 A 2
		POL6 B 2 A_Jump(191,"Stand")
		POL6 A 2 A_Jump(255, "Spawn1", "Spawn1", "Spawn2", "Spawn2", "Spawn3", "Spawn3", "Spawn4", "Spawn4", "Spawn5", "Spawn6", "Spawn7", "Spawn8", "Spawn9", "Spawn10")
		Goto Stand

	Spawn1:
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 0 A_SpawnItem("ImpaledMarineAlive1",0,0)
		TNT1 A 2 Thing_Remove(0)
		Stop

	Spawn2:
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 0 A_SpawnItem("ImpaledMarineAlive2",0,0)
		TNT1 A 2 Thing_Remove(0)
		Stop

	Spawn3:
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 0 A_SpawnItem("ImpaledMarineAlive1a",0,0)
		TNT1 A 2 Thing_Remove(0)
		Stop

	Spawn4:
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 0 A_SpawnItem("ImpaledMarineAlive2a",0,0)
		TNT1 A 2 Thing_Remove(0)
		Stop

	Spawn5:
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 0 A_SpawnItem("ImpaledMarineAlive1b",0,0)
		TNT1 A 2 Thing_Remove(0)
		Stop

	Spawn6:
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 0 A_SpawnItem("ImpaledMarineAlive1c",0,0)
		TNT1 A 2 Thing_Remove(0)
		Stop

	Spawn7:
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 0 A_SpawnItem("ImpaledMarineAlive1d",0,0)
		TNT1 A 2 Thing_Remove(0)
		Stop

	Spawn8:
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 0 A_SpawnItem("ImpaledMarineAlive2b",0,0)
		TNT1 A 2 Thing_Remove(0)
		Stop

	Spawn9:
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 0 A_SpawnItem("ImpaledMarineAlive2c",0,0)
		TNT1 A 2 Thing_Remove(0)
		Stop

	Spawn10:
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 0 A_SpawnItem("ImpaledMarineAlive2d",0,0)
		TNT1 A 2 Thing_Remove(0)
		Stop

	Stand:
		POL6 A 6
		POL6 B 8
		POL6 A 6
		POL6 B 8
		POL6 A 6
		POL6 B 8
		POL6 A 6
		POL6 B 8
        TNT1 A 0 A_SpawnItemEx ("DripingBlood", random (-5, 5), random (-5, 5), 20)
		Loop

    Death:
        TNT1 A 0 A_NoBlocking
        TNT1 A 0 A_Scream
        TNT1 A 0 A_CustomMissile ("ZombieXDeath", 0, 0, random (0, 360), 2, random (0, 160))
        CAPT N -1
		Stop
	}
}

ACTOR ImpaledMarineAlive1: DeadLiveStick
{
	Health 100
	Painchance 255
	height 60
	MONSTER
	+FRIENDLY
	-COUNTKILL
	deathheight 60
	Damagefactor "Avoid", 0.0	Damagefactor "BHFTOnBarrel", 0.0	Damagefactor "Blood", 0.0
	Damagefactor "CancelTeleportFog", 0.0	Damagefactor "CauseWaterSplash", 0.0
	Damagefactor "FriendBullet", 0.0	Damagefactor "GibRemoving", 100.0
	Damagefactor "HangingHook", 0.0	Damagefactor "Head", 1.25	Damagefactor "HeadKick", 0.0
	Damagefactor "HelperMarineFatallity", 0.0	Damagefactor "KillMe", 0.0	Damagefactor "Leg", 0.0
	Damagefactor "MonsterKnocked", 0.0	Damagefactor "PussyGrab", 0.0	Damagefactor "Repair", 0.0
	Damagefactor "RevenantHitStomach", 0.0	Damagefactor "SpawnMarine", 0.0	Damagefactor "Stealth", 0.0
	DamageFactor "SSG", 5.0	Damagefactor "ExtremePunches", 5.0	Damagefactor "Fatality", 5.0	Damagefactor "HelperMarineFatallity", 5.0
	DamageFactor "TankWeakSpot", 0.0	Damagefactor "Taunt", 0.0	Damagefactor "TeleportRemover", 100.0
	Damagefactor "Use", 0.0
	States
	{
	Spawn:
		TNT1 A 0
	    TNT1 A 0 A_SpawnItem("MediumBloodSpot",0,0)
		Goto Stand
	Stand:
		POLF A 56
		TNT1 A 0 A_Jump(128, "Moan")
		Loop

	Moan:
		TNT1 A 0
		TNT1 A 0 A_PlaySound("TorturedMarineBD", 1)
		POLF ABABAB 5
		POLF A 10
		Goto Stand
    Death:
        TNT1 A 0
        TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_StopSound(1)
        POLF C 4
		POLF C -1
		Stop

	Pain:
		TNT1 A 0
        TNT1 A 0 A_PlaySound("TorturedMarinePain", 1)
        POLF ABAB 2
		POLF ABABAB 5
		POLF A 16
		Goto Stand

	Death.Fire: Death.Flames:
		TNT1 A 0
		TNT1 A 0 A_PlaySound("BIGSCRE")
		POLF DEDEDEDEDEDE 3 A_SpawnItem("BurnParticles", 0, 20)
		POLF DEDEDEDEDEDEDEDEDE 3 A_SpawnItem("BurnParticles", 0, 20)
		TNT1 A 0 A_SpawnItem("BarrelExplosionSmokeColumn")
		TNT1 AA 0 A_SpawnItemEx("TinyBurningPiece", random (-15, 15), random (-15, 15))
		TNT1 AAA 0 A_SpawnItemEx("TinyBurningPiece2", random (-35, 35), random (-35, 35))
		POLF FFFFFFFFF 4 A_SpawnItem("BurnParticles", 0, 20)
		TNT1 AAA 0 A_SpawnItemEx("TinyBurningPiece", random (-15, 15), random (-15, 15))
		TNT1 AAAA 0 A_SpawnItemEx("TinyBurningPiece2", random (-35, 35), random (-35, 35))
		POLF FFFFFFFFF 4 A_SpawnItem("BurnParticles", 0, 20)
		TNT1 A 0 A_SpawnItem("BarrelExplosionSmokeColumn")
		TNT1 AAA 0 A_SpawnItemEx("TinyBurningPiece", random (-15, 15), random (-15, 15))
		TNT1 AAAA 0 A_SpawnItemEx("TinyBurningPiece2", random (-35, 35), random (-35, 35))
		POLF F -1
		Stop

	 Death.Explosive: Death.ExplosiveIMpact:
	 XDeath: Death.SSG:
        NULL A 0 A_Takeinventory("Kicking",1)
		MARN A 0 A_GiveInventory("PlayerIsDead", 1)
		NULL A 0 ThrustThingZ(0,60,0,1)
		PPOD A 0 A_SpawnItemEx("BasicMarineGib1", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		PPOD A 0 A_SpawnItemEx("BasicMarineGib2", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		PPOD A 0 A_SpawnItemEx("BasicMarineGib3", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		PPOD A 0 A_SpawnItemEx("BasicMarineGib4", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		NULL A 0 A_CustomMissile ("MeatDeath", 0, 0, random (0, 360), 2, random (0, 160))
        MHEA B 0 A_ChangeFlag("THRUACTORS", 1)
        MHEA CD 0
        //MHEA E -1
		NULL A 0 A_CustomMissile ("XDeathArm1", 32, 0, random (0, 360), 2, random (0, 90))
		NULL A 0 A_SpawnItem ("BigBloodSpot")
		NULL AAAAA 0 A_CustomMissile ("Guts", 32, 0, random (0, 360), 2, random (0, 160))
		XDMG E 1
		NULL AAAAAAAAAAAAAAA 0 A_CustomMissile ("SuperWallRedBlood", 40, 0, random (0, 360), 2, random (-5, 5))
	    NULL AAAAAA 0 bright A_CustomMissile ("SuperGoreSpawner", 5, 0, random (0, 360), 2, random (30, 180))
		XDMG E -1
		Stop
	}
}

ACTOR ImpaledMarineAlive2: ImpaledMarineAlive1
{
	States
	{
	Spawn:
		TNT1 A 0
	    TNT1 A 0 A_SpawnItem("MediumBloodSpot",0,0)
		Goto Stand
	Stand:
		POLF G 64
		TNT1 A 0 A_Jump(128, "Moan")
		Loop

	Moan:
		TNT1 A 0
		TNT1 A 0 A_PlaySound("TorturedMarineBD", 1)
		POLF GHGHGH 5
		POLF G 10
		Goto Stand

	Pain:
		TNT1 A 0
        TNT1 A 0 A_PlaySound("TorturedMarinePain", 1)
        POLF GHGH 2
		POLF GHGHGH 5
		POLF G 16
		Goto Stand

    Death:
        TNT1 A 0
        TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_StopSound(1)
        POLF I 4
		POLF J -1
		Stop

	Death.Fire: Death.Flames:
		TNT1 A 0
		TNT1 A 0 A_PlaySound("BIGSCRE")
		POLF KLKLKLKLKLKL 3 A_SpawnItem("BurnParticles", 0, 10)
		POLF KLKLKLKLKLKLKLKLKL 3 A_SpawnItem("BurnParticles", 0, 10)
		TNT1 A 0 A_SpawnItem("BarrelExplosionSmokeColumn")
		TNT1 AA 0 A_SpawnItemEx("TinyBurningPiece", random (-15, 15), random (-15, 15))
		TNT1 AAA 0 A_SpawnItemEx("TinyBurningPiece2", random (-35, 35), random (-35, 35))
		POLF MMMMMMMMM 4 A_SpawnItem("BurnParticles", 0, 10)
		TNT1 AAA 0 A_SpawnItemEx("TinyBurningPiece", random (-15, 15), random (-15, 15))
		TNT1 AAAA 0 A_SpawnItemEx("TinyBurningPiece2", random (-35, 35), random (-35, 35))
		POLF MMMMMMMMM 4 A_SpawnItem("BurnParticles", 0, 10)
		TNT1 A 0 A_SpawnItem("BarrelExplosionSmokeColumn")
		TNT1 AAA 0 A_SpawnItemEx("TinyBurningPiece", random (-15, 15), random (-15, 15))
		TNT1 AAAA 0 A_SpawnItemEx("TinyBurningPiece2", random (-35, 35), random (-35, 35))
		POLF M -1
		Stop
	}
}

Actor ImpaledMarineAlive2A: ImpaledMarineAlive2
{
	XScale -1.0
	YScale 1.0
}

Actor ImpaledMarineAlive2b: ImpaledMarineAlive2
{
	Translation  "112:127=32:47", "48:79=64:79"
}

Actor ImpaledMarineAlive2c: ImpaledMarineAlive2
{
	Translation "112:127=96:111"
}

Actor ImpaledMarineAlive2d: ImpaledMarineAlive2
{
	translation "112:127=[0,128,192]:[0,0,0]"
}

Actor ImpaledMarineAlive1A: ImpaledMarineAlive1
{
	XScale -1.0
	YScale 1.0
}

Actor ImpaledMarineAlive1b: ImpaledMarineAlive1
{
	Translation  "112:127=32:47", "48:79=64:79"
}

Actor ImpaledMarineAlive1c: ImpaledMarineAlive1
{
	Translation "112:127=96:111"
}

Actor ImpaledMarineAlive1d: ImpaledMarineAlive1
{
	translation "112:127=[0,128,192]:[0,0,0]"
}

ACTOR DeadBloodyTwitch: BloodyTwitch Replaces BloodyTwitch
{
	Radius 16
	Height 67
	Health 100
	Mass 99999999
	-SOLID
	+NOGRAVITY
	+SPAWNCEILING
	+SHOOTABLE
    GibHealth 10
    bloodtype "DeadBlood"
	DropItem "CLIP1Drop" 128
	DropItem "HealthPlusNoCount" 128
	DropItem "HealthPlusNoCount" 128
	DropItem "ArmorShardNoCount" 128
	DropItem "ArmorShardNoCount" 128

	Damagefactor "Avoid", 0.0	Damagefactor "BHFTOnBarrel", 0.0	Damagefactor "Blood", 0.0
	Damagefactor "CancelTeleportFog", 0.0	Damagefactor "CauseWaterSplash", 0.0
	Damagefactor "FriendBullet", 0.0	Damagefactor "GibRemoving", 100.0
	Damagefactor "HangingHook", 0.0	Damagefactor "Head", 1.25	Damagefactor "HeadKick", 0.0
	Damagefactor "HelperMarineFatallity", 0.0	Damagefactor "KillMe", 0.0	Damagefactor "Leg", 0.0
	Damagefactor "MonsterKnocked", 0.0	Damagefactor "PussyGrab", 0.0	Damagefactor "Repair", 0.0
	Damagefactor "RevenantHitStomach", 0.0	Damagefactor "SpawnMarine", 0.0	Damagefactor "Stealth", 0.0
	DamageFactor "SSG", 5.0	Damagefactor "ExtremePunches", 5.0	Damagefactor "Fatality", 5.0	Damagefactor "HelperMarineFatallity", 5.0
	DamageFactor "TankWeakSpot", 0.0	Damagefactor "Taunt", 0.0	Damagefactor "TeleportRemover", 100.0
	Damagefactor "Use", 0.0
	States
	{
    Spawn:
		GOR1 A 4
		TNT1 A 0 A_SpawnItem("GoreFliesWsound", 0, random(0, 45))
		TNT1 AAA 0 A_SpawnItem("GoreFlies", 0, random(0, 45))
        Goto Stand

	Stand:
		GOR1 A 10
		TNT1 A 0 A_SpawnItemEx("DripingBloodLeavesPool", 0, 0, 15, 0, 0)
	Stand2:
		GOR1 B 15
		GOR1 C 8
		GOR1 B 6
		GOR1 A 10
		GOR1 B 15
		GOR1 C 8
		GOR1 B 6
        TNT1 A 0 A_SpawnItemEx ("DripingBlood", random (-5, 5), random (-5, 5), 15)
        loop

    Death:
        TNT1 A 0 A_NoBlocking
        TNT1 A 0 A_Scream
        TNT1 A 0 A_SpawnItem ("DeadBloodyTwitchB")
		TNT1 A 0 A_CustomMissile ("MeatDeath", 0, 0, random (0, 360), 2, random (0, 160))
		Stop

	Death.Humanbbq:
		TNT1 A 0
		TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_SpawnItem("HumanBBQ1")
		Stop
	}
}

ACTOR DeadBloodyTwitchB: DeadBloodyTwitch
{
	DropItem "HealthPlusNoCount" 0
	DropItem "HealthPlusNoCount" 0
	DropItem "ArmorShardNoCount" 0
	DropItem "ArmorShardNoCount" 0
	DropItem "CLIP1Drop" 128
    Health 100
    States
	{
	Spawn:
		GOR1 D 1
        TNT1 A 0 A_SpawnItemEx("DripingBloodLeavesPool", 0, 0, 15, 0, 0)
		TNT1 A 0 A_SpawnItem("GoreFliesWsound", 0, random(0, 45))
		TNT1 AAA 0 A_SpawnItem("GoreFlies", 0, random(0, 45))
		GOR1 D 15
        Goto Stand

	Stand:
		GOR1 D 100
        TNT1 A 0 A_SpawnItemEx ("DripingBlood", random (-5, 5), random (-5, 5), 15)
        loop

    Death:
        TNT1 A 0 A_NoBlocking
        TNT1 A 0 A_Scream
        TNT1 A 0 A_SpawnItem ("DeadBloodyTwitchC")
		TNT1 A 0 A_CustomMissile ("MeatDeath", 0, 0, random (0, 360), 2, random (0, 160))
		Stop

	Death.Humanbbq:
		TNT1 A 0
		TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_SpawnItem("HumanBBQ1")
		Stop
	}
}

ACTOR DeadBloodyTwitchC: DeadBloodyTwitchB
{
	-SHOOTABLE
    States
	{
	Spawn:
		GOR1 E 10
        loop
	}
}

// Meat 2 ------------------------------------------------------------------
ACTOR HangingBody: Meat2 Replaces Meat2
{
	Radius 16
	Height 83
	Health 100
	Mass 99999999
	+SOLID
	+NOGRAVITY
	+SPAWNCEILING
	+SHOOTABLE
    GibHealth 10
	DropItem "CLIP1Drop" 128
	DropItem "HealthPlusNoCount" 128
	DropItem "HealthPlusNoCount" 128
	DropItem "HealthPlusNoCount" 128
	DropItem "ArmorShardNoCount" 128
	DropItem "ArmorShardNoCount" 128
    bloodtype "DeadBlood"

	Damagefactor "Avoid", 0.0	Damagefactor "BHFTOnBarrel", 0.0	Damagefactor "Blood", 0.0
	Damagefactor "CancelTeleportFog", 0.0	Damagefactor "CauseWaterSplash", 0.0
	Damagefactor "FriendBullet", 0.0	Damagefactor "GibRemoving", 100.0
	Damagefactor "HangingHook", 0.0	Damagefactor "Head", 1.25	Damagefactor "HeadKick", 0.0
	Damagefactor "HelperMarineFatallity", 0.0	Damagefactor "KillMe", 0.0	Damagefactor "Leg", 0.0
	Damagefactor "MonsterKnocked", 0.0	Damagefactor "PussyGrab", 0.0	Damagefactor "Repair", 0.0
	Damagefactor "RevenantHitStomach", 0.0	Damagefactor "SpawnMarine", 0.0	Damagefactor "Stealth", 0.0
	DamageFactor "SSG", 5.0	Damagefactor "ExtremePunches", 5.0	Damagefactor "Fatality", 5.0	Damagefactor "HelperMarineFatallity", 5.0
	DamageFactor "TankWeakSpot", 0.0	Damagefactor "Taunt", 0.0	Damagefactor "TeleportRemover", 100.0
	Damagefactor "Use", 0.0
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_SpawnItemEx("DripingBloodLeavesPool", 0, 0, 15, 0, 0)
		TNT1 A 0 A_SpawnItem("GoreFliesWsound", 0, random(0, 45))
		TNT1 AAA 0 A_SpawnItem("GoreFlies", 0, random(0, 45))
		GOR2 A 50
		Goto Stand

	Stand:
		GOR2 A 100
        TNT1 A 0 A_SpawnItemEx("DripingBlood", 0, 0, 15, 0, 0)
        loop

    Death:
        TNT1 A 0 A_NoBlocking
        TNT1 A 0 A_Scream
        TNT1 A 0 A_SpawnItem ("HangingPairOfLegs")
		TNT1 A 0 A_CustomMissile ("MeatDeath", 0, 0, random (0, 360), 2, random (0, 160))
		Stop

	Death.Humanbbq:
		TNT1 A 0
		TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_SpawnItem("HumanBBQ1")
		Stop
	}
}

ACTOR HangingPairOfLegs: DeadBloodyTwitchB Replaces Meat4
{
	Radius 16
	Height 83
    Health 100
    States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_SpawnItemEx("DripingBloodLeavesPool", 0, 0, 15, 0, 0)
		TNT1 A 0 A_SpawnItem("GoreFliesWsound", 0, random(0, 45))
		TNT1 AAA 0 A_SpawnItem("GoreFlies", 0, random(0, 45))
		GOR2 B 25
		Goto Stand

	Stand:
		GOR2 B 83
        TNT1 A 0 A_SpawnItemEx("DripingBlood", 0, 0, 15, 0, 0)
        loop

    Death:
        TNT1 A 0 A_NoBlocking
        TNT1 A 0 A_Scream
        TNT1 A 0 A_SpawnItem ("Meat2C")
		TNT1 A 0 A_CustomMissile ("MeatDeath", 0, 0, random (0, 360), 2, random (0, 160))
		Stop

	Death.Humanbbq:
		TNT1 A 0
		TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_SpawnItem("HumanBBQ1")
		Stop
	}
}

ACTOR NSHangingBody : HangingBody Replaces NonsolidMeat2
{
	Game Doom
}

ACTOR NSHangingPairOfLegs : HangingPairOfLegs Replaces NonsolidMeat4
{
	Game Doom
}

ACTOR Meat2C: DeadBloodyTwitchB
{
	Radius 16
	Height 83
	-SHOOTABLE
    States
	{
	Spawn:
		GOR2 C 10
        loop
	}
}

// Meat 3 ------------------------------------------------------------------
ACTOR HangingDeadGuyNoLeg: Meat3 Replaces Meat3
{
	Radius 16
	Height 83
	Health 100
	Mass 99999999
	+SOLID
	+NOGRAVITY
	+SPAWNCEILING
	+SHOOTABLE
    GibHealth 10
	DropItem "HealthPlusNoCount" 128
	DropItem "HealthPlusNoCount" 128
	DropItem "ArmorShardNoCount" 128
	DropItem "ArmorShardNoCount" 128
    bloodtype "DeadBlood"

	Damagefactor "Avoid", 0.0	Damagefactor "BHFTOnBarrel", 0.0	Damagefactor "Blood", 0.0
	Damagefactor "CancelTeleportFog", 0.0	Damagefactor "CauseWaterSplash", 0.0
	Damagefactor "FriendBullet", 0.0	Damagefactor "GibRemoving", 100.0
	Damagefactor "HangingHook", 0.0	Damagefactor "Head", 1.25	Damagefactor "HeadKick", 0.0
	Damagefactor "HelperMarineFatallity", 0.0	Damagefactor "KillMe", 0.0	Damagefactor "Leg", 0.0
	Damagefactor "MonsterKnocked", 0.0	Damagefactor "PussyGrab", 0.0	Damagefactor "Repair", 0.0
	Damagefactor "RevenantHitStomach", 0.0	Damagefactor "SpawnMarine", 0.0	Damagefactor "Stealth", 0.0
	DamageFactor "SSG", 5.0	Damagefactor "ExtremePunches", 5.0	Damagefactor "Fatality", 5.0	Damagefactor "HelperMarineFatallity", 5.0
	DamageFactor "TankWeakSpot", 0.0	Damagefactor "Taunt", 0.0	Damagefactor "TeleportRemover", 100.0
	Damagefactor "Use", 0.0
	States
	{
	Spawn:
	    TNT1 A 0
        TNT1 A 0 A_SpawnItemEx("DripingBloodLeavesPool", 0, 0, 15, 0, 0)
		TNT1 A 0 A_SpawnItem("GoreFliesWsound", 0, random(0, 45))
		TNT1 AAA 0 A_SpawnItem("GoreFlies", 0, random(0, 45))
		GOR3 A 36
        Goto Stand

	Stand:
		GOR3 A 100
        TNT1 A 0 A_SpawnItemEx("DripingBlood", 0, 0, 15, 0, 0)
        loop

    Death:
        TNT1 A 0 A_NoBlocking
        TNT1 A 0 A_Scream
        TNT1 A 0 A_SpawnItem ("HangingLeg")
		TNT1 A 0 A_CustomMissile ("MeatDeath", 0, 0, random (0, 360), 2, random (0, 160))
		Stop

	Death.Humanbbq:
		TNT1 A 0
		TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_SpawnItem("HumanBBQ1")
		Stop
	}
}

ACTOR HangingLeg: DeadBloodyTwitchB Replaces Meat5
{
	Radius 16
	Height 83
	Health 100
    States
	{
	Spawn:
	    TNT1 A 0
        TNT1 A 0 A_SpawnItemEx("DripingBloodLeavesPool", 0, 0, 15, 0, 0)
		TNT1 A 0 A_SpawnItem("GoreFliesWsound", 0, random(0, 45))
		TNT1 AA 0 A_SpawnItem("GoreFlies", 0, random(0, 45))
		GOR5 A 15
        Goto Stand

	Stand:
		GOR5 A 100
        TNT1 A 0 A_SpawnItemEx("DripingBlood", 0, 0, 15, 0, 0)
        loop

    Death:
        TNT1 A 0 A_NoBlocking
        TNT1 A 0 A_Scream
        TNT1 A 0 A_SpawnItem ("Meat3C")
		TNT1 A 0 A_CustomMissile ("MeatDeath", 0, 0, random (0, 360), 2, random (0, 160))
		Stop

	Death.Humanbbq:
		TNT1 A 0
		TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_SpawnItem("HumanBBQ1")
		Stop
	}
}

ACTOR Meat3C: DeadBloodyTwitchB
{
	Radius 16
	Height 83
	-SHOOTABLE
    States
	{
	Spawn:
		GOR3 C 10
        loop
	}
}

ACTOR NSHangingDeadGuyNoLeg : HangingDeadGuyNoLeg Replaces NonsolidMeat3
{
	Game Doom
}

ACTOR NSHangingLeg : HangingLeg Replaces NonsolidMeat5
{
	Game Doom
}

// Nonsolid bloody twitch --------------------------------------------------
ACTOR DeadNonsolidTwitch : DeadBloodyTwitch Replaces NonsolidTwitch
{
	Game Doom
}

// Hanging with no guts ----------------------------------------------------
ACTOR DeadHangNoGuts: HangNoGuts Replaces HangNoGuts
{
	Radius 20
	Height 90
	Health 100
	Mass 999999
	+SOLID
	+NOGRAVITY
	+SPAWNCEILING
	+SHOOTABLE
    GibHealth 30
    bloodtype "DeadBlood"

	Damagefactor "Avoid", 0.0	Damagefactor "BHFTOnBarrel", 0.0	Damagefactor "Blood", 0.0
	Damagefactor "CancelTeleportFog", 0.0	Damagefactor "CauseWaterSplash", 0.0
	Damagefactor "FriendBullet", 0.0	Damagefactor "GibRemoving", 100.0
	Damagefactor "HangingHook", 0.0	Damagefactor "Head", 1.25	Damagefactor "HeadKick", 0.0
	Damagefactor "HelperMarineFatallity", 0.0	Damagefactor "KillMe", 0.0	Damagefactor "Leg", 0.0
	Damagefactor "MonsterKnocked", 0.0	Damagefactor "PussyGrab", 0.0	Damagefactor "Repair", 0.0
	Damagefactor "RevenantHitStomach", 0.0	Damagefactor "SpawnMarine", 0.0	Damagefactor "Stealth", 0.0
	DamageFactor "SSG", 5.0	Damagefactor "ExtremePunches", 5.0	Damagefactor "Fatality", 5.0	Damagefactor "HelperMarineFatallity", 5.0
	DamageFactor "TankWeakSpot", 0.0	Damagefactor "Taunt", 0.0	Damagefactor "TeleportRemover", 100.0
	Damagefactor "Use", 0.0
	States
	{
    Spawn:
		HDB1 A 1
        TNT1 A 0 A_SpawnItemEx("DripingBloodLeavesPool", 0, 0, 15, 0, 0)
		TNT1 A 0 A_SpawnItem("GoreFliesWsound", 0, random(0, 45))
		TNT1 AAAAA 0 A_SpawnItem("GoreFlies", 0, random(0, 45))
		HDB1 A 15
        Goto Stand

	Stand:
		HDB1 ABCDCBABCDCBABCDCB 4
		TNT1 A 0 A_SpawnItemEX("MaggotSpawner", random(-6, 6), random(-6, 6), random(10, 70))
        loop

    Death:
        TNT1 A 0 A_CustomMissile ("MeatDeath", 0, 0, random (0, 360), 2, random (0, 360))
		TNT1 AA 0 A_CustomMissile ("XDeathArm1", 0, 0, random (0, 360), 2, random (0, 360))
		TNT1 AAAAAAAAAAA 0 A_CustomMissile ("SpawnedMaggotDec2", random (0, 50), 0, random (0, 360), 2, random (0, 360))
		TNT1 AAAAAAAAAAA 0 A_CustomMissile ("SpawnedMaggotDec3", random (0, 50), 0, random (0, 360), 2, random (0, 360))
		TNT1 A 1 A_NoBlocking
		Stop

	 Death.Humanbbq:
		TNT1 A 0
		TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_SpawnItem("HumanBBQ1")
		Stop
	}
}

// Hanging from bottom with no brain ---------------------------------------
ACTOR DeadHangBNoBrain: DeadHangNoGuts Replaces HangBNoBrain
{
	Radius 16
	Height 88
	States
	{
	 Spawn:
	    TNT1 A 0
        TNT1 A 0 A_SpawnItemEx("DripingBloodLeavesPool", 0, 0, 15, 0, 0)
		TNT1 A 0 A_SpawnItem("GoreFliesWsound", 0, random(0, 45))
		TNT1 AAAAA 0 A_SpawnItem("GoreFlies", 0, random(0, 45))
		HDB2 A 30
        Goto Stand

	Stand:
		HDB2 ABCDCBABCDCBABCDCB 4
		TNT1 A 0 A_SpawnItemEX("MaggotSpawner", random(-6, 6), random(-6, 6), random(10, 70))
        //TNT1 A 0 A_SpawnItemEx("DripingBlood", 0, 0, 15, 0, 0)
        loop
	}
}

// Hanging from top, looking down ------------------------------------------
ACTOR DeadHangTLookingDown: DeadHangNoGuts Replaces HangTLookingDown
{
	Radius 16
	Height 64
	States
	{
	 Spawn:
	    TNT1 A 0
        TNT1 A 0 A_SpawnItemEx("DripingBloodLeavesPool", 0, 0, 15, 0, 0)
		TNT1 A 0 A_SpawnItem("GoreFliesWsound", 0, random(0, 25))
		TNT1 AAAA 0 A_SpawnItem("GoreFlies", 0, random(0, 25))
		HDB3 A 30
        Goto Stand

	Stand:
		HDB3 ABCDCBABCDCBABCDCB 4
		TNT1 A 0 A_SpawnItemEX("MaggotSpawner", random(-6, 6), random(-6, 6), random(10, 30))
        //TNT1 A 0 A_SpawnItemEx("DripingBlood", 0, 0, 15, 0, 0)
        loop
	 }
}

// Hanging from top, looking up --------------------------------------------
ACTOR DeadHangTLookingUp: DeadHangNoGuts Replaces HangTLookingUp
{
	Radius 16
	Height 64
	States
	{
	Spawn:
	    TNT1 A 0
        TNT1 A 0 A_SpawnItemEx("DripingBloodLeavesPool", 0, 0, 15, 0, 0)
		TNT1 A 0 A_SpawnItem("GoreFliesWsound", 0, random(0, 25))
		TNT1 AAAA 0 A_SpawnItem("GoreFlies", 0, random(0, 25))
		HDB4 A 30
        Goto Stand

	Stand:
		HDB4 ABCDCBABCDCBABCDCB 4
		TNT1 A 0 A_SpawnItemEX("MaggotSpawner", random(-6, 6), random(-6, 6), random(10, 30))
        //TNT1 A 0 A_SpawnItemEx("DripingBlood", 0, 0, 15, 0, 0)
        loop
	}
}

// Hanging from top, skully ------------------------------------------------
ACTOR DeadHangTSkull: DeadHangNoGuts replaces HangTSkull
{
	Radius 16
	Height 64
	States
	{
	Spawn:
	    TNT1 A 0
        TNT1 A 0 A_SpawnItemEx("DripingBloodLeavesPool", 0, 0, 15, 0, 0)
		TNT1 A 0 A_SpawnItem("GoreFliesWsound", 0, random(0, 25))
		TNT1 AAAA 0 A_SpawnItem("GoreFlies", 0, random(0, 25))
		HDB5 A 30
        Goto Stand

	Stand:
		HDB5 ABCDCBABCDCBABCDCB 4
		TNT1 A 0 A_SpawnItemEX("MaggotSpawner", random(-6, 6), random(-6, 6), random(10, 30))
        //TNT1 A 0 A_SpawnItemEx("DripingBlood", 0, 0, 15, 0, 0)
        loop
	}
}

// Hanging from top without a brain ----------------------------------------
ACTOR DeadHangTNoBrain: DeadHangNoGuts Replaces HangTNoBrain
{
	Radius 16
	Height 64
    States
	{
	Spawn:
	    TNT1 A 0
        TNT1 A 0 A_SpawnItemEx("DripingBloodLeavesPool", 0, 0, 15, 0, 0)
		TNT1 A 0 A_SpawnItem("GoreFliesWsound", 0, random(0, 25))
		TNT1 AAAA 0 A_SpawnItem("GoreFlies", 0, random(0, 25))
		HDB6 A 30
        Goto Stand

	Stand:
		HDB6 ABCDCBABCDCBABCDCB 4
		TNT1 A 0 A_SpawnItemEX("MaggotSpawner", random(-6, 6), random(-6, 6), random(10, 30))
        loop
	}
}

ACTOR ColonGibs2 Replaces ColonGibs
{
	Game Doom
	SpawnID 147
	Radius 20
	Height 4
	+NOBLOCKMAP
	+MOVEWITHSECTOR
	States
	{
	Vanilla:
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 0 A_SpawnItem("VanillaColonGibs")
		TNT1 A 2 Thing_Remove(0)
		Stop

	Spawn:
		POB1 A 2
		POB1 A 0 ACS_NamedExecuteAlways("BDCheckDecorations", 0, 0, 0, 0)//Check if advanced decorations are disabled.
		POB1 A 2

	Stay:
	    POB1 A 8
	    TNT1 A 0 A_SpawnItem("MediumOldBloodSpot",0,0)
		POB1 A -1
		Stop
	}
}

ACTOR SmallBloodPool2 Replaces SmallBloodPool
{
	Game Doom
	SpawnID 148
	Radius 20
	Height 1
	+NOBLOCKMAP
	+MOVEWITHSECTOR
	States
	{
	Vanilla:
		TNT1 A 2 A_ChangeFlag("NOINTERACTION", 1)
		POB2 A 0 A_SpawnItem("VanillaSmallBloodPool")
		TNT1 A 2 Thing_Remove(0)
		Stop

	Spawn:
		POB2 A 2
		POB2 A 0 ACS_NamedExecuteAlways("BDCheckDecorations", 0, 0, 0, 0)//Check if advanced decorations are disabled.
		POB2 A 2

	Stay:
	    POB2 A 6
	    TNT1 A 0 A_SpawnItem("MediumOldBloodSpot",0,0)
		TNT1 A -1
		Stop
	}
}

ACTOR VanillaSmallBloodPool: SmallBloodPool
{
	States
	{
	Spawn:
	    POB2 A 1
		POB2 A -1
		Stop
	}
}

ACTOR VanillaColonGibs: SmallBloodPool
{
	States
	{
	Spawn:
	    POB1 A 1
		POB1 A -1
		Stop
	}
}

// brain stem lying on the ground ------------------------------------------
ACTOR BrainStem2 Replaces BrainStem
{
	Game Doom
	SpawnID 150
	Radius 20
	Height 4
	+NOBLOCKMAP
	+MOVEWITHSECTOR
	States
	{
	Spawn:
	    BRS1 A 0
	    BRS1 A 0 A_SpawnItem("MediumOldBloodSpot",0,0)
		BRS1 A -1
		Stop
	}
}

ACTOR RealGibs2 Replaces RealGibs
{
  +DROPOFF
  +CORPSE
  +NOTELEPORT
  +DONTGIB
  States
  {
  Spawn:
    POL5 A 0
	POL5 A 0 A_SpawnItem("MediumOldBloodSpot",0,0)
    POL5 A -1
    Stop
  }
}

ACTOR Gibs2 : RealGibs2 Replaces Gibs
{
   Game Doom
   SpawnID 146
   ClearFlags
}

actor MarineFatalizedByRevenant: CurbstompedMarine
{
    States
    {
		Spawn:
		PLDH A 1900
		Loop
	}
}

actor CrushedRemains: CurbstompedMarine
{
	-SHOOTABLE
	+CLIENTSIDEONLY
    States
    {
		Spawn:
		CRS1 A 1
		TNT1 A 0 A_SpawnItem("SplatteredLarge")
		CRS1 A -1
		Stop
	}
}

actor PlayerJustGotCutInHalf: CurbstompedMarine
{
    States
    {
		Spawn:
		XPL2 GHIJKL 5
		XPL2 L -1 A_SpawnItem("MediumBloodSpot")
		Stop
	}
}

Actor GoreFlies
{
	+NOBLOOD
	+NOBLOCKMAP
	+SHOOTABLE
	+NOGRAVITY
	+RELATIVETOFLOOR
	+MOVEWITHSECTOR
	Health 1
	radius 16
	height 16
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_Jump(255, "Spawn1", "Spawn2", "Spawn3", "Spawn4", "Spawn5", "Spawn6", "Spawn7", "Spawn8")

	Spawn1:
		TNT1 A 0
		TNT1 A 0 A_SetScale(2.3, 2.0)
		Goto Live

	Spawn2:
		TNT1 A 4
		TNT1 A 0 A_SetScale(2.2, 2.2)
		Goto Live

	Spawn3:
		TNT1 A 7
		TNT1 A 0 A_SetScale(2.0, 1.6)
		Goto Live

	Spawn4:
		TNT1 A 11
		TNT1 A 0 A_SetScale(2.0, 2.2)
		Goto Live

	Spawn5:
		TNT1 A 16
		TNT1 A 0 A_SetScale(-2.2, 2.0)
		Goto Live

	Spawn6:
		TNT1 A 24
		TNT1 A 0 A_SetScale(-2.2, 1.6)
		Goto Live

	Spawn7:
		TNT1 A 0
		TNT1 A 0 A_SetScale(-2.0, 2.0)
		Goto Live

	Spawn8:
		TNT1 A 20
		TNT1 A 0 A_SetScale(-2.2, 1.8)
		Goto Live

	Live:
		GRFL ABCDEFGHIJKLMNOPQRSTUWVXYZ 1
		Loop

	Death:
		TNT1 A -1 A_NoBlocking
		Stop
	}
}

Actor GoreFliesWSound: GoreFlies
{
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_PlaySound("FLEAS", 1, 1, 1)
		TNT1 A 0 A_Jump(255, "Spawn1", "Spawn2", "Spawn3", "Spawn4", "Spawn5", "Spawn6", "Spawn7", "Spawn8")

	Spawn1:
		TNT1 A 0
		TNT1 A 0 A_SetScale(1.3, 2.0)
		Goto Live

	Death:
		TNT1 A 0 A_StopSound(1)
		TNT1 A -1 A_NoBlocking
		Stop
	}
}

Actor MaggotSpawner: GoreFlies
{
	+CLIENTSIDEONLY
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 20
		TNT1 A 0 A_Jump(128, "Live")
		TNT1 A 20
		TNT1 A 0 A_SetScale(-1.0, 1.0)

	Live:
		GRMG ABCDCDCD 4
		TNT1 A 0 A_CustomMissile("SpawnedMaggotDec", 0, 0, 0, 2, 0)
		TNT1 A 0 A_NoBlocking
		Stop
	}
}

Actor SpawnedMaggotDec
{
	Height 1
	Radius 1
	Mass 100
	PROJECTILE
	+MISSILE
	+NOBLOCKMAP
	+DONTSPLASH
	+FORCEXYBILLBOARD
	+CLIENTSIDEONLY
	+THRUACTORS
	-NOGRAVITY
	+MOVEWITHSECTOR
	Gravity 1.0
	Speed 0
	States
	{
		Spawn:
		Death:
		GRMG EFGHIJKLKJIHGFEFGHIJKLKJIHGF 4
		Stop
	}
}

Actor SpawnedMaggotDec2: SpawnedMaggotDec
{
  Gravity 0.5
  Speed 4
}

Actor SpawnedMaggotDec3: SpawnedMaggotDec
{
  Gravity 0.8
  Speed 6
}

ACTOR HumanBBQ1
{
	Radius 16
	Height 84
	Health 100
	Mass 99999999
	+SOLID
	+NOGRAVITY
	+SPAWNCEILING
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_Jump(255, "Spawn1", "Spawn2", "Spawn3", "Spawn4")
	Spawn1:
		HDB7 A 1
		HDB7 A -1
		Stop

	Spawn2:
		HDB7 B 1
		HDB7 B -1
		Stop

	Spawn3:
		HDB7 C 1
		HDB7 C -1
		Stop

	Spawn4:
		HDB7 D 1
		HDB7 D -1
		Stop
	}
}

ACTOR PlayerChaingunguyVictim: CurbstompedMarine
{
	Game Doom
	Radius 16
	Height 50
	Health 50
	bloodtype "DeadBlood", "SawBlood"
	PainSound "*pain"
	PainChance 255
	Mass 999999
	-SOLID
	+SHOOTABLE
	+NORADIUSDMG
	+FLOORCLIP
	+DONTSPLASH
	-COUNTKILL
	-GHOST
	Scale 1.0
	States
	{
	Spawn:
		XPL8 A 20
		PLAY JK 5
		PLAY L 5 A_ChangeFlag("NOINTERACTION", 1)
		TNT1 A 0 A_SpawnItemEx("ADoomedSpaceMarine", 0, 0, 0, 0, 0, 0, 0, SXF_TRANSFERTRANSLATION)
		TNT1 A 2 Thing_Remove(0)
		Stop

	Pain:
		TNT1 A 0
		TNT1 A 0 A_Jump(128, "Pain2")
		XPL8 B 3 A_Pain
		Goto Spawn

	Pain2:
		XPL8 C 3 A_Pain
		Goto Spawn

	Death:
	Death.Minigun:
	    TNT1 A 0
		TNT1 A 0 A_SpawnItem("RipGuts")
		TTN1 A 0 A_SpawnItemEx("XDeathHalfMarine", 0, 0, 50, frandom(-2.5,2.5), frandom(-2.5,2.5), 2.5, random (0, 360), SXF_TRANSFERTRANSLATION)
        TNT1 AA 0 A_CustomMissile ("MuchBlood", 50, 0, random (0, 360), 2, random (0, 160))
        TNT1 AAAA 0 A_CustomMissile ("XDeath1", 50, 0, random (0, 360), 2, random (0, 160))
		XPL2 A 10 A_XScream
        TNT1 AA 0 A_CustomMissile ("MuchBlood", 50, 0, random (0, 360), 2, random (0, 160))
        XPL2 B 20 A_NoBlocking
        TNT1 AA 0 A_CustomMissile ("MuchBlood", 50, 0, random (0, 360), 2, random (0, 160))
        XPL2 C 10 A_CustomMissile ("MuchBlood", 40, 0, random (0, 360), 2, random (0, 160))
        TNT1 AA 0 A_CustomMissile ("MuchBlood", 30, 0, random (0, 360), 2, random (0, 160))
        XPL2 DE 10 A_CustomMissile ("MuchBlood", 20, 0, random (0, 360), 2, random (0, 160))
		TNT1 A 0 A_SpawnItem ("GrowingBloodPool")
        XPL2 E -1
		Stop
	}
}