actor BlueSuperGoreSpawner2 : BlueSuperGoreSpawner
{
States
{
	Spawn:
	TNT1 AAAAAAAAA 2 A_SpawnItem("BlueSuperGore")
	Stop
}
}
actor Blue_FlyingBloodFake : Brutal_FlyingBloodFake
{
translation "168:191=192:207","16:47=240:247"
Decal BlueBloodSplat
}


Actor BlueSuperGoreMist: BlueSuperGore
{
Scale 3.0
Speed 8
Gravity 0.3
}

Actor BlueSuperGoreMistSmall: BlueSuperGore
{
Scale 1.0
Speed 2
Gravity 0.1
}

Actor BlueSuperGoreMistTiny: BlueSuperGore
{
Scale 0.5
Speed 1
Gravity 0.05
}



actor Blue_Blood : Brutal_Blood
{
translation "168:191=192:207","16:47=240:247"
Decal BlueBloodSplat
+NOBLOODDECALS
 states
 {	   
  Splash:
        BLOD A 0
		//TNT1 AAA 0 A_CustomMissile ("UnderbloodBlue", 7, 0, random (0, 360), 2, random (30, 150))
        stop
		
  Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
		TNT1 A 0 ACS_ExecuteAlways(799, 0, 0, 0, 0)//Check Blood density
		BLHT A 2
  Spawn2:
        TNT1 A 0 A_CustomMissile ("Blue_FlyingBlood", 7, 0, random (0, 360), 2, random (30, 150))
        TNT1 A 0 A_Stop
		BLHT BCDEFGH 1
		BLHT HHHHHHHHHHH 1 A_FadeOut(0.1)
		Stop
	   
	LotsOfBlood:
	   TNT1 AAAAAAAA 0 A_CustomMissile ("Blue_FlyingBloodFake", 0, 0, random (0, 360), 2, random (0, 90))
       TNT1 A 0 A_CustomMissile ("Blue_FlyingBloodLevel3", 7, 0, random (0, 360), 2, random (40, 60))
	   TNT1 A 0 A_CustomMissile ("Blue_FlyingBlood", 7, 0, random (0, 360), 2, random (20, 40))
	   TNT1 AA 0 A_CustomMissile ("BlueSuperGoreMistSmall", 0, 0, random (0, 360), 2, random (10, 90))
	   TNT1 A 0 A_CustomMissile ("BlueSuperGoreMistTiny", 0, 0, random (0, 360), 2, random (60, 90))
	   TNT1 AAAA 0 A_CustomMissile ("Blue_FlyingBloodTrail", 0, 0, random (0, 360), 2, random (0, 90))
	   BLHT ABCDEFG 1
	   BLHT HHHHHHHHHHH 1 A_FadeOut(0.1)
	   Stop
	AbsurdBlood:
	   TNT1 A 2
	   TNT1 A 0 A_JumpIfInventory("AnimuGore", 1, "AnimuGore")
	   TNT1 AAAAAAAA 0 A_CustomMissile ("Blue_FlyingBloodFake", 0, 0, random (0, 360), 2, random (0, 90))
       TNT1 AAA 0 A_CustomMissile ("Blue_FlyingBloodLevel3", 7, 0, random (0, 360), 2, random (10, 50))
	   TNT1 A 0 A_CustomMissile ("Blue_FlyingBloodLevel3", 7, 0, random (0, 360), 2, random (40, 60))
	   TNT1 AAA 0 A_CustomMissile ("BlueBloodmistSmall", 7, 0, random (0, 360), 2, random (30, 90))
	   TNT1 AA 0 A_CustomMissile ("BluesuperGoreMistSmall", 0, 0, random (0, 360), 2, random (10, 90))
	   TNT1 AAAA 0 A_CustomMissile ("Blue_FlyingBloodTrail", 0, 0, random (0, 360), 2, random (0, 90))
	   BLHT ABCDEFG 1
	   BLHT HHHHHHHHHHH 1 A_FadeOut(0.1)
	   Stop  
	  AnimuGore:
	   TNT1 AAAA 0 A_CustomMissile ("Blue_FlyingBloodLevel3", 7, 0, random (0, 360), 2, random (10, 50))
	   TNT1 A 0 A_CustomMissile ("Blue_FlyingBloodLevel3", 7, 0, random (0, 360), 2, random (40, 60))
	   TNT1 AAA 0 A_CustomMissile ("BlueBloodmist", 7, 0, random (0, 360), 2, random (30, 90))
	   TNT1 AA 0 A_CustomMissile ("BlueSuperGoreMistSmall", 0, 0, random (0, 360), 2, random (10, 90))
	   TNT1 AA 0 A_CustomMissile ("XDeath1Blue", 0, 0, random (0, 360), 2, random (0, 360))
	   
	   TNT1 A 0 A_CustomMissile ("BlueSuperGoreSpawner2", 0, 0, random (0, 360), 2, random (10, 90))
	   BLHT ABCDEFG 1
	   BLHT HHHHHHHHHHH 1 A_FadeOut(0.1)
	   Stop   
	 LowBlood:
		TNT1 A 0
		BLHT ABCDEFG 1
		BLHT HHHHHHHHHHH 1 A_FadeOut(0.1)
		Stop
 }
}

actor Blue_FlyingBlood: Brutal_FlyingBlood
{
translation "168:191=192:207","16:47=240:247"
Decal BlueBloodSplat

states
{
     Death:
  	    //TNT1 A 0 A_CustomMissile ("SmallBloodSplasher", 0, 0, random (0, 360), 2, random (0, 160))
       TNT1 A 1 A_SpawnItem("Blue_BloodSpot",0,0,0,1)
        XDT1 EFGHIJKL 3
       Stop
}
}

Actor Blue_FlyingBloodLevel3 : Blue_FlyingBlood
{
 Scale 1.0
 Speed 7
}


actor Blue_FlyingBloodTrail: Brutal_FlyingBloodTrail
{
translation "168:191=192:207","16:47=240:247"
Decal BlueBloodSplat
}

actor Blue_FlyingBloodTrail5: Blue_FlyingBloodTrail
{
Decal BlueBloodSplat
}

actor BlueBloodTrails: Blue_FlyingBloodTrail
{
Decal BlueBloodSplat
}

actor BlueBloodTrailsSmall: Blue_FlyingBloodTrail
{
Decal BlueBloodSplat
Scale 0.3
}

actor Blue_BloodSpot: Brutal_BloodSpot
{
translation "168:191=192:207","16:47=240:247"
Decal BlueBloodSplat
Renderstyle Normal
StencilColor "00 00 44"
states
 {
 Spawn:
 TNT1 A 0
 TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
 
  TNT1 A 1 A_QueueCorpse
  TNT1 A 0 ACS_ExecuteAlways(798, 0, 0, 0, 0)//Check Effects
  TNT1 A 0 A_CheckFloor("SpawnNormally")
  Goto Splash
  
  SpawnNormally:
  TNT1 A 1
  Goto SpawnAFrameOnly
  }
}


actor Blue_TinyBlood: TinyBlood
{
translation "168:191=192:207","16:47=240:247"
Decal BlueBloodSplat
}



ACTOR SplatteredSmallBlue: SplatteredSmall
{
Renderstyle Normal
translation "168:191=192:207","16:47=240:247"
Decal BlueBloodSplat
StencilColor "00 00 44"
}

ACTOR SplatteredLargeBlue: SplatteredLarge
{
Renderstyle Normal
translation "168:191=192:207","16:47=240:247"
Decal BlueBloodSplat
StencilColor "00 00 44"
}


ACTOR BlueBloodFootPrintLeft: RedBloodFootPrintLeft
{
translation "168:191=192:207","16:47=240:247"
Decal BlueBloodSplat
Renderstyle Normal
StencilColor "00 00 44"
}


ACTOR BlueBloodFootPrintRight: RedBloodFootPrintRight
{
translation "168:191=192:207","16:47=240:247"
Decal BlueBloodSplat
Renderstyle Normal
StencilColor "00 00 44"
}












actor BlueBloodmist : Bloodmist
{
Decal BlueBloodSplat
translation "168:191=192:207","16:47=240:247"
}


actor BlueBloodmistBig : BloodmistBig
{
Decal BlueBloodSplat
translation "168:191=192:207","16:47=240:247"
}


actor BlueBloodmistSmall : BloodmistSmall
{
Decal BlueBloodSplat
translation "168:191=192:207","16:47=240:247"
}


actor BlueBloodmistExtraBig : BloodmistExtraBig
{
Decal BlueBloodSplat
translation "168:191=192:207","16:47=240:247"
}

actor BlueBloodmistXXBig : BloodmistXXBig
{
Decal BlueBloodSplat
translation "168:191=192:207","16:47=240:247"
}



ACTOR BlueGuts
{
    Radius 8
    Height 12
    Speed 6
	Mass 1
	BounceFactor 0.4
	Renderstyle Translucent
	Alpha 0.9
	+DOOMBOUNCE
    +NOBLOCKMAP
	+MISSILE
    +NOTELEPORT
    +MOVEWITHSECTOR
    +CLIENTSIDEONLY
    +FORCEXYBILLBOARD
	-EXPLODEONWATER
	translation "168:191=192:207","16:47=240:247"
    DeathSound "misc/xdeath1"
	Decal BlueBloodSplat
	Scale 1.1
    States
    {
    Spawn:
        GUTS ABCD 8
        Loop
    Death:
	   
        TNT1 A 0 A_Jump(128, 5)
        GUTS E 8
		TNT1 A 0 A_JumpIf(waterlevel > 1, "Water")
        GUTS E 9009
        Stop
        TNT1 AAAAAA 0
        GUTS F 8
		TNT1 A 0 A_JumpIf(waterlevel > 1, "Water")
        GUTS F 9009
        Stop
	
	Water:
	TNT1 A 0
	TNT1 A 0 A_Jump(128, "Water2")
	Goto Water1
	
	Water1:
	GUTS GH 10
	//TNT1 A 0 A_JumpIf(waterlevel == 0, "Death")
	Loop
	
	Water2:
	GUTS IJ 10
	//TNT1 A 0 A_JumpIf(waterlevel == 0, "Death")
	Loop
    }
}



actor BlueSawBlood : Blue_Blood
{
Decal BlueBloodSplat
translation "168:191=192:207","16:47=240:247"
Speed 0
 states
 {
  Spawn:
        TNT1 A 0
		TNT1 A 0 A_CheckSight("None")
		TNT1 A 0 A_RadiusGive("ChainsawHitBlue", 200, RGF_PLAYERS | RGF_MONSTERS , 1)
		TNT1 A 0 A_RadiusGive("PowerBlueBloodOnVisor", 200, RGF_PLAYERS | RGF_MONSTERS , 1)
		TNT1 A 0 Radius_Quake (4, 4, 0, 2, 0)
		TNT1 A 0 A_PlaySOund("misc/xdeath4", 1)
        TNT1 A 0 A_CustomMissile ("BlueBloodMist", 0, 0, random (0, 360), 2, random (30, 90))
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
		TNT1 A 0 ACS_ExecuteAlways(799, 0, 0, 0, 0)//Check Blood density
	Melee:	
		TNT1 A 10
        stop
	Splash:
        BLOD A 0
		TNT1 AAA 0 A_CustomMissile ("Underblood1", 7, 0, random (0, 360), 2, random (30, 150))
        stop
 }
}




ACTOR Blue_LiquidBlood: Blue_FlyingBlood 
{
 speed 3
 scale 0.2
 gravity 0.6

    States
    {
     Spawn:
     BLOD A 1 A_SpawnItem("Blue_LiquidBloodTrail")
     Loop
	 Death:
  	   TNT1 A 0 A_PlaySound("blooddrop")
	   XDT1 FGHIJKL 2
	   TNT1 A 0
       Stop
    }
}


ACTOR Blue_LiquidBlood2: Blue_FlyingBlood 
{
 speed 4
 scale 0.4
 gravity 0.6

    States
    {
     Spawn:
     BLOD A 1 A_SpawnItem("Blue_LiquidBloodTrail")
     Loop
	 Death:
  	   TNT1 A 0 A_PlaySound("blooddrop")
	   XDT1 FGHIJKL 2
	   TNT1 A 0
       Stop
    }
}

ACTOR Blue_LiquidBlood3: Blue_FlyingBlood 
{
Speed 3
    States
    {
     Spawn:
     BLOD A 1 A_SpawnItem("Blue_LiquidBloodTrail")
     Loop
	 Death:
  	   TNT1 A 0 A_PlaySound("blooddrop")
	   TNT1 A 0 A_CheckFloor("SpawnFloor")
	   TNT1 A 4
	   Stop
	  
	 SpawnFloor:
	   tnt1 a 0 A_SPawnItem("Blue_BloodSpot")
	   XDT1 FGHIJKL 2
	   TNT1 A 0
       Stop
    }
}



ACTOR Blue_LiquidBloodFast: Blue_LiquidBlood2
{
 speed 8
}

ACTOR Blue_LiquidBloodTrail: Blue_FlyingBlood 
{
 scale 0.4
 gravity 0.4
    States
    {
     Spawn:
	 TNT1 A 0
     BL8D ABCDEEEEE 2
	 Stop
	 Death:
	   TNT1 A 0
       Stop
    }
}








ACTOR CeilBlueBloodLauncher: Blue_FLyingBlood
{
    +THRUACTORS
    +BLOODLESSIMPACT 
	-DOOMBOUNCE
damagetype Blood
 Speed 15
 Gravity 0.0
	Decal BrutalBloodSplat
    States
    {
     Spawn:
       TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
        TNT1 A 3
        Stop
	Splash:
        BLOD A 0
        stop
     Death:
  	    //TNT1 A 0 A_CustomMissile ("SmallBloodSplasher", 0, 0, random (0, 360), 2, random (0, 160))
       TNT1 A 0 A_CustomMissile ("CeilBlueBloodChecker", -15, 0, 90, 2, 90)
        TNT1 A 0
        stop
	 Melee:
     Xdeath:
	    TNT1 A 1
        Stop
    }
}

ACTOR CeilBlueBloodLauncherLong: CeilBlueBloodLauncher
{
    States
    {
     Spawn:
       TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
        TNT1 A 12
        Stop
    }
}

actor MinuscleBlueBloodSpot: Blue_BloodSpot
{
Scale 0.25
}


ACTOR DetectCeilBlueBloodSimpler
{
 game Doom
 scale 0.4
 speed 0
 health 1
 radius 1
 height 1
 Gravity 0.0
 damage 0
 Renderstyle Translucent
 Alpha 0.95
	DamageType Blood
   +MISSILE
   +CLIENTSIDEONLY
   +NOTELEPORT
   +NOBLOCKMAP
   +FORCEXYBILLBOARD
   +NODAMAGETHRUST
   -DONTSPLASH
   +NOGRAVITY
    States
    {
     Spawn:
	 TNT1 A 0
	 TNT1 A 0 ThrustThingZ(0,35,0,1)
	 TNT1 A 2
	 Stop
	 Death:
	 TNT1 A 0
	 TNT1 A 0 A_CustomMissile ("CeilBlueBloodChecker", -15, 0, 90, 2, 90)
  Stop
    }
}



ACTOR DetectCeilBlueBloodSimplerLarge: DetectCeilBlueBloodSimpler
{
    States
    {
	 Death:
	 TNT1 A 0
	 TNT1 A 0 A_CustomMissile ("CeilBlueBloodCheckerLarge", -15, 0, 90, 2, 90)
  Stop
    }
}



// Checks if there is a ceiling above, and isn't hitting a monster.
ACTOR CeilBlueBloodChecker: Blue_FLyingBlood
{
    +THRUACTORS
    +BLOODLESSIMPACT 
damagetype Blood
damage 0
Radius 0
Height 0
Speed 400

 Gravity 0.0
	Decal BrutalBloodSuper
    States
    {
     Spawn:
       TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
        TNT1 A 4
        Stop
	Splash:
        BLOD A 0
        stop
     Death:
       TNT1 A 1 A_SpawnItem("CeilBlueBloodSpot",0,0,0,1)
                TNT1 A 5
        stop
     Xdeath:
	    TNT1 A 1
        Stop
    }
}


ACTOR CeilBlueBloodCheckerLarge: CeilBlueBloodChecker
{
States
{
     Death:
        TNT1 A 1 A_SpawnItem("CeilBlueBloodSpotLarge",0,0,0,1)
        TNT1 A 5
        stop
}}


// The Ceil Blood Spot.
actor CeilBlueBloodSpot
{
+MISSILE
+CEILINGHUGGER
+THRUACTORS
Height 0
Radius 2
+DontSplash
Mass 0
Scale 0.5
Gravity 0.0
Decal BrutalBloodSplat
Renderstyle Normal
translation "168:191=192:207","16:47=240:247"
Alpha 0.9
states
{
Spawn:
Goto Crash
Death:
Crash:
  BPDL A 1
  TNT1 A 0 A_SpawnItem ("DripingBlueBloodLeavesSmallPool")
  TNT1 A 0 A_SpawnItem ("CeilBlueBloodTinyBloodSpawner")
  BPDL A -1
  stop
  
Splash:
        BLOD A 0
        stop  
    }
}
actor CeilBlueBloodSpotLarge: CeilBlueBloodSpot
{
states
{
Spawn:
Goto Crash
Death:
Crash:
  BPDL A 1
  TNT1 A 0 A_SpawnItem ("DripingBlueBloodLeavesSmallPool")
  TNT1 A 0 A_SpawnItem ("CeilBlueBloodLargeBloodSpawner")
  BPDL A 1
  BPDL A -1
  stop
	Splash:
        BLOD A 0
        stop
    }
}


ACTOR CeilBlueBloodTinyBloodSpawner: Blue_Blood
{
+NOGRAVITY
+THRUACTORS
+NOCLIP
    States
    {
     Spawn:
		  TNT1 AAAAAAAAAAAAA 6 A_SpawnItemEx ("BloodBlueDripingFromCeiling", random (-5, 5), random (-5, 5))
		  TNT1 AAAAAAAAAA 16 A_SpawnItemEx ("BloodBlueDripingFromCeiling", random (-5, 5), random (-5, 5))
		  TNT1 AAAAAAA 24 A_SpawnItemEx ("BloodBlueDripingFromCeiling", random (-5, 5), random (-5, 5))
		  stop
    }
}

ACTOR CeilBlueBloodLargeBloodSpawner: Blue_Blood
{
+NOGRAVITY
+THRUACTORS
+NOCLIP
    States
    {
     Spawn:
		  TNT1 AAAAAAAAAAAAAAAAAAAAA 5 A_SpawnItemEx ("BloodBlueDripingFromCeilingBig", random (-5, 5), random (-5, 5))
		  TNT1 AAAAAAAAAAA 15 A_SpawnItemEx ("BloodBlueDripingFromCeilingBig", random (-5, 5), random (-5, 5))
		  TNT1 AAAAAAA 20 A_SpawnItemEx ("BloodBlueDripingFromCeilingBig", random (-5, 5), random (-5, 5))
		  stop
    }
}

ACTOR BloodBlueDripingFromCeiling: Blue_TinyBlood
{
+DOOMBOUNCE
+THRUACTORS
+CLIENTSIDEONLY
-FORCEXYBILLBOARD
+FORCEYBILLBOARD
BounceFactor 0.1
    States
    {
     Spawn:
       TNT1 A 0
	   BPDL A 0 ThrustThingZ(0,300,0,1)
	   TNT1 A 0 A_Jump(230, "NoSpawn")
       TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
        BLUD Z 500
        loop
		
	NoSpawn:
		TNT1 A 0
		Stop
    }
}


ACTOR BloodBlueDripingFromCeilingBig: Blue_TinyBlood
{
+DOOMBOUNCE
-FORCEXYBILLBOARD
+FORCEYBILLBOARD
BounceFactor 0.1
XScale 0.4
YScale 0.8
    States
    {
     Spawn:
       TNT1 A 0
	   BPDL A 0 ThrustThingZ(0,300,0,1)
	   TNT1 A 0 A_Jump(160, "NoSpawn")
       TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
        BLUD Z 500
        loop
		
		NoSpawn:
		TNT1 A 0
		Stop
    }
}
		

ACTOR DripingBlueBlood: Blue_TinyBlood
{
-FORCEXYBILLBOARD
+FORCEYBILLBOARD
 scale 0.3
    States
    {
     Spawn:
       TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
        BLUD Z 4
        loop
	Splash:
        BLOD A 0
        stop
     Death:
	 TNT1 A 0
	 TNT1 A 0 A_PlaySound("blooddrop2")
        XDT1 EFGHIJKL 2
        stop
    }
}


ACTOR DripingBlueBloodLeavesPool: Blue_TinyBlood
{
-FORCEXYBILLBOARD
+FORCEYBILLBOARD
 scale 0.3
    States
    {
     Spawn:
       TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
        BLUD Z 4
        loop
	Splash:
        BLOD A 0
        stop
     Death:
	    TNT1 A 0
		TNT1 A 0 A_SpawnItem("BlueMediumBloodSpot")
		TNT1 A 0 A_PlaySound("blooddrop2")
        XDT1 EFGHIJKL 2
        stop
    }
}

ACTOR DripingBlueBloodLeavesSmallPool: DripingBlueBloodLeavesPool
{
-FORCEXYBILLBOARD
+FORCEYBILLBOARD
-DONTSPLASH
States
{
     Death:
	    TNT1 A 0
		TNT1 A 0 A_SpawnItem("MinuscleBlueBloodSpot")
		TNT1 A 0 A_PlaySound("blooddrop2")
        XDT1 EFGHIJKL 2
        stop
    }
}





ACTOR XDeath1Blue
{
    Radius 1
    Height 1
    Speed 10
    Scale 1.2
	Mass 1
    +NOBLOCKMAP
	+MISSILE
    +NOTELEPORT
    +MOVEWITHSECTOR
    +CLIENTSIDEONLY
    +BLOODLESSIMPACT 
	-DONTSPLASH
	+THRUGHOST
	+THRUACTORS
	+FLOORCLIP
	damagetype Blood
    SeeSound "misc/xdeath4"
    DeathSound "misc/xdeath1"
	Decal BlueBloodSuper
	translation "168:191=192:207","16:47=240:247"
	Mass 1
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        BLOD A 4 A_CustomMissile ("Blue_FlyingBloodTrail", 0, 0, random (0, 360), 2, random (0, 360))
        Loop
    Death:
        TNT1 A 0 A_SpawnItem ("Blue_BloodSpot", 0, 1)
		TNT1 A 0 ACS_EXecuteAlways(373, 0, 0, 0, 0)
		XDT1 EF 3
		TNT1 A 0 A_JumpIfInventory("IsOverWater", 1, "IsOverLiquid")
		TNT1 A 0 A_JumpIfInventory("IsOverSlime", 1, "IsOverLiquid")
        XDT1 GHIJKL 3
        Stop
        TNT1 A 1
     Underwater:
	 Splash:
	    BLUD C 0 ThrustThingZ (0,35,1,0)
        XDT1 AB 3 A_CustomMissile ("Blue_FlyingBloodTrail", 0, 0, random (0, 360), 2, random (0, 360))
		BLUD C 0 ThrustThingZ (0,35,1,0)
		XDT1 CD 3 A_CustomMissile ("Blue_FlyingBloodTrail", 0, 0, random (0, 360), 2, random (0, 360))
        Loop
		
	IsOverLiquid:
		TNT1 A 1
		TNT1 A 0 A_CheckFloor("SpawnOnWater")
		
	SpawnOnWater:
		TNT1 A 1
		TNT1 A 0 A_SpawnItem ("WaterBloodSpot", 5)
		Stop
    }
}

ACTOR XDeath2Blue: XDeath1Blue
{
    +CLIENTSIDEONLY
	+DONTSPLASH
    Speed 10
	Radius 2
	Height 2
	Gravity 0.4
    DeathSound "misc/xdeath2"
	Decal BlueBloodSuper
	translation "168:191=192:207","16:47=240:247"
    Scale 1.1
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
        XME1 ABCD 3 A_CustomMissile ("Blue_FlyingBloodTrail", 0, 0, random (0, 360), 2, random (0, 360))
        Loop
    Death:
        TNT1 AAAAAAA 0 A_CustomMissile ("Blue_FlyingBloodTrail5", 0, 0, random (0, 180), 2, random (0, 180))
        
		
	    TNT1 A 0 A_CheckFloor("SpawnFloor")
		TNT1 A 0 A_SpawnItemEx ("DetectCeilBlueBloodSimplerLarge",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
		TNT1 A 0 A_SpawnItemEx ("DetectCeilXDeath2Blue",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
		Stop
		
	SpawnFloor:
	    XME1 E 1
		TNT1 A 0 ACS_ExecuteAlways(798, 0, 0, 0, 0)//Check Effects
		TNT1 A 0 
		XME1 E 3 A_QueueCorpse
		TNT1 A 0 A_SpawnItem ("Blue_BloodSpot", 0, 1)
    Living:
	    XME1 E 600
		TNT1 A 0 A_JumpIfInventory("lowgraphicsmode", 1, "Vanish")
		Loop
	Vanish:
	    TNT1 A 5
		Stop
    }
}


ACTOR XDeath2bBlue: XDeath2Blue
{
Speed 4
}

ACTOR XDeath3Blue: XDeath2Blue
{
    SeeSound "misc/xdeath4"
    DeathSound "misc/xdeath3"
	Decal BlueBloodSuper
	translation "168:191=192:207","16:47=240:247"
	Scale 1.1
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
        XME2 ABCD 3 A_CustomMissile ("Blue_FlyingBloodTrail", 0, 0, random (0, 360), 2, random (0, 360))
        Loop
    Death:
        TNT1 AAAAAAA 0 A_CustomMissile ("Blue_FlyingBloodTrail5", 0, 0, random (0, 180), 2, random (0, 180))
	    TNT1 A 0 A_CheckFloor("SpawnFloor")
		TNT1 A 0 A_SpawnItemEx ("DetectCeilBlueBloodSimplerLarge",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
		TNT1 A 0 A_SpawnItemEx ("DetectCeilXDeath3Blue",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
		Stop
		
	SpawnFloor:
	    XME2 E 1
		TNT1 A 0 ACS_ExecuteAlways(798, 0, 0, 0, 0)//Check Effects
		TNT1 A 0 
		XME2 E 3 A_QueueCorpse
		TNT1 A 0 A_SpawnItem ("Blue_BloodSpot", 0, 1)
        Living:
	    XME2 E 600
		TNT1 A 0 A_JumpIfInventory("lowgraphicsmode", 1, "Vanish")
		Loop
	Vanish:
	    TNT1 A 5
		Stop	
    }
}

ACTOR XDeath3bBlue: XDeath3Blue
{
Speed 4
}

ACTOR XDeath4Blue: XDeath2
{
    SeeSound "misc/xdeath4"
    DeathSound "misc/xdeath3"
	Scale 1.1
	+DOOMBOUNCE
	BounceFactor 0.3
	wallbouncefactor 0.2
	translation "168:191=192:207","16:47=240:247"
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
        XME3 ABCDEFGH 3 A_CustomMissile ("Blue_FlyingBloodTrail", 0, 0, random (0, 360), 2, random (0, 360))
        Loop
    Death:
	TNT1 A 0
	TNT1 A 0 A_Jump(255, "Death1", "Death2")
	GOto Death1
	
	Death1:
	    TNT1 A 0
		TNT1 A 0 ACS_ExecuteAlways(798, 0, 0, 0, 0)//Check Effects
		TNT1 A 0 
	    XME3 GH 3
	    XME3 A 1 A_QueueCorpse
		TNT1 A 0 A_SpawnItem ("Blue_BloodSpot", 0, 1)
	Living1:	
		XME3 A 600//duration
		TNT1 A 0 A_JumpIfInventory("lowgraphicsmode", 1, "Vanish")
        Loop
	Death2:
	    XME3 I 1
		TNT1 A 0 A_SpawnItem ("Blue_BloodSpot", 0, 1)
		XME3 I 1
    Living2:	
		XME3 I 600//duration
		TNT1 A 0 A_JumpIfInventory("lowgraphicsmode", 1, "Vanish")
        Loop
	Vanish:
	   TNT1 A 1
	   Stop
    }
}


ACTOR XDeath5Blue: XDeath2Blue
{
    SeeSound "misc/xdeath4"
    DeathSound "misc/xdeath3"
	translation "168:191=192:207","16:47=240:247"
	Scale 1.1
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
        XME5 ABCD 3 A_CustomMissile ("Blue_FlyingBloodTrail", 0, 0, random (0, 360), 2, random (0, 360))
        Loop
    Death:
        TNT1 AAAAAAA 0 A_CustomMissile ("Blue_FlyingBloodTrail5", 0, 0, random (0, 180), 2, random (0, 180))
        TNT1 A 0 A_SpawnItem ("Blue_BloodSpot", 0, 1)
		TNT1 A 0 ACS_ExecuteAlways(798, 0, 0, 0, 0)//Check Effects
        XME5 E 3 A_QueueCorpse
    Living:	
		XME5 E 800//duration
		TNT1 A 0 A_JumpIfInventory("lowgraphicsmode", 1, "Vanish")
        Loop
	Vanish:
	    TNT1 A 1
	    Stop
		
    }
}


ACTOR XDeathOrgan1Blue: XDeath2Blue
{
    SeeSound "misc/xdeath4"
    DeathSound "misc/xdeath3"
	translation "168:191=192:207","16:47=240:247"
	Scale 0.9
	Speed 4
    States
    {
    Spawn:
	    XME8 A 4 A_CustomMissile ("Blue_FlyingBloodTrail", 0, 0, random (0, 360), 2, random (0, 360))
        Loop
    Death:
        XME8 A 1 A_QueueCorpse
		XME8 A -1
        Stop
    }
}

ACTOR XDeathOrgan1bBlue: XDeathOrgan1Blue
{
	XScale -0.7
	YScale 0.5
}

ACTOR XDeathOrgan2Blue: XDeathOrgan1Blue
{
States
{
    Spawn:
	    XME8 B 4 A_CustomMissile ("Blue_FlyingBloodTrail", 0, 0, random (0, 360), 2, random (0, 360))
        Loop
    Death:
        XME8 B 1 A_QueueCorpse
		XME8 B -1
        Stop
    }
}




actor BlueGrowingBloodPool: Blue_BloodSpot
{
 game Doom
 radius 1
 height 1
 mass 1
 Health 600
  Alpha 0.99
 +NOTELEPORT
+CLIENTSIDEONLY
+FORCEXYBILLBOARD
+MOVEWITHSECTOR
+FLOORCLIP
+MISSILE
-DONTSPLASH
Scale 0.5
Decal BlueBloodSplat
Renderstyle Normal
 states
 {
 Spawn:
 TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
  TNT5 A 1
  TNT1 A 0 ACS_ExecuteAlways(798, 0, 0, 0, 0)//Check Effects
  TNT1 A 0 A_SpawnItemEx ("BootSmearerBlue",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
  TNT5 A 30 A_QueueCorpse
    TNT5 A 2 A_QueueCorpse
  TNT5 A 1 A_SetScale(0.33, 0.33)
  TNT5 A 1 A_SetScale(0.36, 0.36)
  TNT5 A 1 A_SetScale(0.39, 0.39)
  TNT5 A 1 A_SetScale(0.42, 0.42)
  TNT5 A 1 A_SetScale(0.45, 0.45)
  TNT5 A 1 A_SetScale(0.48, 0.48)
  TNT5 A 1 A_SetScale(0.50, 0.50)
  
  TNT5 A 2 A_SetScale(0.53, 0.53)
  TNT5 A 2 A_SetScale(0.56, 0.56)
  TNT5 A 2 A_SetScale(0.59, 0.59)
  TNT5 A 2 A_SetScale(0.62, 0.62)
  TNT5 A 2 A_SetScale(0.65, 0.65)
  TNT5 A 2 A_SetScale(0.68, 0.68)
  TNT5 A 2 A_SetScale(0.70, 0.70)
  
  
  TNT5 A 3 A_SetScale(0.73, 0.73)
  TNT5 A 3 A_SetScale(0.76, 0.76)
  TNT5 A 3 A_SetScale(0.79, 0.79)
  TNT5 A 3 A_SetScale(0.82, 0.82)
  TNT5 A 3 A_SetScale(0.85, 0.85)
  TNT5 A 3 A_SetScale(0.88, 0.88)
  TNT5 A 3 A_SetScale(0.90, 0.90)
  
  TNT5 A 3 A_SetScale(0.93, 0.93)
  TNT5 A 3 A_SetScale(0.96, 0.96)
  TNT5 A 3 A_SetScale(0.99, 0.99)
  TNT5 A 3 A_SetScale(1.02, 1.02)
  TNT5 A 3 A_SetScale(1.05, 1.05)
  TNT5 A 3 A_SetScale(1.08, 1.08)
  TNT5 A 3 A_SetScale(1.11, 1.11)
  
 TNT1 A 0
 Live:
  TNT5 A 900//duration
  TNT1 A 0 A_JumpIfInventory("lowgraphicsmode", 1, "Splash")
  TNT5 A -1
  Stop
	Splash:
        BLOD A 0
        stop
 }
}





actor BlueBigBloodSpot: Blue_BloodSpot
{
 Scale 0.7
 States
 {
 Spawn:
	TNT1 A 0
	TNT1 A 0 ACS_ExecuteAlways(798, 0, 0, 0, 0)//Check Effects
	TNT1 A 0 ACS_ExecuteAlways(374)//Check Floortype
	TNT1 A 3
	TNT1 A 0 A_JumpIfInventory("IsOverSlimy", 1, "Disappear")
	TNT1 A 0 A_JumpIfInventory("IsOverWater", 1, "Disappear")
	TNT1 A 0 A_JumpIfInventory("IsOverNukage", 1, "Disappear")
	TNT1 A 0 A_JumpIfInventory("IsOverLava", 1, "Disappear")
	TNT1 A 0 A_QueueCorpse
	TNT1 A 0 A_SpawnItemEx ("BootSmearerBlue",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
	Goto SpawnAFrameOnly
	
	Disappear:
		TNT1 A 0
		Stop
		}
}

actor BlueMediumBloodSpot: BlueBigBloodSpot
{
game Doom
Scale 0.4
}

actor BlueMediumBloodSpot2: BlueBigBloodSpot
{
game Doom
Scale 0.4
}






actor MuchBloodBlue : Blood
{
 states
 {
  Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
		TNT1 A 0 A_SpawnItem("BlueBLoodSplasher2")
        TNT1 AAAAAAAAAAAA 0 A_CustomMissile ("Blue_FlyingBloodTrail", 0, 0, random (0, 360), 2, random (0, 360))
        TNT1 AAAAAAAAAAAA 0 A_CustomMissile("Blue_FlyingBloodTrail", 0, 0, 180)
		TNT1 AAA 0 A_CustomMissile("BlueBloodMistSmall", 0, 0, random (0, 360), 2, random (30, 90))
  	    TNT1 AAA 0 A_CustomMissile ("Blue_FlyingBlood", 0, 0, random (0, 360), 2, random (0, 160))
	    TNT1 AAA 0 A_CustomMissile ("CeilBlueBloodLauncher", 0, 0, random (0, 360), 2, random (50, 130))
        BLOD BCD 0
        stop
	Splash:
        BLOD A 0
        stop
 }
}


actor MuchBlood2Blue : Blood
{
 states
 {
  Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
		TNT1 A 0 A_PlaySound("misc/xdeath4")
		TNT1 A 0 A_SpawnItem("BlueBLoodSplasher2")
        TNT1 AAA 0 A_CustomMissile("BlueBloodMistSmall", 0, 0, random (0, 360), 2, random (30, 90))
        TNT1 AAAAAAAAA 0 A_CustomMissile ("Blue_FlyingBloodTrail", 0, 0, random (0, 360), 2, random (0, 360))
        TNT1 AAAAAAAAA 0 A_CustomMissile("Blue_FlyingBloodTrail", 0, 0, 180)
  	    TNT1 AAA 0 A_CustomMissile ("Blue_FlyingBlood", 0, 0, random (0, 360), 2, random (0, 160))
		TNT1 AA 0 A_CustomMissile ("BlueBloodMistBig", 0, 0, random (0, 360), 2, random (30, 90))
		TNT1 AAA 0 A_CustomMissile ("CeilBlueBloodLauncher", 0, 0, random (0, 360), 2, random (50, 130))
		BLOD BCD 0
		TNT1 A 10
        stop
	Splash:
        BLOD A 0
        stop
 }
}

actor MuchBlood3Blue : Blood
{
 states
 {
  Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
		TNT1 A 0 A_PlaySound("misc/xdeath4")
		TNT1 A 0 A_SpawnItem("BlueBLoodSplasher2")
        TNT1 AAAAAAAAA 0 A_CustomMissile ("Blue_FlyingBloodTrail", 0, 0, random (0, 360), 2, random (0, 360))
        TNT1 AAAAAAAAA 0 A_CustomMissile("Blue_FlyingBloodTrail", 0, 0, 180)
  	    TNT1 AAA 0 A_CustomMissile ("Blue_FlyingBlood", 0, 0, random (0, 360), 2, random (0, 160))
		TNT1 AAAAA 0 A_CustomMissile ("BlueBloodMistBig", 0, 0, random (0, 360), 2, random (30, 90))
		TNT1 AAA 0 A_CustomMissile ("CeilBlueBloodLauncher", 0, 0, random (0, 360), 2, random (50, 130))
        BLOD BCD 0
        stop
	Splash:
        BLOD A 0
        stop
 }
}


actor BlueBloodDying : Brutal_Blood
{
 states
 {
  Spawn:
        //TNT1 AAAAA 0 A_CustomMissile ("BloodTr2", 7, 0, random (0, 360), 2, random (0, 180))
        //TNT1 AAAAAAAAAAA 0 A_CustomMissile ("BloodTr2", 0, 0, random (0, 180), 2, random (0, 180))
		TNT1 AAAA 3 A_CustomMissile ("Blue_LiquidBlood", 10, 0, random (0, 360), 2, random (30, 80))
        BLOD BCD 0
        stop
	Splash:
        BLOD A 0
        stop
 }
}





ACTOR WallBlueBlood
{
 game Doom
 scale 0.6
 speed 7
 health 1
 radius 8
 height 1
 Gravity 0.7
 damage 0
	DamageType Blood
	Decal BlueBloodSuper
   +MISSILE
   +CLIENTSIDEONLY
   +NOTELEPORT
   +NOBLOCKMAP
   +THRUACTORS
    translation "168:191=192:207","16:47=240:247"
 Decal BlueBloodSplat
    States
    {
     Spawn:
       TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
        TNT1 ABCD 4
        loop
	Splash:
        BLOD A 0
        stop
     Death:
  	    TNT1 A 3
        stop
    }
}


ACTOR SuperWallBlueBlood: WallBlueBlood
{
 speed 32
 Gravity 0.1
  translation "168:191=192:207","16:47=240:247"
 Decal BlueBloodSplat
     States
    {
     Spawn:
       TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
        TNT1 ABCD 1
        Stop
	
}
}


ACTOR ShortWallBlueBlood: WallBlueBlood
{
 speed 2
 Gravity 1
 Radius 24
 Height 12
 translation "168:191=192:207","16:47=240:247"
 Decal BlueBloodSplat
     States
    {
     Spawn:
       TNT1 A 0 A_JumpIf(waterlevel > 1, "Splash")
        TNT1 A 3
        Stop
	Death:
	    TNT1 A 0
		TNT1 A 0 A_SpawnItem("Blue_BloodSpot",0,0,0,1)
		TNT1 A 0 A_PlaySound("HEDBON")
	    TNT1 A 20
		Stop
}
}








ACTOR BlueBrainPiece
{
    Radius 2
    Height 2
	Speed 10
	Mass 1
	Scale 0.5
	Decal BlueBloodSuper
	+MISSILE
    +NOBLOCKMAP
    +NOTELEPORT
	+THRUGHOST
	+THRUACTORS
	+CLIENTSIDEONLY
    +DONTSPLASH
    +MOVEWITHSECTOR
	-DONTSPLASH
	+FORCEXYBILLBOARD
	+FLOORCLIP
	translation "16:31=152:159", "168:191=12:12", "32:47=9:12"
	Decal BlueBloodSplat
    States
    {
	Spawn:
	TNT1 A 0
	TNT1 A 0 A_Jump(32, "DoNothing")
	TNT1 A 0 A_ChangeFlag("NOGRAVITY", 0)
	Goto See
    See:
		XDB5 ABCDEFGH 3
		Loop
	Death:
	TNT1 A 0
	TNT1 A 0 ACS_ExecuteAlways(798, 0, 0, 0, 0)//Check Effects
	TNT1 A 0 A_CheckFloor("Rest")
	TNT1 A 0 A_SpawnItem("DetectCeilBrainBlue")
	TNT1 A 2
	Stop
	
	Rest:
	TNT1 A 0
	TNT1 A 0 A_Jump(255, "Rest1", "Rest2")
	Rest1:
        XDT5 B 800
		TNT1 A 0 A_JumpIfInventory("lowgraphicsmode", 1, "DoNothing")
        Loop
		
	Rest2:
		XDT5 O 800
		TNT1 A 0 A_JumpIfInventory("lowgraphicsmode", 1, "DoNothing")
        Loop
	DoNothing:
	TNT1 A 0
	Stop
    }
}



ACTOR DetectCeilBrainBlue
{
 game Doom
 scale 0.4
 speed 0
 health 1
 radius 1
 height 1
 Gravity 0.0
 damage 0
 Renderstyle Translucent
 translation "16:31=152:159", "168:191=12:12", "32:47=9:12"
 Alpha 0.95
	DamageType Blood
   +MISSILE
   +CLIENTSIDEONLY
   +NOTELEPORT
   +NOBLOCKMAP
   +FORCEXYBILLBOARD
   +NODAMAGETHRUST
   -DONTSPLASH
   +NOGRAVITY
    States
    {
     Spawn:
	 TNT1 A 0
	 TNT1 A 0 ThrustThingZ(0,35,0,1)
	 TNT1 A 2
	 TNT1 A 0 A_SpawnItem("SmearingBrainBlue")
	 Stop
	 Death:
	 TNT1 A 0
	 TNT1 A 0 A_CustomMissile ("BlueBrainPiece", -15, 0, 90, 2, 90)
  Stop
    }
}

ACTOR SmearingBrainBlue
{
    Radius 2
    Height 2
	Speed 10
	Mass 1
	Scale 0.5
    +NOBLOCKMAP
    +NOTELEPORT
	+THRUGHOST
	+CLIENTSIDEONLY
    +DONTSPLASH
    +MOVEWITHSECTOR
	-DONTSPLASH
	+FORCEXYBILLBOARD
	+QUARTERGRAVITY
	translation "16:31=152:159", "168:191=12:12", "32:47=9:12"
    States
    {
	Spawn:
	TNT1 A 0
	TNT1 A 0 A_ChangeFlag("NOGRAVITY", 1)
	TNT1 A 0 A_Jump(255, "Spawn1", "Spawn2", "Spawn3", "Spawn4")
	Goto Spawn1
	
	Spawn1:
	XDB5 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 1 A_CheckFloor("Rest")
	Goto Death
	
	Spawn2:
	XDB5 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB 1 A_CheckFloor("Rest")
	Goto Death
	
	Spawn3:
	XDB5 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 1 A_CheckFloor("Rest")
	Goto Death
	
	Spawn4:
	XDB5 DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD 1 A_CheckFloor("Rest")
	Goto Death
	
	Death:
	Rest:
	    TNT1 A 0
	    TNT1 A 0 A_ChangeFlag("QUARTERGRAVITY", 0)
		XDB5 A 2 ThrustThingZ(0,-2,0,1)
		TNT1 A 0 A_CheckFloor("Sleep")
		Loop
	Sleep:	
	    XDT5 BBBBBBBBBBBBBBBBBB 2 ThrustThingZ(0,-2,0,1)
        XDT5 B 2002
        Stop
	DoNothing:
	TNT1 A 0
	Stop
    }
}









//Muddy Water Decals

ACTOR BlueWaterBloodCHecker: WaterBloodCHecker
{
    Speed 4
    Scale 1.2
	Radius 1
	+MISSILE
	+DOOMBOUNCE
	BounceFactor 0.01
	+EXPLODEONWATER
	+CLIENTSIDEONLY
	Height 1
    SeeSound "none"
    DeathSound "none"
	Decal none
	States
    {
    Spawn:
	    TNT1 A 1
		TNT1 A 0 A_Jump(128, "Vanish")
		TNT1 A 10
        Loop
	Vanish:
		TNT1 A 0
		Stop
		
    Death:

		TNT1 A 0 ACS_EXecuteAlways(373, 0, 0, 0, 0)
		TNT1 A 5
		TNT1 A 0 A_JumpIfInventory("IsOverNukage", 1, "IsOverLiquid")
		TNT1 A 0 A_JumpIfInventory("IsOverSlime", 1, "IsOverLiquid")
		TNT1 A 0 A_JumpIfInventory("IsOverBlood", 1, "IsOverLiquid")
        TNT1 A 10
        Stop
        
	IsOverLiquid:
		TNT1 A 1
		TNT1 A 0 A_CheckFloor("SpawnOnWater")
		
	SpawnOnWater:
		TNT1 A 1
		TNT1 A 0 A_SpawnItem ("BlueWaterBloodSpot", 5)
		Stop
    }
}

ACTOR BlueWaterBloodSpot
{
+CLIENTSIDEONLY
+THRUACTORS
Radius 0
Height 0
Renderstyle Shaded
StencilColor "00 00 55"
Alpha 0.2
 states
 {
 Spawn:
		BPDL E 1 A_FadeOut(0.9)
		BPDL EEEEEEEEEEE 4 A_FadeIn(0.03)
		BPDL E 50
		BPDL EEEEEEEEEEEEEEEEEEEE 4 A_FadeOut(0.03)
		Stop
 }
}