class TeleportSparkler : SquareActor
{
	Default
	{
		Height 0;
		+CLIENTSIDEONLY;
		+NOCLIP;
		+INVISIBLE;
	}
	States
	{
	Spawn:
		TNT1 AAAA 0 A_SpawnItemEx("TeleportSparklerSpark", frandom[SquareEffectRandom](-20.0,20.0), frandom[SquareEffectRandom](-20.0,20.0), frandom[SquareEffectRandom](0.0,2.0), 0, 0, random[SquareEffectRandom](1,4), 0, 1, 192);
		TNT1 A 1;
		Loop;
	}
}

class TeleportSparklerSpark : FogSpark
{
	States
	{
	Spawn:
		ITMS BABABCDE 3 Bright A_FadeOut(0.1);
		Stop;
	}
}

class TeleportSparklerBlue   : TeleportSparkler { }
class TeleportSparklerRed    : TeleportSparkler { Default { Translation "64:79=192:207"; } }
class TeleportSparklerYellow : TeleportSparkler { Default { Translation "64:79=240:255"; } }
class TeleportSparklerPurple : TeleportSparkler { Default { Translation "64:79=32:47"; } }
class TeleportSparklerWhite  : TeleportSparkler { Default { Translation "64:79=16:31"; } }

