
#include "actors/torch.txt"
#include "actors/sfx_water.txt"
#include "actors/sfx_rain.txt"

actor LifeItemInitGranter : Inventory { Inventory.MaxAmount 1 +INVENTORY.UNDROPPABLE -INVENTORY.INVBAR }
/////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////SIMPLE DECORATIONS/////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////

///////////////
// FAKE GOAL //
///////////////

actor FakeGoalBase
{
	health 1000
	radius 40
	height 40
	mass 0x7fffffff
	scale 0.3
	DeathSound "weapons/rocklx"
	RenderStyle Add
	+SHOOTABLE
	+SOLID
	+NOGRAVITY
	+NOBLOOD
	+DONTSPLASH
	+FRIENDLY
	States
	{
	Spawn:
		TRGT A 1 A_SpawnItemEx("FakeGoalSparks", 0, 0, 20, random(-3,3), random(-3,3), random(-3,3), 0, SXF_TRANSFERTRANSLATION | 128)
		loop
	Death:
		TNT1 A 1 
		TNT1 A 1 A_Scream	// Sound can't be played in first tic?
		stop
	}
}


actor FakeGoalSparks
{
	+Missile
	+NoBlockmap
	+NoGravity
	+NoInteraction
	Radius 1
	Height 1
	RenderStyle Add
	Alpha 0
	Scale 0.1
	States
	{
	Spawn:
	//	FGST ABCD 3
	//	goto Death
		TNT1 A 8
		FGST ABCD 3 A_FadeIn(0.25)
		goto Death
	Death:
		FGST ABCD 3 A_FadeOut(0.1)
		loop
	}
}

actor Goal_Red : FakeGoalBase 13004
{
//$Category Stronghold
	Translation "80:111=170:191"
	States
	{
	Death:
		TNT1 A 0 ACS_ExecuteAlways(926, 0, 1)
		Goto Super::Death
	}
}

actor Goal_Orange : FakeGoalBase 13005
{
//$Category Stronghold
	Translation "80:111=209:223"
	States
	{
	Death:
		TNT1 A 0 ACS_ExecuteAlways(926, 0, 2)
		Goto Super::Death
	}
}

actor Goal_Blue : FakeGoalBase 13006
{
//$Category Stronghold
	Translation "80:111=192:207"
	States
	{
	Death:
		TNT1 A 0 ACS_ExecuteAlways(926, 0, 3)
		Goto Super::Death
	}
}

actor Goal_Green : FakeGoalBase 13007
{
//$Category Stronghold
	Translation "80:111=112:127"
	States
	{
	Death:
		TNT1 A 0 ACS_ExecuteAlways(926, 0, 4)
		Goto Super::Death
	}
}

actor Goal_White : FakeGoalBase 13008
{
//$Category Stronghold
	States
	{
	Death:
		TNT1 A 0 ACS_ExecuteAlways(926, 0, 5)
		Goto Super::Death
	}
}
/////////////////////////////
// THUNDER by TORMENTOR667 //
/////////////////////////////

actor Thunder_Generator : SwitchableDecoration 3198
{
//$Category Stronghold_SFX
	+NoBlockMap +NoGravity +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
        Renderstyle Add
        Height 1
        Radius 1
        Alpha 0.2
        Scale 4.0
        translation "80:111=48:79"
        states
        {
        Spawn:
           Active:
                TNT1 A 0
                TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("Thunder_Spark", 0, 0, 0, random(1,10), 0, random(1,10), random(0,359), 129)
                THND AAAA 1 Bright A_FadeIn(0.2)
                THND AAAA 2 Bright A_FadeOut(0.2)
                TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 1  Bright A_SpawnItemEx("Thunder_Smoke", 0, 0, 0, random(0,3), 0, random(2,3), random(0,359), 128)
                Goto Inactive
           Inactive:
	        TNT1 A 1
	        Loop
        }

}

Actor Thunder_Smoke
{
    Height 2
    Radius 1
    +Missile +NoGravity +NoInteraction +NoBlockmap
    RenderStyle Translucent
    Alpha .5
    Scale .65
    States
    {
    Spawn:
    	SMK1 IHGFEEDDCCBBBBAAAAAA 2 A_FadeOut(0.05)
        Stop
    }
}

Actor Thunder_Spark
{
	Speed 3
	Height 2
	Radius 1
	Mass 0
	+Missile +LowGravity
	RenderStyle Add
	Scale 0.4
	States
	{
	Spawn:
	    TNT1 A 0
            SPRK A 1 A_Jump(80, 4)
            SPRK A 1 A_Jump(80, 4)
            SPRK A 1 A_Jump(80, 4)
	    SPRK A 32 Bright
	    SPRK A 32 Bright
	    SPRK A 32 Bright
	    SPRK A 32 Bright
	    SPRK ABCDEFGHHH 1 Bright A_FadeOut(0.1)
	    Stop
	Death:
	    SPRK ABCDEFGHHH 1 Bright A_FadeOut(0.1)
 	    Stop
	}
}


/////////////////////////////
// SKYBEAM by Tormentor667 //
/////////////////////////////

actor Skybeam_Projectile
{
	Height 32
	Radius 32
	Mass 0
	+Missile +Nogravity
	RenderStyle Add
	YScale 2.0
        Alpha 0.8
	States
	{
	Spawn:
	    TNT1 A 0
	    SKBP A 60 Bright
	    SKBP AAAAAAAAAAA 2 Bright A_FadeOut(0.1)
	    Stop
	Death:
	    SKBP AAAAAAAAAAA 2 Bright A_FadeOut(0.1)
 	    Stop
	}
}

actor Skybeam_ProjectileSmall : Skybeam_Projectile
{
	XScale 0.2
	YScale 0.1
	Alpha 0.6
}

actor IonCannon_Beam : Thunder_Generator 11923
{
//$Category Stronghold_SFX
        XScale 1.5
        YScale 4.0
        Alpha 0.01
        states
        {
        Spawn:
           Active:
                TNT1 A 0
                TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("Thunder_Spark", 0, 0, 0, random(1,10), 0, random(1,10), random(0,359), 129)
                SKBM AAAAA 1 Bright A_FadeIn(0.2)
		  SKBM A 1 Bright A_SpawnItemEx("Skybeam_Projectile",      0, 0, 0, 0, 0, 30, 0, 128)
                  SKBM AAAAAAAAAAAAAA 1 Bright A_SpawnItemEx("Skybeam_ProjectileSmall", random(-32,32), random(-32,32), 0, 0, 0, random(15,25), 0, 128)
                  SKBM A 1 Bright A_SpawnItemEx("Skybeam_Projectile",      0, 0, 0, 0, 0, 30, 0, 128)
                  SKBM AAAAAAAAAAAAAA 1 Bright A_SpawnItemEx("Skybeam_ProjectileSmall", random(-32,32), random(-32,32), 0, 0, 0, random(15,25), 0, 128)
                  SKBM A 1 Bright A_SpawnItemEx("Skybeam_Projectile",      0, 0, 0, 0, 0, 30, 0, 128)
                  SKBM AAAAAAAAAAAAAA 1 Bright A_SpawnItemEx("Skybeam_ProjectileSmall", random(-32,32), random(-32,32), 0, 0, 0, random(15,25), 0, 128)
                  SKBM A 1 Bright A_SpawnItemEx("Skybeam_Projectile",      0, 0, 0, 0, 0, 30, 0, 128)
                  SKBM AAAAAAAAAAAAAA 1 Bright A_SpawnItemEx("Skybeam_ProjectileSmall", random(-32,32), random(-32,32), 0, 0, 0, random(15,25), 0, 128)
                  SKBM A 1 Bright A_SpawnItemEx("Skybeam_Projectile",      0, 0, 0, 0, 0, 30, 0, 128)
                  SKBM AAAAAAAAAAAAAA 1 Bright A_SpawnItemEx("Skybeam_ProjectileSmall", random(-32,32), random(-32,32), 0, 0, 0, random(15,25), 0, 128)
                SKBM A 30 Bright
                SKBM AAAAAAAAA 5 Bright A_FadeOut(0.1)
                Goto Inactive
           Inactive:
	        TNT1 A 1
	        Loop
        }
}

actor IonCannon_Beam_XXL : IonCannon_Beam 11924
{
//$Category Stronghold_SFX
	XScale 2.75
        YScale 4.0
}


//////////////////////////////
// RADIOACTIVE WASTE SHOWER //
// by Tormentor667 ///////////
//////////////////////////////

Actor BaseWasteShower01
{
 +Missile
 +NoBlockmap
 +NoGravity
 -ACTIVATEMCROSS
 Radius 1
 Height 1
 RenderStyle Add
 Alpha 0.0
 Scale 0.2
 States
 {
  Spawn:
   BLT0 AAAAAAAAAAAAAAAAAAAA 3  A_FadeIn(0.05)
   BLT0 A 50
   BLT0 AAAAAAAAAAAAAAAAAAAA 3 A_FadeOut(0.05)
  Death:
   BLT0 AAAAAAAAAA 1 A_FadeOut(0.1)
   TNT1 A 1
   stop
 }
}




actor Radioactive_Shower 3197
{
//$Category Stronghold_SFX
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY +SPAWNCEILING
        states
        {
        Spawn:
           Active:
        	TNT1 A 0
        	TNT1 A 5 A_SpawnItemEx ("BaseWasteShower01", random(1024, -1024), random(1024, -1024), random(0, -512), random(5,20), 0, random(-2,-10), random(0,359), 129)
        	Loop
           Inactive:
		TNT1 A 1
		Loop
        }

}

////////////////////////////////////////
// PORTAL EFFECT ///////////////////////
// by Tormentor667 /////////////////////
////////////////////////////////////////

Actor BaseParticle
{
 +Missile
 +NoBlockmap
 +NoGravity
 Radius 64
 Height 64
 RenderStyle Add
 Alpha 0.1
 Scale 0.1
 States
 {
  Spawn:
   STEM LLLLLLLLLL 5 Bright A_FadeIn(0.05)
   STEM L 1000 Bright
   goto Spawn+11
  Death:
   STEM LLLLL 2 Bright A_FadeOut(0.1)
   TNT1 A 1
   stop
 }
}

actor Portal_ParticleLeecher 3194
{
//$Category Stronghold_SFX
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
        translation "80:111=48:79"
        states
        {
        Spawn:
           Active:
        	TNT1 A 0
        	TNT1 A 5 A_SpawnItemEx ("BaseParticle", random(256, -256), random(0, 0), random(0, 512), random(2,20), 0, 0, random(10,-10), 129)
        	Loop
           Inactive:
		TNT1 A 1
		Loop
        }

}



////////////////////////////////////////
// DESERT CLOUDS & STORM ////// ////////
// by Tormentor667 //////START//////////
////////////////////////////////////////


Actor BaseCloud 
{
 +Missile
 +NoBlockmap
 +NoGravity
 Radius 64
 Height 64
 RenderStyle Add
 Alpha 0.1
 Scale 4.0
 States
 {
  Spawn:
   CLFX AAAAA 3 A_FadeIn(0.1)
   CLFX A 400 Bright
  Death:
   CLFX AAAAA 3 A_FadeOut(0.1)
   stop
 }
}

actor Desert_Sandstorm_CloudGen 3199
{
//$Category Stronghold_SFX
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	translation "80:111=48:79","3:3=74:74","5:8=[40,21,12]:[12,6,3]"
        states
        {
        Spawn:
           Active:
        	TNT1 A 0
        	TNT1 A 30 A_SpawnItemEx ("BaseCloud", random(512, -512), random(128, -128), random(0, 128), random(5,15), 0, 0, random(3,-3), 129, 208)
        	Loop
           Inactive:
		TNT1 A 1
		Loop
        }

}

Actor BaseSandParticle
{
 +Missile
 +NoBlockmap
 +NoGravity
 Radius 1
 Height 1
 Damage 0
 RenderStyle Translucent
 Alpha 0.5
 Scale 1
 States
 {
  Spawn:
   DSFX A 500 Bright
   Stop
  Death:
   TNT1 A 1
   Stop
 }
}

actor Desert_Sandstorm_ParticleGen 3201
{
//$Category Stronghold_SFX
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	translation "80:111=48:79"
        states
        {
        Spawn:
           Active:
        	TNT1 A 0
        	TNT1 A 3 A_SpawnItemEx ("BaseSandParticle", random(512, -512), random(128, -128), random(0, 128), random(10, 20), 0, 0, random(3,-3), 129, 0)
        	Loop
           Inactive:
		TNT1 A 1
		Loop
        }

}


actor Desert_Whitesmoke_CloudGen 2999
{
//$Category Stronghold_SFX
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
        states
        {
        Spawn:
           Active:
        	TNT1 A 0
        	TNT1 A 50 A_SpawnItemEx ("White_Cloud", random(512, -512), random(128, -128), random(0, 128), random(5,15), 0, 0, random(3,-3), 129, 192)
        	Loop
           Inactive:
		TNT1 A 1
		Loop
        }

}

Actor White_Cloud 2998
{
 +Missile
 +NoBlockmap
 +NoGravity
 +NoInteraction
 Radius 64
 Height 64
 RenderStyle Add
 Alpha 0.1
 Scale 4.0
 States
 {
  Spawn:
   CLFX AA 3 A_FadeIn(0.1)
   CLFX A 1 
   wait
  Death:
   CLFX AAAAAA 10 A_FadeOut(0.1)
   TNT1 A 1
   stop
 }
}

////////////////////////////////////////
// POWERUP POD STRING FOUNTAINS ////////
// by Tormentor667 //////START//////////
////////////////////////////////////////


Actor BaseLine
{
 +Missile
 +NoGravity
 +NoBlockmap
 +NoInteraction
 -Solid
 Radius 0
 Height 0
 RenderStyle Add
 Alpha 0.01
 Scale 0.37
 States
 {
  Spawn:
   SPFX AAAAA 1 Bright A_FadeIn(0.2)
   SPFX AAAAAAAAAAAAAAAA 1 Bright A_FadeOut(0.06)
   Stop
 }
}

actor WhiteParticleGenerator_64x64 3551
{
//$Category Stronghold_PowerUpPads
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
        states
        {
        Spawn:
           Active:
        	TNT1 A 0
        	TNT1 A 1 A_SpawnItemEx ("BaseLine", random(-32, 32), random(-32, 32), random(0, 8), 0, 0, random(1,3), 0, 129, 0)
        	Loop
           Inactive:
		TNT1 A 1
		Loop
        }

}

actor BlueParticleGenerator_64x64 : WhiteParticleGenerator_64x64 193
{
//$Category Stronghold_PowerUpPads
	translation "80:111=196:207"
}

actor GreenParticleGenerator_64x64 : WhiteParticleGenerator_64x64 192
{
//$Category Stronghold_PowerUpPads
	translation "80:111=112:127"
}

actor RedParticleGenerator_64x64 : WhiteParticleGenerator_64x64 194
{
//$Category Stronghold_PowerUpPads
	translation "80:111=176:191"
}

actor OrangeParticleGenerator_64x64 : WhiteParticleGenerator_64x64 195
{
//$Category Stronghold_PowerUpPads
	translation "80:111=214:223"
}

/////////////////////////////////////////////////////////////////////////////////7


Actor BasePointer
{
 +Missile
 +NoGravity
 +NoBlockmap
 +NoInteraction
 -Solid
 Radius 0
 Height 0
 RenderStyle Add
 Alpha 0.01
 Scale 0.2
 States
 {
  Spawn:
   PNTR AAAAA 1 A_FadeIn(0.2)
   PNTR AAAAAAAAAAAAAAAA 1 A_FadeOut(0.06)
   Stop
 }
}

Actor Pointer_Middle : BasePointer
{
	scale 0.34
}

Actor Pointer_Large : BasePointer
{
	scale 0.60
}

actor JumpPadIndicator_64x64 : WhiteParticleGenerator_64x64 196
{
//$Category Stronghold_PowerUpPads
        +NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	states
        {
        Spawn:
           Active:
        	TNT1 A 0
        	TNT1 AAA 5 A_SpawnItemEx ("BasePointer", random(-32, 32), random(-32, 32), random(0, 8), 0, 0, random(1,3), 0, 129, 0)
                TNT1 A 5 A_SpawnItemEx ("Pointer_Middle", random(-32, 32), random(-32, 32), random(0, 8), 0, 0, random(1,3), 0, 129, 0)
                TNT1 AAA 5 A_SpawnItemEx ("BasePointer", random(-32, 32), random(-32, 32), random(0, 8), 0, 0, random(1,3), 0, 129, 0)
                TNT1 A 5 A_SpawnItemEx ("Pointer_Large", random(-32, 32), random(-32, 32), random(0, 8), 0, 0, random(1,3), 0, 129, 0)
                TNT1 AAA 5 A_SpawnItemEx ("BasePointer", random(-32, 32), random(-32, 32), random(0, 8), 0, 0, random(1,3), 0, 129, 0)
                TNT1 A 5 A_SpawnItemEx ("Pointer_Middle", random(-32, 32), random(-32, 32), random(0, 8), 0, 0, random(1,3), 0, 129, 0)
        	Loop
           Inactive:
		TNT1 A 1
		Loop
        }

}

////////////////////////////////////////
// POWERUP POD STRING FOUNTAINS ////////
// by Tormentor667 //////END////////////
////////////////////////////////////////


/////////////////////////////////////////
/// SPECIAL EFFECTS by SOLARSNOWFALL ////
/////////////////START///////////////////
/////////////////////////////////////////
Actor Drop_B1A
{
	Speed 5
	Height 2
	Radius 1
	Mass 5
	+Missile +LowGravity +DontSplash
	Mass 0
	RenderStyle Add
	Scale 0.25
	States
	{
	Spawn:
		DROP A 1
		Loop
	Death:
		DROP A 1 A_FadeOut(0.1)
		Loop
	}
}

Actor Drop_B1B : Drop_B1A
{
	Scale 0.23
}

Actor Drop_B1C : Drop_B1A
{
	Scale 0.2
}

Actor Drop_B2A : Drop_B1A
{
	Speed 4
}

Actor Drop_B2B : Drop_B1A
{
	Scale 0.23
	Speed 4
}

Actor Drop_B2C : Drop_B1A
{
	Scale 0.2
	Speed 4
}


Actor Drop_B3A : Drop_B1A
{
	Speed 3
}

Actor Drop_B3B : Drop_B1A
{
	Scale 0.23
	Speed 3
}

Actor Drop_B3C : Drop_B1A
{
	Scale 0.2
	Speed 3
}

Actor Liquid_Fountain_B1A : SwitchableDecoration 20024
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
		TNT1 A 0
		TNT1 A 0 A_Jump(192, 2)
		TNT1 A 1 A_CustomMissile("Drop_B1A", 0, 0, random(0, 360), 2, random(45, 135))
		Loop
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1 A_CustomMissile("Drop_B1B", 0, 0, random(0, 360), 2, random(45, 135))
		Loop
		TNT1 A 1 A_CustomMissile("Drop_B1C", 0, 0, random(0, 360), 2, random(45, 135))
		Loop
	Inactive:
		TNT1 A 1
		Loop
	}
}

Actor Liquid_Fountain_B1B : SwitchableDecoration 20025
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
		TNT1 A 0
		TNT1 A 0 A_Jump(192, 2)
		TNT1 A 1 A_CustomMissile("Drop_B1A", 0, 0, random(0, 360), 2, random(68, 112))
		Loop
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1 A_CustomMissile("Drop_B1B", 0, 0, random(0, 360), 2, random(68, 112))
		Loop
		TNT1 A 1 A_CustomMissile("Drop_B1C", 0, 0, random(0, 360), 2, random(68, 112))
		Loop
	Inactive:
		TNT1 A 1
		Loop
	}
}

Actor Liquid_Fountain_B1C : SwitchableDecoration 20026
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
		TNT1 A 0
		TNT1 A 0 A_Jump(192, 2)
		TNT1 A 1 A_CustomMissile("Drop_B1A", 0, 0, random(0, 360), 2, random(81, 101))
		Loop
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1 A_CustomMissile("Drop_B1B", 0, 0, random(0, 360), 2, random(81, 101))
		Loop
		TNT1 A 1 A_CustomMissile("Drop_B1C", 0, 0, random(0, 360), 2, random(81, 101))
		Loop
	Inactive:
		TNT1 A 1
		Loop
	}
}

Actor Liquid_Fountain_B2A : SwitchableDecoration 20027
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
		TNT1 A 0
		TNT1 A 0 A_Jump(192, 2)
		TNT1 A 1 A_CustomMissile("Drop_B2A", 0, 0, random(0, 360), 2, random(45, 135))
		Loop
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1 A_CustomMissile("Drop_B2B", 0, 0, random(0, 360), 2, random(45, 135))
		Loop
		TNT1 A 1 A_CustomMissile("Drop_B2C", 0, 0, random(0, 360), 2, random(45, 135))
		Loop
	Inactive:
		TNT1 A 1
		Loop
	}
}

Actor Liquid_Fountain_B2B : SwitchableDecoration 20028
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
		TNT1 A 0
		TNT1 A 0 A_Jump(192, 2)
		TNT1 A 1 A_CustomMissile("Drop_B2A", 0, 0, random(0, 360), 2, random(68, 112))
		Loop
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1 A_CustomMissile("Drop_B2B", 0, 0, random(0, 360), 2, random(68, 112))
		Loop
		TNT1 A 1 A_CustomMissile("Drop_B2C", 0, 0, random(0, 360), 2, random(68, 112))
		Loop
	Inactive:
		TNT1 A 1
		Loop
	}
}

Actor Liquid_Fountain_B2C : SwitchableDecoration 20029
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
		TNT1 A 0
		TNT1 A 0 A_Jump(192, 2)
		TNT1 A 1 A_CustomMissile("Drop_B2A", 0, 0, random(0, 360), 2, random(81, 101))
		Loop
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1 A_CustomMissile("Drop_B2B", 0, 0, random(0, 360), 2, random(81, 101))
		Loop
		TNT1 A 1 A_CustomMissile("Drop_B2C", 0, 0, random(0, 360), 2, random(81, 101))
		Loop
	Inactive:
		TNT1 A 1
		Loop
	}
}

Actor Liquid_Fountain_B3A : SwitchableDecoration 20030
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
		TNT1 A 0
		TNT1 A 0 A_Jump(192, 2)
		TNT1 A 1 A_CustomMissile("Drop_B3A", 0, 0, random(0, 360), 2, random(45, 135))
		Loop
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1 A_CustomMissile("Drop_B3B", 0, 0, random(0, 360), 2, random(45, 135))
		Loop
		TNT1 A 1 A_CustomMissile("Drop_B3C", 0, 0, random(0, 360), 2, random(45, 135))
		Loop
	Inactive:
		TNT1 A 1
		Loop
	}
}

Actor Liquid_Fountain_B3B : SwitchableDecoration 20031
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
		TNT1 A 0
		TNT1 A 0 A_Jump(192, 2)
		TNT1 A 1 A_CustomMissile("Drop_B3A", 0, 0, random(0, 360), 2, random(68, 112))
		Loop
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1 A_CustomMissile("Drop_B3B", 0, 0, random(0, 360), 2, random(68, 112))
		Loop
		TNT1 A 1 A_CustomMissile("Drop_B3C", 0, 0, random(0, 360), 2, random(68, 112))
		Loop
	Inactive:
		TNT1 A 1
		Loop
	}
}

Actor Liquid_Fountain_B3C : SwitchableDecoration 20032
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
		TNT1 A 0
		TNT1 A 0 A_Jump(192, 2)
		TNT1 A 1 A_CustomMissile("Drop_B3A", 0, 0, random(0, 360), 2, random(81, 101))
		Loop
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1 A_CustomMissile("Drop_B3B", 0, 0, random(0, 360), 2, random(81, 101))
		Loop
		TNT1 A 1 A_CustomMissile("Drop_B3C", 0, 0, random(0, 360), 2, random(81, 101))
		Loop
	Inactive:
		TNT1 A 1
		Loop
	}
}

Actor Smoke : SwitchableDecoration 20033
{
//$Category Stronghold_SFX
    Height 2
    Radius 1
    +NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
    States
    {
    Spawn:
    Active:
    	TNT1 A 0
    	TNT1 A 0 A_Jump(240, 2)
    	TNT1 A 1 A_SpawnItem("SmokeA", 0, 0, 0)
    	Loop
    	TNT1 A 0 A_Jump(224, 2)
    	TNT1 A 1 A_SpawnItem("SmokeB", 0, 0, 0)
    	Loop
    	TNT1 A 0 A_Jump(208, 2)
    	TNT1 A 1 A_SpawnItem("SmokeC", 0, 0, 0)
    	Loop
    	TNT1 A 0 A_Jump(192, 2)
    	TNT1 A 1 A_SpawnItem("SmokeD", 0, 0, 0)
    	Loop
    	TNT1 A 0 A_Jump(176, 2)
    	TNT1 A 1 A_SpawnItem("SmokeE", 0, 0, 0)
    	Loop
    	TNT1 A 0 A_Jump(160, 2)
    	TNT1 A 1 A_SpawnItem("SmokeF", 0, 0, 0)
    	Loop
    	TNT1 A 0 A_Jump(144, 2)
    	TNT1 A 1 A_SpawnItem("SmokeG", 0, 0, 0)
    	Loop
    	TNT1 A 0 A_Jump(128, 2)
    	TNT1 A 0 A_SpawnItem("SmokeH", 0, 0, 0)
    	Loop
    	TNT1 A 1 A_SpawnItem("SmokeI", 0, 0, 0)
    	Loop
    Inactive:
    	TNT1 A 1
    	Loop
    }
}

actor Flame1A
{
  height 2
  radius 1
  +NOGRAVITY +NOCLIP +NOBLOCKMAP +MISSILE +NOINTERACTION
  renderstyle Add
  alpha 0.8
  scale 0.35
  states
  {
  Spawn:
    FLM1 A 0
    FLM1 A 0 ThrustThingZ (0, random (2, 6), 0, 0)
    FLM1 A 0 ThrustThing (random (0, 255), random (0, 1), 0, 0)
    FLM1 ABCDE 2 bright
    FLM1 F 1 bright A_SetTranslucent (0.75, 1)
    FLM1 F 1 bright A_SetTranslucent (0.7, 1)
    FLM1 G 1 bright A_SetTranslucent (0.65, 1)
    FLM1 G 1 bright A_SetTranslucent (0.6, 1)
    FLM1 H 1 bright A_SetTranslucent (0.55, 1)
    FLM1 H 1 bright A_SetTranslucent (0.5, 1)
    FLM1 I 1 bright A_SetTranslucent (0.45, 1)
    FLM1 I 1 bright A_SetTranslucent (0.4, 1)
    FLM1 J 1 bright A_SetTranslucent (0.35, 1)
    FLM1 J 1 bright A_SetTranslucent (0.3, 1)
    FLM1 K 1 bright A_SetTranslucent (0.25, 1)
    FLM1 K 1 bright A_SetTranslucent (0.2, 1)
    FLM1 L 1 bright A_SetTranslucent (0.15, 1)
    FLM1 L 1 bright A_SetTranslucent (0.1, 1)
    stop
  }
}

Actor Fire_1x : SwitchableDecoration 20034
{
//$Category Stronghold_SFX
    Height 2
    Radius 1
    +NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
    States
    {
    Spawn:
    Active:
    	TNT1 A 0
    	TNT1 A 0 A_Jump(240, 2)
    	TNT1 A 1 A_SpawnItem("OMGFireA", 0, 0, 0)
    	Loop
    	TNT1 A 0 A_Jump(224, 2)
    	TNT1 A 1 A_SpawnItem("OMGFireB", 0, 0, 0)
    	Loop
    	TNT1 A 0 A_Jump(208, 2)
    	TNT1 A 1 A_SpawnItem("OMGFireC", 0, 0, 0)
    	Loop
    	TNT1 A 0 A_Jump(192, 2)
    	TNT1 A 1 A_SpawnItem("OMGFireD", 0, 0, 0)
    	Loop
    	TNT1 A 0 A_Jump(176, 2)
    	TNT1 A 1 A_SpawnItem("OMGFireE", 0, 0, 0)
    	Loop
    	TNT1 A 0 A_Jump(160, 2)
    	TNT1 A 1 A_SpawnItem("OMGFireF", 0, 0, 0)
    	Loop
    	TNT1 A 0 A_Jump(144, 2)
    	TNT1 A 1 A_SpawnItem("OMGFireG", 0, 0, 0)
    	Loop
    	TNT1 A 0 A_Jump(128, 2)
    	TNT1 A 0 A_SpawnItem("OMGFireH", 0, 0, 0)
    	Loop
    	TNT1 A 1 A_SpawnItem("OMGFireI", 0, 0, 0)
    	Loop
    Inactive:
    	TNT1 A 1
    	Loop
    }
}

actor Fire_2x : SwitchableDecoration 32701
{
//$Category Stronghold_SFX
  +NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
  states
  {
  Spawn:
  Active:
    TNT1 A 0
    TNT1 A 0 A_Jump (216, 3)
    TNT1 A 1 A_SpawnItem ("Flame4A", 0, 0, 0)
    TNT1 A 0 A_SpawnItem ("Ember2", 0, 0, 0)
    loop
    TNT1 A 0 A_Jump (176, 2)
    TNT1 A 1 A_SpawnItem ("FLame4B", 0, 0, 0)
    loop
    TNT1 A 0 A_Jump (136, 2)
    TNT1 A 1 A_SpawnItem ("Flame5A", 0, 0, 0)
    loop
    TNT1 A 0 A_Jump (96, 2)
    TNT1 A 1 A_SpawnItem ("Flame5B", 0, 0, 0)
    loop
    TNT1 A 0 A_Jump (56, 2)
    TNT1 A 1 A_SpawnItem ("Flame6A", 0, 0, 0)
    loop
    TNT1 A 1 A_SpawnItem ("Flame6B", 0, 0, 0)
    loop
  Inactive:
    TNT1 A 1
    loop
  }
}

actor Flame4A
{
  height 2
  radius 1
  +NOGRAVITY +NOCLIP +NOBLOCKMAP +MISSILE +NOINTERACTION
  renderstyle Add
  alpha 0.8
  scale 0.7
  states
  {
  Spawn:
    FLM1 A 0
    FLM1 A 0 ThrustThingZ (0, random (4, 12), 0, 0)
    FLM1 A 0 ThrustThing (random (0, 255), random (0, 2), 0, 0)
    FLM1 ABCDE 2 bright
    FLM1 F 1 bright A_SetTranslucent (0.75, 1)
    FLM1 F 1 bright A_SetTranslucent (0.7, 1)
    FLM1 G 1 bright A_SetTranslucent (0.65, 1)
    FLM1 G 1 bright A_SetTranslucent (0.6, 1)
    FLM1 H 1 bright A_SetTranslucent (0.55, 1)
    FLM1 H 1 bright A_SetTranslucent (0.5, 1)
    FLM1 I 1 bright A_SetTranslucent (0.45, 1)
    FLM1 I 1 bright A_SetTranslucent (0.4, 1)
    FLM1 J 1 bright A_SetTranslucent (0.35, 1)
    FLM1 J 1 bright A_SetTranslucent (0.3, 1)
    FLM1 K 1 bright A_SetTranslucent (0.25, 1)
    FLM1 K 1 bright A_SetTranslucent (0.2, 1)
    FLM1 L 1 bright A_SetTranslucent (0.15, 1)
    FLM1 L 1 bright A_SetTranslucent (0.1, 1)
    stop
  }
}

actor Ember2 : Flame1A
{
  scale 0.1
  states
  {
  Spawn:
    EMBR A 0
    EMBR A 0 ThrustThingZ (0, random (4, 16), 0, 0)
    EMBR A 0 ThrustThing (random (0, 255), random (0, 1), 0, 0)
    EMBR A 64 bright
  Death:
    EMBR A 2 bright A_FadeOut (0.1)
    loop
  }
}

actor Flame4B : Flame4A
{
  states
  {
  Spawn:
    FLM2 A 0
    FLM2 A 0 ThrustThingZ (0, random (4, 12), 0, 0)
    FLM2 A 0 ThrustThing (random (0, 255), random (0, 2), 0, 0)
    FLM2 ABCDE 2 bright
    FLM2 F 1 bright A_SetTranslucent (0.75, 1)
    FLM2 F 1 bright A_SetTranslucent (0.7, 1)
    FLM2 G 1 bright A_SetTranslucent (0.65, 1)
    FLM2 G 1 bright A_SetTranslucent (0.6, 1)
    FLM2 H 1 bright A_SetTranslucent (0.55, 1)
    FLM2 H 1 bright A_SetTranslucent (0.5, 1)
    FLM2 I 1 bright A_SetTranslucent (0.45, 1)
    FLM2 I 1 bright A_SetTranslucent (0.4, 1)
    FLM2 J 1 bright A_SetTranslucent (0.35, 1)
    FLM2 J 1 bright A_SetTranslucent (0.3, 1)
    FLM2 K 1 bright A_SetTranslucent (0.25, 1)
    FLM2 K 1 bright A_SetTranslucent (0.2, 1)
    FLM2 L 1 bright A_SetTranslucent (0.15, 1)
    FLM2 L 1 bright A_SetTranslucent (0.1, 1)
    stop
  }
}

actor Flame5A : Flame4A
{
  states
  {
  Spawn:
    FLM3 A 0
    FLM3 A 0 ThrustThingZ (0, random (4, 12), 0, 0)
    FLM3 A 0 ThrustThing (random (0, 255), random (0, 2), 0, 0)
    FLM3 ABCDE 2 bright
    FLM3 F 1 bright A_SetTranslucent (0.75, 1)
    FLM3 F 1 bright A_SetTranslucent (0.7, 1)
    FLM3 G 1 bright A_SetTranslucent (0.65, 1)
    FLM3 G 1 bright A_SetTranslucent (0.6, 1)
    FLM3 H 1 bright A_SetTranslucent (0.55, 1)
    FLM3 H 1 bright A_SetTranslucent (0.5, 1)
    FLM3 I 1 bright A_SetTranslucent (0.45, 1)
    FLM3 I 1 bright A_SetTranslucent (0.4, 1)
    FLM3 J 1 bright A_SetTranslucent (0.35, 1)
    FLM3 J 1 bright A_SetTranslucent (0.3, 1)
    FLM3 K 1 bright A_SetTranslucent (0.25, 1)
    FLM3 K 1 bright A_SetTranslucent (0.2, 1)
    FLM3 L 1 bright A_SetTranslucent (0.15, 1)
    FLM3 L 1 bright A_SetTranslucent (0.1, 1)
    stop
  }
}

actor Flame5B : Flame4A
{
  states
  {
  Spawn:
    FLM4 A 0
    FLM4 A 0 ThrustThingZ (0, random (4, 12), 0, 0)
    FLM4 A 0 ThrustThing (random (0, 255), random (0, 2), 0, 0)
    FLM4 ABCDE 2 bright
    FLM4 F 1 bright A_SetTranslucent (0.75, 1)
    FLM4 F 1 bright A_SetTranslucent (0.7, 1)
    FLM4 G 1 bright A_SetTranslucent (0.65, 1)
    FLM4 G 1 bright A_SetTranslucent (0.6, 1)
    FLM4 H 1 bright A_SetTranslucent (0.55, 1)
    FLM4 H 1 bright A_SetTranslucent (0.5, 1)
    FLM4 I 1 bright A_SetTranslucent (0.45, 1)
    FLM4 I 1 bright A_SetTranslucent (0.4, 1)
    FLM4 J 1 bright A_SetTranslucent (0.35, 1)
    FLM4 J 1 bright A_SetTranslucent (0.3, 1)
    FLM4 K 1 bright A_SetTranslucent (0.25, 1)
    FLM4 K 1 bright A_SetTranslucent (0.2, 1)
    FLM4 L 1 bright A_SetTranslucent (0.15, 1)
    FLM4 L 1 bright A_SetTranslucent (0.1, 1)
    stop
  }
}

actor Flame6A : Flame4A
{
  states
  {
  Spawn:
    FLM5 A 0
    FLM5 A 0 ThrustThingZ (0, random (4, 12), 0, 0)
    FLM5 A 0 ThrustThing (random (0, 255), random (0, 2), 0, 0)
    FLM5 ABCDE 2 bright
    FLM5 F 1 bright A_SetTranslucent (0.75, 1)
    FLM5 F 1 bright A_SetTranslucent (0.7, 1)
    FLM5 G 1 bright A_SetTranslucent (0.65, 1)
    FLM5 G 1 bright A_SetTranslucent (0.6, 1)
    FLM5 H 1 bright A_SetTranslucent (0.55, 1)
    FLM5 H 1 bright A_SetTranslucent (0.5, 1)
    FLM5 I 1 bright A_SetTranslucent (0.45, 1)
    FLM5 I 1 bright A_SetTranslucent (0.4, 1)
    FLM5 J 1 bright A_SetTranslucent (0.35, 1)
    FLM5 J 1 bright A_SetTranslucent (0.3, 1)
    FLM5 K 1 bright A_SetTranslucent (0.25, 1)
    FLM5 K 1 bright A_SetTranslucent (0.2, 1)
    FLM5 L 1 bright A_SetTranslucent (0.15, 1)
    FLM5 L 1 bright A_SetTranslucent (0.1, 1)
    stop
  }
}

actor Flame6B : Flame4A
{
  states
  {
  Spawn:
    FLM6 A 0
    FLM6 A 0 ThrustThingZ (0, random (4, 12), 0, 0)
    FLM6 A 0 ThrustThing (random (0, 255), random (0, 2), 0, 0)
    FLM6 ABCDE 2 bright
    FLM6 F 1 bright A_SetTranslucent (0.75, 1)
    FLM6 F 1 bright A_SetTranslucent (0.7, 1)
    FLM6 G 1 bright A_SetTranslucent (0.65, 1)
    FLM6 G 1 bright A_SetTranslucent (0.6, 1)
    FLM6 H 1 bright A_SetTranslucent (0.55, 1)
    FLM6 H 1 bright A_SetTranslucent (0.5, 1)
    FLM6 I 1 bright A_SetTranslucent (0.45, 1)
    FLM6 I 1 bright A_SetTranslucent (0.4, 1)
    FLM6 J 1 bright A_SetTranslucent (0.35, 1)
    FLM6 J 1 bright A_SetTranslucent (0.3, 1)
    FLM6 K 1 bright A_SetTranslucent (0.25, 1)
    FLM6 K 1 bright A_SetTranslucent (0.2, 1)
    FLM6 L 1 bright A_SetTranslucent (0.15, 1)
    FLM6 L 1 bright A_SetTranslucent (0.1, 1)
    stop
  }
}

actor Fire_4x : SwitchableDecoration 32702
{
//$Category Stronghold_SFX
  +NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
  states
  {
  Spawn:
  Active:
    TNT1 A 0
    TNT1 A 0 A_Jump (216, 3)
    TNT1 A 1 A_SpawnItem ("Flame7A", 0, 0, 0)
    TNT1 A 0 A_SpawnItem ("Ember2", 0, 0, 0)
    loop
    TNT1 A 0 A_Jump (176, 2)
    TNT1 A 1 A_SpawnItem ("FLame7B", 0, 0, 0)
    loop
    TNT1 A 0 A_Jump (136, 2)
    TNT1 A 1 A_SpawnItem ("Flame8A", 0, 0, 0)
    loop
    TNT1 A 0 A_Jump (96, 2)
    TNT1 A 1 A_SpawnItem ("Flame8B", 0, 0, 0)
    loop
    TNT1 A 0 A_Jump (56, 2)
    TNT1 A 1 A_SpawnItem ("Flame9A", 0, 0, 0)
    loop
    TNT1 A 1 A_SpawnItem ("Flame9B", 0, 0, 0)
    loop
  Inactive:
    TNT1 A 1
    loop
  }
}

actor Flame7A
{
  height 2
  radius 1
  +NOGRAVITY +NOCLIP +NOBLOCKMAP +MISSILE +NOINTERACTION
  renderstyle Add
  alpha 0.8
  scale 1.4
  states
  {
  Spawn:
    FLM1 A 0
    FLM1 A 0 ThrustThingZ (0, random (8, 24), 0, 0)
    FLM1 A 0 ThrustThing (random (0, 255), random (0, 4), 0, 0)
    FLM1 ABCDE 2 bright
    FLM1 F 1 bright A_SetTranslucent (0.75, 1)
    FLM1 F 1 bright A_SetTranslucent (0.7, 1)
    FLM1 G 1 bright A_SetTranslucent (0.65, 1)
    FLM1 G 1 bright A_SetTranslucent (0.6, 1)
    FLM1 H 1 bright A_SetTranslucent (0.55, 1)
    FLM1 H 1 bright A_SetTranslucent (0.5, 1)
    FLM1 I 1 bright A_SetTranslucent (0.45, 1)
    FLM1 I 1 bright A_SetTranslucent (0.4, 1)
    FLM1 J 1 bright A_SetTranslucent (0.35, 1)
    FLM1 J 1 bright A_SetTranslucent (0.3, 1)
    FLM1 K 1 bright A_SetTranslucent (0.25, 1)
    FLM1 K 1 bright A_SetTranslucent (0.2, 1)
    FLM1 L 1 bright A_SetTranslucent (0.15, 1)
    FLM1 L 1 bright A_SetTranslucent (0.1, 1)
    stop
  }
}

actor Flame7B : Flame7A
{
  states
  {
  Spawn:
    FLM2 A 0
    FLM2 A 0 ThrustThingZ (0, random (8, 24), 0, 0)
    FLM2 A 0 ThrustThing (random (0, 255), random (0, 4), 0, 0)
    FLM2 ABCDE 2 bright
    FLM2 F 1 bright A_SetTranslucent (0.75, 1)
    FLM2 F 1 bright A_SetTranslucent (0.7, 1)
    FLM2 G 1 bright A_SetTranslucent (0.65, 1)
    FLM2 G 1 bright A_SetTranslucent (0.6, 1)
    FLM2 H 1 bright A_SetTranslucent (0.55, 1)
    FLM2 H 1 bright A_SetTranslucent (0.5, 1)
    FLM2 I 1 bright A_SetTranslucent (0.45, 1)
    FLM2 I 1 bright A_SetTranslucent (0.4, 1)
    FLM2 J 1 bright A_SetTranslucent (0.35, 1)
    FLM2 J 1 bright A_SetTranslucent (0.3, 1)
    FLM2 K 1 bright A_SetTranslucent (0.25, 1)
    FLM2 K 1 bright A_SetTranslucent (0.2, 1)
    FLM2 L 1 bright A_SetTranslucent (0.15, 1)
    FLM2 L 1 bright A_SetTranslucent (0.1, 1)
    stop
  }
}

actor Flame8A : Flame7A
{
  states
  {
  Spawn:
    FLM3 A 0
    FLM3 A 0 ThrustThingZ (0, random (8, 24), 0, 0)
    FLM3 A 0 ThrustThing (random (0, 255), random (0, 4), 0, 0)
    FLM3 ABCDE 2 bright
    FLM3 F 1 bright A_SetTranslucent (0.75, 1)
    FLM3 F 1 bright A_SetTranslucent (0.7, 1)
    FLM3 G 1 bright A_SetTranslucent (0.65, 1)
    FLM3 G 1 bright A_SetTranslucent (0.6, 1)
    FLM3 H 1 bright A_SetTranslucent (0.55, 1)
    FLM3 H 1 bright A_SetTranslucent (0.5, 1)
    FLM3 I 1 bright A_SetTranslucent (0.45, 1)
    FLM3 I 1 bright A_SetTranslucent (0.4, 1)
    FLM3 J 1 bright A_SetTranslucent (0.35, 1)
    FLM3 J 1 bright A_SetTranslucent (0.3, 1)
    FLM3 K 1 bright A_SetTranslucent (0.25, 1)
    FLM3 K 1 bright A_SetTranslucent (0.2, 1)
    FLM3 L 1 bright A_SetTranslucent (0.15, 1)
    FLM3 L 1 bright A_SetTranslucent (0.1, 1)
    stop
  }
}

actor Flame8B : Flame7A
{
  states
  {
  Spawn:
    FLM4 A 0
    FLM4 A 0 ThrustThingZ (0, random (8, 24), 0, 0)
    FLM4 A 0 ThrustThing (random (0, 255), random (0, 4), 0, 0)
    FLM4 ABCDE 2 bright
    FLM4 F 1 bright A_SetTranslucent (0.75, 1)
    FLM4 F 1 bright A_SetTranslucent (0.7, 1)
    FLM4 G 1 bright A_SetTranslucent (0.65, 1)
    FLM4 G 1 bright A_SetTranslucent (0.6, 1)
    FLM4 H 1 bright A_SetTranslucent (0.55, 1)
    FLM4 H 1 bright A_SetTranslucent (0.5, 1)
    FLM4 I 1 bright A_SetTranslucent (0.45, 1)
    FLM4 I 1 bright A_SetTranslucent (0.4, 1)
    FLM4 J 1 bright A_SetTranslucent (0.35, 1)
    FLM4 J 1 bright A_SetTranslucent (0.3, 1)
    FLM4 K 1 bright A_SetTranslucent (0.25, 1)
    FLM4 K 1 bright A_SetTranslucent (0.2, 1)
    FLM4 L 1 bright A_SetTranslucent (0.15, 1)
    FLM4 L 1 bright A_SetTranslucent (0.1, 1)
    stop
  }
}

actor Flame9A : Flame7A
{
  states
  {
  Spawn:
    FLM5 A 0
    FLM5 A 0 ThrustThingZ (0, random (8, 24), 0, 0)
    FLM5 A 0 ThrustThing (random (0, 255), random (0, 4), 0, 0)
    FLM5 ABCDE 2 bright
    FLM5 F 1 bright A_SetTranslucent (0.75, 1)
    FLM5 F 1 bright A_SetTranslucent (0.7, 1)
    FLM5 G 1 bright A_SetTranslucent (0.65, 1)
    FLM5 G 1 bright A_SetTranslucent (0.6, 1)
    FLM5 H 1 bright A_SetTranslucent (0.55, 1)
    FLM5 H 1 bright A_SetTranslucent (0.5, 1)
    FLM5 I 1 bright A_SetTranslucent (0.45, 1)
    FLM5 I 1 bright A_SetTranslucent (0.4, 1)
    FLM5 J 1 bright A_SetTranslucent (0.35, 1)
    FLM5 J 1 bright A_SetTranslucent (0.3, 1)
    FLM5 K 1 bright A_SetTranslucent (0.25, 1)
    FLM5 K 1 bright A_SetTranslucent (0.2, 1)
    FLM5 L 1 bright A_SetTranslucent (0.15, 1)
    FLM5 L 1 bright A_SetTranslucent (0.1, 1)
    stop
  }
}

actor Flame9B : Flame7A
{
  states
  {
  Spawn:
    FLM6 A 0
    FLM6 A 0 ThrustThingZ (0, random (8, 24), 0, 0)
    FLM6 A 0 ThrustThing (random (0, 255), random (0, 4), 0, 0)
    FLM6 ABCDE 2 bright
    FLM6 F 1 bright A_SetTranslucent (0.75, 1)
    FLM6 F 1 bright A_SetTranslucent (0.7, 1)
    FLM6 G 1 bright A_SetTranslucent (0.65, 1)
    FLM6 G 1 bright A_SetTranslucent (0.6, 1)
    FLM6 H 1 bright A_SetTranslucent (0.55, 1)
    FLM6 H 1 bright A_SetTranslucent (0.5, 1)
    FLM6 I 1 bright A_SetTranslucent (0.45, 1)
    FLM6 I 1 bright A_SetTranslucent (0.4, 1)
    FLM6 J 1 bright A_SetTranslucent (0.35, 1)
    FLM6 J 1 bright A_SetTranslucent (0.3, 1)
    FLM6 K 1 bright A_SetTranslucent (0.25, 1)
    FLM6 K 1 bright A_SetTranslucent (0.2, 1)
    FLM6 L 1 bright A_SetTranslucent (0.15, 1)
    FLM6 L 1 bright A_SetTranslucent (0.1, 1)
    stop
  }
}


Actor SmokeA
{
    Height 2
    Radius 1
    +Missile +NoGravity +NoInteraction +NoBlockmap
    RenderStyle Translucent
    Alpha .5
    Scale .35
    States
    {
    Spawn:
    	TNT1 A 0
    	TNT1 A 0 ThrustThingZ(0, random(8, 16), 0, 0)
    	TNT1 A 0 ThrustThing(random(0, 255), random(-1, 1), 0, 0)
    	SMK1 I 4
    	SMK1 H 4
    	SMK1 G 4
    	SMK1 F 4
    	SMK1 E 2 A_SetTranslucent(.45, 0)
    	SMK1 E 2 A_SetTranslucent(.4, 0)
    	SMK1 D 2 A_SetTranslucent(.35, 0)
    	SMK1 D 2 A_SetTranslucent(.3, 0)
    	SMK1 C 2 A_SetTranslucent(.25, 0)
    	SMK1 C 2 A_SetTranslucent(.2, 0)
    	SMK1 B 1 A_SetTranslucent(.18, 0)
    	SMK1 B 1 A_SetTranslucent(.16, 0)
    	SMK1 B 1 A_SetTranslucent(.14, 0)
    	SMK1 B 1 A_SetTranslucent(.12, 0)
    	SMK1 A 1 A_SetTranslucent(.1, 0)
    	SMK1 A 1 A_SetTranslucent(.08, 0)
    	SMK1 A 1 A_SetTranslucent(.06, 0)
    	SMK1 A 1 A_SetTranslucent(.04, 0)
        Stop
    }
}

Actor SmokeB : SmokeA
{
    States
    {
    Spawn:
    	TNT1 A 0
        TNT1 A 0 ThrustThingZ(0, random(8, 16), 0, 0)
    	TNT1 A 0 ThrustThing(random(0, 255), random(-1, 1), 0, 0)
    	SMK2 I 4
    	SMK2 H 4
    	SMK2 G 4
    	SMK2 F 4
    	SMK2 E 2 A_SetTranslucent(.45, 0)
    	SMK2 E 2 A_SetTranslucent(.4, 0)
    	SMK2 D 2 A_SetTranslucent(.35, 0)
    	SMK2 D 2 A_SetTranslucent(.3, 0)
    	SMK2 C 2 A_SetTranslucent(.25, 0)
    	SMK2 C 2 A_SetTranslucent(.2, 0)
    	SMK2 B 1 A_SetTranslucent(.18, 0)
    	SMK2 B 1 A_SetTranslucent(.16, 0)
    	SMK2 B 1 A_SetTranslucent(.14, 0)
    	SMK2 B 1 A_SetTranslucent(.12, 0)
    	SMK2 A 1 A_SetTranslucent(.1, 0)
    	SMK2 A 1 A_SetTranslucent(.08, 0)
    	SMK2 A 1 A_SetTranslucent(.06, 0)
    	SMK2 A 1 A_SetTranslucent(.04, 0)
        Stop
    }
}

Actor SmokeC : SmokeA
{
    States
    {
    Spawn:
    	TNT1 A 0
        TNT1 A 0 ThrustThingZ(0, random(8, 16), 0, 0)
    	TNT1 A 0 ThrustThing(random(0, 255), random(-1, 1), 0, 0)
    	SMK3 I 4
    	SMK3 H 4
    	SMK3 G 4
    	SMK3 F 4
    	SMK3 E 2 A_SetTranslucent(.45, 0)
    	SMK3 E 2 A_SetTranslucent(.4, 0)
    	SMK3 D 2 A_SetTranslucent(.35, 0)
    	SMK3 D 2 A_SetTranslucent(.3, 0)
    	SMK3 C 2 A_SetTranslucent(.25, 0)
    	SMK3 C 2 A_SetTranslucent(.2, 0)
    	SMK3 B 1 A_SetTranslucent(.18, 0)
    	SMK3 B 1 A_SetTranslucent(.16, 0)
    	SMK3 B 1 A_SetTranslucent(.14, 0)
    	SMK3 B 1 A_SetTranslucent(.12, 0)
    	SMK3 A 1 A_SetTranslucent(.1, 0)
    	SMK3 A 1 A_SetTranslucent(.08, 0)
    	SMK3 A 1 A_SetTranslucent(.06, 0)
    	SMK3 A 1 A_SetTranslucent(.04, 0)
    Stop
    }
}

Actor SmokeD : SmokeA
{
    States
    {
    Spawn:
    	TNT1 A 0
        TNT1 A 0 ThrustThingZ(0, random(8, 16), 0, 0)
    	TNT1 A 0 ThrustThing(random(0, 255), random(-1, 1), 0, 0)
    	SMK4 I 4
    	SMK4 H 4
    	SMK4 G 4
    	SMK4 F 4
    	SMK4 E 2 A_SetTranslucent(.45, 0)
    	SMK4 E 2 A_SetTranslucent(.4, 0)
    	SMK4 D 2 A_SetTranslucent(.35, 0)
    	SMK4 D 2 A_SetTranslucent(.3, 0)
    	SMK4 C 2 A_SetTranslucent(.25, 0)
    	SMK4 C 2 A_SetTranslucent(.2, 0)
    	SMK4 B 1 A_SetTranslucent(.18, 0)
    	SMK4 B 1 A_SetTranslucent(.16, 0)
    	SMK4 B 1 A_SetTranslucent(.14, 0)
    	SMK4 B 1 A_SetTranslucent(.12, 0)
    	SMK4 A 1 A_SetTranslucent(.1, 0)
    	SMK4 A 1 A_SetTranslucent(.08, 0)
    	SMK4 A 1 A_SetTranslucent(.06, 0)
    	SMK4 A 1 A_SetTranslucent(.04, 0)
    Stop
    }
}

Actor SmokeE : SmokeA
{
    States
    {
    Spawn:
    	TNT1 A 0
        TNT1 A 0 ThrustThingZ(0, random(8, 16), 0, 0)
    	TNT1 A 0 ThrustThing(random(0, 255), random(-1, 1), 0, 0)
    	SMK5 I 4
    	SMK5 H 4
    	SMK5 G 4
    	SMK5 F 4
    	SMK5 E 2 A_SetTranslucent(.45, 0)
    	SMK5 E 2 A_SetTranslucent(.4, 0)
    	SMK5 D 2 A_SetTranslucent(.35, 0)
    	SMK5 D 2 A_SetTranslucent(.3, 0)
    	SMK5 C 2 A_SetTranslucent(.25, 0)
    	SMK5 C 2 A_SetTranslucent(.2, 0)
    	SMK5 B 1 A_SetTranslucent(.18, 0)
    	SMK5 B 1 A_SetTranslucent(.16, 0)
    	SMK5 B 1 A_SetTranslucent(.14, 0)
    	SMK5 B 1 A_SetTranslucent(.12, 0)
    	SMK5 A 1 A_SetTranslucent(.1, 0)
    	SMK5 A 1 A_SetTranslucent(.08, 0)
    	SMK5 A 1 A_SetTranslucent(.06, 0)
    	SMK5 A 1 A_SetTranslucent(.04, 0)
        Stop
    }
}

Actor SmokeF : SmokeA
{
    States
    {
    Spawn:
    	TNT1 A 0
        TNT1 A 0 ThrustThingZ(0, random(8, 16), 0, 0)
    	TNT1 A 0 ThrustThing(random(0, 255), random(-1, 1), 0, 0)
    	SMK6 I 4
    	SMK6 H 4
    	SMK6 G 4
    	SMK6 F 4
    	SMK6 E 2 A_SetTranslucent(.45, 0)
    	SMK6 E 2 A_SetTranslucent(.4, 0)
    	SMK6 D 2 A_SetTranslucent(.35, 0)
    	SMK6 D 2 A_SetTranslucent(.3, 0)
    	SMK6 C 2 A_SetTranslucent(.25, 0)
    	SMK6 C 2 A_SetTranslucent(.2, 0)
    	SMK6 B 1 A_SetTranslucent(.18, 0)
    	SMK6 B 1 A_SetTranslucent(.16, 0)
    	SMK6 B 1 A_SetTranslucent(.14, 0)
    	SMK6 B 1 A_SetTranslucent(.12, 0)
    	SMK6 A 1 A_SetTranslucent(.1, 0)
    	SMK6 A 1 A_SetTranslucent(.08, 0)
    	SMK6 A 1 A_SetTranslucent(.06, 0)
    	SMK6 A 1 A_SetTranslucent(.04, 0)
        Stop
    }
}

Actor SmokeG : SmokeA
{
    States
    {
    Spawn:
    	TNT1 A 0
        TNT1 A 0 ThrustThingZ(0, random(8, 16), 0, 0)
    	TNT1 A 0 ThrustThing(random(0, 255), random(-1, 1), 0, 0)
    	SMK7 I 4
    	SMK7 H 4
    	SMK7 G 4
    	SMK7 F 4
    	SMK7 E 2 A_SetTranslucent(.45, 0)
    	SMK7 E 2 A_SetTranslucent(.4, 0)
    	SMK7 D 2 A_SetTranslucent(.35, 0)
    	SMK7 D 2 A_SetTranslucent(.3, 0)
    	SMK7 C 2 A_SetTranslucent(.25, 0)
    	SMK7 C 2 A_SetTranslucent(.2, 0)
    	SMK7 B 1 A_SetTranslucent(.18, 0)
    	SMK7 B 1 A_SetTranslucent(.16, 0)
    	SMK7 B 1 A_SetTranslucent(.14, 0)
    	SMK7 B 1 A_SetTranslucent(.12, 0)
    	SMK7 A 1 A_SetTranslucent(.1, 0)
    	SMK7 A 1 A_SetTranslucent(.08, 0)
    	SMK7 A 1 A_SetTranslucent(.06, 0)
    	SMK7 A 1 A_SetTranslucent(.04, 0)
        Stop
    }
}

Actor SmokeH : SmokeA
{
    States
    {
    Spawn:
    	TNT1 A 0
        TNT1 A 0 ThrustThingZ(0, random(8, 16), 0, 0)
    	TNT1 A 0 ThrustThing(random(0, 255), random(-1, 1), 0, 0)
    	SMK8 I 4
    	SMK8 H 4
    	SMK8 G 4
    	SMK8 F 4
    	SMK8 E 2 A_SetTranslucent(.45, 0)
    	SMK8 E 2 A_SetTranslucent(.4, 0)
    	SMK8 D 2 A_SetTranslucent(.35, 0)
    	SMK8 D 2 A_SetTranslucent(.3, 0)
    	SMK8 C 2 A_SetTranslucent(.25, 0)
    	SMK8 C 2 A_SetTranslucent(.2, 0)
    	SMK8 B 1 A_SetTranslucent(.18, 0)
    	SMK8 B 1 A_SetTranslucent(.16, 0)
    	SMK8 B 1 A_SetTranslucent(.14, 0)
    	SMK8 B 1 A_SetTranslucent(.12, 0)
    	SMK8 A 1 A_SetTranslucent(.1, 0)
    	SMK8 A 1 A_SetTranslucent(.08, 0)
    	SMK8 A 1 A_SetTranslucent(.06, 0)
    	SMK8 A 1 A_SetTranslucent(.04, 0)
    Stop
    }
}

Actor SmokeI : SmokeA
{
    States
    {
    Spawn:
    	TNT1 A 0
        TNT1 A 0 ThrustThingZ(0, random(8, 16), 0, 0)
    	TNT1 A 0 ThrustThing(random(0, 255), random(-1, 1), 0, 0)
    	SMK9 I 4
    	SMK9 H 4
    	SMK9 G 4
    	SMK9 F 4
    	SMK9 E 2 A_SetTranslucent(.45, 0)
    	SMK9 E 2 A_SetTranslucent(.4, 0)
    	SMK9 D 2 A_SetTranslucent(.35, 0)
    	SMK9 D 2 A_SetTranslucent(.3, 0)
    	SMK9 C 2 A_SetTranslucent(.25, 0)
    	SMK9 C 2 A_SetTranslucent(.2, 0)
    	SMK9 B 1 A_SetTranslucent(.18, 0)
    	SMK9 B 1 A_SetTranslucent(.16, 0)
    	SMK9 B 1 A_SetTranslucent(.14, 0)
    	SMK9 B 1 A_SetTranslucent(.12, 0)
    	SMK9 A 1 A_SetTranslucent(.1, 0)
    	SMK9 A 1 A_SetTranslucent(.08, 0)
    	SMK9 A 1 A_SetTranslucent(.06, 0)
    	SMK9 A 1 A_SetTranslucent(.04, 0)
        Stop
    }
}

Actor OMGFireA
{
    Height 2
    Radius 1
    +NoBlockMap +NoGravity +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
    RenderStyle Add
    Alpha .8
    Scale .25
    States
    {
    Spawn:
    	TNT1 A 0
        TNT1 A 0 ThrustThingZ(0, random(4, 16), 0, 0)
    	TNT1 A 0 ThrustThing(random(0, 255), random(-1, 1), 0, 0)
    	FLM1 A 2 Bright
    	FLM1 B 1 Bright A_SetTranslucent(.75, 1)
    	FLM1 B 1 Bright A_SetTranslucent(.7, 1)
    	FLM1 C 1 Bright A_SetTranslucent(.65, 1)
    	FLM1 C 1 Bright A_SetTranslucent(.6, 1)
    	FLM1 D 1 Bright A_SetTranslucent(.55, 1)
    	FLM1 D 1 Bright A_SetTranslucent(.5, 1)
    	FLM1 E 1 Bright A_SetTranslucent(.45, 1)
    	FLM1 E 1 Bright A_SetTranslucent(.4, 1)
    	FLM1 F 1 Bright A_SetTranslucent(.35, 1)
    	FLM1 F 1 Bright A_SetTranslucent(.3, 1)
    	FLM1 G 1 Bright A_SetTranslucent(.25, 1)
    	FLM1 G 1 Bright A_SetTranslucent(.2, 1)
    	FLM1 H 1 Bright A_SetTranslucent(.15, 1)
    	FLM1 H 1 Bright A_SetTranslucent(.1, 1)
    	Stop
    }
}

Actor OMGFireB : OMGFireA
{
    States
    {
    Spawn:
    	TNT1 A 0
        TNT1 A 0 ThrustThingZ(0, random(4, 16), 0, 0)
    	TNT1 A 0 ThrustThing(random(0, 255), random(-1, 1), 0, 0)
    	FLM2 A 2 Bright
    	FLM2 B 1 Bright A_SetTranslucent(.75, 1)
    	FLM2 B 1 Bright A_SetTranslucent(.7, 1)
    	FLM2 C 1 Bright A_SetTranslucent(.65, 1)
    	FLM2 C 1 Bright A_SetTranslucent(.6, 1)
    	FLM2 D 1 Bright A_SetTranslucent(.55, 1)
    	FLM2 D 1 Bright A_SetTranslucent(.5, 1)
    	FLM2 E 1 Bright A_SetTranslucent(.45, 1)
    	FLM2 E 1 Bright A_SetTranslucent(.4, 1)
    	FLM2 F 1 Bright A_SetTranslucent(.35, 1)
    	FLM2 F 1 Bright A_SetTranslucent(.3, 1)
    	FLM2 G 1 Bright A_SetTranslucent(.25, 1)
    	FLM2 G 1 Bright A_SetTranslucent(.2, 1)
    	FLM2 H 1 Bright A_SetTranslucent(.15, 1)
    	FLM2 H 1 Bright A_SetTranslucent(.1, 1)
    	Stop
    }
}

Actor OMGFireC : OMGFireA
{
    States
    {
    Spawn:
    	TNT1 A 0
        TNT1 A 0 ThrustThingZ(0, random(4, 16), 0, 0)
    	TNT1 A 0 ThrustThing(random(0, 255), random(-1, 1), 0, 0)
    	FLM3 A 2 Bright
    	FLM3 B 1 Bright A_SetTranslucent(.75, 1)
    	FLM3 B 1 Bright A_SetTranslucent(.7, 1)
    	FLM3 C 1 Bright A_SetTranslucent(.65, 1)
    	FLM3 C 1 Bright A_SetTranslucent(.6, 1)
    	FLM3 D 1 Bright A_SetTranslucent(.55, 1)
    	FLM3 D 1 Bright A_SetTranslucent(.5, 1)
    	FLM3 E 1 Bright A_SetTranslucent(.45, 1)
    	FLM3 E 1 Bright A_SetTranslucent(.4, 1)
    	FLM3 F 1 Bright A_SetTranslucent(.35, 1)
    	FLM3 F 1 Bright A_SetTranslucent(.3, 1)
    	FLM3 G 1 Bright A_SetTranslucent(.25, 1)
    	FLM3 G 1 Bright A_SetTranslucent(.2, 1)
    	FLM3 H 1 Bright A_SetTranslucent(.15, 1)
    	FLM3 H 1 Bright A_SetTranslucent(.1, 1)
    	Stop
    }
}

Actor OMGFireD : OMGFireA
{
    States
    {
    Spawn:
    	TNT1 A 0
        TNT1 A 0 ThrustThingZ(0, random(4, 16), 0, 0)
    	TNT1 A 0 ThrustThing(random(0, 255), random(-1, 1), 0, 0)
    	FLM4 A 2 Bright
    	FLM4 B 1 Bright A_SetTranslucent(.75, 1)
    	FLM4 B 1 Bright A_SetTranslucent(.7, 1)
    	FLM4 C 1 Bright A_SetTranslucent(.65, 1)
    	FLM4 C 1 Bright A_SetTranslucent(.6, 1)
    	FLM4 D 1 Bright A_SetTranslucent(.55, 1)
    	FLM4 D 1 Bright A_SetTranslucent(.5, 1)
    	FLM4 E 1 Bright A_SetTranslucent(.45, 1)
    	FLM4 E 1 Bright A_SetTranslucent(.4, 1)
    	FLM4 F 1 Bright A_SetTranslucent(.35, 1)
    	FLM4 F 1 Bright A_SetTranslucent(.3, 1)
    	FLM4 G 1 Bright A_SetTranslucent(.25, 1)
    	FLM4 G 1 Bright A_SetTranslucent(.2, 1)
    	FLM4 H 1 Bright A_SetTranslucent(.15, 1)
    	FLM4 H 1 Bright A_SetTranslucent(.1, 1)
    	Stop
    }
}

Actor OMGFireE : OMGFireA
{
    States
    {
    Spawn:
    	TNT1 A 0
        TNT1 A 0 ThrustThingZ(0, random(4, 16), 0, 0)
    	TNT1 A 0 ThrustThing(random(0, 255), random(-1, 1), 0, 0)
    	FLM5 A 2 Bright
    	FLM5 B 1 Bright A_SetTranslucent(.75, 1)
    	FLM5 B 1 Bright A_SetTranslucent(.7, 1)
    	FLM5 C 1 Bright A_SetTranslucent(.65, 1)
    	FLM5 C 1 Bright A_SetTranslucent(.6, 1)
    	FLM5 D 1 Bright A_SetTranslucent(.55, 1)
    	FLM5 D 1 Bright A_SetTranslucent(.5, 1)
    	FLM5 E 1 Bright A_SetTranslucent(.45, 1)
    	FLM5 E 1 Bright A_SetTranslucent(.4, 1)
    	FLM5 F 1 Bright A_SetTranslucent(.35, 1)
    	FLM5 F 1 Bright A_SetTranslucent(.3, 1)
    	FLM5 G 1 Bright A_SetTranslucent(.25, 1)
    	FLM5 G 1 Bright A_SetTranslucent(.2, 1)
    	FLM5 H 1 Bright A_SetTranslucent(.15, 1)
    	FLM5 H 1 Bright A_SetTranslucent(.1, 1)
    	Stop
    }
}

Actor OMGFireF : OMGFIreA
{
    States
    {
    Spawn:
    	TNT1 A 0
        TNT1 A 0 ThrustThingZ(0, random(4, 16), 0, 0)
    	TNT1 A 0 ThrustThing(random(0, 255), random(-1, 1), 0, 0)
    	FLM6 A 2 Bright
    	FLM6 B 1 Bright A_SetTranslucent(.75, 1)
    	FLM6 B 1 Bright A_SetTranslucent(.7, 1)
    	FLM6 C 1 Bright A_SetTranslucent(.65, 1)
    	FLM6 C 1 Bright A_SetTranslucent(.6, 1)
    	FLM6 D 1 Bright A_SetTranslucent(.55, 1)
    	FLM6 D 1 Bright A_SetTranslucent(.5, 1)
    	FLM6 E 1 Bright A_SetTranslucent(.45, 1)
    	FLM6 E 1 Bright A_SetTranslucent(.4, 1)
    	FLM6 F 1 Bright A_SetTranslucent(.35, 1)
    	FLM6 F 1 Bright A_SetTranslucent(.3, 1)
    	FLM6 G 1 Bright A_SetTranslucent(.25, 1)
    	FLM6 G 1 Bright A_SetTranslucent(.2, 1)
    	FLM6 H 1 Bright A_SetTranslucent(.15, 1)
    	FLM6 H 1 Bright A_SetTranslucent(.1, 1)
    	Stop
    }
}

Actor OMGFireG : OMGFireA
{
}

Actor OMGFireH : OMGFireB
{
}

Actor OMGFireI : OMGFireC
{
}

Actor DummyFireA
{
    Height 2
    Radius 1
    +Missile +NoGravity	+NoInteraction +NoBlockmap +NoClip
    RenderStyle Add
    Alpha .8
    Scale .25
    States
    {
    Spawn:
    	FLM1 A 2 Bright
    	FLM1 B 1 Bright A_SetTranslucent(.75, 1)
    	FLM1 B 1 Bright A_SetTranslucent(.7, 1)
    	FLM1 C 1 Bright A_SetTranslucent(.65, 1)
    	FLM1 C 1 Bright A_SetTranslucent(.6, 1)
    	FLM1 D 1 Bright A_SetTranslucent(.55, 1)
    	FLM1 D 1 Bright A_SetTranslucent(.5, 1)
    	FLM1 E 1 Bright A_SetTranslucent(.45, 1)
    	FLM1 E 1 Bright A_SetTranslucent(.4, 1)
    	FLM1 F 1 Bright A_SetTranslucent(.35, 1)
    	FLM1 F 1 Bright A_SetTranslucent(.3, 1)
    	FLM1 G 1 Bright A_SetTranslucent(.25, 1)
    	FLM1 G 1 Bright A_SetTranslucent(.2, 1)
    	FLM1 H 1 Bright A_SetTranslucent(.15, 1)
    	FLM1 H 1 Bright A_SetTranslucent(.1, 1)
    	Stop
    }
}

Actor DummyFireB : DummyFireA
{
    States
    {
    Spawn:
    	FLM2 A 2 Bright
    	FLM2 B 1 Bright A_SetTranslucent(.75, 1)
    	FLM2 B 1 Bright A_SetTranslucent(.7, 1)
    	FLM2 C 1 Bright A_SetTranslucent(.65, 1)
    	FLM2 C 1 Bright A_SetTranslucent(.6, 1)
    	FLM2 D 1 Bright A_SetTranslucent(.55, 1)
    	FLM2 D 1 Bright A_SetTranslucent(.5, 1)
    	FLM2 E 1 Bright A_SetTranslucent(.45, 1)
    	FLM2 E 1 Bright A_SetTranslucent(.4, 1)
    	FLM2 F 1 Bright A_SetTranslucent(.35, 1)
    	FLM2 F 1 Bright A_SetTranslucent(.3, 1)
    	FLM2 G 1 Bright A_SetTranslucent(.25, 1)
    	FLM2 G 1 Bright A_SetTranslucent(.2, 1)
    	FLM2 H 1 Bright A_SetTranslucent(.15, 1)
    	FLM2 H 1 Bright A_SetTranslucent(.1, 1)
    	Stop
    }
}

Actor DummyFireC : DummyFireA
{
    States
    {
    Spawn:
    	FLM3 A 2 Bright
    	FLM3 B 1 Bright A_SetTranslucent(.75, 1)
    	FLM3 B 1 Bright A_SetTranslucent(.7, 1)
    	FLM3 C 1 Bright A_SetTranslucent(.65, 1)
    	FLM3 C 1 Bright A_SetTranslucent(.6, 1)
    	FLM3 D 1 Bright A_SetTranslucent(.55, 1)
    	FLM3 D 1 Bright A_SetTranslucent(.5, 1)
    	FLM3 E 1 Bright A_SetTranslucent(.45, 1)
    	FLM3 E 1 Bright A_SetTranslucent(.4, 1)
    	FLM3 F 1 Bright A_SetTranslucent(.35, 1)
    	FLM3 F 1 Bright A_SetTranslucent(.3, 1)
    	FLM3 G 1 Bright A_SetTranslucent(.25, 1)
    	FLM3 G 1 Bright A_SetTranslucent(.2, 1)
    	FLM3 H 1 Bright A_SetTranslucent(.15, 1)
    	FLM3 H 1 Bright A_SetTranslucent(.1, 1)
    	Stop
    }
}

Actor DummyFireD : DummyFireA
{
    States
    {
    Spawn:
    	FLM4 A 2 Bright
    	FLM4 B 1 Bright A_SetTranslucent(.75, 1)
    	FLM4 B 1 Bright A_SetTranslucent(.7, 1)
    	FLM4 C 1 Bright A_SetTranslucent(.65, 1)
    	FLM4 C 1 Bright A_SetTranslucent(.6, 1)
    	FLM4 D 1 Bright A_SetTranslucent(.55, 1)
    	FLM4 D 1 Bright A_SetTranslucent(.5, 1)
    	FLM4 E 1 Bright A_SetTranslucent(.45, 1)
    	FLM4 E 1 Bright A_SetTranslucent(.4, 1)
    	FLM4 F 1 Bright A_SetTranslucent(.35, 1)
    	FLM4 F 1 Bright A_SetTranslucent(.3, 1)
    	FLM4 G 1 Bright A_SetTranslucent(.25, 1)
    	FLM4 G 1 Bright A_SetTranslucent(.2, 1)
    	FLM4 H 1 Bright A_SetTranslucent(.15, 1)
    	FLM4 H 1 Bright A_SetTranslucent(.1, 1)
    	Stop
    }
}

Actor DummyFireE : DummyFireA
{
    States
    {
    Spawn:
    	TNT1 A 0 ThrustThing(random(0, 255), random(-1, 1), 0, 0)
    	FLM5 A 2 Bright
    	FLM5 B 1 Bright A_SetTranslucent(.75, 1)
    	FLM5 B 1 Bright A_SetTranslucent(.7, 1)
    	FLM5 C 1 Bright A_SetTranslucent(.65, 1)
    	FLM5 C 1 Bright A_SetTranslucent(.6, 1)
    	FLM5 D 1 Bright A_SetTranslucent(.55, 1)
    	FLM5 D 1 Bright A_SetTranslucent(.5, 1)
    	FLM5 E 1 Bright A_SetTranslucent(.45, 1)
    	FLM5 E 1 Bright A_SetTranslucent(.4, 1)
    	FLM5 F 1 Bright A_SetTranslucent(.35, 1)
    	FLM5 F 1 Bright A_SetTranslucent(.3, 1)
    	FLM5 G 1 Bright A_SetTranslucent(.25, 1)
    	FLM5 G 1 Bright A_SetTranslucent(.2, 1)
    	FLM5 H 1 Bright A_SetTranslucent(.15, 1)
    	FLM5 H 1 Bright A_SetTranslucent(.1, 1)
    	Stop
    }
}

Actor DummyFireF : DummyFIreA
{
    States
    {
    Spawn:
    	FLM6 A 2 Bright
    	FLM6 B 1 Bright A_SetTranslucent(.75, 1)
    	FLM6 B 1 Bright A_SetTranslucent(.7, 1)
    	FLM6 C 1 Bright A_SetTranslucent(.65, 1)
    	FLM6 C 1 Bright A_SetTranslucent(.6, 1)
    	FLM6 D 1 Bright A_SetTranslucent(.55, 1)
    	FLM6 D 1 Bright A_SetTranslucent(.5, 1)
    	FLM6 E 1 Bright A_SetTranslucent(.45, 1)
    	FLM6 E 1 Bright A_SetTranslucent(.4, 1)
    	FLM6 F 1 Bright A_SetTranslucent(.35, 1)
    	FLM6 F 1 Bright A_SetTranslucent(.3, 1)
    	FLM6 G 1 Bright A_SetTranslucent(.25, 1)
    	FLM6 G 1 Bright A_SetTranslucent(.2, 1)
    	FLM6 H 1 Bright A_SetTranslucent(.15, 1)
    	FLM6 H 1 Bright A_SetTranslucent(.1, 1)
    	Stop
    }
}

Actor DummyFireG : DummyFireA
{}

Actor DummyFireH : DummyFireB
{}

Actor DummyFireI : DummyFireC
{}

Actor WhiteParticleA1
{
	Height 0
	Radius 0
	Mass   0
	PROJECTILE
	Speed 0
	+NoClip
	+NoBLockMap
        +NoInteraction
	RenderStyle Add
	Scale 0.25
	States
	{
	Spawn:
		PTCL A 0
		PTCL A 0 ThrustThingZ(0, random(5, 7), 0, 0)
		PTCL ABCABCABCABC 2
		PTCL A 2 A_SetTranslucent(0.9, 1)
		PTCL B 2 A_SetTranslucent(0.8, 1)
		PTCL C 2 A_SetTranslucent(0.7, 1)
		PTCL A 2 A_SetTranslucent(0.6, 1)
		PTCL B 2 A_SetTranslucent(0.5, 1)
		PTCL C 2 A_SetTranslucent(0.4, 1)
		PTCL A 2 A_SetTranslucent(0.3, 1)
		PTCL B 2 A_SetTranslucent(0.2, 1)
		PTCL C 2 A_SetTranslucent(0.1, 1)
		Stop
	}
}

Actor WhiteParticleB1 : WhiteParticleA1
{
	States
	{
	Spawn:
		PTCL C 0
		PTCL C 0 ThrustThingZ(0, random(5, 7), 0, 0)
		PTCL CBACBACBACBA 2
		PTCL C 2 A_SetTranslucent(0.9, 1)
		PTCL B 2 A_SetTranslucent(0.8, 1)
		PTCL A 2 A_SetTranslucent(0.7, 1)
		PTCL C 2 A_SetTranslucent(0.6, 1)
		PTCL B 2 A_SetTranslucent(0.5, 1)
		PTCL A 2 A_SetTranslucent(0.4, 1)
		PTCL C 2 A_SetTranslucent(0.3, 1)
		PTCL B 2 A_SetTranslucent(0.2, 1)
		PTCL A 2 A_SetTranslucent(0.1, 1)
		Stop
	}
}

Actor WhiteParticleA2 : WhiteParticleA1
{
	Scale 0.2
}

Actor WhiteParticleB2 : WhiteParticleB1
{
	Scale 0.2
}

Actor WhiteParticleA3 : WhiteParticleA1
{
	Scale 0.15
}

Actor WhiteParticleB3 : WhiteParticleB1
{
	Scale 0.15
}


Actor RedParticleA1 : WhiteParticleA1
{

	Translation "80:80=174:174", "82:82=176:176", "84:84=178:178", "86:86=178:178",
		    "88:88=180:180", "90:90=182:182", "92:92=184:184", "94:94=186:186",
		    "96:96=188:188"
}

Actor RedParticleB1 : WhiteParticleB1
{

	Translation "80:80=174:174", "82:82=176:176", "84:84=178:178", "86:86=178:178",
		    "88:88=180:180", "90:90=182:182", "92:92=184:184", "94:94=186:186",
		    "96:96=188:188"
}

Actor RedParticleA2 : RedParticleA1
{
	Scale 0.2
}

Actor RedParticleB2 : RedParticleB1
{
	Scale 0.2
}

Actor RedParticleA3 : RedParticleA1
{
	Scale 0.15
}

Actor RedParticleB3 : RedParticleB1
{
	Scale 0.15
}

Actor BlueParticleA1 : WhiteParticleA1
{

	Translation "80:80=192:192", "82:82=193:193", "84:84=194:178", "86:86=195:196",
		    "88:88=197:197", "90:90=198:198", "92:92=201:201", "94:94=202:202",
		    "96:96=203:203"
}

Actor BlueParticleB1 : WhiteParticleB1
{

	Translation "80:80=192:192", "82:82=193:193", "84:84=194:178", "86:86=195:196",
		    "88:88=197:197", "90:90=198:198", "92:92=201:201", "94:94=202:202",
		    "96:96=203:203"
}

Actor BlueParticleA2 : BlueParticleA1
{
	Scale 0.2
}

Actor BlueParticleB2 : BlueParticleB1
{
	Scale 0.2
}

Actor BlueParticleA3 : BlueParticleA1
{
	Scale 0.15
}

Actor BlueParticleB3 : BlueParticleB1
{
	Scale 0.15
}

Actor OrangeParticleA1 : WhiteParticleA1
{

	Translation "80:80=209:209", "82:82=210:210", "84:84=211:211", "86:86=212:212",
		    "88:88=213:213", "90:90=214:214", "92:92=215:215", "94:94=217:217",
		    "96:96=219:219"
}

Actor OrangeParticleB1 : WhiteParticleB1
{

	Translation "80:80=209:209", "82:82=210:210", "84:84=211:211", "86:86=212:212",
		    "88:88=213:213", "90:90=214:214", "92:92=215:215", "94:94=217:217",
		    "96:96=219:219"
}

Actor OrangeParticleA2 : OrangeParticleA1
{
	Scale 0.2
}

Actor OrangeParticleB2 : OrangeParticleB1
{
	Scale 0.2
}

Actor OrangeParticleA3 : OrangeParticleA1
{
	Scale 0.15
}

Actor OrangeParticleB3 : OrangeParticleB1
{
	Scale 0.15
}

Actor YellowParticleA1 : WhiteParticleA1
{

	Translation "80:80=225:225", "82:82=226:226", "84:84=227:227", "86:86=228:228",
		    "88:88=160:160", "90:90=161:161", "92:92=162:162", "94:94=163:163",
		    "96:96=164:164"
}

Actor YellowParticleB1 : WhiteParticleB1
{

	Translation "80:80=225:225", "82:82=226:226", "84:84=227:227", "86:86=228:228",
		    "88:88=160:160", "90:90=161:161", "92:92=162:162", "94:94=163:163",
		    "96:96=164:164"
}

Actor YellowParticleA2 : YellowParticleA1
{
	Scale 0.2
}

Actor YellowParticleB2 : YellowParticleB1
{
	Scale 0.2
}

Actor YellowParticleA3 : YellowParticleA1
{
	Scale 0.15
}

Actor YellowParticleB3 : YellowParticleB1
{
	Scale 0.15
}

Actor GreenParticleA1 : WhiteParticleA1
{

	Translation "80:80=112:112", "82:82=116:116", "84:84=114:114", "86:86=115:115",
		    "88:88=116:116", "90:90=117:117", "92:92=118:118", "94:94=119:119",
		    "96:96=120:120"
}

Actor GreenParticleB1 : WhiteParticleB1
{

	Translation "80:80=112:112", "82:82=116:116", "84:84=114:114", "86:86=115:115",
		    "88:88=116:116", "90:90=117:117", "92:92=118:118", "94:94=119:119",
		    "96:96=120:120"
}

Actor GreenParticleA2 : GreenParticleA1
{
	Scale 0.2
}

Actor GreenParticleB2 : GreenParticleB1
{
	Scale 0.2
}

Actor GreenParticleA3 : GreenParticleA1
{
	Scale 0.15
}

Actor GreenParticleB3 : GreenParticleB1
{
	Scale 0.15
}

Actor ParticleSpawnerWhite
{
	Height 0
	Radius 0
	Speed 1
	PROJECTILE
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
 		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(224, 2)
		TNT1 A 1 A_SpawnItem("WhiteParticleA1", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(192, 2)
		TNT1 A 1 A_SpawnItem("WhiteParticleB1", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(160, 2)
		TNT1 A 1 A_SpawnItem("WhiteParticleA2", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1 A_SpawnItem("WhiteParticleB2", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(96, 2)
		TNT1 A 1 A_SpawnItem("WhiteParticleA3", 0, 0, 0)
		Stop
		TNT1 A 1 A_SpawnItem("WhiteParticleB3", 0, 0, 0)
		Stop
	}
}



Actor ParticleSpawnerRed : ParticleSpawnerWhite
{
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
 		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(224, 2)
		TNT1 A 1 A_SpawnItem("RedParticleA1", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(192, 2)
		TNT1 A 1 A_SpawnItem("RedParticleB1", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(160, 2)
		TNT1 A 1 A_SpawnItem("RedParticleA1", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1 A_SpawnItem("RedParticleB1", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(96, 2)
		TNT1 A 1 A_SpawnItem("RedParticleA1", 0, 0, 0)
		Stop
		TNT1 A 1 A_SpawnItem("RedParticleB1", 0, 0, 0)
		Stop
	}
}

Actor ParticleSpawnerBlue : ParticleSpawnerWhite
{
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
 		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(224, 2)
		TNT1 A 1 A_SpawnItem("BlueParticleA1", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(192, 2)
		TNT1 A 1 A_SpawnItem("BlueParticleB1", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(160, 2)
		TNT1 A 1 A_SpawnItem("BlueParticleA2", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1 A_SpawnItem("BlueParticleB2", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(96, 2)
		TNT1 A 1 A_SpawnItem("BlueParticleA3", 0, 0, 0)
		Stop
		TNT1 A 1 A_SpawnItem("BlueParticleB3", 0, 0, 0)
		Stop
	}
}

Actor ParticleSpawnerOrange : ParticleSpawnerWhite
{
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
 		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(224, 2)
		TNT1 A 1 A_SpawnItem("OrangeParticleA1", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(192, 2)
		TNT1 A 1 A_SpawnItem("OrangeParticleB1", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(160, 2)
		TNT1 A 1 A_SpawnItem("OrangeParticleA2", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1 A_SpawnItem("OrangeParticleB2", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(96, 2)
		TNT1 A 1 A_SpawnItem("OrangeParticleA3", 0, 0, 0)
		Stop
		TNT1 A 1 A_SpawnItem("OrangeParticleB3", 0, 0, 0)
		Stop
	}
}

Actor ParticleSpawnerYellow : ParticleSpawnerWhite
{
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
 		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(224, 2)
		TNT1 A 1 A_SpawnItem("YellowParticleA1", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(192, 2)
		TNT1 A 1 A_SpawnItem("YellowParticleB1", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(160, 2)
		TNT1 A 1 A_SpawnItem("YellowParticleA2", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1 A_SpawnItem("YellowParticleB2", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(96, 2)
		TNT1 A 1 A_SpawnItem("YellowParticleA3", 0, 0, 0)
		Stop
		TNT1 A 1 A_SpawnItem("YellowParticleB3", 0, 0, 0)
		Stop
	}
}

Actor ParticleSpawnerGreen : ParticleSpawnerWhite
{
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
 		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1
		TNT1 A 0 A_Jump(224, 2)
		TNT1 A 1 A_SpawnItem("GreenParticleA1", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(192, 2)
		TNT1 A 1 A_SpawnItem("GreenParticleB1", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(160, 2)
		TNT1 A 1 A_SpawnItem("GreenParticleA2", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(128, 2)
		TNT1 A 1 A_SpawnItem("GreenParticleB2", 0, 0, 0)
		Stop
		TNT1 A 0 A_Jump(96, 2)
		TNT1 A 1 A_SpawnItem("GreenParticleA3", 0, 0, 0)
		Stop
		TNT1 A 1 A_SpawnItem("GreenParticleB3", 0, 0, 0)
		Stop
	}
}

Actor SparkleFountain_W : SwitchableDecoration 20018
{
//$Category Stronghold_SFX
	Height 0
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
		TNT1 A 0
		TNT1 A 1 A_CustomMissile("ParticleSpawnerWhite", 0, 0, random(0, 360), 2, 0)
		Loop
	Inactive:
		TNT1 A 1
		Loop
	}
}

Actor SparkleFountain_R : SwitchableDecoration 20019
{
//$Category Stronghold_SFX
	Height 0
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
		TNT1 A 0
		TNT1 A 1 A_CustomMissile("ParticleSpawnerRed", 0, 0, random(0, 360), 2, 0)
		Loop
	Inactive:
		TNT1 A 1
		Loop
	}
}

Actor SparkleFountain_B : SwitchableDecoration 20020
{
//$Category Stronghold_SFX
	Height 0
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
		TNT1 A 0
		TNT1 A 1 A_CustomMissile("ParticleSpawnerBlue", 0, 0, random(0, 360), 2, 0)
		Loop
	Inactive:
		TNT1 A 1
		Loop
	}
}

Actor SparkelFountain_O : SwitchableDecoration 20021
{
//$Category Stronghold_SFX
	Height 0
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
		TNT1 A 0
		TNT1 A 1 A_CustomMissile("ParticleSpawnerOrange", 0, 0, random(0, 360), 2, 0)
		Loop
	Inactive:
		TNT1 A 1
		Loop
	}
}

Actor SparkelFountain_Y : SwitchableDecoration 20022
{
//$Category Stronghold_SFX
	Height 0
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
		TNT1 A 0
		TNT1 A 1 A_CustomMissile("ParticleSpawnerYellow", 0, 0, random(0, 360), 2, 0)
		Loop
	Inactive:
		TNT1 A 1
		Loop
	}
}

Actor SparkleFountain_G : SwitchableDecoration 20023
{
//$Category Stronghold_SFX
	Height 0
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
		TNT1 A 0
		TNT1 A 1 A_CustomMissile("ParticleSpawnerGreen", 0, 0, random(0, 360), 2, 0)
		Loop
	Inactive:
		TNT1 A 1
		Loop
	}
}

Actor SparkFlare_B1
{
	Height 0
	Radius 0
	+Missile +NoGravity +NoClip +NoBlockMap +NoInteraction
	RenderStyle Add
	Translation "80:104=192:204", "105:111=240:246", "3:3=206:206"
	States
	{
	Spawn:
	    SPRK A 1 Bright
	    SPRK B 1 Bright A_SetTranslucent(.8,1)
 	    SPRK C 1 Bright A_SetTranslucent(.7,1)
 	    SPRK D 1 Bright A_SetTranslucent(.6,1)
 	    SPRK E 1 Bright A_SetTranslucent(.5,1)
 	    SPRK F 1 Bright A_SetTranslucent(.4,1)
 	    SPRK G 1 Bright A_SetTranslucent(.3,1)
            SPRK H 1 Bright A_SetTranslucent(.2,1)
	    Stop
	}
}

Actor SparkFlare_G1 : SparkFlare_B1
{
	Translation "80:111=112:127", "3:3=125:125"
}

Actor SparkFlare_O1 : SparkFlare_B1
{
	Translation "80:106=209:223", "107:111=232:236", "3:3=233:233"
}

Actor SparkFlare_R1 : SparkFlare_B1
{
	Translation "80:111=169:191", "3:3=187:187"
}

Actor SparkFlare_C1 : SparkFlare_B1
{
	Translation "80:82=225:227", "83:83=160:160", "84:87=228:231", "88:111=161:167", "3:3=164:164"
}

Actor SparkFlare_Y1 : SparkFlare_B1
{
	Translation "80:97=225:227", "98:98=160:160", "99:103=228:231", "104:111=161:167", "3:3=161:161"
}

Actor Sparker_B_Down : SwitchableDecoration 20000
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_B1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_B1", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_B2", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_B3", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_B4", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_B5", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_B6", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_B7", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_B8", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_B9", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 1 A_CustomMissile("Spark_B1", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_B2", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_B3", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_B4", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_B5", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_B6", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_B7", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_B8", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_B9", 0, 0, random(0, 360), 2, random(-158, -22))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Sparker_B_Normal : SwitchableDecoration 20001
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_B1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_B1", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_B2", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_B3", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_B4", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_B5", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_B6", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_B7", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_B8", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_B9", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 1 A_CustomMissile("Spark_B1", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_B2", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_B3", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_B4", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_B5", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_B6", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_B7", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_B8", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_B9", 0, 0, random(0, 360), 2, random(45, 135))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Sparker_B_Up : SwitchableDecoration 20002
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_B1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_B1", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_B2", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_B3", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_B4", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_B5", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_B6", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_B7", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_B8", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_B9", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 1 A_CustomMissile("Spark_B1", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_B2", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_B3", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_B4", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_B5", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_B6", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_B7", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_B8", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_B9", 0, 0, random(-45, 45), 2, random(-45, 45))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Sparker_G_Down : SwitchableDecoration 20003
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_G1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_G1", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_G2", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_G3", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_G4", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_G5", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_G6", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_G7", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_G8", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_G9", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 1 A_CustomMissile("Spark_G1", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_G2", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_G3", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_G4", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_G5", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_G6", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_G7", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_G8", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_G9", 0, 0, random(0, 360), 2, random(-158, -22))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Sparker_G_Normal : SwitchableDecoration 20004
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_G1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_G1", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_G2", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_G3", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_G4", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_G5", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_G6", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_G7", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_G8", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_G9", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 1 A_CustomMissile("Spark_G1", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_G2", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_G3", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_G4", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_G5", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_G6", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_G7", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_G8", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_G9", 0, 0, random(0, 360), 2, random(45, 135))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Sparker_G_Up : SwitchableDecoration 20005
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_G1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_G1", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_G2", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_G3", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_G4", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_G5", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_G6", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_G7", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_G8", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_G9", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 1 A_CustomMissile("Spark_G1", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_G2", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_G3", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_G4", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_G5", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_G6", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_G7", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_G8", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_G9", 0, 0, random(-45, 45), 2, random(-45, 45))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Sparker_O_Down : SwitchableDecoration 20006
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_O1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_O1", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_O2", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_O3", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_O4", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_O5", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_O6", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_O7", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_O8", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_O9", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 1 A_CustomMissile("Spark_O1", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_O2", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_O3", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_O4", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_O5", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_O6", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_O7", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_O8", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_O9", 0, 0, random(0, 360), 2, random(-158, -22))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Sparker_O_Normal : SwitchableDecoration 20007
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_O1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_O1", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_O2", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_O3", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_O4", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_O5", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_O6", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_O7", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_O8", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_O9", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 1 A_CustomMissile("Spark_O1", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_O2", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_O3", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_O4", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_O5", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_O6", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_O7", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_O8", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_O9", 0, 0, random(0, 360), 2, random(45, 135))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Sparker_O_Up : SwitchableDecoration 20008
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_O1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_O1", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_O2", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_O3", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_O4", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_O5", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_O6", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_O7", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_O8", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_O9", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 1 A_CustomMissile("Spark_O1", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_O2", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_O3", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_O4", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_O5", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_O6", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_O7", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_O8", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_O9", 0, 0, random(-45, 45), 2, random(-45, 45))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Sparker_R_Down : SwitchableDecoration 20009
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_R1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_R1", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_R2", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_R3", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_R4", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_R5", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_R6", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_R7", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_R8", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_R9", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 1 A_CustomMissile("Spark_R1", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_R2", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_R3", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_R4", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_R5", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_R6", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_R7", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_R8", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_R9", 0, 0, random(0, 360), 2, random(-158, -22))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Sparker_R_Normal : SwitchableDecoration 20010
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_R1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_R1", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_R2", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_R3", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_R4", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_R5", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_R6", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_R7", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_R8", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_R9", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_R1", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 1 A_CustomMissile("Spark_R2", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_R3", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_R4", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_R5", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_R6", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_R7", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_R8", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_R9", 0, 0, random(0, 360), 2, random(45, 135))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Sparker_R_Up : SwitchableDecoration 20011
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_R1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_R1", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_R2", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_R3", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_R4", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_R5", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_R6", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_R7", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_R8", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_R9", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 1 A_CustomMissile("Spark_R1", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_R2", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_R3", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_R4", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_R5", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_R6", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_R7", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_R8", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_R9", 0, 0, random(-45, 45), 2, random(-45, 45))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Sparker_C_Down : SwitchableDecoration 20012
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_C1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_C1", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_C2", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_C3", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_C4", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_C5", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_C6", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_C7", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_C8", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_C9", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 1 A_CustomMissile("Spark_C1", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_C2", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_C3", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_C4", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_C5", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_C6", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_C7", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_C8", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_C9", 0, 0, random(0, 360), 2, random(-158, -22))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Sparker_C_Normal : SwitchableDecoration 20013
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_C1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_C1", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_C2", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_C3", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_C4", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_C5", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_C6", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_C7", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_C8", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_C9", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 1 A_CustomMissile("Spark_C1", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_C2", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_C3", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_C4", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_C5", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_C6", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_C7", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_C8", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_C9", 0, 0, random(0, 360), 2, random(45, 135))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Sparker_C_Up : SwitchableDecoration 20014
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_C1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_C1", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_C2", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_C3", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_C4", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_C5", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_C6", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_C7", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_C8", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_C9", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 1 A_CustomMissile("Spark_C1", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_C2", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_C3", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_C4", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_C5", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_C6", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_C7", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_C8", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_C9", 0, 0, random(-45, 45), 2, random(-45, 45))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Sparker_Y_Down : SwitchableDecoration 20015
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_Y1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_Y1", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_Y2", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_Y3", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_Y4", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_Y5", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_Y6", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_Y7", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_Y8", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_Y9", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 1 A_CustomMissile("Spark_Y1", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_Y2", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_Y3", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_Y4", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_Y5", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_Y6", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_Y7", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_Y8", 0, 0, random(0, 360), 2, random(-158, -22))
	    TNT1 A 0 A_CustomMissile("Spark_Y9", 0, 0, random(0, 360), 2, random(-158, -22))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Sparker_Y_Normal : SwitchableDecoration 20016
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_Y1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_Y1", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_Y2", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_Y3", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_Y4", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_Y5", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_Y6", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_Y7", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_Y8", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_Y9", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 1 A_CustomMissile("Spark_Y1", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_Y2", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_Y3", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_Y4", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_Y5", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_Y6", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_Y7", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_Y8", 0, 0, random(0, 360), 2, random(45, 135))
	    TNT1 A 0 A_CustomMissile("Spark_Y9", 0, 0, random(0, 360), 2, random(45, 135))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Sparker_Y_Up : SwitchableDecoration 20017
{
//$Category Stronghold_SFX
	Height 2
	Radius 0
	+NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
	States
	{
	Spawn:
	Active:
	    TNT1 A 0
	    TNT1 A 0 A_PlaySound("world/spark")
	    TNT1 A 1 A_SpawnItem("SparkFlare_Y1", 0, 0, 0)
	    TNT1 A 0 A_CustomMissile("Spark_Y1", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_Y2", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_Y3", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_Y4", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_Y5", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_Y6", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_Y7", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_Y8", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_Y9", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 1 A_CustomMissile("Spark_Y1", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_Y2", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_Y3", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_Y4", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_Y5", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_Y6", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_Y7", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_Y8", 0, 0, random(-45, 45), 2, random(-45, 45))
	    TNT1 A 0 A_CustomMissile("Spark_Y9", 0, 0, random(-45, 45), 2, random(-45, 45))
	    Goto Inactive
	Inactive:
	    TNT1 A 1
	    Loop
	}
}

Actor Spark_B1
{
	Speed 3
	Height 2
	Radius 1
	Mass 0
	+Missile +LowGravity
	RenderStyle Add
	Scale 0.12
	Translation "80:104=192:204", "205:211=240:246", "3:3=206:206"
	States
	{
	Spawn:
	    SPRK A 0
	    SPRK A 64 Bright
	    SPRK B 1 Bright A_SetTranslucent(.8,1)
 	    SPRK C 1 Bright A_SetTranslucent(.7,1)
 	    SPRK D 1 Bright A_SetTranslucent(.6,1)
 	    SPRK E 1 Bright A_SetTranslucent(.5,1)
 	    SPRK F 1 Bright A_SetTranslucent(.4,1)
 	    SPRK G 1 Bright A_SetTranslucent(.3,1)
            SPRK H 1 Bright A_SetTranslucent(.2,1)
	    Stop
	Death:
	    SPRK B 1 Bright A_SetTranslucent(.8,1)
 	    SPRK C 1 Bright A_SetTranslucent(.7,1)
 	    SPRK D 1 Bright A_SetTranslucent(.6,1)
 	    SPRK E 1 Bright A_SetTranslucent(.5,1)
 	    SPRK F 1 Bright A_SetTranslucent(.4,1)
 	    SPRK G 1 Bright A_SetTranslucent(.3,1)
            SPRK H 1 Bright A_SetTranslucent(.2,1)
 	    Stop
	}
}

Actor Spark_B2 : Spark_B1
{
	Scale 0.1
}

Actor Spark_B3 : Spark_B1
{
	Scale 0.08
}

Actor Spark_B4 : Spark_B1
{
	Speed 2
}

Actor Spark_B5 : Spark_B1
{
	Speed 2
	Scale 0.1
}

Actor Spark_B6 : Spark_B1
{
	Speed 2
	Scale 0.08
}

Actor Spark_B7 : Spark_B1
{
	Speed 1
}

Actor Spark_B8 : Spark_B1
{
	Speed 1
	Scale 0.1
}

Actor Spark_B9 : Spark_B1
{
	Speed 1
	Scale 0.08
}

Actor Spark_G1
{
	Speed 3
	Height 2
	Radius 1
	Mass 0
	+Missile +LowGravity
	RenderStyle Add
	Scale 0.12
	Translation "80:111=112:127", "3:3=125:125"
	States
	{
	Spawn:
	    SPRK A 0
	    SPRK A 64 Bright
	    SPRK B 1 Bright A_SetTranslucent(.8,1)
 	    SPRK C 1 Bright A_SetTranslucent(.7,1)
 	    SPRK D 1 Bright A_SetTranslucent(.6,1)
 	    SPRK E 1 Bright A_SetTranslucent(.5,1)
 	    SPRK F 1 Bright A_SetTranslucent(.4,1)
 	    SPRK G 1 Bright A_SetTranslucent(.3,1)
            SPRK H 1 Bright A_SetTranslucent(.2,1)
	    Stop
	Death:
	    SPRK B 1 Bright A_SetTranslucent(.8,1)
 	    SPRK C 1 Bright A_SetTranslucent(.7,1)
 	    SPRK D 1 Bright A_SetTranslucent(.6,1)
 	    SPRK E 1 Bright A_SetTranslucent(.5,1)
 	    SPRK F 1 Bright A_SetTranslucent(.4,1)
 	    SPRK G 1 Bright A_SetTranslucent(.3,1)
            SPRK H 1 Bright A_SetTranslucent(.2,1)
 	    Stop
	}
}

Actor Spark_G2 : Spark_G1
{
	Scale 0.1
}

Actor Spark_G3 : Spark_G1
{
	Scale 0.08
}

Actor Spark_G4 : Spark_G1
{
	Speed 2
}

Actor Spark_G5 : Spark_G1
{
	Speed 2
	Scale 0.1
}

Actor Spark_G6 : Spark_G1
{
	Speed 2
	Scale 0.08
}

Actor Spark_G7 : Spark_G1
{
	Speed 1
}

Actor Spark_G8 : Spark_G1
{
	Speed 1
	Scale 0.1
}

Actor Spark_G9 : Spark_G1
{
	Speed 1
	Scale 0.08
}

Actor Spark_O1
{
	Speed 3
	Height 2
	Radius 1
	Mass 0
	+Missile +LowGravity
	RenderStyle Add
	Scale 0.12
	Translation "80:106=209:223", "107:111=232:236", "3:3=233:233"
	States
	{
	Spawn:
	    SPRK A 0
	    SPRK A 64 Bright
	    SPRK B 1 Bright A_SetTranslucent(.8,1)
 	    SPRK C 1 Bright A_SetTranslucent(.7,1)
 	    SPRK D 1 Bright A_SetTranslucent(.6,1)
 	    SPRK E 1 Bright A_SetTranslucent(.5,1)
 	    SPRK F 1 Bright A_SetTranslucent(.4,1)
 	    SPRK G 1 Bright A_SetTranslucent(.3,1)
            SPRK H 1 Bright A_SetTranslucent(.2,1)
	    Stop
	Death:
	    SPRK B 1 Bright A_SetTranslucent(.8,1)
 	    SPRK C 1 Bright A_SetTranslucent(.7,1)
 	    SPRK D 1 Bright A_SetTranslucent(.6,1)
 	    SPRK E 1 Bright A_SetTranslucent(.5,1)
 	    SPRK F 1 Bright A_SetTranslucent(.4,1)
 	    SPRK G 1 Bright A_SetTranslucent(.3,1)
            SPRK H 1 Bright A_SetTranslucent(.2,1)
 	    Stop
	}
}

Actor Spark_O2 : Spark_O1
{
	Scale 0.1
}

Actor Spark_O3 : Spark_O1
{
	Scale 0.08
}

Actor Spark_O4 : Spark_O1
{
	Speed 2
}

Actor Spark_O5 : Spark_O1
{
	Speed 2
	Scale 0.1
}

Actor Spark_O6 : Spark_O1
{
	Speed 2
	Scale 0.08
}

Actor Spark_O7 : Spark_O1
{
	Speed 1
}

Actor Spark_O8 : Spark_O1
{
	Speed 1
	Scale 0.1
}

Actor Spark_O9 : Spark_O1
{
	Speed 1
	Scale 0.08
}

Actor Spark_R1
{
	Speed 3
	Height 2
	Radius 1
	Mass 0
	+Missile +LowGravity
	RenderStyle Add
	Scale 0.12
	Translation "80:111=169:191", "3:3=187:187"
	States
	{
	Spawn:
	    SPRK A 0
	    SPRK A 64 Bright
	    SPRK B 1 Bright A_SetTranslucent(.8,1)
 	    SPRK C 1 Bright A_SetTranslucent(.7,1)
 	    SPRK D 1 Bright A_SetTranslucent(.6,1)
 	    SPRK E 1 Bright A_SetTranslucent(.5,1)
 	    SPRK F 1 Bright A_SetTranslucent(.4,1)
 	    SPRK G 1 Bright A_SetTranslucent(.3,1)
            SPRK H 1 Bright A_SetTranslucent(.2,1)
	    Stop
	Death:
	    SPRK B 1 Bright A_SetTranslucent(.8,1)
 	    SPRK C 1 Bright A_SetTranslucent(.7,1)
 	    SPRK D 1 Bright A_SetTranslucent(.6,1)
 	    SPRK E 1 Bright A_SetTranslucent(.5,1)
 	    SPRK F 1 Bright A_SetTranslucent(.4,1)
 	    SPRK G 1 Bright A_SetTranslucent(.3,1)
            SPRK H 1 Bright A_SetTranslucent(.2,1)
 	    Stop
	}
}

Actor Spark_R2 : Spark_R1
{
	Scale 0.1
}

Actor Spark_R3 : Spark_R1
{
	Scale 0.08
}

Actor Spark_R4 : Spark_R1
{
	Speed 2
}

Actor Spark_R5 : Spark_R1
{
	Speed 2
	Scale 0.1
}

Actor Spark_R6 : Spark_R1
{
	Speed 2
	Scale 0.08
}

Actor Spark_R7 : Spark_R1
{
	Speed 1
}

Actor Spark_R8 : Spark_R1
{
	Speed 1
	Scale 0.1
}

Actor Spark_R9 : Spark_R1
{
	Speed 1
	Scale 0.08
}

Actor Spark_C1
{
	Speed 3
	Height 2
	Radius 1
	Mass 0
	+Missile +LowGravity
	RenderStyle Add
	Scale 0.12
	Translation "80:82=225:227", "83:83=160:160", "84:87=228:231", "88:111=161:167", "3:3=164:164"
	States
	{
	Spawn:
	    SPRK A 0
	    SPRK A 64 Bright
	    SPRK B 1 Bright A_SetTranslucent(.8,1)
 	    SPRK C 1 Bright A_SetTranslucent(.7,1)
 	    SPRK D 1 Bright A_SetTranslucent(.6,1)
 	    SPRK E 1 Bright A_SetTranslucent(.5,1)
 	    SPRK F 1 Bright A_SetTranslucent(.4,1)
 	    SPRK G 1 Bright A_SetTranslucent(.3,1)
            SPRK H 1 Bright A_SetTranslucent(.2,1)
	    Stop
	Death:
	    SPRK B 1 Bright A_SetTranslucent(.8,1)
 	    SPRK C 1 Bright A_SetTranslucent(.7,1)
 	    SPRK D 1 Bright A_SetTranslucent(.6,1)
 	    SPRK E 1 Bright A_SetTranslucent(.5,1)
 	    SPRK F 1 Bright A_SetTranslucent(.4,1)
 	    SPRK G 1 Bright A_SetTranslucent(.3,1)
            SPRK H 1 Bright A_SetTranslucent(.2,1)
 	    Stop
	}
}

Actor Spark_C2 : Spark_C1
{
	Scale 0.1
}

Actor Spark_C3 : Spark_C1
{
	Scale 0.08
}

Actor Spark_C4 : Spark_C1
{
	Speed 2
}

Actor Spark_C5 : Spark_C1
{
	Speed 2
	Scale 0.1
}

Actor Spark_C6 : Spark_C1
{
	Speed 2
	Scale 0.08
}

Actor Spark_C7 : Spark_C1
{
	Speed 1
}

Actor Spark_C8 : Spark_C1
{
	Speed 1
	Scale 0.1
}

Actor Spark_C9 : Spark_C1
{
	Speed 1
	Scale 0.08
}

Actor Spark_Y1
{
	Speed 3
	Height 2
	Radius 1
	Mass 0
	+Missile +LowGravity
	RenderStyle Add
	Scale 0.12
	Translation "80:97=225:227", "98:98=160:160", "99:103=228:231", "104:111=161:167", "3:3=161:161"
	States
	{
	Spawn:
	    SPRK A 0
	    SPRK A 64 Bright
	    SPRK B 1 Bright A_SetTranslucent(.8,1)
 	    SPRK C 1 Bright A_SetTranslucent(.7,1)
 	    SPRK D 1 Bright A_SetTranslucent(.6,1)
 	    SPRK E 1 Bright A_SetTranslucent(.5,1)
 	    SPRK F 1 Bright A_SetTranslucent(.4,1)
 	    SPRK G 1 Bright A_SetTranslucent(.3,1)
            SPRK H 1 Bright A_SetTranslucent(.2,1)
	    Stop
	Death:
	    SPRK B 1 Bright A_SetTranslucent(.8,1)
 	    SPRK C 1 Bright A_SetTranslucent(.7,1)
 	    SPRK D 1 Bright A_SetTranslucent(.6,1)
 	    SPRK E 1 Bright A_SetTranslucent(.5,1)
 	    SPRK F 1 Bright A_SetTranslucent(.4,1)
 	    SPRK G 1 Bright A_SetTranslucent(.3,1)
            SPRK H 1 Bright A_SetTranslucent(.2,1)
 	    Stop
	}
}

Actor Spark_Y2 : Spark_Y1
{
	Scale 0.1
}

Actor Spark_Y3 : Spark_Y1
{
	Scale 0.08
}

Actor Spark_Y4 : Spark_Y1
{
	Speed 2
}

Actor Spark_Y5 : Spark_Y1
{
	Speed 2
	Scale 0.1
}

Actor Spark_Y6 : Spark_Y1
{
	Speed 2
	Scale 0.08
}

Actor Spark_Y7 : Spark_Y1
{
	Speed 1
}

Actor Spark_Y8 : Spark_Y1
{
	Speed 1
	Scale 0.1
}

Actor Spark_Y9 : Spark_Y1
{
	Speed 1
	Scale 0.08
}

Actor Steamer_Upward : SwitchableDecoration 19996
{
//$Category Stronghold_SFX
    Height 2
    Radius 0
    Mass 0
    +NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
    States
    {
    Spawn:
    Active:
		TNT1 A 0
    	TNT1 A 0 A_Jump(192, 2)
    	TNT1 A 1 A_CustomMissile("Steam1", 0, 0, random(0, 360), 2, random(85, 95))
    	Loop
    	TNT1 A 0 A_Jump(160, 2)
    	TNT1 A 1 A_CustomMissile("Steam2", 0, 0, random(0, 360), 2, random(85, 95))
    	Loop
    	TNT1 A 0 A_Jump(128, 2)
    	TNT1 A 1 A_CustomMissile("Steam3", 0, 0, random(0, 360), 2, random(85, 95))
    	Loop
    	TNT1 A 0 A_Jump(96, 2)
    	TNT1 A 1 A_CustomMissile("Steam4", 0, 0, random(0, 360), 2, random(85, 95))
    	Loop
    	TNT1 A 1 A_CustomMissile("Steam5", 0, 0, random(0, 360), 2, random(85, 95))
    	Loop
    Inactive:
    	TNT1 A 1
    	Loop
    }
}

Actor Steamer_Forward : SwitchableDecoration 19997
{
//$Category Stronghold_SFX
    Height 2
    Radius 0
    Mass 0
    +NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
    States
    {
    Spawn:
    Active:
		TNT1 A 0
    	TNT1 A 0 A_Jump(192, 2)
    	TNT1 A 1 A_CustomMissile("Steam1", 0, 0, random(-5, 5), 2, random(175, 185))
    	Loop
    	TNT1 A 0 A_Jump(160, 2)
    	TNT1 A 1 A_CustomMissile("Steam2", 0, 0, random(-5, 5), 2, random(175, 185))
    	Loop
    	TNT1 A 0 A_Jump(128, 2)
    	TNT1 A 1 A_CustomMissile("Steam3", 0, 0, random(-5, 5), 2, random(175, 185))
    	Loop
    	TNT1 A 0 A_Jump(96, 2)
    	TNT1 A 1 A_CustomMissile("Steam4", 0, 0, random(-5, 5), 2, random(175, 185))
    	Loop
    	TNT1 A 1 A_CustomMissile("Steam5", 0, 0, random(-5, 5), 2, random(175, 185))
    	Loop
    Inactive:
    	TNT1 A 1
    	Loop
    }
}

Actor Steamer_Downward : SwitchableDecoration 19998
{
//$Category Stronghold_SFX
    Height 2
    Radius 0
    Mass 0
    +NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY
    States
    {
    Spawn:
    Active:
		TNT1 A 0
    	TNT1 A 0 A_Jump(192, 2)
    	TNT1 A 1 A_CustomMissile("Steam1", -8, 0, random(0, 360), 2, random(-95, -85))
    	Loop
    	TNT1 A 0 A_Jump(160, 2)
    	TNT1 A 1 A_CustomMissile("Steam2", -8, 0, random(0, 360), 2, random(-95, -85))
    	Loop
    	TNT1 A 0 A_Jump(128, 2)
    	TNT1 A 1 A_CustomMissile("Steam3", -8, 0, random(0, 360), 2, random(-95, -85))
    	Loop
    	TNT1 A 0 A_Jump(96, 2)
    	TNT1 A 1 A_CustomMissile("Steam4", -8, 0, random(0, 360), 2, random(-95, -85))
    	Loop
    	TNT1 A 1 A_CustomMissile("Steam5", -8, 0, random(0, 360), 2, random(-95, -85))
    	Loop
    Inactive:
    	TNT1 A 1
    	Loop
    }
}

Actor Steam1
{
    Height 2
    Radius 1
    Speed 4
    +Missile +NoGravity +NoClip	+NoInteraction -Solid
    RenderStyle Add
    Scale 0.5
    Alpha 0.65
    States
    {
    Spawn:
    	STEM A 2 A_SetTranslucent(0.6, 1)
    	STEM B 2 A_SetTranslucent(0.55, 1)
    	STEM C 2 A_SetTranslucent(0.5, 1)
    	STEM D 2 A_SetTranslucent(0.45, 1)
    	STEM E 2 A_SetTranslucent(0.4, 1)
    	STEM F 2 A_SetTranslucent(0.35, 1)
    	STEM G 2 A_SetTranslucent(0.3, 1)
    	STEM H 2 A_SetTranslucent(0.25, 1)
    	STEM I 2 A_SetTranslucent(0.2, 1)
    	STEM J 2 A_SetTranslucent(0.15, 1)
    	STEM K 2 A_SetTranslucent(0.1, 1)
    	STEM L 2 A_SetTranslucent(0.05, 1)
    	Stop
    }
}

Actor Steam2 : Steam1
{
    Scale 0.45
}

Actor Steam3 : Steam1
{
    Scale 0.4
}

Actor Steam4 : Steam1
{
    Scale 0.35
}

Actor Steam5 : Steam1
{
    Scale 0.3
}

///////////////////////////////////////////////////////
////////////////// VEGETATION & TREES /////////////////
///////////////////////////////////////////////////////

actor Large_Palm1 21900
{
//$Category Stronghold_Vegetation
  radius 16
  height 160
  +SOLID
  states
  {
  Spawn:
    BTRA A -1
    stop
  }
}

actor Large_Tree2 21901
{
//$Category Stronghold_Vegetation
  radius 32
  height 128
  +SOLID
  states
  {
  Spawn:
    BTRB A -1
    stop
  }
}

actor Medium_Tree5 21903
{
//$Category Stronghold_Vegetation
  radius 16
  height 128
  +SOLID
  states
  {
  Spawn:
    BTRC A -1
    stop
  }
}

actor Medium_Tree2 21904
{
//$Category Stronghold_Vegetation
  radius 16
  height 128
  +SOLID
  states
  {
  Spawn:
    BTRD A -1
    stop
  }
}

actor Medium_Tree1 21905
{
//$Category Stronghold_Vegetation
  radius 16
  height 128
  +SOLID
  states
  {
  Spawn:
    BTRE A -1
    stop
  }
}

actor Large_Tree3 21906
{
//$Category Stronghold_Vegetation
  radius 32
  height 128
  +SOLID
  states
  {
  Spawn:
    BTRF A -1
    stop
  }
}

actor Small_Bush1 21907
{
//$Category Stronghold_Vegetation
  radius 16
  height 16
  states
  {
  Spawn:
    BTRG A -1
    stop
  }
}

actor Small_Bush2 21908
{
//$Category Stronghold_Vegetation
  radius 16
  height 16
  states
  {
  Spawn:
    BTRH A -1
    stop
  }
}

actor Small_Grass1 21909
{
//$Category Stronghold_Vegetation
  radius 16
  height 16
  states
  {
  Spawn:
    BTRI A -1
    stop
  }
}

actor Small_Grass2 21910
{
//$Category Stronghold_Vegetation
  radius 16
  height 16
  states
  {
  Spawn:
    BTRJ A -1
    stop
  }
}

actor Large_Bush1 21911
{
//$Category Stronghold_Vegetation
  radius 16
  height 16
  states
  {
  Spawn:
    BTRK A -1
    stop
  }
}

actor Large_Palm2 21912
{
//$Category Stronghold_Vegetation
  radius 16
  height 160
  +SOLID
  states
  {
  Spawn:
    BTRL Y -1
    stop
  }
}

actor Medium_Tree4 21913
{
//$Category Stronghold_Vegetation
  radius 32
  height 160
  +SOLID
  states
  {
  Spawn:
    BTRM A -1
    stop
  }
}

actor Medium_Tree3 21914
{
//$Category Stronghold_Vegetation
  radius 32
  height 160
  +SOLID
  states
  {
  Spawn:
    BTRN A -1
    stop
  }
}

ACTOR YellowTorch : FXYellowTorch 5300
{
//$Category Stronghold_LightSources
}

ACTOR PurpleTorch : FXPurpleTorch 5250
{
//$Category Stronghold_LightSources
}

ACTOR BloodTorch : FXBloodTorch 5251
{
//$Category Stronghold_LightSources
}

ACTOR CyanTorch : FXCyanTorch 5252
{
//$Category Stronghold_LightSources
}

ACTOR WhiteTorch : FXWhiteTorch 5301
{
//$Category Stronghold_LightSources
}

ACTOR BlackTorch : RedTorch 5302
{
//$Category Stronghold_LightSources
   States
   {
   Spawn:
      TDRK ABCD 4 Bright
      Loop
   }
}

ACTOR TorchStick : RedTorch 5303
{
//$Category Stronghold_LightSources
   States
   {
   Spawn:
      TBAR A -1
      Loop
   }
}

ACTOR YellowFirestick : FXShortYellowTorch 5304
{
//$Category Stronghold_LightSources
}

ACTOR WhiteFirestick : FXShortWhiteTorch 5305
{
//$Category Stronghold_LightSources
}

ACTOR BloodFirestick : FXShortBloodTorch 5254
{
//$Category Stronghold_LightSources
}

ACTOR CyanFirestick : FXShortCyanTorch 5255
{
//$Category Stronghold_LightSources
}

ACTOR PurpleFirestick : FXShortPurpleTorch 5256
{
//$Category Stronghold_LightSources
}

ACTOR Stick : ShortRedTorch 5307
{
//$Category Stronghold_LightSources
   States
   {
   Spawn:
      TSTK A -1
      Loop
   }
}

ACTOR RedWallTorch : FXRedWallTorch 5308
{
//$Category Stronghold_LightSources
}

ACTOR BlueWallTorch : FXBlueWallTorch 5309
{
//$Category Stronghold_LightSources
}

ACTOR GreenWallTorch : FXGreenWallTorch 5310
{
//$Category Stronghold_LightSources
}

ACTOR YellowWallTorch : FXYellowWallTorch 5311
{
//$Category Stronghold_LightSources
}

ACTOR WhiteWallTorch : FXWhiteWallTorch 5312
{
//$Category Stronghold_LightSources
}

ACTOR PurpleWallTorch : FXPurpleWallTorch 5313
{
//$Category Stronghold_LightSources
}

ACTOR BloodRedWallTorch : FXBloodRedWallTorch 5613
{
//$Category Stronghold_LightSources
}

Actor RedCandle : Candlestick 5314
{
//$Category Stronghold_LightSources
   States
   {
   Spawn:
      CANR A -1 Bright
      Loop
   }
}


actor Cactus2 5349
{
//$Category Stronghold_Vegetation
  radius 48
  height 136
  states
  {
  Spawn:
    CTS1 A -1
    stop
  }
}

// For STR12

actor Cactus3 5350
{
//$Category Stronghold_Vegetation
  radius 36
  height 72
  states
  {
  Spawn:
    CTS2 A -1
    stop
  }
}

actor Cactus4 5351
{
//$Category Stronghold_Vegetation
  radius 36
  height 64
  states
  {
  Spawn:
    CTS3 A -1
    stop
  }
}

Actor BlueCandle : Candlestick 5315
{
//$Category Stronghold_LightSources
   States
   {
   Spawn:
      CANB A -1 Bright
      Loop
   }
}

Actor GreenCandle : Candlestick 5316
{
//$Category Stronghold_LightSources
   States
   {
   Spawn:
      CANG A -1 Bright
      Loop
   }
}

Actor BlackCandle : Candlestick 5317
{
//$Category Stronghold_LightSources
   States
   {
   Spawn:
      CANE A -1 Bright
      Loop
   }
}

Actor WhiteCandle : Candlestick 5318
{
//$Category Stronghold_LightSources
   States
   {
   Spawn:
      CANW A -1 Bright
      Loop
   }
}

Actor Candlera : BloodyTwitch 5319
{
//$Category Stronghold_LightSources
Height 64
Radius 16
   States
   {
   Spawn:
      CDLR ABC 4 Bright
      Loop
   }
}

Actor CandleraNoFire : Candlera 5320
{
//$Category Stronghold_LightSources
   States
   {
   Spawn:
      CDLR D -1
      Loop
   }
}


//Obstacles

ACTOR Cave_Pillar : TallGreenColumn 5324
{
//$Category Stronghold_Decoration
   Height 128
   Radius 20
   States
   {
   Spawn:
      CSMT A -1
      Loop
   }
}

ACTOR Cave_Stump1 : TallGreenColumn 5325
{
//$Category Stronghold_Decoration
   Height 70
   Radius 20
   States
   {
   Spawn:
      CSMT B -1
      Loop
   }
}

ACTOR Cave_Stump2 : TallGreenColumn 5326
{
//$Category Stronghold_Decoration
   Height 56
   Radius 20
   States
   {
   Spawn:
      CSMT C -1
      Loop
   }
}

ACTOR Cave_Stump3 : TallGreenColumn 5327
{
//$Category Stronghold_Decoration
   Height 44
   Radius 20
   States
   {
   Spawn:
      CSMT D -1
      Loop
   }
}

ACTOR Cave_HungStump1 : BloodyTwitch 5328
{
//$Category Stronghold_Decoration
   Height 56
   Radius 20
   +CEILINGHUGGER
   +SPAWNCEILING
   States
   {
   Spawn:
      CSMT E -1
      Loop
   }
}

ACTOR Cave_HungStump2 : Cave_HungStump1 5329
{
//$Category Stronghold_Decoration
   States
   {
   Spawn:
      CSMT F -1
      Loop
   }
}

ACTOR Cave_HungStump3 : Cave_HungStump1 5330
{
//$Category Stronghold_Decoration
   Height 44
   Radius 20
   States
   {
   Spawn:
      CSMT G -1
      Loop
   }
}


actor City_StreetLight 5340
{
//$Category Stronghold_Decoration
  radius 16
  height 128
  states
  {
  Spawn:
    ELEC Z -1
    stop
  }
}

actor DeadTree 5341
{
//$Category Stronghold_Vegetation
  radius 32
  height 128
  states
  {
  Spawn:
    TREE K -1
    stop
  }
}

actor Cactus 5342
{
//$Category Stronghold_Vegetation
  scale 0.8
  radius 16
  height 128
  states
  {
  Spawn:
    TREE M -1
    stop
  }
}

actor City_Hydrant 5343
{
//$Category Stronghold_Decoration
  radius 16
  height 32
  states
  {
  Spawn:
    UHDR A -1
    stop
  }
}

actor Misc_Cocktail 5344
{
//$Category Stronghold_Decoration
  scale 0.5
  radius 1
  height 1
  states
  {
  Spawn:
    UKTC C -1
    stop
  }
}

actor Misc_Bottle1 5345
{
//$Category Stronghold_Decoration
  scale 0.5
  radius 1
  height 1
  states
  {
  Spawn:
    UKTC D -1
    stop
  }
}

actor Misc_Bottle2 5346
{
//$Category Stronghold_Decoration
  scale 0.5
  radius 1
  height 1
  states
  {
  Spawn:
    UKTC E -1
    stop
  }
}

actor City_Trash 5347
{
//$Category Stronghold_Decoration
  scale 0.75
  radius 16
  height 32
  states
  {
  Spawn:
    UTRS A -1
    stop
  }
}


actor Misc_LampDesk 5348
{
//$Category Stronghold_Decoration
  scale 0.75
  radius 16
  height 32
  states
  {
  Spawn:
    NJEX A -1
    stop
  }
}

///////////////////////////////////////////////////////////////////////////////////////////
/////////////////////// POWER CORE ////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////

actor PowerCore 21234
{
//$Category Stronghold
  damagefactor 0.5
  damagefactor "corefriendly", 0
  damagefactor "massacre", 0
  health 1000
  radius 24
  height 128
  mass 0x7FFFFFFF
  painchance 255
  deathsound "world/barrelx"
  -ISMONSTER
  +SOLID
  +SHOOTABLE
  +FRIENDLY
  +NOBLOOD
  +DONTGIB
  states
  {
  Spawn:
    SECG ABCD 6
    SECG A 0 A_JumpIfHealthLower(666, "Spawn_66")
    loop
  Pain:
    SECG A 0 A_JumpIfHealthLower(333, "Spawn_33")
    SECG A 0 A_JumpIfHealthLower(666, "Spawn_66")
	SECO A 0 ACS_Execute(929, 0, 1)
    goto Spawn
  Spawn_66:
    SECY A 0 ACS_Execute(929, 0, 2)
    SECY ABCD 6
    SECY A 0 A_JumpIfHealthLower(333, "Spawn_33")
    goto "Spawn_66"+1
  Spawn_33:
    SECR A 0 ACS_Execute(929, 0, 3)
    SECR ABCD 6
    goto "Spawn_33"+1
  Death:
    SECR E 0 ACS_ExecuteAlways(929, 0, 4)
    SECR E 6 A_Scream
    SECR FGHJKLMNO 6
    SECR P -1
    stop
  }
}

///////////////////////////////////////
// Overmind Core //////////////////////
//  Used in STR21 /////////////////////
///////////////////////////////////////

Actor OvermindCore 29952
{
//$Category Stronghold
	+Solid
	+Shootable
	+Friendly
	+IsMonster
	+NoBlood
	Health 40000 //This makes sense, I promise
	Radius 24
	height 80
	mass 0x7FFFFFFF
	translation 2
	damagefactor "corefriendly", 0
        damagefactor "massacre", 0
        damagefactor "overmindfactor", 10
	DeathSound "weapons/rocklx"
	States
	{
	Spawn:
		ZECR ABCD 4
		loop
	Death:
		TNT1 A 0 
		TNT1 A 0 A_Scream
		MISL BCD 3 Bright
		stop
	}
}

///////////////////////////////////////
// Odd Grass     //////////////////////
//  Used in STR33 /////////////////////
///////////////////////////////////////


ACTOR Oddgrass1 8585
{
//$Category Stronghold_Vegetation

	States
	{
	Spawn:
		OGR1 A -1
		Stop
	}
}

ACTOR Oddgrass2 8586
{
//$Category Stronghold_Vegetation

	States
	{
	Spawn:
		OGR2 A -1
		Stop
	}
}

ACTOR Oddgrass3 8587
{
//$Category Stronghold_Vegetation

	States
	{
	Spawn:
		OGR3 A -1
		Stop
	}
}

ACTOR Oddgrass4 8588
{
//$Category Stronghold_Vegetation

	States
	{
	Spawn:
		OGR4 A -1
		Stop
	}
}

///////////////////////////////////////
// ALARM ACTOR ////////////////////////
///////////////////////////////////////

actor AlarmSounder 21235
{
//$Category Stronghold
	RenderStyle none
	-SOLID
	-SHOOTABLE
	+NOBLOCKMAP
	+FRIENDLY

	states
	{
	Spawn:
		TNT1 A 1 A_LookEx(LOF_NOSOUNDCHECK,0,192,0,360,"See")
		Loop
	See:
		TNT1 A 1 A_PlaySoundEx("AMB16", "Auto", 0, 1)
		TNT1 A 55 //Delay
		goto spawn
	}
}

////////////////
// UTNT COMET //
////////////////

Actor GlobalBaseComet
{
 +Missile
 +NoGravity
 +NoBlockmap
 -Solid
 Radius 0
 Height 0
 RenderStyle Add
 Alpha 1.0
 States
 {
  Spawn:
   TNT1 A 0
   Stop
 }
}

Actor CometLarge_Enhanced
{
 Radius 6
 Height 8
 Speed 10
 Damage 5
 SpawnID 199
 ExplosionDamage 40
 ExplosionRadius 80
 PROJECTILE
 SeeSound "comet/launch"
 DeathSound "comet/explosion"
 States
 {
  Spawn:
   TNT1 A 0
   COMT AAAABBBBCCCC 1 Bright A_SpawnItemEx("CometFire_Orange", Random(-2, 2),  Random(-2, 2),  Random(-2, 2), 0, 0, 0, 0, 128)
   Loop
  Death:
   COMT D 3 Bright
   COMT E 3 Bright A_Explode
   COMT FGHI 3 Bright
  Stop
 }
}

Actor CometLarge_Enhanced_NoDmg : CometLarge_Enhanced
{
	ExplosionDamage 0
 	ExplosionRadius 0
	Damage 0
}

Actor CometSpawner_512 23373
{
//$Category Stronghold_Weather
 +NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY +SPAWNCEILING
 Radius 3
 Height 3
 States
 {
  Spawn:
  TNT1 A 0
  TNT1 A 16 A_SpawnItemEx("CometLarge_Enhanced_NoDmg", random(512, -512), random(512, -512), -8, random(6, 18), 0, random(-6, -18), 0, 128, 160)
  loop
 }
}

Actor CometFire_Orange : GlobalBaseComet
{
 Scale 1.6
 States
 {
  Spawn:
  TNT1 A 0
  TNT1 A 0 ThrustThingZ(0, Random(2, 4), 0, 0)
  FORA AAABBCDEEEEEEEEEEEEEEEE 1 A_FadeOut(0.04)
  Stop
 }
}


///////////////////////////////////
// ALTERED RED KEY - DUKE SECRET //
// and other secret keys //////////
///////////////////////////////////

actor RedCardDN : RedCard replaces RedCard
{
//$Category Stronghold
  -INVENTORY.INTERHUBSTRIP
  ConversationID 301
}

actor AccessDiscBlue : RedCard 30910
{
//$Category Stronghold
  inventory.pickupmessage "Picked up a blue access disk."
  inventory.icon "TNT1A0"
  -INVENTORY.INTERHUBSTRIP
  states
  {
  Spawn:
    DDSC A 10
    loop
  }
}


actor AccessDiscGreen : RedCard 30911
{
//$Category Stronghold
  inventory.pickupmessage "Picked up a green access disk."
  inventory.icon "TNT1A0"
  -INVENTORY.INTERHUBSTRIP
  states
  {
  Spawn:
    DDSC B 10
    loop
  }
}



///////////////////
// SNOW SPAWNERS //
///////////////////

Actor SnowParticle
{
  +MISSILE +NoBlockMap +DONTSPLASH
  Radius 1
  Height 1
  Damage 0
  Projectile
  RenderStyle Translucent
  Alpha 0.0
  Scale 0.7
  States
  {
  Spawn:
    SNOW AAAAAAA 2 A_FadeIn(0.1)
    SNOW A 3
    wait
  Death:
    SNOW AAAAAA 2 A_FadeOut(0.2)
    stop
  }
}

Actor SnowSpawner_512 23333
{
//$Category Stronghold_Weather
 +NoBlockMap +NoGravity +NoSector +NoInteraction +NoClip -Solid +CLIENTSIDEONLY +SPAWNCEILING
 Radius 3
 Height 3
 States
 {
  Spawn:
  TNT1 A 0
  TNT1 A 0 A_CheckSight("Unsighted")
  TNT1 A 8 A_SpawnItemEx("SnowParticle", random(256, -256), random(256, -256), 0, random(0, 1), random(0, 1), random(-1, -3), 0, 128, 0)
  loop
  Unsighted:
  TNT1 A 1
  Goto Spawn
 }
}

///////////////////////////////////////////
/////////////Final maps stuff//////////////
///////////////////////////////////////////

Actor IWantToKickAss : CustomInventory
{                             
   ConversationID 110
   States
   {
   Pickup:
       TNT1 A 0 ACS_Execute(900,0)
       Stop
   }
}

Actor IWantToGoRestock : Inventory
{                             
   ConversationID 111
}

Actor AllTiersCompleted : Inventory
{
   ConversationID 112
}
/*
// [SP] Soulsphere and Megasphere fixes for Skulltag
actor STSTMegasphere : Megasphere replaces Megasphere { -NOGRAVITY }
actor STSTSoulsphere : Soulsphere replaces Soulsphere { -NOGRAVITY }
*/
// Includes

#include "actors/weapons/dec_altm.txt"
#include "actors/weapons/dec_item.txt"
//#include "actors/weapons/dec_weapons.txt"
//#include "actors/weapons/dec_pwr.txt"

#include "actors/nashgore.txt"
#include "actors/critters.txt"
#include "actors/holo.txt"
#include "actors/npcs.txt"
#include "actors/models.txt"
#include "actors/duke3d.txt"
#include "actors/cityofsilence.txt"
#include "actors/disco.txt"
#include "actors/exclamation.txt"
#include "actors/scoreboard.txt"
#include "actors/skybeams.txt"
#include "actors/splashes.txt"

#include "actors/monsters/bruiserdemon.txt"
#include "actors/monsters/archonofhell.txt"
#include "actors/monsters/azazel.txt"
#include "actors/monsters/blooddemon.txt"
#include "actors/monsters/catharsi.txt"
#include "actors/monsters/cybruiser.txt"
#include "actors/monsters/demolisher.txt"
#include "actors/monsters/diabolist.txt"
#include "actors/monsters/dunewarrior.txt"
#include "actors/monsters/enhcaco.txt"
#include "actors/monsters/fusionspider.txt"
#include "actors/monsters/gcube.txt"
#include "actors/monsters/hectebus.txt"
#include "actors/monsters/helemental.txt"
#include "actors/monsters/hellion.txt"
#include "actors/monsters/hellwarrior.txt"
#include "actors/monsters/shadow.txt"
#include "actors/monsters/rockettrooper.txt"
#include "actors/monsters/suicide.txt"
#include "actors/monsters/nightmaredemon.txt"
#include "actors/monsters/pyrodemon.txt"
#include "actors/monsters/overmind.txt"
#include "actors/monsters/terminator.txt"
#include "actors/monsters/ztank.txt"
#include "actors/monsters/wicked.txt"
#include "actors/monsters/phaseimp.txt"
#include "actors/monsters/bigboss.txt"

#include "actors/weapons/dec_morp.txt"

#include "actors/hudstuff.txt"

#include "actors/monsters/moloch.txt"
#include "actors/monsters/infernodemon.txt"
