actor Waveman : ClassBase
{
Player.StartItem "IFMM05", 1
Player.ScoreIcon "C_05B0X"
player.displayname "Waveman"
player.soundclass "wavemanc"

player.maxhealth 100
health 100
player.jumpz 10
player.forwardmove 0.8, 0.8
player.sidemove 0.78, 0.78

player.startitem "WaterWaveBoss"
player.startitem "GeorgeOfTheSeasAmmo", 21
player.startitem "HookshotStamina", 534
player.startitem "WavemanHookshotItem"

player.startitem "ChargeKickWeakness2", 1

player.startitem "TopSpinWeakness", 1
//player.startitem "DiveMissileWeakness", 1
player.startitem "ChargeKickWeakness", 1
player.startitem "SlashClawWeakness", 1
player.startitem "FlameSwordWeakness", 1
player.startitem "BreakDashWeakness", 1

States
{
Spawn:
WAVM A 0 
WAVM B 1
WAVM A 1
Goto Spawn+2
See:
WAVM BCDE 5
Goto Spawn
Missile:
WAVM F 0 A_JumpIfInventory("VivifyDelay6",1,"Missile2")
WAVM F 5
WAVM G 4
goto Spawn
Missile2:
WAVM FII 4
goto Spawn
ClassPain:
WAVM H 0
goto PainContinue
ClassDeath:
WAVM H 0
goto DeathContinue
}
}