actor Groundman : CustWepClassBase
{
Player.ScoreIcon "C_0BC0X"
player.displayname "Groundman"
player.soundclass "groundmanc"

player.maxhealth 1150
health 1150
player.jumpz 10
player.forwardmove 0.64, 0.64
player.sidemove 0.62, 0.62

player.startitem "CBM_BaseFlagPack"

player.startitem "Groundman_W"
player.startitem "GroundFuryAmmo", 42
player.startitem "SandAngerAmmo", 200
player.startitem "GroundBossSplitItem"
//player.startitem "Spawn_HalfHitStunFlag"
//player.startitem "HalfHitStunFlag"


player.startitem "HyperBombWeakness"
player.startitem "CrashBombWeakness"
player.startitem "DrillBombWeakness"
player.startitem "NapalmBombWeakness"
player.startitem "DangerWrapWeakness"
player.startitem "FlashBombWeakness"
player.startitem "RemoteMineWeakness"//
player.startitem "LaserTridentWeakness"
player.startitem "CommandoBombWeakness"
player.startitem "BubbleBombWeakness"
player.startitem "BalladeCrackerWeakness"

States
{
Spawn:
GROU A 0 
GROU R 1
GROU A 1 A_JumpIfInventory("GroundTankFlag",1,"TankTime")
Goto Spawn+2
See:
GROU R 0 A_JumpIfInventory("GroundTankFlag",1,"TankTime")
GROU RSTS 5
Goto Spawn
Missile:
GROU F 0 A_JumpIfInventory("VivifyDelay4",1,"Missile2")
GROU F 0 A_JumpIfInventory("VivifyDelay6",1,"TankTime2")
GROU F 0 A_JumpIfInventory("GroundTankFlag",1,"TankTime")
GROU F 5
GROU G 4
goto Spawn+2
Missile2:
GROU FG 3
goto Spawn
TankTime:
GROU BBBCCCDDDEEE 1 A_JumpIfInventory("GroundTankFlag",2,"TankTimeDig")
GROU B 1 A_JumpIfInventory("GroundTankFlag",1,"TankTime")
goto Spawn
TankTime2:
GROU CCCDDDEEEBBB 1 A_JumpIfInventory("GroundTankFlag",2,"TankTimeDig")
GROU C 1 A_JumpIfInventory("GroundTankFlag",1,"TankTime2")
goto Spawn
TankTimeDig:
GROU QQQQQQQQQQQQQQQQQQ 1 A_JumpIfInventory("VivifyDelay4",1,"Missile2")
goto Spawn
ClassPain:
GROU H 0
goto MegamanPain
ClassDeath:
GROU H 0
goto MegamanDeath
}
}