Actor PhaseSphere : CustomInventory 13376
{
  Inventory.PickupMessage "Phase sphere. Phase out of the ethereal realm..."
  Inventory.PickupSound "phaseimp/teleport"
  Inventory.UseSound "phaseimp/teleport"
  Inventory.Icon "PSPHE0"
  Inventory.MaxAmount 1
  +FLOATBOB
  +INVBAR
  +COUNTITEM
  +INVENTORY.BIGPOWERUP
  States
  {
 Use:
	TNT1 A 0 A_GiveInventory("RMPowerShadow")
    TNT1 A 0 A_GiveInventory("RMPowerShadow")
	TNT1 A 0 A_GiveInventory("RMPowerHalfDamage")
	TNT1 A 0 A_GiveInventory("RMPowerMS")
    Stop  	
  Spawn:
	PSPH ABCD 10 Bright 
	Loop	
  }
}

ACTOR RMPowerMS : PowerSpeed
{
  Powerup.Duration -60
  Speed 1.5
  +POWERSPEED.NOTRAIL
 }

ACTOR RMPowerHalfDamage : PowerProtection
{
  DamageFactor "Normal", 0.5
  +INVENTORY.HUBPOWER
  Powerup.Duration -60
}

ACTOR RMPowerShadow : PowerInvisibility
{
  +INVENTORY.HUBPOWER
  Powerup.Duration -60
  Powerup.Strength 100
  Powerup.Mode "Cumulative"
}