actor Waveman : CustWepClassBase
{
Player.ScoreIcon "C_05B0X"
player.displayname "Waveman"
player.soundclass "wavemanc"

player.maxhealth 1000
health 1000
player.jumpz 10
player.forwardmove 0.8, 0.8
player.sidemove 0.8, 0.8

player.startitem "CBM_BaseFlagPack"

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


player.startitem "TopSpinWeakness"
//player.startitem "DiveMissileWeakness"
player.startitem "ChargeKickWeakness"//
player.startitem "SlashClawWeakness"
player.startitem "FlameSwordWeakness"
player.startitem "BreakDashWeakness"
player.startitem "BusterRodGWeakness"

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 MegamanPain
ClassDeath:
WAVM H 0
goto MegamanDeath
}
}