//------------------------------------------------------------------------------------------------------------------------
//	Fireballs with smoke trails
//------------------------------------------------------------------------------------------------------------------------
Actor Satanic_DoomImpBallWithTrail : DoomImpBall Replaces Satanic_DoomImpBall
{
	Speed 24
	DamageType DemonFire
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_CheckSight("SpawnNoEffects")
		BAL1 AAAABBBB 1 Bright A_CustomMissile("Satanic_ImpBallTrail",4,0,Random(-360,360))
		Loop
	Death:
		BAL1 C 0 A_SpawnItem("Satanic_SmokeSpawner")
		BAL1 CDE 6 Bright
		Stop
	SpawnNoEffects:
		BAL1 AAAABBBB 1 BRIGHT
		Goto Spawn
	}
}

Actor Satanic_FastImpBallWithTrail : Satanic_FastImpBall Replaces Satanic_FastImpBall
{
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_CheckSight("SpawnNoEffects")
		BALX AAAABBBB 1 Bright A_CustomMissile("Satanic_ImpBallTrail",4,0,Random(-360,360))
		Loop
	SpawnNoEffects:
		BALX AAAABBBB 1 BRIGHT
		Goto Spawn
	Death:
		TNT1 A 0 A_CheckSight("DeathNoEffects")
		BALX C 0 A_SpawnItem("Satanic_SmokeSpawner")
		BALX CDE 6 Bright
		Stop
	DeathNoEffects:
		BALX CDE 6 Bright
		Stop
	}
}

Actor Satanic_RevenantTracerWithTrail : Satanic_RevenantTracer Replaces Satanic_RevenantTracer
{
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_CheckSight("SpawnNoEffects")
		FATB A 1 Bright A_Tracer
		FATB A 0 A_CustomMissile("Satanic_ImpBallTrail",4,0,Random(-360,360))
		FATB A 1 Bright A_Tracer
		FATB A 0 A_CustomMissile("Satanic_ImpBallTrail",4,0,Random(-360,360))
		FATB B 1 Bright A_Tracer
		FATB B 0 A_CustomMissile("Satanic_ImpBallTrail",4,0,Random(-360,360))
		FATB B 1 Bright A_Tracer
		FATB B 0 A_CustomMissile("Satanic_ImpBallTrail",4,0,Random(-360,360))
		Loop
	SpawnNoEffects:
		FATB AABB 1 Bright A_Tracer
		Goto Spawn
	Death:
		FBXP AAAAA 0 A_CustomMissile("Satanic_RevenantRipper",0,Random(-64,64),Random(0,360),2,Random(0,360)) 
		FBXP AAAAA 0 A_CustomMissile("Satanic_RevenantRipper",0,Random(-64,64),Random(0,360),2,Random(0,360)) 
		FBXP AAAAA 0 A_CustomMissile("Satanic_RevenantRipper",0,Random(-64,64),Random(0,360),2,Random(0,360)) 
		FBXP AAAAA 0 A_CustomMissile("Satanic_RevenantRipper",0,Random(-64,64),Random(0,360),2,Random(0,360)) 
		FBXP AAAAA 0 A_CustomMissile("Satanic_RevenantRipper",0,Random(-64,64),Random(0,360),2,Random(0,360)) 
		TNT1 A 0 A_CheckSight("DeathNoEffects")
		FBXP A 0 A_SpawnItem("Satanic_SmokeSpawner")
		FBXP A 8 Bright
		FBXP B 6 Bright
		FBXP C 4 Bright
		Stop
	DeathNoEffects:
		FBXP A 8 Bright
		FBXP B 6 Bright
		FBXP C 4 Bright
		Stop
	}
}

Actor Satanic_RevenantBallWithTrail : Satanic_RevenantBall Replaces Satanic_RevenantBall
{
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_CheckSight("SpawnNoEffects")
		FATB A 1 Bright
		FATB A 0 A_CustomMissile("Satanic_ImpBallTrail",4,0,Random(-360,360))
		FATB A 1 Bright
		FATB A 0 A_CustomMissile("Satanic_ImpBallTrail",4,0,Random(-360,360))
		FATB B 1 Bright
		FATB B 0 A_CustomMissile("Satanic_ImpBallTrail",4,0,Random(-360,360))
		FATB B 1 Bright
		FATB B 0 A_CustomMissile("Satanic_ImpBallTrail",4,0,Random(-360,360))
		Loop
	SpawnNoEffects:
		FATB AABB 1 BRIGHT
		Goto Spawn
	Death:
		FBXP AAAAA 0 A_CustomMissile("Satanic_RevenantRipper",0,Random(-64,64),Random(0,360),2,Random(0,360)) 
		FBXP AAAAA 0 A_CustomMissile("Satanic_RevenantRipper",0,Random(-64,64),Random(0,360),2,Random(0,360)) 
		FBXP AAAAA 0 A_CustomMissile("Satanic_RevenantRipper",0,Random(-64,64),Random(0,360),2,Random(0,360)) 
		FBXP AAAAA 0 A_CustomMissile("Satanic_RevenantRipper",0,Random(-64,64),Random(0,360),2,Random(0,360)) 
		FBXP AAAAA 0 A_CustomMissile("Satanic_RevenantRipper",0,Random(-64,64),Random(0,360),2,Random(0,360)) 
		TNT1 A 0 A_CheckSight("DeathNoEffects")
		FBXP A 0 A_SpawnItem("Satanic_SmokeSpawner")
		FBXP A 8 Bright
		FBXP B 6 Bright
		FBXP C 4 Bright
		Stop
	DeathNoEffects:
		FBXP A 8 Bright
		FBXP B 6 Bright
		FBXP C 4 Bright
		Stop
	}
}

Actor Satanic_CacodemonBallWithSmoke : Satanic_CacodemonBall Replaces Satanic_CacodemonBall
{
	States
	{
	Spawn:
		BAL2 AB 4 Bright
		Loop
	Death:
		TNT1 A 0 A_CheckSight("DeathNoEffects")
		BAL2 C 0 A_SpawnItem("Satanic_SmokeSpawner")
		BAL2 CDE 6 Bright
		Stop
	DeathNoEffects:
		BAL2 CDE 6 Bright
		Stop
	}
}

Actor Satanic_ImpBallTrail 
{
	Speed 	1
	Height 	2
	Radius 	4
	Mass 	9
	Damage 	0
	Scale 1.0
	RenderStyle Translucent
	Alpha 		0.35
	PROJECTILE
	States
	{
	Spawn:
		NULL A 2
		TNT1 A 0 A_CheckSight(1)
		PHEO BCDEF 3 A_CustomMissile("Satanic_ImpBallTrailSecondary",0,0,Random(-360,360),0,0)
		TNT1 A 0
		Stop
	}
}

Actor Satanic_ImpBallTrailSecondary
{
	Speed 	1
	Height 	2
	Radius 	4
	Mass 	9
	Damage 	0
	Scale 1.25
	RenderStyle Translucent
	Alpha 		0.2
	PROJECTILE
	+RANDOMIZE
	States
	{
	Spawn:
		PHEO B 4 
		PHEO C 4
		PHEO D 4 
		PHEO EF 4
		Stop
	}
}

Actor Satanic_RevenantRipper
{
	Speed	12
	Height	1
	Radius	1
	Mass	8
	Damage	1
	RenderStyle	Add
	Decal 		BloodSmear
	Alpha		0.8 
	Scale		0.5
	PROJECTILE
	-NOGRAVITY
	+ROCKETTRAIL
	+RIPPER
	States
	{
	Spawn:
		NULL A 4   
		Loop
    Death: 
		NULL A 0
		Stop
    }
}
//------------------------------------------------------------------------------------------------------------------------