actor ClassBase_CBM2 : ClassBase_CBM1//Contains most of the new damagetypes/flags
{//'ClassBase1' contains the base 'Pain' and 'Death' states

player.damagescreencolor "white", 0.0, FlashStopper
player.damagescreencolor "white", 0.0, FlashBulb
player.damagescreencolor "yellow"//, 0.333
//player.damagescreencolor "FF D8 00", 0.333
//player.damagescreencolor "Black"

player.maxhealth 1000
health 1000
//mass 999999//Core is 9999

//+NOSKIN

//+LONGMELEERANGE//Used to sync ammo usage for copywep altfire
//+SHORTMISSILERANGE
//+NOMENU

//Player.GruntSpeed 12.0

damagefactor "spawntelefrag", 0.0
damagefactor "Crush", 1.0

ReactionTime 0

var int user_wepangle;
var int user_weppitch;

var int user_Rock_OnFire[64];
var int user_DrLight_OnFire[64];
var int user_DrWily_OnFire[64];

states
{

///////////////////
//Nothing Special Based
///////////////////

//Nothing uses these?
Pain.Oil:Pain.Mine:Pain.MirrorBuster:
"----" H 0
goto Pain

//0.75x Hitstun (goto Pain{0})
//Pain.Normal:goto Pain

Pain.YellowDevilB:goto Pain0
Pain.FragBomber:goto Pain0
Pain.SkullSniper:goto SkullBarrier_Weakness
Pain.CentaurArrow:goto CentaurFlash_Weakness
Pain.PlantTrapper2:goto PlantBarrier_Weakness
Pain.DynamoTendrilZap:goto LightningBolt_Weakness
Pain.RainbowGalaxy:goto BlackHoleBomb_Weakness

Pain.ProtoM_Shot2:Pain.ProtoM_Shot3:Pain.MegaM_Shot3:Pain.MegaM_PowerFist2:Pain.MegaM_PowerFist3:goto Pain0
Pain.Duo_Fist1:Pain.Duo_Fist2:Pain.Duo_Fist3:goto Pain0

Pain.Rock_MegaBall:goto MegaBall_Weakness
Pain.MegaCutBall:goto RollingCutter_Weakness
Pain.MegaGutsBall:goto SuperArm_Weakness
Pain.MegaIceBall:goto IceSlasher_Weakness
Pain.MegaBombBall:goto HyperBomb_Weakness
Pain.MegaFireBall:goto FireStorm_Weakness
Pain.MegaElecBall:goto ThunderBeam_Weakness
Pain.MegaTimeBall:goto TimeSlow_Weakness
Pain.MegaOilBall:goto OilSlider_Weakness

Pain.CutM_Cutter:goto RollingCutter_Weakness
Pain.GutsM_Rock:Pain.GutsM_RockBit:goto SuperArm_Weakness
Pain.BombM_Boom:goto HyperBomb_Weakness
Pain.FireM_Storm:Pain.FireM_StormBit:goto FireStorm_Weakness
Pain.ElecM_Beam:Pain.ElecM_Zap:Pain.ElecM_TeleZap:goto ThunderBeam_Weakness
Pain.OilM_Flame:Pain.OilM_Snap:goto OilSlider_Weakness

Pain.MetalM_Blade:Pain.MetalM_Chain:goto MetalBlade_Weakness
Pain.AirM_Shot:goto AirShooter_Weakness
Pain.BubbleM_Lead:goto BubbleLead_Weakness
Pain.HeatM_Toss:Pain.HeatM_Shot:goto AtomicFire_Weakness
Pain.WoodM_Leaf:Pain.WoodM_Shield:goto LeafShield_Weakness

Pain.WoodM_Slam:
Pain.DrWily_Pan:Pain.DrWily_Elec:Pain.Alien_Boobeam:goto Pain0

Pain.NeedleM_Stab:goto Pain0
Pain.GeminiM_Laser:goto GeminiLaser_Weakness
Pain.HardM_Knuckle:goto HardKnuckle_Weakness
Pain.SnakeM_Snake:Pain.SnakeM_Snake2:goto SearchSnake_Weakness
Pain.ShadowM_Caltrop:goto ShadowBlade_Weakness

Pain.ToadM_Rain:goto RainFlush_Weakness
Pain.DrillM_Bomb:goto DrillBomb_Weakness
Pain.PharaohM_Shot:Pain.PharaohM_Shot3:Pain.PharaohM_Wave:goto PharaohShot_Weakness
Pain.DustM_Crush:Pain.DustM_CrushBit:goto DustCrusher_Weakness
Pain.DiveM_Tackle:goto Pain0
Pain.SkullM_Shot:Pain.SkullM_ShotX:goto SkullBarrier_Weakness

Pain.WaveM_Water:goto WaterWave_Weakness
Pain.StoneM_Hand:goto PowerStone_Weakness
Pain.GyroM_Shot:goto GyroAttack_Weakness
Pain.ChargeM_Coal:goto Pain0
Pain.NapalmM_Missile:goto NapalmBomb_Weakness
Pain.CrystalM_Eye:Pain.CrystalM_EyeShot:goto CrystalEye_Weakness
Pain.DM3_Shot:Pain.DM4_Shot:goto Pain0

Pain.BlizzardM_Shot:Pain.BlizzardM_Shot2:goto BlizzardAttack_Weakness
Pain.FlameM_Shot:goto FlameBlast_Weakness
Pain.KnightM_Mace:goto KnightCrush_Weakness
Pain.PlantM_Toss:goto PlantBarrier_Weakness
Pain.TomahawkM_Shot:goto SilverTomahawk_Weakness

Pain.FreezeM_Shot:Pain.FreezeM_SpikeC:goto FreezeCracker_Weakness
Pain.BurstM_Shot:Pain.BurstM_Boom:goto DangerWrap_Weakness
Pain.CloudM_Shot:Pain.CloudM_Zapper:Pain.CloudM_Spark:Pain.CloudM_Charge:goto ThunderBolt_Weakness
Pain.SpringM_Fist:goto WildCoil_Weakness
Pain.ShadeM_Shot:Pain.ShadeM_Shot2:goto NoiseCrush_Weakness

Pain.AstroM_Meteor:goto AstroCrush_Weakness
Pain.SearchM_Shot:Pain.SearchM_LockShot:goto HomingSniper_Weakness
Pain.SearchM_Disc:goto Pain0
Pain.FrostM_Shot:goto IceWave_Weakness
Pain.GrenadeM_Kamikaze:goto Pain0
Pain.Trio_Shot2:Pain.Trio_Shot3:goto Pain0
Pain.TrioAstroCrush:goto AstroCrush_Weakness
Pain.TrioHomingSniper:goto HomingSniper_Weakness
Pain.TrioIceWave:goto IceWave_Weakness

Pain.ConcreteM_TossBit:goto ConcreteShot_Weakness
Pain.SplashW_Fish1:Pain.SplashW_Fish2:Pain.SplashW_Fish3:goto Pain0
Pain.PlugM_Ball:Pain.PlugM_Prong:Pain.PlugM_Plugged:goto PlugBall_Weakness
Pain.MagmaM_Shot1:Pain.MagmaM_Shot2:goto MagmaBazooka_Weakness
Pain.GalaxyM_Shot:goto BlackHoleBomb_Weakness

Pain.PumpM_ShieldToss:goto WaterShield_Weakness
Pain.CommandoM_Shot:Pain.CommandoM_Mine:goto CommandoBomb_Weakness
Pain.NitroM_Shot:goto WheelCutter_Weakness

Pain.AstroM_Shot:Pain.AstroM_CloneShot:goto CopyVision_Weakness
Pain.DynamoM_Bolt:Pain.DynamoM_TaggedBolt:Pain.DynamoM_Orb:Pain.DynamoM_DishZap:goto LightningBolt_Weakness
Pain.MagicM_Orb:Pain.MagicM_Ball:goto MagicCard_Weakness
Pain.King_ShieldDrop:goto Pain0

Pain.Mercury_Swipe:Pain.Mercury_Swipe2:goto GrabBuster_Weakness
Pain.Mercury_Blob:Pain.Mercury_Slam:goto Pain0
Pain.Venus_Bomb:Pain.Venus_Acid:Pain.Venus_BoomJump:goto BubbleBomb_Weakness
Pain.Mars_Photon:Pain.Mars_Mortar:goto PhotonMissile_Weakness
Pain.Uranus_ShotBit:goto DeepDigger_Weakness
Pain.Neptune_Shot:Pain.Neptune_ShotBit:goto SaltWater_Weakness

Pain.HSH_ShotHot:goto HyperStormH_Weakness

Pain.Enker_Shot:Pain.Enker_Shot2:goto MirrorBuster_Weakness
Pain.Punk_Shot:goto ScrewCrusher_Weakness
Pain.Ballade_Shot:Pain.Ballade_Mine:goto BalladeCracker_Weakness
Pain.Quint_SakuLand:goto Sakugarne_Weakness



//No Hitstun (goto Pain+2)

//Pain.:

Pain.WaveBuster:Pain.DocScanner:Pain.DarkShield:Pain.PlantTrapper:goto Pain2
Pain.BusterRodPole:goto BusterRodG_Weakness

Pain.ProtoM_Shot:Pain.ProtoM_Strike:Pain.MegaM_Shot:Pain.MegaM_PowerFist:Pain.MegaM_JetShot:
Pain.Bass_Shot:Pain.Bass_TrebleShot:
Pain.Rock_Kick:Pain.Roll_Whiff:Pain.Roll_Cleanse:Pain.Auto_Firework:
Pain.LightRyu_FireBurn:Pain.LightRyu_ShinkuShot:Pain.LightRyu_SpinKick:

Pain.BBA_Punch:Pain.BBA_Pistol:Pain.BBA_Shotgun:Pain.BBA_Chaingun:Pain.BBA_SSG:
Pain.BBA_Rocket:Pain.BBA_RocketBoom:Pain.BBA_Plasma:Pain.BBA_BFG:Pain.BBA_BFGSplash:
goto Pain2

Pain.MegaFireBallBurn:goto FireStorm_Weakness2

Pain.CutM_Slice:goto RollingCutter_Weakness2
Pain.GutsM_Punch:goto Pain2
Pain.IceM_Slasher:goto IceSlasher_Weakness2
Pain.FireM_Spin:Pain.FireM_Wave:goto FireStorm_Weakness2
Pain.TimeM_Arrow:Pain.TimeM_ArrowSlow:Pain.TimeM_ArrowFast:goto Pain2
Pain.OilM_Shot:Pain.OilM_Blob:Pain.OilM_Slider:Pain.OilM_Board:goto OilSlider_Weakness2

Pain.BubbleM_Shot:goto Pain2
Pain.QuickM_Shot:Pain.QuickM_Rapid:goto QuickBoomerang_Weakness2
Pain.CrashM_Clash:goto CrashBomb_Weakness2
Pain.FlashM_Shot:goto Pain2
Pain.HeatM_Pillar:Pain.HeatM_Tackle:goto AtomicFire_Weakness2
Pain.WoodM_Seed:goto LeafShield_Weakness2
Pain.DrWily_Wave:Pain.DrWily_Suit:Pain.DrWily_FireBurn:Pain.Alien_Shot:Pain.Alien_BooShot:goto Pain2

Pain.NeedleM_Shot:goto NeedleCannon_Weakness2
Pain.MagnetM_Shot:goto MagnetMissile_Weakness2
Pain.GeminiM_Shot:Pain.GeminiM_CloneShot:goto Pain2
Pain.HardM_Flat:goto Pain2
Pain.TopM_Toss:goto Pain2
Pain.TopM_Windup:Pain.TopM_Spin2:goto TopSpin_Weakness2
Pain.DocRobot_Shot:Pain.DocRobot_Scan:goto Pain2

Pain.BrightM_Shot:goto Pain2
Pain.ToadM_Rain2:goto RainFlush_Weakness2
Pain.DrillM_Stab:goto Pain2
Pain.PharaohM_Hold:goto PharaohShot_Weakness2
Pain.PharaohM_Aura:goto Pain2
Pain.DustM_Shot:goto Pain2
Pain.DiveM_Torpedo:goto DiveMissile_Weakness2

Pain.GravityM_Shot:goto Pain2
Pain.GravityM_Dunked:goto GravityHold_Weakness2
Pain.WaveM_Hook:goto Pain2
Pain.StoneM_Head:Pain.StoneM_Quake:goto Pain2
Pain.StoneM_Dunked:goto GravityHold_Weakness2
Pain.StarM_Crash:Pain.StarM_Throw:Pain.StarM_Throw2:Pain.StarM_Flurry:goto StarCrash_Weakness2
Pain.ChargeM_Ram:Pain.ChargeM_Ram2:goto ChargeKick_Weakness2
Pain.NapalmM_Bomb:goto NapalmBomb_Weakness2
Pain.DM1_Shot:Pain.DM1_Shot2:Pain.DM1_Boost:Pain.DM2_Shield:Pain.DM2_TossSpin:Pain.DM2_Toss:
Pain.DM3_Rapid:Pain.DM4_Shield:Pain.DM4_TossSpin:
goto Pain2

Pain.CentaurM_Shot:goto Pain2
Pain.CentaurM_Flash:goto CentaurFlash_Weakness2
Pain.PlantM_Shot:goto Pain2
Pain.PlantM_Barrier:goto PlantBarrier_Weakness2
Pain.WindM_Crush:goto Pain2
Pain.YamatoM_Shot:goto YamatoSpear_Weakness2
Pain.YamatoM_Spin:goto Pain2

Pain.FreezeM_ShotBit:Pain.FreezeM_SpikeF:goto FreezeCracker_Weakness2
Pain.JunkM_Shot:Pain.JunkM_Shield:goto JunkShield_Weakness2
Pain.JunkM_Punch:goto Pain2
Pain.SpringM_Coil:goto WildCoil_Weakness2
Pain.TurboM_Wheel:Pain.TurboM_WheelBit:goto ScorchWheel_Weakness2
Pain.TurboM_Ram:goto Pain2

Pain.TenguM_Dunked:goto GravityHold_Weakness2
Pain.TenguM_Pod:goto TornadoHold_Weakness2
Pain.SwordM_SwipeBit:goto FlameSword_Weakness2
Pain.ClownM_Claw:Pain.ClownM_Peg:Pain.ClownM_Aura:Pain.ClownM_Aura2:goto ThunderClaw_Weakness2
Pain.FrostM_Punch:goto Pain2
Pain.AquaM_Tower:goto WaterBalloon_Weakness2
Pain.ODuo_Shot:Pain.ODuo_Punch:Pain.ODuo_MeteorBoom:Pain.ODuo_Crush:
Pain.TrioThunderClaw:goto ThunderClaw_Weakness2

Pain.ConcreteM_Flat:goto Pain2
Pain.TornadoM_Dunked:goto GravityHold_Weakness2
Pain.SplashW_Sing:goto Pain2
Pain.JewelM_Shot:Pain.JewelM_ShotBit:Pain.JewelM_ShotBoom:goto JewelSatellite_Weakness2
Pain.HornetM_Shot:goto HornetChaser_Weakness2
Pain.GalaxyM_Ram:goto BlackHoleBomb_Weakness2
Pain.FakeM_Shot:Pain.FakeRepeater:goto Pain2

Pain.BladeM_Shot:Pain.BladeM_Swipe:goto TripleBlade_Weakness2
Pain.PumpM_Handle:goto Pain2
Pain.CommandoM_Crush:goto Pain2
Pain.CommandoM_Wave:Pain.CommandoM_WaveBit:goto CommandoBomb_Weakness2
Pain.SolarM_Blaze:goto SolarBlaze_Weakness2

Pain.TenguM_Shot:goto TenguBlade_Weakness2
Pain.DynamoM_Tag:goto Pain2
Pain.ColdM_Wall:goto IceWall_Weakness2
Pain.ColdM_Punch:goto Pain2
Pain.GroundM_Stab:Pain.GroundM_ShotCeil:Pain.GroundM_GigaDrill:goto SpreadDrill_Weakness2
Pain.PirateM_Hose:Pain.PirateM_BubbleRam:goto Pain2
Pain.BurnerM_Shot:Pain.BurnerM_Shot2:Pain.BurnerM_DiveLand:Pain.BurnerM_FireLine:goto WaveBurner_Weakness2
Pain.MagicM_Bird:goto Pain2
Pain.King_Slash:Pain.King_AxeSpin:Pain.King_Laser:Pain.King_ShieldLaser:goto Pain2

Pain.Mercury_Shot:goto GrabBuster_Weakness2
Pain.Venus_Shot:Pain.Venus_Shot2:goto BubbleBomb_Weakness2
Pain.Mars_Shot:goto PhotonMissile_Weakness2
Pain.Jupiter_Shot:goto ElectricShock_Weakness2
Pain.Uranus_Flat:Pain.Uranus_Gored:goto Pain2
Pain.Neptune_Stomp:Pain.Neptune_Stomp2:Pain.Neptune_Crush:goto Pain2

Pain.BRG_Bash:Pain.BRG_Spin:goto BusterRodG_Weakness2
Pain.MWS_Shot:goto Pain2
Pain.HSH_Shot:goto HyperStormH_Weakness2
Pain.HSH_Booster:goto Pain2

Pain.Punk_Rapid:goto ScrewCrusher_Weakness2
Pain.Quint_Shot:goto Pain2
Pain.Quint_SakuLand2:Pain.Quint_Spin:goto Sakugarne_Weakness2

Pain.Punch:
Pain.Flatten:
Pain.CountBombClear:
"----" H 0
Goto Pain+2

///////////////////
//Sound Based / Power Protects
///////////////////

Pain.ProtoM_Strike:
"----" H 0 A_GiveInventory("ProtoM_StrikeProtect",1)
goto Pain2

Pain.IceM_Slow2:
"----" H 0 A_GiveInventory("IceM_Slow2Protect",1)
goto Pain.IceM_Slow

Pain.AirM_Wall:
"----" H 0 A_GiveInventory("AirM_WallProtect",1)
goto AirShooter_Weakness

Pain.WoodM_LeafRain:
"----" H 0 A_GiveInventory("WoodM_LeafRainProtect",1)
goto LeafShield_Weakness

Pain.WoodM_SeedTrap:
"----" H 0 A_GiveInventory("WoodM_SeedTrapProtect",1)
goto LeafShield_Weakness2
Pain.WoodM_SeedStun:
"----" H 0 A_GiveInventory("WoodM_SeedStunProtect",1)
"----" H 0 A_Stop
"----" H 0 A_SpawnItemEx("ShockFX",4,0,32)
"----" H 0 A_GiveInventory("Core_ShockedStopGiver",1)
goto LeafShield_Weakness

Pain.TopM_Spin:
"----" H 0 A_GiveInventory("TopM_SpinProtect",1)
goto TopSpin_Weakness2

Pain.SparkM_Lob:
"----" H 0 A_GiveInventory("SparkM_LobProtect",1)
Goto Pain.SparkShock

Pain.ShadowM_Blade1:
"----" H 0 A_GiveInventory("ShadowM_Blade1Protect",1)
goto ShadowBlade_Weakness2
Pain.ShadowM_Blade2:
"----" H 0 A_GiveInventory("ShadowM_Blade2Protect",1)
goto ShadowBlade_Weakness2

Pain.RingM_Ring1:
"----" H 0 A_GiveInventory("RingM_Ring1Protect",1)
goto RingBoomerang_Weakness2
Pain.RingM_Ring2:
"----" H 0 A_GiveInventory("RingM_Ring2Protect",1)
goto RingBoomerang_Weakness2

Pain.DiveM_Mine:
"----" H 0 A_GiveInventory("DiveM_MineProtect",1)
Goto Pain1

Pain.DiveSonar:
"----" H 0 A_GiveInventory("DiveSonarProtect",1)
goto DiveMissile_Weakness2

Pain.StoneM_Rock:
"----" H 0 A_GiveInventory("StoneM_RockProtect",1)
goto PowerStone_Weakness

Pain.StoneM_Leap:
"----" H 0 A_GiveInventory("StoneM_LeapProtect",1)
Goto Pain2

Pain.CrystalM_EyeBit:
"----" H 0 A_GiveInventory("CrystalM_EyeBitProtect",1)
goto CrystalEye_Weakness2

Pain.FlameM_Pillar:
"----" H 0 A_GiveInventory("FlameM_PillarProtect",1)
goto FlameBlast_Weakness

Pain.WindM_Shot:
"----" H 0 A_GiveInventory("WindM_ShotProtect",1)
Goto Pain_90

Pain.JunkM_Cube:
"----" H 0 A_GiveInventory("JunkM_CubeProtect",1)
goto JunkShield_Weakness

Pain.Pluto_Swipe:
"----" H 0 A_PlaySoundEx("weapons/mm7/slashclawhit","SoundSlot5")
Goto Pain
Pain.SlashM_Swipe:
"----" H 0 A_PlaySoundEx("weapon/slashclawhit","SoundSlot5")
"----" H 0 A_GiveInventory("SlashM_SwipeProtect",1)
goto SlashClaw_Weakness2

Pain.ClownM_ClawChain:
"----" H 0 A_GiveInventory("ClownM_ClawChainProtect",1)
goto ThunderClaw_Weakness2

Pain.TrioFlameSword:
"----" H 0 A_GiveInventory("TrioFlameSwordProtect",1)
goto Pain.FlameSword+1

Pain.SwordM_Torso:
"----" H 0 A_GiveInventory("SwordM_TorsoProtect",1)
Goto Pain.SwordM_Swipe+3

Pain.SwordM_Swipe:
"----" H 0 A_GiveInventory("SwordM_SwipeProtect",1)
"----" H 0 A_PlaySoundEx("weapon/flamehit","SoundSlot5")
"----" HH 0 A_SpawnItemEx("FlameSwordBitB",0,0,0,random(-10,10),random(-10,10),random(10,15),random(0,359))
goto FlameSword_Weakness2

Pain.TrioFlashBomb:
"----" H 0 A_GiveInventory("TrioFlashBombProtect",1)
Pain.TrioFlashBomb2:
"----" H 0 A_GiveInventory("PainHitstun_90_P",1)
goto FlashBomb_Weakness

Pain.AquaM_Cannon:
"----" H 0 A_JumpIfInventory("AquaM_CannonProtect",1,2)
"----" H 0 A_GiveInventory("AquaM_CannonProtect",1)
"----" H 0
goto WaterBalloon_Weakness2

Pain.ODuo_Wave:
"----" H 0 A_GiveInventory("ODuo_WaveProtect",1)
Goto Pain1

Pain.Trio_Beam:
"----" H 0 A_GiveInventory("Trio_Beam_P",1)
Goto Pain2

Pain.ColdM_WallFloor:
Pain.ColdM_WallAir:
"----" H 0 A_GiveInventory("ColdM_WallMoveProtect",1)
"----" H 0 A_GiveInventory("ColdM_WallMoveProtect0",1)
goto IceWall_Weakness1

Pain.GroundM_Shot1:
Pain.GroundM_Shot2:
Pain.GroundM_Shot3:
"----" H 0 A_JumpIfInventory("GroundM_DrillProtect",1,2)
"----" H 0 A_PlaySoundEx("weapon/spreaddrillhit","SoundSlot5")
"----" H 0 A_GiveInventory("GroundM_DrillProtect",1)
goto SpreadDrill_Weakness1

Pain.PirateM_Boom:
"----" H 0 A_GiveInventory("PirateM_BoomProtect",1)
goto RemoteMine_Weakness2

Pain.TornadoM_Wall:
"----" H 0 A_GiveInventory("TornadoM_WallProtect",1)
goto TornadoBlow_Weakness2

Pain.SplashW_Laser:
"----" H 0 A_GiveInventory("SplashW_LaserProtect",1)
goto LaserTrident_Weakness2
Pain.SplashW_Laser2:
"----" H 0 A_GiveInventory("SplashW_Laser2Protect",1)
goto LaserTrident_Weakness2

Pain.GalaxyM_BHB:
"----" H 0 A_GiveInventory("GalaxyM_BHBProtect4",1)
"----" H 0 A_GiveInventory("GalaxyM_BHBProtect",1)
"----" H 0 A_JumpIfInventory("GalaxyM_BHB_EscapeHasten",1,2)
"----" H 0 A_Stop
"----" H 0
goto BlackHoleBomb_Weakness2

Pain.PumpM_Shield:
"----" H 0 A_GiveInventory("PumpM_ShieldProtect",1)
goto WaterShield_Weakness2

Pain.ChillM_Spike:
"----" H 0 A_GiveInventory("ChillM_SpikeProtect",1)
goto ChillSpike_Weakness2

Pain.SolarM_BlazeWave:
"----" H 0 A_GiveInventory("SolarM_BlazeWaveProtect",1)
goto SolarBlaze_Weakness2

Pain.Punk_Ram:
"----" H 0 A_GiveInventory("Punk_RamProtect",1)
goto ScrewCrusher_Weakness2

Pain.Quint_Wave:
"----" H 0 A_GiveInventory("Quint_WaveProtect",1)
Goto Pain2

Pain.Quint_Rock:
"----" H 0 A_GiveInventory("Quint_RockProtect",1)
Goto Pain_90

Pain.Terra_SparkChaser:
"----" H 0 A_GiveInventory("Terra_SparkChaserProtect",1)
goto SparkChaser_Weakness2

Pain.Jupiter_Beam:
"----" H 0 A_GiveInventory("Jupiter_BeamProtect",1)
goto ElectricShock_Weakness2

Pain.Uranus_Stampede:
"----" H 0 A_GiveInventory("Uranus_StampedeProtect",1)
Goto Pain2

Pain.Pluto_Dash1:
"----" H 0 A_GiveInventory("Pluto_Dash1Protect",1)
goto BreakDash_Weakness2
Pain.Pluto_Dash2:
"----" H 0 A_GiveInventory("Pluto_Dash2Protect",1)
goto BreakDash_Weakness2

Pain.Neptune_SaltQuake:
"----" H 0 A_GiveInventory("Neptune_SaltQuakeProtect",1)
goto SaltWater_Weakness2

///////////////////
//Movement Based (Stops/Slows)
///////////////////

//0.9x Hitstun
Pain.MegaM_Shot2:
Pain.SnakeM_Poke:
Pain.DrillM_DigUp:
Pain.WaveM_Shot:
Pain.TomahawkM_Feather:
Pain.DynamoM_Dish:Pain.DynamoTendril:Pain.GroundM_DigUp:
Pain.Pluto_Shot:
"----" H 0
Goto Pain_90

Pain.AquaM_Shot:Pain.AquaM_TowerBit:Pain.AquaM_CannonBit:Pain.TrioWaterBalloon:
"----" H 0 A_GiveInventory("PainHitstun_90_P",1)
goto WaterBalloon_Weakness1
Pain.PirateM_Mine:
"----" H 0 A_GiveInventory("PainHitstun_90_P",1)
goto RemoteMine_Weakness1
Pain.NitroM_Shot2:
"----" H 0 A_GiveInventory("PainHitstun_90_P",1)
goto WheelCutter_Weakness1

Pain.TimeBender:
Pain.FlashM_Stopper:
"----" H 0 A_GiveInventory("TimeStopperWeakHit_P")
goto Fun_TimeStop

Pain.Terra_Stopper:
"----" H 0 A_GiveInventory("Terra_StopperProtect",1)
"----" H 0 A_PlaySoundEx("weapon/TerraStun","SoundSlot5")
goto Echo_TimeStop//Pain_TimeStop

Pain.LightRyu_Stop:
"####" H 0 A_SpawnItemEx("PainLightRyu_StopHit")
"####" H 0 A_GiveInventory("LightRyu_StopProtect",1)
"####" H 0 A_GiveInventory("LightRyu_StopStart_P")
"####" H 40 A_Stop
Goto Pain2

Pain.BrightM_Stopper:
"----" H 0 A_SpawnItemEx("BossFlashStoppered")
goto FlashStopper_Weakness2
Pain.ChillM_Freeze:
"----" H 0 A_SpawnItemEx("ChillFreezeStoppered")
goto ChillSpike_Weakness2

Pain.FreezeM_Frozen:
"----" H 0 A_GiveInventory("PainFreezeM_Frozen_P")//SoundSlot5
goto FreezeCracker_Weakness2
Pain.FreezeM_Iced:
"----" H 0 A_GiveInventory("PainFreezeM_Iced_P")
goto FreezeCracker_Weakness2
Pain.FrostM_Iced:
Pain.FrostM_Iced2:
"----" H 0 A_GiveInventory("PainFrostM_Iced_P")
goto IceWave_Weakness2
Pain.ColdM_Freeze:
"----" H 0 A_GiveInventory("PainColdM_Freeze_P")//SoundSlot5
goto IceWall_Weakness2

Pain.CrashM_Mine:
goto Pain.CrashBomb

Pain.LightRyu_ShinkuStop:
"----" H 0 A_Stop
Goto Pain2

Pain.ConcreteM_Toss:
"----" H 0 A_GiveInventory("PainHitstun_0_P")
goto ConcreteShot_Weakness
Pain.ClownM_Ground:
"----" H 0 A_JumpIfInventory("ClownM_GroundProtect",1,2)
"----" H 0 A_GiveInventory("PainHitstun_0_P")
"----" H 0 A_GiveInventory("ClownM_GroundProtect",1)
goto ThunderClaw_Weakness2

Pain.TimeM_Slow:Pain.MegaTimeBall:
goto Pain.TimeSlow

Pain.MegaIceBall:
"----" H 0 A_GiveInventory("PainHitstun_0_P")
Pain.IceM_Slow:Pain.IceM_Icicle:Pain.IceM_Sculpt:
"----" H 0 A_GiveInventory("CoolestIceSlow_P")
goto IceSlasher_Weakness2
Pain.HornetM_Slow:
"----" H 0 A_GiveInventory("HornetM_Slow_P")
goto HornetChaser_Weakness2
Pain.SlashM_Goop:
"----" H 0 A_GiveInventory("SlashM_GoopSlowGiver",1)
goto Pain
Pain.ChillM_Shot:
"----" H 0 A_GiveInventory("ChillM_ShotSlow1Giver",1)
"----" H 0 A_GiveInventory("ChillM_ShotSlow2Giver",1)
"----" H 0 A_GiveInventory("ChillM_ShotSlow3Giver",1)
goto ChillSpike_Weakness1

Pain.ConcreteM_Shot:
goto Pain.ConcreteShot

Pain.BurnerM_HalfShock:
"----" H 0 A_SpawnItemEx("ShockFX",4,0,32)
"----" H 0 A_GiveInventory("HalfShockedStopGiver",1)
"----" H 0 A_GiveInventory("BurnerTrapProtect",1)
Goto Pain1
Pain.BurnerM_Shock:
"----" H 0 A_GiveInventory("BurnerTrapProtect",1)
Pain.TrioHomingSniperShock:
Pain.NeutralStopShock:
"----" H 0 A_Stop//A_GiveInventory("PainHitstun_0_P")
"----" H 0 A_SpawnItemEx("ShockFX",4,0,32)
"----" H 0 A_GiveInventory("Core_ShockedStopGiver",1)
Goto Pain1

Pain.FakeM_Baton:
"----" H 0 A_JumpIfInventory("PowerFakeM_Baton",1,3)
"----" H 0 A_SpawnItemEx("ShockFX",4,0,32)
"----" H 0 A_GiveInventory("PowerFakeM_Baton",1)
"----" H 0
Goto Pain2

Pain.SparkM_Shock:Pain.SparkM_Shock2:
goto Pain.SparkShock

Pain.CentaurM_Shock:
"----" H 0 A_SpawnItemEx("SparkShockFX",6,0,32)
"----" H 0 A_GiveInventory("Core_ShockedStopGiver",1)
goto CentaurFlash_Weakness2

Pain.JunkM_Shock:
"----" H 0 A_SpawnItemEx("SparkShockFX",6,0,32)
"----" H 0 A_GiveInventory("Core_ShockedStopGiver",1)
goto JunkShield_Weakness2

Pain.Roll_CleanseShock:
"----" H 0 A_GiveInventory("Roll_CleanseShockProtect",1)
Pain.HardM_Shock:
Pain.StoneM_Shock:Pain.DM2_Shock:Pain.DM3_Shock:
Pain.King_XShock:
Pain.Neptune_Shock:
Pain.NeutralShock:
"----" H 0 A_SpawnItemEx("SparkShockFX",6,0,32)
"----" H 0 A_GiveInventory("Core_ShockedStopGiver",1)
Goto Pain2

Pain.SparkM_Zap:
"----" H 0 A_SpawnItemEx("ShockFX",4,0,32)
"----" H 0 A_GiveInventory("HalfShockedStopGiver",1)
goto SparkShock_Weakness1

Pain.ConcreteM_HalfShock:
Pain.NeutralShockW:
"----" H 0 A_SpawnItemEx("ShockFX",4,0,32)
"----" H 0 A_GiveInventory("HalfShockedStopGiver",1)
Goto Pain1

///////////////////
//Movement Based (Flings)
///////////////////

Pain.BurstM_Trap:
"----" H 0 A_GiveInventory("BurstM_Trap_Start_P")
goto DangerWrap_Weakness2
Pain.TenguM_THold:
"----" H 0 A_GiveInventory("TenguM_THold_Start_P")
goto TornadoHold_Weakness2
Pain.TrioTornadoHold:
"----" H 0 A_GiveInventory("PainPush_Z_60")
goto TornadoHold_Weakness2
Pain.MWS_Lift:
"----" H 0 A_GiveInventory("PainPush_Z_80")
"----" H 0 A_GiveInventory("MWS_LiftProtect",1)
goto MegaWaterS_Weakness2

Pain.RollSweep:
"----" H 0 A_GiveInventory("PainPush_F_4d5")
"----" H 0 A_GiveInventory("PainPush_Z1_32")
Goto Pain2
Death.RollSweep:
"----" H 0 ThrustThing(random(0,255),12,1,0)
"----" H 0 ThrustThingZ(0,50,0,0)
Goto Death.FlingDamage

Pain.RisingFist:
"----" H 0 A_GiveInventory("PainPush_Z_56")
Goto Pain2
Death.RisingFist:
"----" H 0 A_SpawnItemEx("DeathRisingFistHit")
Goto Death.FlingDamage

Pain.LightRyu_Shoryu:
"----" H 0 A_GiveInventory("PainPush_Z_56")
Goto Pain.LightRyu_Kick
Death.LightRyu_Shoryu:
"----" H 0 A_SpawnItemEx("PainLightRyu_KickHit")
"----" H 0 A_SpawnItemEx("DeathLightRyu_ShoryuHit")
Goto Death.FlingDamage

Pain.LightRyu_ShinShoryu:
"----" H 0 A_TakeInventory("LightRyu_StopProtect",1)
"----" H 0 A_GiveInventory("PainPush_Z_200")
Goto Pain2
Death.LightRyu_ShinShoryu:
"----" H 0 A_SpawnItemEx("DeathLightRyu_ShinShoryuHit")
Goto Death.FlingDamageGib

Pain.TopTwist:
"----" H 0 A_GiveInventory("PainPush_Z1_52")
"----" H 0 A_SpawnItemEx("TopTwistPain_H")
goto TopSpin_Weakness2
Death.TopTwist:
"----" H 0 ThrustThingZ(0,52,0,0)
Goto Death

Pain.Uranus_Lift:
"----" H 0 A_GiveInventory("PainPush_Z_70_Rand_80")
Goto Pain2
Death.Uranus_Lift:
"----" H 0 A_SpawnItemEx("DeathUranus_LiftHit",1)
Goto Death.FlingDamage

Pain.TornadoM_Lift:
"----" H 0 A_GiveInventory("TornadoM_LiftProtect",1)
Pain.TornadoM_Blow:
goto Pain.TornadoBlow
Pain.TornadoM_Shot:Pain.TornadoM_Blow2:
"----" H 0 ThrustThingZ(0,2,0,1)
goto TornadoBlow_Weakness2

Pain.GravityM_Down:Pain.GravitySphere:
"----" H 0 A_GiveInventory("PainHitstun_90_P")
"----" H 0 A_GiveInventory("GravitySmackDown_P")
goto GravityHold_Weakness2

Pain.ColdM_Down:
"----" H 0 A_GiveInventory("GravitySmackDown_P")
goto IceWall_Weakness2

Pain.Uranus_ShotDown:
"----" H 0 A_GiveInventory("GravitySmackDown_P")
goto DeepDigger_Weakness2

Pain.GravityM_Up:
"----" H 0 A_GiveInventory("PainHitstun_90_P")
"----" H 0 A_GiveInventory("PainPush_Z_70")
goto GravityHold_Weakness2

///////////////////
//Effect Based
///////////////////

Pain.BrightM_Bulb:Pain.FlashBulb:
"----" H 0 A_GiveInventory("FlashStopperHit", 1)
goto FlashStopper_Weakness1

Pain.DrWily_Ice:
"----" F 0 A_GiveInventory("DrWily_IceStart_P")
"####" "############################################################" 1 A_Stop
Goto Pain2

///////////////////
//TID Soup Based
///////////////////

//*****************
//Bonus Damage*****
//*****************
//Pain.MegaFireBall:
//"----" H 0 A_SpawnItemEx("PainMegaFireBallHit",0,0,0,0,0,0,0,1)
//Goto Pain2

Pain.LightRyu_Fire:
"----" H 0 A_GiveInventory("LightRyu_FireProtect",1)
"----" H 0 A_SpawnItemEx("PainLightRyu_FireHit")
Goto Pain1

Pain.DrWily_Fire:
"----" H 0 A_SpawnItemEx("PainDrWily_FireHit")
Goto Pain1

//Stone
Pain.TenguM_Slam:
"----" H 0 A_SpawnItemEx("PainTenguM_SlamHit")
"----" H 0 A_CheckFloor(2)
"----" H 0 A_PlaySoundEx("Tenguman/SlamAirHit","SoundSlot5")
"----" H 0
goto TenguBlade_Weakness2
Pain.TornadoM_Slam:
"----" H 0 A_GiveInventory("TornadoM_SlamProtect",1)
"----" H 0 A_JumpIfInventory("BeingTornadoM_Slammed",1,2)
"----" H 0 A_SpawnItemEx("PainTornadoM_SlamHit")
"----" H 0 A_GiveInventory("BeingTornadoM_Slammed",1)
goto TornadoBlow_Weakness2

//**********
//Fling*****
//**********
Pain.Bass_Kick:
"----" H 0 A_SpawnItemEx("PainBass_KickHit")
Goto Pain2
Death.Bass_Kick:
"----" H 0 A_SpawnItemEx("DeathBass_KickHit")
Goto Death.FlingDamage
Pain.Bass_Kick2:
"----" H 0 A_SpawnItemEx("PainBass_Kick2Hit")
Goto Pain2
Death.Bass_Kick2:
"----" H 0 A_SpawnItemEx("DeathBass_Kick2Hit")
Goto Death.FlingDamage

Pain.Duo_Ram:
"----" H 0 A_SpawnItemEx("PainDuo_RamHit")
Goto Pain2
Death.Duo_Ram:
"----" H 0 A_SpawnItemEx("DeathDuo_RamHit")
goto Death.FlingDamage
Pain.Duo_Meteor:
"----" H 0 A_SpawnItemEx("PainDuo_MeteorHit")
Goto Pain2
Death.Duo_Meteor:
"----" H 0 A_SpawnItemEx("DeathDuo_MeteorHit")
goto Death.FlingDamage

Pain.MagnetM_Push:
"----" H 0 A_SpawnItemEx("PainMagnetM_PushHit")
goto MagnetMissile_Weakness2
Death.MagnetM_Push:
"----" H 0 A_SpawnItemEx("DeathMagnetM_PushHit")
goto Death.FlingDamage

Pain.SkullM_Barrier:
"----" H 0 A_SpawnItemEx("PainSkullM_BarrierHit")
goto SkullBarrier_Weakness2
Death.SkullM_Barrier:
"----" H 0 A_SpawnItemEx("DeathSkullM_BarrierHit")
goto Death.FlingDamage

Pain.DM3_Snipe:
"----" H 0 A_SpawnItemEx("PainDM3_SnipeHit")
Goto Pain2
Death.DM3_Snipe:
"----" H 0 A_SpawnItemEx("DeathDM3_SnipeHit")
goto Death.FlingDamage

Pain.KnightM_Push:
"----" H 0 A_SpawnItemEx("PainKnightM_PushHit")
Goto Pain.SparkShock
Death.KnightM_Push:
"----" H 0 A_SpawnItemEx("DeathKnightM_PushHit")
goto Death.FlingDamage

Pain.WindM_Pull:
"----" H 0 A_GiveInventory("WindM_PullProtect",1)
"----" H 0 A_GiveInventory("PainHitstun_0_P")
"----" H 0 A_SpawnItemEx("PainWindM_PullHit")
Goto Pain2
Pain.WindM_Push:
"----" H 0 A_GiveInventory("PainHitstun_0_P")
"----" H 0 A_SpawnItemEx("PainWindM_PushHit")
goto WindStorm_Weakness2
Death.WindM_Push:
"----" H 0 A_SpawnItemEx("DeathWindM_PushHit")
goto Death.FlingDamage

Pain.TurboM_Honk:
"----" H 0 A_GiveInventory("TurboM_HonkProtect",1)
"----" H 0 A_SpawnItemEx("PainTurboM_HonkHit")
Goto Pain2
Death.TurboM_Honk:
"----" H 0 A_SpawnItemEx("DeathTurboM_HonkHit")
goto Death.FlingDamage

Pain.ODuo_Tackle:
"----" H 0 //A_JumpIfInventory("ODuo_TackleProtect",1,2)
"----" H 0 A_SpawnItemEx("PainODuo_TackleHit")
"----" H 0 A_GiveInventory("ODuo_TackleProtect",1)
Goto Pain2
Death.ODuo_Punch:
Death.ODuo_Tackle:
"----" H 0 A_SpawnItemEx("DeathODuo_TackleHit")
Goto Death.FlingDamage
Pain.ODuo_MeteorPush:
"----" H 0 A_SpawnItemEx("PainODuo_MeteorPushHit")
Goto Pain2
Death.ODuo_MeteorPush:
"----" H 0 A_SpawnItemEx("DeathODuo_MeteorPushHit")
Goto Death.FlingDamageGib

Pain.NitroM_Ram:
"----" H 0 A_SpawnItemEx("PainNitroM_RamHit")//A_GiveInventory("PainPush_Z1_65")
"----" H 0 A_GiveInventory("NitroM_RamProtect",1)
Goto Pain2
Death.NitroM_Ram:
"----" H 0 A_SpawnItemEx("DeathNitroM_RamHit")//ThrustThingZ(0,65,0,0)
Goto Death.FlingDamage

Pain.Jupiter_Push:
"----" H 0 A_SpawnItemEx("PainJupiter_PushHit")
Goto Pain2
Death.Jupiter_Push:
"----" H 0 A_SpawnItemEx("DeathJupiter_PushHit")
Goto Death.FlingDamage

Pain.Enker_Push:
"----" H 0 A_SpawnItemEx("PainEnker_PushHit")
Goto Pain2
Death.Enker_Push:
"----" H 0 A_SpawnItemEx("DeathEnker_PushHit")
Goto Death.FlingDamage

Pain.MWS_Barrier:
"----" H 0 A_SpawnItemEx("PainMWS_BarrierHit")
goto MegaWaterS_Weakness2
Death.MWS_Barrier:
"----" H 0 A_SpawnItemEx("DeathMWS_BarrierHit")
Goto Death.FlingDamage
Pain.MegaWaterBarrier:
"----" H 0 A_SpawnItemEx("PainMegaWaterBarrierHit")
goto MegaWaterS_Weakness2
Death.MegaWaterBarrier:
"----" H 0 A_SpawnItemEx("DeathMegaWaterBarrierHit")
Goto Death.FlingDamage

Pain.HyperStormBlaster:
"----" H 0 A_SpawnItemEx("PainHyperStormBlasterHit")
goto HyperStormH_Weakness2
Death.HyperStormBlaster:
"----" H 0 A_SpawnItemEx("DeathHyperStormBlasterHit")
Goto Death.FlingDamage

Pain.YellowDevilP:
"----" H 0 A_SpawnItemEx("PainYellowDevilPHit")
Goto Pain2
Death.YellowDevilP:
"----" H 0 A_SpawnItemEx("DeathYellowDevilPHit")
goto Death.FlingDamageGib

//****************
//Give on-hit*****
//****************

Pain.Roll_Swing:
"----" H 0 A_GiveInventory("PainPush_F_15")
"----" H 0 A_GiveInventory("PainPush_Z_50")
"----" H 0 A_SpawnItemEx("PainRoll_SwingHit")
Goto Pain2
Death.Roll_Swing:
"----" H 0 A_SpawnItemEx("PainRoll_SwingHit")
Death.Roll_Whiff:
"----" H 0 ThrustThing(random(0,255),15,1,0)
"----" H 0 ThrustThingZ(0,50,0,0)
Goto Death.FlingDamage

Pain.LightRyu_Kick:
"----" H 0 A_SpawnItemEx("PainLightRyu_KickHit")
Goto Pain2
Pain.LightRyu_Hadoken:
"----" H 0 A_SpawnItemEx("PainLightRyu_HadokenHit")
Goto Pain1
Death.LightRyu_Kick:Death.LightRyu_SpinKick:Death.LightRyu_Fire:Death.LightRyu_FireBurn:
"----" H 0 A_SpawnItemEx("PainLightRyu_KickHit")
goto Death
Death.LightRyu_Hadoken:
"----" H 0 A_SpawnItemEx("PainLightRyu_HadokenHit")//A_GiveToTarget("SuperComboGauge",4)
goto Death

Pain.Joe_Truck:Pain.Joe_Crate:
"----" H 0 A_GiveInventory("JoeHitItem",1)
goto Pain2
Pain.Joe_Buster:Pain.Joe_MGun:Pain.Joe_Grenade:Pain.Joe_Apache:
"----" H 0 A_GiveInventory("JoeHitItem",1)
goto Pain1
Death.Joe_Buster:Death.Joe_MGun:Death.Joe_Grenade:Death.Joe_Crate:
"----" H 0 A_GiveToTarget("JoeUpgradeAmmo",105)
Death.Joe_Truck:Death.Joe_Apache:
"----" H 0 A_GiveInventory("JoeHitItem",1)
goto Death

Pain.BBA_RocketBoom:
"----" H 0 A_SpawnItemEx("PainBBA_RocketBoomHit")
Goto Pain2
Death.BBA_RocketBoom:
"----" H 0 A_SpawnItemEx("PainBBA_RocketBoomHit")
goto Death

Pain.ToadM_Leap:
"----" H 0 A_SpawnItemEx("PainToadM_LeapHit")
"----" H 0 A_GiveInventory("ToadM_LeapProtect",1)
Goto Pain2
Death.ToadM_Leap:
"----" H 0 A_SpawnItemEx("PainToadM_LeapHit")
goto Death.Flatten

Death.SkullM_ShotX:
"----" H 0 A_GiveToTarget("SkullM_CounterRefresh_P",1)
goto Death

Pain.BlizzardM_Bowl:
"----" H 0 A_SpawnItemEx("PainBlizzardM_BowlHit")
"----" H 0 A_GiveInventory("BlizzardM_BowlProtect",1)
Goto Pain
Death.BlizzardM_Bowl:
"----" H 0 A_SpawnItemEx("PainBlizzardM_BowlHit")
"----" H 0 A_SpawnItemEx("DeathBlizzardM_BowlHit")
goto Death.FlingDamage

Pain.ShadeM_Drain:
"----" H 0 A_PlaySoundEx("weapon/shadesuck","SoundSlot5")
"----" H 0 A_SpawnItemEx("PainShadeM_DrainHit")
Goto Pain2
Death.ShadeM_Drain:
"----" H 0 A_SpawnItemEx("DeathShadeM_DrainHit")
goto Death

Pain.GrenadeM_Nade:
"----" H 0 A_SpawnItemEx("PainGrenadeM_NadeHit")
goto Pain.FlashBomb
Pain.GrenadeM_Bomb:
"----" H 0 A_SpawnItemEx("PainGrenadeM_BombHit")
goto Pain.FlashBomb
Death.GrenadeM_Nade:
"----" H 0 A_SpawnItemEx("DeathGrenadeM_NadeHit")
Goto Death
Death.GrenadeM_Bomb:
"----" H 0 A_SpawnItemEx("DeathGrenadeM_BombHit")
Goto Death

Pain.ODuo_Meteor:
"----" H 0 A_SpawnItemEx("PainODuo_MeteorHit")
"----" H 0 //A_GiveInventory("ODuo_MeteorProtect",1)
Goto Pain2
Death.ODuo_Meteor:
"----" H 0 A_SpawnItemEx("PainODuo_MeteorHit")
goto Death.ODuo_MeteorPush

Pain.MagicM_Card:
"----" H 0 A_GiveInventory("MagicM_CardProtect",1)
"----" H 0 A_GiveInventory("PainMagicM_CardHit",1)
goto MagicCard_Weakness
Death.MagicM_Card:
"----" H 0 A_GiveToTarget("CBM_HealThing40_PU",1)
Goto Death

Pain.ConcreteM_Bash:
"----" H 0 A_GiveInventory("ConcreteM_BashProtect",1)
"----" H 0 A_SpawnItemEx("PainConcreteM_BashHit",1)
"----" H 0 A_SpawnItemEx("PainKnightM_PushHit")
goto Pain
Death.ConcreteM_Bash:
"----" H 0 A_SpawnItemEx("DeathConcreteM_BashHit",1)
"----" H 0 A_GiveToTarget("ConcreteBashFlag",1)
Goto Death.FlingDamageGib
Death.GutsM_Punch:Death.FrostM_Punch:
"----" H 0 A_SpawnItemEx("DeathConcreteM_BashHit",1)
goto Death.FlingDamageGib

Pain.TornadoM_Leap:
"----" H 0 A_SpawnItemEx("PainTornadoM_LeapHit")
"----" H 0 A_GiveInventory("TornadoM_LeapProtect",1)
Goto Pain2
Death.TornadoM_Leap:
"----" H 0 A_SpawnItemEx("PainTornadoM_LeapHit")
goto Death.Flatten

Pain.SolarM_Head:
"----" H 0 A_GiveInventory("SolarM_HeadProtect",1)
"----" H 0 A_SpawnItemEx("PainSolarM_HeadHit")
goto SolarBlaze_Weakness2
Death.SolarM_Head:
"----" H 0 A_SpawnItemEx("PainSolarM_HeadHit")
goto Death

Pain.Quint_Leap:
"----" H 0 A_SpawnItemEx("PainQuint_LeapHit")
"----" H 0 A_GiveInventory("Quint_LeapProtect",1)
goto Sakugarne_Weakness2
Death.Quint_Leap:
"----" H 0 A_SpawnItemEx("PainQuint_LeapHit")
goto Death.Flatten

Pain.HSH_Wallop:
"----" H 0 A_SpawnItemEx("PainHSH_WallopHit")
Goto Pain2
Death.HSH_Wallop:
"----" H 0 A_SpawnItemEx("DeathHSH_WallopHit")
Goto Death.Flatten

Pain.HSH_Drain:
"----" H 0 A_SpawnItemEx("PainHSH_DrainHit")
goto HyperStormH_Weakness2
Death.HSH_Drain:
"----" H 0 A_SpawnItemEx("DeathHSH_DrainHit")
Goto Death

Pain.Neptune_Leap:
"----" H 0 A_SpawnItemEx("PainNeptune_LeapHit")
"----" H 0 A_GiveInventory("Neptune_LeapProtect",1)
Goto Pain2
Death.Neptune_Leap:
"----" H 0 A_SpawnItemEx("PainNeptune_LeapHit")
goto Death.Flatten

Pain.RaThor_Shot1:Pain.RaThor_Shot2:Pain.RaThor_Shot3:Pain.RaThor_Shot4:Pain.RaThor_Shot5:
"----" H 0 A_GiveInventory("RaThorHitItem",1)
Goto Pain2
Pain.RaThor_BuryFreeze:
"----" H 0 A_GiveInventory("GravitySmackDown_P1")
"----" H 0 A_SpawnItemEx("RaThorSlamFloorChecker")
Goto Pain.RaThor_Shot1
Pain.RaThor_Wave:
"----" H 0 A_GiveInventory("RaThor_WaveProtect",1)
Goto Pain.RaThor_Shot1
Pain.RaThor_Spirit:
"----" H 0 A_GiveInventory("RaThor_SpiritProtect",1)
Goto Pain.RaThor_Shot1

Pain.RaThor_Toss:
"----" H 0 A_GiveInventory("HalfShockedStopGiver",1)
Goto Pain.RaThor_Shot1
Death.RaThor_Toss:
"----" H 0 A_GiveInventory("RaThorHitItem",1)
goto Death.FlingDamage

Death.RaThor_BuryFreeze:
"----" H 0 A_PlaySound("weapon/RaThorSlam",5,1.0)
Death.RaThor_Shot1:Death.RaThor_Shot2:Death.RaThor_Shot3:Death.RaThor_Shot4:Death.RaThor_Shot5:
Death.RaThor_Spirit:
Death.RaThor_Wave:
"----" H 0 A_GiveInventory("RaThorHitItem",1)
goto Death


///////////////////
//Death states
///////////////////

Death.MegaIceBall:
Death.IceM_Slasher:Death.IceM_Slow:Death.IceM_Slow2:Death.IceM_Icicle:Death.IceM_Sculpt:
Death.FlashM_Stopper:Death.TimeBender:Death.DrWily_Ice:
Death.FreezeM_Iced:Death.FreezeM_Frozen:
Death.FrostM_Shot:Death.FrostM_Iced:Death.FrostM_Iced2:Death.TrioIceWave:
Death.ColdM_Freeze:Death.ColdM_Punch:Death.ColdM_Down:
Death.ChillM_Shot:Death.ChillM_Spike:Death.ChillM_Freeze:
Death.Terra_Stopper:
goto Death.Ice

Death.WindM_Pull:
Death.GravityM_Up:
Death.BurstM_Trap:
Death.TenguM_Slam:Death.TenguM_THold:Death.TrioTornadoHold:
Death.TornadoM_Shot:Death.TornadoM_Blow:Death.TornadoM_Blow2:Death.TornadoM_Lift:
Death.MWS_Lift:
goto Death.WindStorm

Death.MegaM_PowerFist3:
Death.LightRyu_ShinkuShot:Death.LightRyu_ShinkuStop:
Death.GravitySphere:Death.GravityM_Dunked:Death.StoneM_Dunked:Death.StoneM_Head:Death.NapalmM_Bomb:
Death.TenguM_Dunked:Death.GrenadeM_Kamikaze:
Death.DynamoM_Tag:
Death.TornadoM_Dunked:Death.PlugM_Plugged:
Death.Mercury_Swipe2:Death.Uranus_Gored:
Death.CountBombClear:Death.VehicleHazard:
goto Death.Beam

Death.HardM_Flat:
Death.StoneM_Leap:
Death.WindM_Crush:
Death.ODuo_Crush:
Death.ConcreteM_Flat:
Death.CommandoM_Crush:
Death.Uranus_Flat:Death.Uranus_Stampede:Death.Neptune_Crush:
Death.Flatten:
goto Death.MetalPress

Death.DustM_Shot:Death.DustM_Crush:Death.DustM_CrushBit:
Death.JunkM_Cube:Death.JunkM_Shot:Death.JunkM_Punch:Death.JunkM_Shield:Death.JunkM_Shock:
goto Death.DustCrusher

Death.MagicM_Orb:
"----" H 0 A_SpawnItemEx("MagicM_KillTrick_H",0,0,0,momx,momy,momz,0,9)
"----" H 0 A_Stop
goto Death.TopSpin

//AmmoGet:
//"----" Y 0 A_PlaySoundEx("weapon/mirrorabsorb","Voice")
//"----" Y 0 A_GiveInventory("MirrorCharge",7)
//EnkerClassAbsorb:
//"----" Y 35 
//"----" Y 0
//goto Spawn+1

}
}
