ACTOR BlazerClass : PlayerPawn
{
	Speed 1
	Health 100
	Radius 16
	Height 56
	Mass 200
	PainChance 255
	Player.ColorRange 112, 127
	Player.DisplayName "Blazer"
	player.startitem "MegaSphere", 1
	player.startitem "BlazeSphere", 1
	Player.CrouchSprite "BSRC"
	Player.ForwardMove 1.00, 1.00
	Player.SideMove 0.90, 0.90
	Player.JumpZ 12
	limitedtoteam 0
	damagefactor "rocket", 0
	+NOSKIN
	States
	{
	Spawn:
		BRSP A 0
		BRSP A 35
		BRSP A 0 A_JumpIf (health>=50, "Spawn")
		BRSP A 0 ACS_Execute(110,0)
    Loop
	See:
		BRSP ABCD 6
	Loop
	Missile:
		BRSP E 12 
	Goto Spawn
	Melee:
		BRSP F 6 BRIGHT
	Goto Missile
	Pain:
		BRSP G 4 
		BRSP G 4 A_Pain
	Goto Spawn
	Death:
		BRSP H 10
		BRSP I 10 A_PlayerScream
		BRSP J 10 A_NoBlocking
		BRSP KLM 10
		BRSP N -1
    Stop
	XDeath:
		PLAY O 0 A_Stop
		BRSP O 5 A_SpawnItemEx ("HumanGibs",0,0,0,0,0,0,0,128)
		BRSP O 0 A_SkullPop("HeadGib") 
		BRSP P 5 A_XScream
		BRSP Q 5 A_NoBlocking
		BRSP RSTUV 5
		BRSP W -1
    Stop
	}
}

ACTOR BlazeSphere : PowerupGiver
{
  +INVENTORY.AUTOACTIVATE
  +INVENTORY.ALWAYSPICKUP
  Inventory.MaxAmount 0
  Powerup.Type "Speed"
  Speed 1.0
  Powerup.Duration 99999999999999999999
  Inventory.PickupMessage "EatShitAndDie"
  States
  {
    Spawn:
    TURB A 6 Bright
    TURB B 6
    Loop
  }
}