ACTOR VanisherClass : PlayerPawn
{
	Speed 1
	Health 100
	Radius 16
	Height 56
	Mass 200
	PainChance 255
	Player.ColorRange 112, 127
	Player.DisplayName "Vanisher"
	Player.CrouchSprite "PLYC"
	player.startitem "megasphere", 1
	player.startitem "vanisherfist", 1
	bloodcolor "blue"
  	Player.ForwardMove 0.25, 1.00
  	Player.SideMove 0.25, 1.00
	Player.JumpZ 12
	RenderStyle Add
	Alpha 0.15
	damagefactor "rocket", 0
	limitedtoteam 0
	+NOSKIN
	States
	{
	Spawn:
		VSHP A 0
		VSHP A 35
		VSHP A 0 A_JumpIf (health>=50, "Spawn")
		VSHP A 0 ACS_Execute(110,0)
	Loop
	See:
		VSHP ABCD 6
	Loop
	Missile:
		VSHP E 12
	Goto Spawn
	Melee:
		VSHP F 6
	Goto Missile
	Pain:
		VSHP G 4
		VSHP G 4 A_Pain
	Goto Spawn
	Death:
		VSHP H 10 A_SetTranslucent(1, 0)
		VSHP I 10 A_PlayerScream
		VSHP J 10 A_NoBlocking
		VSHP KLM 10
		VSHP N -1
	Stop
	XDeath:
		PLAY O 0 A_Stop
		VSHP O 0 A_SetTranslucent(1, 0)
		VSHP O 5 A_SpawnItemEx("BlueHumanGibs",0,0,0,0,0,0,0,128)
		VSHP O 0 A_SkullPop("BlueHeadGib")
		VSHP P 5 A_XScream
		VSHP Q 5 A_NoBlocking
		VSHP RSTUV 5
		VSHP W -1 
    Stop
	FadeIn:
		PLAY O 0 A_SetTranslucent(0.25, 1)
	Goto Spawn
	FadeOut:
		PLAY O 0 A_SetTranslucent(0.15, 1)
	Goto Spawn
	}
}

Actor VanisherFist : Weapon
{
	+WEAPON.NOALERT
	States
	{
	Ready:
		FIST A 1 A_WeaponReady
	Loop
	Deselect:
		FIST A 1 A_Lower
	Loop
	Select:
		FIST A 1 A_Raise
	Loop
	Fire:
	Goto Ready
	}
}