actor Mars : CustWepClassBase
{
Player.ScoreIcon "C_0VD0X"
player.displayname "Mars"
player.soundclass "marsc"

player.maxhealth 1350
health 1350
player.jumpz 10
player.forwardmove 0.6, 0.6
player.sidemove 0.58, 0.58

player.startitem "CBM_BaseFlagPack"

player.startitem "Mars_W"
player.startitem "Mars_W2"
player.startitem "RedPlanetAmmo", 252
player.startitem "CandyBarAmmo", 14
player.startitem "MarsTankFuel_F", 500

player.weaponslot 1, "Mars_W"
player.weaponslot 2, "Mars_W2"


player.startitem "BubbleLeadWeakness"
player.startitem "RainFlushWeakness"
player.startitem "WaterWaveWeakness"
player.startitem "WaterBalloonWeakness"
player.startitem "WaterShieldWeakness"
player.startitem "SaltWaterWeakness"//
player.startitem "MegaWaterSWeakness"

States
{
Spawn:
MARS A 0
MARS A 0 A_JumpIfInventory("MarsIsATank",1,"SeeTank")
MARS B 1
MARS A 1
wait

Melee:
MARS A 0 A_JumpIfInventory("MarsIsATank",1,"SeeTank")
goto Spawn

See:
MARS BCDE 5
Goto Spawn

SeeTank:
MARS L 5 A_JumpIfInventory("PlayerPropertyRage",1,"SeeTank_L")
MARS M 5 A_JumpIfInventory("PlayerPropertyRage",1,"SeeTank_M")
loop
SeeTank_L:
MARS L 3
goto SeeTank+1
SeeTank_M:
MARS M 3
goto SeeTank

Missile:
MARS F 0 A_JumpIfInventory("MarsIsATank",1,"MadLadMissile")
MARS F 5
MARS G 4
goto Spawn+3
MadLadMissile:
MARS N 9
MARS N 0 A_JumpIfInventory("MarsIsATank",1,"SeeTank")
goto Spawn+3
ClassPain:
MARS H 0
goto MegamanPain
ClassDeath:
MARS H 0
goto MegamanDeath
}
}