actor Magnetman : ClassBase
{
Player.ScoreIcon "C_03B0X"
player.displayname "Magnetman"
player.soundclass "magnetmanc"
player.startitem "MagnetMissileBoss"
player.startitem "PullAmmo", 28
player.jumpz 12

player.startitem "SparkShockWeakness2", 1

player.startitem "ThunderBeamWeakness", 1
player.startitem "SparkShockWeakness", 1
player.startitem "ThunderBoltWeakness", 1
player.startitem "ThunderClawWeakness", 1
player.startitem "LightningBoltWeakness", 1
player.startitem "PlugBallWeakness", 1
States
{
Spawn:
MAGM A 0
MAGM B 1
MAGM A 1
Goto Spawn+2
See:
MAGM BCDE 5
Goto Spawn
Missile:
MAGM F 1
MAGM FFFF 1 A_JumpIfInventory("PullCharge",1,"MagnetPull")
Missile2:
MAGM G 4
goto Spawn
MagnetPull:
MAGM IIJJ 2 A_JumpIfInventory("EndPull",1,"Missile2")
loop
ClassPain:
MAGM H 0
goto PainContinue
DeathFix:
MAGM H 0
goto DeathContinue
ClassDeath:
MAGM H 1
goto MegaDeathEnd
}
}