actor Pirateman : CustWepClassBase
{
Player.ScoreIcon "C_0BD0X"
player.displayname "Pirateman"
player.soundclass "piratemanc"

player.maxhealth 1250
health 1250
player.jumpz 10
player.forwardmove 0.65, 0.65
player.sidemove 0.63, 0.63

player.startitem "CBM_BaseFlagPack"

player.startitem "Pirateman_W"
player.startitem "JollyRogerAmmo", 30
player.startitem "WetRogerAmmo", 28
player.startitem "PirateBubbleItem"
player.startitem "IsAPirate", 1
player.startitem "CanSnatch_F"


player.startitem "FireStormWeakness"
player.startitem "AtomicFireWeakness"
player.startitem "PharaohShotWeakness"
player.startitem "FlameBlastWeakness"
player.startitem "ScorchWheelWeakness"
player.startitem "FlameSwordWeakness"
player.startitem "WaveBurnerWeakness"//
player.startitem "MagmaBazookaWeakness"
player.startitem "SolarBlazeWeakness"
player.startitem "GrabBusterWeakness"

States
{
Spawn:
PIRA A 0
PIRA B 1
PIRA A 1 A_JumpIfInventory("PirateBDashFlag",1,"SpinSpinA")
Goto Spawn+2
See:
PIRA BCDE 5
Goto Spawn
Missile:
PIRA FFFFF 1 A_JumpIfInventory("PirateBDashFlag",1,"SpinSpinA")
PIRA G 4 
Goto Spawn+2
SpinSpinA:
PIRA R 2
PIRA R 1 A_JumpIfInventory("PirateBDashFlag",1,"SpinSpinB")
goto Spawn
SpinSpinB:
PIRA S 2
PIRA S 1 A_JumpIfInventory("PirateBDashFlag",1,"SpinSpinC")
goto Spawn
SpinSpinC:
PIRA T 2
PIRA T 1 A_JumpIfInventory("PirateBDashFlag",1,"SpinSpinA")
goto Spawn
ClassPain:
PIRA H 0
goto MegamanPain
ClassDeath:
PIRA H 0
goto MegamanDeath
}
}