actor Astroman : LightClassBase
{
Player.ScoreIcon "C_08B0X"
player.startitem "LightHealthBar"
player.displayname "Astroman"
player.soundclass "astromanc"
player.startitem "AstroCrushBoss"
player.startitem "CopyAmmoC", 28
player.startitem "AstroFlightItem"
player.startitem "AstroFlight"
//gravity 0.6
player.forwardmove 0.7, 0.7
player.sidemove 0.68, 0.68

player.startitem "HomingSniperWeakness2", 1
player.startitem "MagicCardWeakness2", 1

player.startitem "MagnetMissileWeakness", 1
player.startitem "DiveMissileWeakness", 1
player.startitem "SlashClawWeakness", 1
player.startitem "HomingSniperWeakness", 1
player.startitem "MagicCardWeakness", 1
player.startitem "HornetChaserWeakness", 1
States
{
Spawn:
ASTM A 0 
ASTM B 1
ASTM A 1
Goto Spawn+2
See:
ASTM B 5
ASTM B 0 A_JumpIfInventory("AstroFlight",1,2)
ASTM B 0 A_Jump(256,2)
ASTM C 0 A_PlaySoundEx("classes/astrowalk","Body")
ASTM C 5
ASTM D 5
ASTM D 0 A_JumpIfInventory("AstroFlight",1,2)
ASTM D 0 A_Jump(256,2)
ASTM E 0 A_PlaySoundEx("classes/astrowalk","Body")
ASTM E 5
Goto Spawn
Missile:
ASTM FFFFF 1 A_JumpIfInventory("AstroAltFlag",1,"MissileHold")
ASTM G 4
goto Spawn
MissileHold:
ASTM F 1
goto Missile+2
ClassPain:
ASTM H 0
goto PainContinue
DeathFix:
ASTM H 0
goto DeathContinue
ClassDeath:
ASTM H 1
goto MegaDeathEnd
}
}