//HORIZONTAL BARS


statusbar normal,forcescaled
{
DrawImage"EmptIcon",122,184; //Scroll down for rest of Classes stuff

InInventory not NoHealthBar,1
{
DrawBar"VARHEALT","VAREMPTY",Health,horizontal,130,184;
	InInventory LightTeamFlag,1{DrawImage"LBARH",130,179;}
	InInventory WilyTeamFlag,1{DrawImage"WBARH",130,179;}
	InInventory CossackTeamFlag,1{DrawImage"CBARH",130,179;}
	InInventory KingTeamFlag,1{DrawImage"KBARH",130,179;}

InInventory SkullShieldCheck,1{DrawBar"4H_A_VAR","VNOBAR",Health,horizontal,130,184;}
InInventory SkullBarrierProtection,1{DrawBar"4H_A_VAR","VNOBAR",Health,horizontal,130,184;}
//InInventory BasicArmor,1{DrawBar"VARAMT31","VNOBAR",Armor,horizontal,130,184;}
}

DrawSelectedInventory INDEXFONT ,122,184,120,185,white;
DrawImage weaponicon,50,184;

//MM1 Bars
IsSelected RollingCutterWepC{Drawbar"VARAMMO1","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected SuperArmWepC{Drawbar"VARAMMO2","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected IceSlasherWepC{Drawbar"VARAMMO3","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected HyperBombWepC{Drawbar"VARAMMO4","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected FireStormWepC{Drawbar"VARAMMO5","VAREMPTY",Ammo1,horizontal,58,184;}	
IsSelected ThunderBeamWepC{Drawbar"VARAMMO6","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected TimeSlowWepC{DrawBar"VARAMMO7","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected OilSliderWepC{DrawBar"VARAMMO8","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory OilSliderFlag,1{DrawBar"VARFLS1","VNOBAR",OilSliderFlag,horizontal,58,184;}}

//MM2
IsSelected MetalBladeWepC{Drawbar"VARAMMO9","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected AirShooterWepC{Drawbar"VARAMM10","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected BubbleLeadWepC{Drawbar"VARAMMO1","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected QuickBoomerangWepC{Drawbar"VARAMM11","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected CrashBombWepC{Drawbar"VARAMM12","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected TimeStopperWepC{Drawbar"VARAMMO7","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected AtomicFireWepC{Drawbar"VARAMM13","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory WeaponCharge,70{DrawBar"VARFLS2","VAREMPTY",Ammo1,horizontal,58,184;}}
IsSelected LeafShieldWepC{Drawbar"VARAMMO4","VAREMPTY",Ammo1,horizontal,58,184;	
	InInventory ShieldCheck,1{DrawBar"VARFLS1","VNOBAR",LeafShieldCharge,horizontal,58,184;}}

//MM3
IsSelected NeedleCannonWepC{Drawbar"VARAMMO2","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected MagnetMissileWepC{Drawbar"VARAMM14","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected GeminiLaserWepC{Drawbar"VARAMM15","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected HardKnuckleWepC{Drawbar"VARAMM16","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected TopSpinWepC{Drawbar"VARAMM17","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected SearchSnakeWepC{Drawbar"VARAMMO4","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected SparkShockWepC{Drawbar"VARAMM12","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected ShadowBladeWepC{Drawbar"VARAMMO7","VAREMPTY",Ammo1,horizontal,58,184;}

//MM4
IsSelected FlashStopperWepC{Drawbar"VARAMM18","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected RainFlushWepC{Drawbar"VARAMM19","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected DrillBombWepC{Drawbar"VARAMM14","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected PharaohShotWepC{Drawbar"VARAMM20","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory WeaponCharge,78{DrawBar"VARFLS4","VAREMPTY",Ammo1,horizontal,58,184;}}
IsSelected RingBoomerangWepC{Drawbar"VARAMMO9","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected DustCrusherWepC{Drawbar"VARAMMO1","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected DiveMissileWepC{Drawbar"VARAMM10","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected SkullbarrierWepC{Drawbar"VARAMM21","VAREMPTY",Ammo1,horizontal,58,184;	
	InInventory SkullBarrierCooldown,1{DrawBar"VARAMM65","VAREMPTY",Ammo1,horizontal,58,184;}}

//MM5
IsSelected GravityHoldWepC{Drawbar"VARAMM18","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected WaterWaveWepC{Drawbar"VARAMM10","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected PowerStoneWepC{Drawbar"VARAMM22","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected GyroAttackWepC{Drawbar"VARAMMO4","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected StarCrashWepC{Drawbar"VARAMM23","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory ShieldCheck,1{DrawBar"VARFLS6","VAREMPTY",Ammo1,horizontal,58,184;}}
IsSelected ChargeKickWepC{Drawbar"VARAMM12","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected NapalmBombWepC{Drawbar"VARAMM24","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected CrystalEyeWepC{Drawbar"VARAMM25","VAREMPTY",Ammo1,horizontal,58,184;}

//MM6
IsSelected BlizzardAttackWepC{Drawbar"VARAMM15","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected CentaurFlashWepC{Drawbar"VARAMM26","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected FlameBlastWepC{Drawbar"VARAMM20","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected KnightCrushWepC{Drawbar"VARAMM27","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected PlantbarrierWepC{Drawbar"VARAMM28","VAREMPTY",Ammo1,horizontal,58,184;	
	InInventory ShieldCheck,1{DrawBar"VARFLS7","VAREMPTY",Ammo1,horizontal,58,184;
		DrawBar"6E_A_VAR","VNOBAR",ShieldCheck,horizontal,130,184;}}
IsSelected SilverTomahawkWepC{Drawbar"VARAMM29","VAREMPTY",Ammo1,horizontal,58,184;}	
IsSelected WindStormWepC{Drawbar"VARAMMO1","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected YamatoSpearWepC{Drawbar"VARAMM30","VAREMPTY",Ammo1,horizontal,58,184;}

//MM7
IsSelected FreezeCrackerWepC{Drawbar"VARAMM31","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected JunkShieldWepC{Drawbar"VARAMM32","VAREMPTY",Ammo1,horizontal,58,184;	
	InInventory ShieldCheck,1{DrawBar"VARFLS8","VAREMPTY",Ammo1,horizontal,58,184;}}
IsSelected DangerWrapWepC{Drawbar"VARAMM33","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected ThunderBoltWepC{Drawbar"VARAMM34","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected WildCoilWepC{Drawbar"VARAMM35","VAREMPTY",Ammo1,horizontal,58,184;		
	InInventory WeaponCharge,23{DrawBar"VARFLS9","VAREMPTY",Ammo1,horizontal,58,184;}}
IsSelected SlashClawWepC{Drawbar"VARAMM36","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected NoiseCrushWepC{Drawbar"VARAMM37","VAREMPTY",Ammo1,horizontal,58,184;	
	InInventory WeaponCharge,1{DrawBar"VARFLS10","VAREMPTY",Ammo1,horizontal,58,184;}}
IsSelected ScorchWheelWepC{Drawbar"VARAMM38","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory WheelCount,1{DrawBar"VARFLS1","VNOBAR",WheelCount,horizontal,58,184;}}	

//MM8
IsSelected MegaBallWepC{Drawbar"VARAMM39","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected TornadoHoldWepC{Drawbar"VARAMM40","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected AstroCrushWepC{Drawbar"VARAMM41","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected FlameSwordWepC{Drawbar"VARAMM42","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected ThunderClawWepC{Drawbar"VARAMM43","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected HomingSniperWepC{Drawbar"VARAMM44","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory WeaponCharge,35{DrawBar"VARFLS11","VAREMPTY",Ammo1,horizontal,58,184;}}
IsSelected IceWaveWepC{DrawBar"VARAMM45","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected FlashBombWepC{Drawbar"VARAMM46","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected WaterBalloonWepC{Drawbar"VARAMM47","VAREMPTY",Ammo1,horizontal,58,184;}

//MMB
IsSelected TenguBladeWepC{Drawbar"VARAMMO1","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected CopyVisionWepC{Drawbar"VARAMM52","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected LightningBoltWepC{Drawbar"VARAMM53","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected IceWallWepC{Drawbar"VARAMM54","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected SpreadDrillWepC{DrawBar"VARAMM55","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected RemoteMineWepC{Drawbar"VARAMM56","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected WaveBurnerWepC{Drawbar"VARAMM57","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected MagicCardWepC{Drawbar"VARAMM58","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected TrebleBoost{Drawbar"VARAMM59","VAREMPTY",Ammo1,horizontal,58,184;}

//MM9
IsSelected PlugBallWepC{DrawBar"VARAMM60","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected LaserTridentWepC{DrawBar"VARAMM61","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected TornadoBlowWepC{DrawBar"VARAMM62","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected JewelSatelliteWepC{DrawBar "VARAMM63","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory JewelShieldCheck,1{DrawBar "VARFLS1","VNOBAR",JewelShieldCheck,horizontal,58,184;}}
IsSelected MagmaBazookaWepC{DrawBar"VARAMM64","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory WeaponCharge,20{DrawBar "VARFLS13","VAREMPTY",Ammo1,horizontal,58,184;}}
IsSelected ConcreteShotWepC{DrawBar"VARAMM65","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected BlackHoleBombWepC{DrawBar"VARAMM66","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected HornetChaserWepC{DrawBar "VARAMM67","VAREMPTY",Ammo1,horizontal,58,184;}

//MM10
IsSelected TripleBladeWepC{DrawBar"VARAMM68","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected WaterShieldWepC{DrawBar"VARAMM69","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory WaterShieldCheck,1{DrawBar"VARAMT69","VNOBAR",WaterShieldCheck,horizontal,130,184;}}
IsSelected CommandoBombWepC{DrawBar"VARAMM70","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected ChillSpikeWepC{DrawBar"VARAMM71","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected ThunderWoolWepC{DrawBar"VARAMM72","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected ReboundStrikerWepC{DrawBar"VARAMM73","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected WheelCutterWepC{DrawBar"VARAMM74","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory WheelCutterCheck,1{DrawBar"VARFLS1","VNOBAR",WheelCutterCheck,horizontal,58,184;}}
IsSelected SolarBlazeWepC{DrawBar"VARAMM75","VAREMPTY",Ammo1,horizontal,58,184;}

//MMK
IsSelected SakugarneWepC{Drawbar"VARAMM48","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected MirrorBusterWepC{Drawbar"VARAMM49","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory MirrorBusterFlag,1{DrawBar"VARFLS1","VNOBAR",MirrorBusterFlag,horizontal,58,184;}}
IsSelected ScrewCrusherWepC{Drawbar"VARAMM50","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected BalladeCrackerWepC{Drawbar"VARAMM51","VAREMPTY",Ammo1,horizontal,58,184;}

//Assists
InInventory RushJetCounter,5{DrawImage"RUSHH2H8",290,8;}
InInventory RushJetCounter,1{DrawImage"RUSHOUT",290,8;}
InInventory RushMarineCounter,1{InInventory IsUnderWater,1{
	InInventory RushMarineCounter,5{DrawImage"RUSHO0",290,8;}
	InInventory RushMarineCounter,1{DrawImage"RUSHMOUT",290,8;}}
	InInventory Not IsUnderWater,1{DrawImage"RUSHP0",290,8;}}
InInventory BeatCallCheck,1{DrawImage"BEATD0",298,16;}
InInventory BeatCounter,5{DrawImage"BEATB8B2",298,16;}
InInventory BeatCounter,1{DrawImage"BEATOUT",298,16;}
InInventory BeatSupportActivated,1{DrawImage"BSPTA0",314,16;}
InInventory Flashed,1{DrawImage"FBLIND",-30,-20;}	
InInventory EnergyBalancerActive,1{DrawImage"NRGOUT",267,10;}

//Boss Health
InInventory BossHealth1,1{DrawBar"VARHEALT","VAREMPTY",BossHealth1,horizontal,202,184;}
InInventory BossHealth2,1{DrawBar"VARHEALT","VAREMPTY",BossHealth2,horizontal,202,184;}
InInventory BossHealth3,1{DrawBar"VARHEALT","VAREMPTY",BossHealth3,horizontal,202,184;}
InInventory BossHealth4,1{DrawBar"VARHEALT","VAREMPTY",BossHealth4,horizontal,202,184;}
InInventory BossHealth5,1{DrawBar"VARHEALT","VAREMPTY",BossHealth5,horizontal,202,184;}
InInventory BossHealth6,1{DrawBar"VARHEALT","VAREMPTY",BossHealth6,horizontal,202,184;}
InInventory BossHealth7,1{DrawBar"VARHEALT","VAREMPTY",BossHealth7,horizontal,202,168;}
InInventory EvilRobotShield,1{DrawBar"VARAMM32","VAREMPTY",BossHealth1,horizontal,202,184;}

/*
        ▄▄█▀▀▄
      ▄█████▄▄█▄
     ▄▀██████▄▄██
     █ █▀  ▄▄▀█ █
     ▄██   ▀▀ ▀ █
  ▄█▀  ▀█ ▀▀▀▀▄▀▀█▄
 ▄███ ▄  ▀▀▀▀▀▄ ███▄
 ██████       ██████
 ▀███▀█████████▀███▀
    ▄█▄ ▀▀█▀   █▄
 ▄▄█████▄▀ ▀▄█████▄▄
█████████   █████████ 
*/

//Classes start//

InInventory not NoHealthBar,1{

DrawImage playericon,188,185;

InInventory StaminaFlag||UnSolid,1{InInventory PinkStaminaBar,1{DrawBar"BARSTAMX","NOBAR",StaminaFlag,vertical,24,8;}
	else InInventory ForceStaminaFlag{InInventory not StaminaFlag,500{
		InInventory StaminaFlag,1{DrawImage"ARCSTAM",2,94;}
		else{DrawImage"ARCSTAMX",2,94;}
		DrawNumber 3,CMBHPFONT,Untranslated,StaminaFlag,alignment(right),fillzeros,30,97;}}
	else{InInventory not StaminaFlag,250{
		InInventory StaminaFlag,1{DrawImage"ARCSTAM",2,94;}
		else{DrawImage"ARCSTAMX",2,94;}
		DrawNumber 3,CMBHPFONT,Untranslated,StaminaFlag,alignment(right),fillzeros,30,97;}}
}

InInventory IsInvunFlag,1{DrawBar"0H_I_VAR","VNOBAR",Health,horizontal,130,184;
	DrawBar"0H_M_VAR","VNOBAR",IsInvunFlag,horizontal,130,184;}
else InInventory GuardUpFlag,1{DrawBar"0H_R_VAR","VNOBAR",Health,horizontal,130,184;}
else InInventory GuardDownFlag,1{DrawBar"0H_W_VAR","VNOBAR",Health,horizontal,130,184;}

DrawNumber 5,CMBHPFONT,Untranslated,Health,/*interpolate(10),*/alignment(left),150,177;

InInventory BasicArmor,1{
	InInventory BossBasicArmorAmount,1{DrawBar"VARAMT31","VNOBAR",Armor BossBasicArmorAmount,horizontal,130,184;}
	else{DrawBar"VARAMT31","VNOBAR",Armor,horizontal,130,184;}}

}

//Extra Copy Weapons
IsSelected HyperStormHWepC{Drawbar"HSHC_VAR","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected MegaWaterSWepC{Drawbar"MWSC_VAR","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory MWSShieldCharge,1{DrawBar"VARFLS1","VNOBAR",MWSShieldCharge,horizontal,58,184;}}
IsSelected BusterRodGWepC{Drawbar"BRGC_VAR","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected RainbowGalaxyWepC{DrawBar"VARAMM66","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected DynamoTendrilWepC{Drawbar"VARAMM53","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected CentaurArrowWepC{DrawBar"VARAMMO4","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected DarkShieldWepC{DrawBar"VARAMMO1","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected GravitySphereWepC{DrawBar"VARAMM18","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected SkullSniperWepC{DrawBar"VARAMM21","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected FlashBulbWepC{DrawBar"VARAMM18","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected TimeBenderWepC{DrawBar"VARAMMO7","VAREMPTY",Ammo1,horizontal,58,184;}

InInventory ProtoBusterC,1{DrawBar"00_0_VAR","VAREMPTY",SlideLimitFlag,horizontal,58,176;}
InInventory MegaBusterFlag,1{InInventory MegaBusterC,1{DrawBar"00_1_VAR","VAREMPTY",SlideLimitFlag,horizontal,58,176;}}
InInventory BassDoubleJump,1{DrawBar"00_4_VAR","VAREMPTY",SlideLimitFlag,horizontal,58,176;}
InInventory DuoFistC,1{DrawBar"08_9_VAR","VAREMPTY",SlideLimitFlag,horizontal,58,176;}
//MM0
IsSelected JetBusterC{DrawBar"RUSHVAR","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected PowerFistC{DrawBar"RUSHVAR","VAREMPTY",Ammo1,horizontal,58,184;}

IsSelected MegaBallBoss{DrawBar"VARAMM39","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected MegaIceBallBoss{DrawBar"VARAMMO3","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected MegaElecBallBoss{DrawBar"VARAMMO6","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected MegaFireBallBoss{DrawBar"VARAMMO5","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected MegaBombBallBoss{DrawBar"VARAMMO4","VAREMPTY",Ammo1,horizontal,58,184;}

IsSelected RollSwingBoss{DrawBar"RUSHVAR","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected RollBucketBoss{DrawBar"RUSHVAR","VAREMPTY",Ammo1,horizontal,58,184;}

IsSelected TrebleBoosterWepC{DrawBar"BASSVAR","VAREMPTY",Ammo1,horizontal,58,184;}

IsSelected SniperJoeBoss{DrawBar"VARAMMO4","VAREMPTY",JoeGrenadeCharge,horizontal,58,176;
	InInventory JoeUpgradeAmmo,420{DrawBar"VARFLSJ","VAREMPTY",JoeUpgradeAmmo,horizontal,58,184;}
	else{DrawBar"VARAMM48","VAREMPTY",JoeUpgradeAmmo,horizontal,58,184;}}
IsSelected MachineGunJoeBoss{DrawBar"VARAMMO1","VAREMPTY",Ammo1,horizontal,58,176;
	InInventory JoeUpgradeAmmo,420{DrawBar"VARFLSJ","VAREMPTY",JoeUpgradeAmmo,horizontal,58,184;}
	else{DrawBar"VARAMM48","VAREMPTY",JoeUpgradeAmmo,horizontal,58,184;}}
IsSelected JoeSelectBoss{DrawBar"VARFLSJ","VAREMPTY",Ammo1,horizontal,58,184;
	DrawImage"JoeIcon1",60,60;DrawImage"JoeIcon2",180,12;
	InInventory JoeSelectApacheFlag,1{DrawString DBIGFONT,Green,"MAINFIRE",50,110,0,alignment(left);}
	else{DrawString DBIGFONT,Untranslated,"MAINFIRE",50,110,0,alignment(left);}
	InInventory JoeSelectTruckFlag,1{DrawString DBIGFONT,Green,"ALTFIRE",198,110,0,alignment(left);}
	else{DrawString DBIGFONT,Untranslated,"ALTFIRE",198,110,0,alignment(left);}}
IsSelected ApacheJoeBoss{DrawBar"VARFLSJ","VAREMPTY",Ammo2,horizontal,58,184;}
IsSelected TruckJoeBoss{DrawBar"VARFLSJ","VAREMPTY",Ammo2,horizontal,58,184;}


//MM1
IsSelected IceSlasherBoss{Drawbar"VARAMMO3","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected HyperBombBoss{Drawbar"VARAMMO4","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected FireStormBoss{Drawbar"VARAMMO5","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected ThunderBeamBoss{Drawbar"VARAMMO6","VAREMPTY",Ammo1,horizontal,58,184;}
WeaponAmmo TimeClassAmmo{DrawBar"VARAMMO7","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected OilSliderBoss{InInventory OilCheck,1{DrawBar"VARAMMO8","VAREMPTY",OilSledFlag,horizontal,58,184;}}

//MM2
IsSelected AirShooterBoss{Drawbar"VARAMM10","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected BubbleLeadBoss{Drawbar"VARAMMO1","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected QuickBoomerangBoss{Drawbar"VARAMM11","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected CrashBombBoss{Drawbar"VARAMM12","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected TimeStopperBoss{Drawbar"VARAMMO7","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected AtomicFireBoss{Drawbar"VARAMM13","VAREMPTY",HeatmanDashFlag,horizontal,58,184;
	InInventory HeatmanDashFlag,200{DrawImage"HeatIco5",50,184;}
	else InInventory HeatmanDashFlag,150{DrawImage"HeatIco4",50,184;}
	else InInventory HeatmanDashFlag,100{DrawImage"HeatIco3",50,184;}
	else InInventory HeatmanDashFlag,50{DrawImage"HeatIco2",50,184;}}
IsSelected AtomicPillarBoss{Drawbar"VARAMM13","VAREMPTY",HeatmanDashFlag,horizontal,58,184;}
IsSelected LeafShieldBoss{
	InInventory IncredibleAmmo,15{Drawbar"VARAMMO4","VAREMPTY",Ammo1,horizontal,58,184;
		InInventory ShieldCheck,1{DrawBar"VARFLS3","VNOBAR",Ammo1,horizontal,58,184;}}
	else {Drawbar"VARAMXO4","VAREMPTY",Ammo1,horizontal,58,184;
		InInventory ShieldCheck,1{DrawBar"VARFLS3X","VNOBAR",Ammo1,horizontal,58,184;}}
	Drawbar"WOODVFLS","VNOBAR",LeafCounter,horizontal,58,184;}
WeaponAmmo PlasmaAmmo{DrawBar"WILYVAR","VAREMPTY",Ammo1,horizontal,58,184;
	DrawBar"VARAMMO1","VAREMPTY",CapsuleAmmo,horizontal,58,176;}//Dr. Wily
IsSelected AlienTrapBoss{Drawbar"02_A_VAR","VAREMPTY",Ammo1,horizontal,58,184;}

//MM3
WeaponAmmo NoodleAmmo{Drawbar"VARAMMO2","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected MagnetMissileBoss{Drawbar"VARAMM14","VAREMPTY",Ammo1,horizontal,58,184;
	DrawBar"VARAMMO1","VAREMPTY",Ammo2,horizontal,58,176;}
IsSelected GeminiLaserBoss{Drawbar"VARAMM15","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory CloneSpawned,1{Drawbar"3C_G_VAR","VNOBAR",Ammo1,horizontal,58,184;}}
IsSelected HardKnuckleBoss{Drawbar"VARAMM16","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected TopSpinBoss{Drawbar"VARAMM17","VAREMPTY",Top_Charge,horizontal,58,184;}
IsSelected SearchSnakeBoss{Drawbar"VARAMMO4","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory SnakeClimbing,1{DrawImage"SNACRAWA",282,8;}}
IsSelected SparkShockBoss{Drawbar"VARAMM12","VAREMPTY",SparkmanHoldFlag,horizontal,58,184;}
WeaponAmmo CloakAmmo{Drawbar"VARAMMO7","VAREMPTY",Ammo1,horizontal,58,184;}

InInventory DocBusterC,1{
	InInventory DocSpeed100,1{DrawImage"DOCS100X",2,136;}
	else InInventory DocSpeed090,1{DrawImage"DOCS090X",2,136;}
	else InInventory DocSpeed105,1{DrawImage"DOCS105X",2,136;}
	else InInventory DocSpeed110,1{DrawImage"DOCS110X",2,136;}
	else InInventory DocSpeed115,1{DrawImage"DOCS115X",2,136;}
	else InInventory DocSpeed120,1{DrawImage"DOCS120X",2,136;}
	InInventory DocJump100,1{DrawImage"DOCJ100X",2,164;}
	else InInventory DocJump110,1{DrawImage"DOCJ110X",2,164;}
	else InInventory DocJump120,1{DrawImage"DOCJ120X",2,164;}
	else InInventory DocJump130,1{DrawImage"DOCJ130X",2,164;}
	InInventory MegaHealthBar,1{DrawImage"DOCA112X",2,108;}
	else InInventory ProtoHealthBar,1{DrawImage"DOCA133X",2,108;}
	else InInventory DuoHealthBar,1{DrawImage"DOCA090X",2,108;}
	else InInventory DocToadHealthBar,1{DrawImage"DOCA073X",2,108;}
}

//MM4
IsSelected FlashStopperBoss{DrawBar"VARAMM12","VAREMPTY",Ammo1,horizontal,58,184;
	DrawBar"VARAMM18","VAREMPTY",Ammo2,horizontal,58,176;}
//IsSelected RainFlushBoss{Drawbar"VARAMM19","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected DrillBombBoss{Drawbar"VARAMM14","VAREMPTY",Ammo1,horizontal,58,184;
	DrawBar"VARAMMO1","VAREMPTY",DigLimit,horizontal,58,176;}
IsSelected PharaohShotBoss,AmericanPharoahBoss{Drawbar"VARAMM20","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory WeaponCharge,78{DrawBar"VARFLS4","VAREMPTY",Ammo1,horizontal,58,184;}
	InInventory PharaohHoverFlag,1{DrawImage"PHAFLS1",290,8;}}
WeaponAmmo CrushEmAmmo{DrawBar"DUSVAR","DUSVMPTY",Ammo1,horizontal,58,184;}
WeaponAmmo YouSunkMyAmmo{Drawbar"VARAMM10","VAREMPTY",Ammo1,horizontal,58,184;
	Drawbar"04_7_VAR","BAREMPTY",Ammo2,horizontal,58,176;}
IsSelected SkullBarrierBoss{DrawBar"VARAMMO1","VAREMPTY",Ammo1,horizontal,58,184;
	DrawBar"VARAMM21","VAREMPTY",Ammo2,horizontal,58,176;
	InInventory ShieldCheck,1{DrawBar"VARFLS5","VAREMPTY",Ammo2,horizontal,58,176;}
	InInventory SkullRageFlag,1{DrawBar"4H_S_VAR","VNOBAR",SkullRageFlag,horizontal,58,184;}}

//MM5
IsSelected GravityHoldBoss{Drawbar"VARAMM18","VAREMPTY",Ammo1,horizontal,58,184;}
WeaponAmmo WaterWaveClassAmmo{Drawbar"VARAMM10","VAREMPTY",Ammo1,horizontal,58,184;
	DrawImage"WAVEHOKV",83,171;
	InInventory HookshotStamina,200{DrawNumber 3,CMBHRFONT,Orange,HookshotStamina,alignment(left),fillzeros,70,176;}
	else{DrawNumber 3,CMBHRFONT,Red,HookshotStamina,alignment(left),fillzeros,70,176;}}
IsSelected PowerStoneBoss{Drawbar"VARAMM22","VAREMPTY",StoneBossCharge,horizontal,58,184;}
IsSelected GyroAttackBoss{Drawbar"VARAMMO4","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected StarCrashBoss{Drawbar"VARAMM23","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory ShieldCheck,1{DrawBar"VARFLS6","VAREMPTY",Ammo1,horizontal,58,184;}}
IsSelected ChargeKickBoss{Drawbar"VARAMM12","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected NapalmBombBoss{Drawbar"VARAMM24","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected CrystalEyeBoss{Drawbar"VARAMM25","VAREMPTY",CrystalEyeCharge,horizontal,58,184;
	InInventory CrystalEyeDelay,1{DrawBar"VARFLS1","VNOBAR",CrystalEyeDelay,horizontal,58,184;}}
IsSelected DarkTankBoss{DrawBar"VARAMMO4","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected DarkSniperBoss{DrawBar"VARAMM51","VAREMPTY",Ammo1,horizontal,58,184;}

//MM6
WeaponAmmo BallAmmo{Drawbar"VARAMM15","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected CentaurFlashBoss{Drawbar"VARAMM26","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected FlameBlastBoss{Drawbar"VARAMM20","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected KnightCrushBoss{Drawbar"VARAMM27","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected PlantbarrierBoss{Drawbar"VARAMM28","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory ShieldCheck,1{DrawBar"VARFLS7","VAREMPTY",Ammo1,horizontal,58,184;}}
IsSelected SilverTomahawkBoss{Drawbar"VARAMM29","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected WindStormBoss{Drawbar"VARAMMO1","VAREMPTY",Ammo1,horizontal,58,184;
	Drawbar"06_7_VAR","VAREMPTY",FlyingKickAmmo,horizontal,58,176;}
IsSelected YamatoSpearBoss{Drawbar"VARAMM30","VAREMPTY",Ammo1,horizontal,58,184;}

//MM7
IsSelected FreezeCrackerBoss{Drawbar"VARAMM31","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected JunkShieldBoss{Drawbar"DUSVAR","DUSVMPTY",Ammo1,horizontal,58,184;}
IsSelected DangerWrapBoss{Drawbar"VARAMM33","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory DangerFly,1{DrawBar"VARFLS1","VNOBAR",DangerFly,horizontal,58,184;}}
IsSelected ThunderBoltBoss{Drawbar"VARAMM34","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory IBeFlyin,1{DrawBar"7D_A_VAR","VNOBAR",Ammo1,horizontal,58,184;}}
IsSelected WildCoilBoss{Drawbar"VARAMM35","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected SlashClawBoss{Drawbar"VARAMM36","VAREMPTY",Ammo1,horizontal,58,184;
	Drawbar"VARAMM57","VAREMPTY",Ammo2,horizontal,58,176;}
IsSelected NoiseCrushBoss{Drawbar"VARAMM37","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory NoiseCrushFlagB,1{DrawBar"VARFLS10","VAREMPTY",Ammo1,horizontal,58,184;}}
IsSelected ScorchWheelBoss{Drawbar"VARAMM38","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory WheelCount,1{DrawBar"VARFLS1","VNOBAR",WheelCount,horizontal,58,184;}}

//MM8
IsSelected TornadoHoldBoss{Drawbar"VARAMM40","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory TenguFlagH,1{DrawImage"TENJETA",290,8;}}
IsSelected AstroCrushBoss{Drawbar"VARAMM52","VAREMPTY",Ammo1,horizontal,58,184;
	Drawbar"VARAMM41","VAREMPTY",Ammo2,horizontal,58,176;}
IsSelected FlameSwordBoss{Drawbar"VARAMM42","VAREMPTY",Ammo1,horizontal,58,184;}
WeaponAmmo YoGeekyAmmo{Drawbar"VARAMM43","VAREMPTY",Ammo1,horizontal,58,184;}

IsSelected HomingSniperBoss{
	DrawImage"HSNCM0",61,188;
	InInventory SearchTargetID1,1{
		InInventory SearchTargetID1CD,1{DrawImage"HSNCJ0",61,188;}
		InInventory not SearchTargetID1CD,1{DrawImage"HSNCK0",61,188;}}
	DrawImage"HSNCM0",77,188;
	InInventory SearchTargetID2,1{
		InInventory SearchTargetID2CD,1{DrawImage"HSNCJ0",77,188;}
		InInventory not SearchTargetID2CD,1{DrawImage"HSNCK0",77,188;}}
	DrawImage"HSNCM0",93,188;
	InInventory SearchTargetID3,1{
		InInventory SearchTargetID3CD,1{DrawImage"HSNCJ0",93,188;}
		InInventory not SearchTargetID3CD,1{DrawImage"HSNCK0",93,188;}}
	DrawImage"HSNCM0",109,188;
	InInventory SearchTargetID4,1{
		InInventory SearchTargetID4CD,1{DrawImage"HSNCJ0",109,188;}
		InInventory not SearchTargetID4CD,1{DrawImage"HSNCK0",109,188;}}
	}
IsSelected IceWaveBoss{DrawBar"VARAMM45","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected FlashBombBoss{Drawbar"VARAMM46","VAREMPTY",Ammo1,horizontal,58,184;
	Drawbar"08_7_VAR","VAREMPTY",Ammo2,horizontal,58,176;
	InInventory CuteBombFlag,1{DrawBar"8G_A_VAR","VNOBAR",CuteBombFlag,horizontal,58,176;}}
IsSelected WaterBalloonBoss{DrawBar"AQUVARB","AQUVMP",Ammo1,horizontal,58,184;
	DrawBar"AQUVARG","AQUVMP",Ammo2,horizontal,58,176;}
IsSelected OriginalDuoBoss{DrawBar"08_O_VAR","VAREMPTY",Ammo1,horizontal,58,184;}
InInventory EvilFistC,1{Drawbar"VARAMMO5","VAREMPTY",EvilRageAmmo,horizontal,58,176;
	InInventory GigaType,8{DrawImage"ASTROI",50,176;}
	else InInventory GigaType,7{DrawImage"ICEWAVI",50,176;}
	else InInventory GigaType,6{DrawImage"WATERBI",50,176;}
	else InInventory GigaType,5{DrawImage"HSNIPERI",50,176;}
	else InInventory GigaType,4{DrawImage"TCLAWI",50,176;}
	else InInventory GigaType,3{DrawImage"TORNAHI",50,176;}
	else InInventory GigaType,2{DrawImage"FLSHBOMI",50,176;}
	else InInventory GigaType,1{DrawImage"FSWORDI",50,176;}
	}

//MM9
IsSelected MagmaBazookaBoss{Drawbar"MGMVAR","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected HornetChaserBoss{DrawBar"HONVAR","VAREMPTY",Ammo1,horizontal,58,184;
	DrawBar"09_6_VAR","VAREMPTY",Ammo2,horizontal,58,176;
	InInventory HornetFlagH,1{DrawImage"HORNJETA",290,8;}}
IsSelected BlackHoleBombBoss{Drawbar"GALBARJ","VAREMPTY",Ammo1,horizontal,58,184;
	//InInventory BlackHoleFlag,1{DrawImage"HORNJETA",290,8;}
	DrawImage "C_09H0X",188,185;}

//MMB
IsSelected LightningBoltBoss{Drawbar"VARAMM53","VAREMPTY",Ammo1,horizontal,58,184;
	DrawBar"DYNAVAR","VAREMPTY",Ammo2,horizontal,58,176;}
IsSelected IceWallBoss{Drawbar"VARAMM54","VAREMPTY",Ammo1,horizontal,58,184;
	Drawbar"COLDVAR","VAREMPTY",Ammo2,horizontal,58,176;}
IsSelected SpreadDrillBoss{DrawBar"VARAMM55","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected RemoteMineBoss{Drawbar"VARAMM56","VAREMPTY",Ammo1,horizontal,58,184;
	Drawbar"VARAMMO1","VAREMPTY",Ammo2,horizontal,58,176;
	//DrawString SMALLFONT,WhiteOutLine,"BOOTY:",188,184,0,alignment(left);
	DrawImage"PIRABOTY",198,185;
	DrawNumber 5,CMBHPFONT,Untranslated,PirateTreasureStack,alignment(left),208,185;//234
}
IsSelected WaveBurnerBoss{Drawbar"VARAMM57","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory BossBurnerAmmo2,84{Drawbar"VARAMX52","VAREMPTY",Ammo2,horizontal,58,176;}
	else {Drawbar"VARAMM52","VAREMPTY",Ammo2,horizontal,58,176;}}
WeaponAmmo SnortSnortAmmo{Drawbar"VARAMM58","VAREMPTY",Ammo1,horizontal,58,184;}

//MMWT
IsSelected MonkeyKingBoss{Drawbar"BRGVAR","VAREMPTY",ammo1,horizontal,58,184;}
IsSelected SandySandBoss{Drawbar"MWSVAR","VAREMPTY",ammo1,horizontal,58,184;
	Drawbar"WT_2_VAR","VAREMPTY",ammo2,horizontal,58,176;
	InInventory MWSShieldCharge,1{DrawBar"VARFLS1","VNOBAR",MWSShieldCharge,horizontal,58,176;}}
IsSelected PigsyBoss{DrawBar"VARAMMO5","VAREMPTY",HyperStormHeat,horizontal,58,184;
DrawBar"VARAMMO3","VNOBAR",HyperStormCold,horizontal,58,184;}
IsSelected PiggyBoss{DrawBar"VARAMMO5","VAREMPTY",HyperStormHeat,horizontal,58,184;
DrawBar"VARAMMO3","VNOBAR",HyperStormCold,horizontal,58,184;}

//MMK
IsSelected MirrorBusterBoss{Drawbar"VARAMM49","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory MirrorBusterFlag,1{DrawBar"VARFLS1","VNOBAR",MirrorBusterFlag,horizontal,58,184;}}
IsSelected ScrewCrusherBoss,BounceCrusherBoss{Drawbar"VARAMM50","VAREMPTY",Ammo1,horizontal,58,184;}
IsSelected BalladeCrackerBoss{Drawbar"VARAMM51","VAREMPTY",Ammo1,horizontal,58,184;
	InInventory BalladeChargeFlag,1{DrawBar"KC_A_VAR","VNOBAR",BalladeChargeFlag,horizontal,58,184;}}

//Inventory

InInventory HomingLockedVision,1{DrawImage"HomVisA",0,0;}

InInventory ProtoJetCounter,1{InInventory ProtoJetCounter,5{DrawImage"PJETF0",290,8;}
else InInventory ProtoJetCounter,1{DrawImage"PJETE0",290,8;}}

InInventory ProtoMarineCounter,1{InInventory IsUnderWater,1{
		InInventory ProtoMarineCounter,20{DrawImage"PJETQ0",290,16;}
		else InInventory ProtoMarineCounter,1{DrawImage"PJETR0",290,16;}}
	InInventory Not IsUnderWater,1{DrawImage"PJETP0",290,16;}}

InInventory BassJetCounter,1{InInventory BassJetCounter,5{DrawImage"TRBL20",282,12;}
else InInventory BassJetCounter,1{DrawImage"TRBL10",282,12;}}

InInventory BassMarineCounter,1{InInventory IsUnderWater,1{
		InInventory BassMarineCounter,20{DrawImage"TRBLY0",298,20;}
		else InInventory BassMarineCounter,1{DrawImage"TRBLX0",298,20;}}
	InInventory Not IsUnderWater,1{DrawImage"TRBLZ0",298,20;}}

InInventory MegamanUpgradeFlag,1{DrawImage"MEGAUPGD",122,176;}
InInventory RockmanUpgradeFlag,1{DrawImage"ROCKUPGD",122,176;}
InInventory ProtomanUpgradeFlag,1{DrawImage"PROTUPGD",122,176;}
InInventory BassUpgradeFlag,1{DrawImage"BASSUPGD",122,176;}
InInventory DuoUpgradeFlag,1{DrawImage"DUOUPGD",122,176;}
InInventory DocUpgradeFlag,1{DrawImage"DOCUPGD",122,176;}

InInventory TrioExodiaFlag,1{DrawImage"ERO9S0",302,16;}

//Classes end

}