actor Oilman : CustWepClassBase
{
Player.ScoreIcon "C_01H0X"
player.displayname "Oilman"
player.soundclass "oilmanc"

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

player.startitem "CBM_BaseFlagPack"

player.startitem "Oilman_W"
player.startitem "ExtraOilAmmo", 112
player.startitem "OilStaminaFlag", 252
player.startitem "OilmanItem", 1


player.startitem "FireStormWeakness"//
player.startitem "AtomicFireWeakness"
player.startitem "NeedleCannonWeakness"
player.startitem "PharaohShotWeakness"
player.startitem "StarCrashWeakness"
player.startitem "FlameBlastWeakness"
player.startitem "ScorchWheelWeakness"
player.startitem "FlameSwordWeakness"
player.startitem "WaveBurnerWeakness"
player.startitem "MagmaBazookaWeakness"
player.startitem "SolarBlazeWeakness"
player.startitem "BreakDashWeakness"

States
{
Spawn:
NOIL A 0
NOIL B 1 A_JumpIfInventory("OilmanJump",1,"SpawnSlide")
NOIL A 1 A_JumpIfInventory("OilmanJump",1,"SpawnSlide")
//300
NOIL AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 1 A_JumpIfInventory("VivifyDelay4",1,"MissileMatch")
NOIL JJJJKKKKLLLLMMMM 1 A_JumpIfInventory("VivifyDelay4",1,"MissileMatch")
Goto Spawn+303//Spawn+2

Melee:
NOIL Q 1
goto SpawnSlide
SpawnSlide:
NOIL Q 0 A_JumpIfInventory("OilmanIsDone",1,"Spawn")
NOIL Q 1
loop
See:
NOIL BBBBBCCCCCDDDDDEEEEE 1 A_JumpIfInventory("VivifyDelay4",1,"MissileMatch")
Goto Spawn
Missile:
NOIL F 0 A_JumpIfInventory("OilmanJump",1,"Missile2")
NOIL F 5
NOIL G 4
goto Spawn
Missile2:
NOIL R 1 A_JumpIfInventory("OilmanIsDone",1,"Missile3")
NOIL R 4
goto SpawnSlide
Missile3:
NOIL R 0
goto Missile+1
MissileMatch:
NOIL MP 5
goto Spawn
ClassPain:
NOIL H 0 A_JumpIfInventory("OilBoat",1,1)
goto MegamanPain
NOIL S 0
goto MegamanPain
ClassDeath:
NOIL H 0
goto MegamanDeath
}
}