actor RockClass : ClassBase
{
Player.ScoreIcon "C_00D0X"
player.displayname "Rock"
player.soundclass "rockc"

player.maxhealth 900
health 900
player.jumpz 11
player.forwardmove 0.825, 0.825
player.sidemove 0.805, 0.805

player.startitem "MegaBallBoss"
player.startitem "LMSRockBallPickup"
player.startitem "RockFlag"
player.startitem "CanUseItems"
player.startitem "BallsOfSteelAmmo", 444

player.weaponslot 0, "MegaBallBoss"
player.weaponslot 1, "MegaCutBallBoss"
player.weaponslot 2, "MegaGutsBallBoss"
player.weaponslot 3, "MegaIceBallBoss"
player.weaponslot 4, "MegaBombBallBoss"
player.weaponslot 5, "MegaFireBallBoss"
player.weaponslot 6, "MegaElecBallBoss"
player.weaponslot 7, "MegaTimeBallBoss"
player.weaponslot 8, "MegaOilBallBoss"

States
{
Spawn:
ROCK A 0
ROCK B 1
ROCK A 1
ROCK A 55
ROCK Y 5
goto Spawn+3
See:
ROCK BCDE 5
Goto Spawn
Missile:
ROCK F 0// A_JumpIfInventory("SlideVivifyFlag",1,"Slide")
ROCK FFFFF 1
ROCK GGGGG 1
goto Spawn+2
Slide:
ROCK G 20
goto Spawn
ClassPain:
ROCK H 0
goto PainContinue
ClassDeath:
ROCK H 0
goto DeathContinue
}
}

actor RockFlag : Inventory
{
inventory.amount 1
inventory.maxamount 1
}