Pomeg glitch: Difference between revisions

m (HGSS doesn't have the Pomeg Glitch)
Line 30: Line 30:


====Healing with Eruption/Water Spout====
====Healing with Eruption/Water Spout====
If the Pokémon that has been affected by the glitch uses Eruption or Water Spout, the attack may heal the opponent if the user has high enough Sp. Atk and the opponent has a low level, low Sp. Def and double weakness to the attack.
If the Pokémon that has been affected by the glitch uses [[Eruption]] or Water Spout, the attack may heal the opponent if the user has high enough Sp. Atk and the opponent has a low level, low Sp. Def and double weakness to the attack.


This is because [[Water Spout]] deals damage based on the user's current HP, and performing the Pomeg Glitch gives the user approximately 65535 HP. With a high enough Sp.Atk value, it causes the damage dealt to be so high it underflows to a negative value (the [[damage]] value was a {{wp|signedness|signed}} integer in this generation, which was changed to unsigned in Generation V). A full health opponent's HP bar will appear to drain, but it will not faint. An opponent with less than full HP will be healed to full HP.
This is because [[Water Spout]] deals damage based on the user's current HP, and performing the Pomeg Glitch gives the user approximately 65535 HP. With a high enough Sp.Atk value, it causes the damage dealt to be so high it underflows to a negative value (the [[damage]] value was a {{wp|signedness|signed}} integer in this generation, which was changed to unsigned in Generation V). A full health opponent's HP bar will appear to drain, but it will not faint. An opponent with less than full HP will be healed to full HP.
894

edits