Rest (move): Difference between revisions

→‎Generation I: https://github.com/pret/pokered/blob/master/engine/battle/moveEffects/heal_effect.asm#L11 (misleading comments I believe) & https://www.youtube.com/watch?v=sqkBby1HlmY
m (Undo revision 2671702 by Marshtompert (talk) - Unnecessary)
(→‎Generation I: https://github.com/pret/pokered/blob/master/engine/battle/moveEffects/heal_effect.asm#L11 (misleading comments I believe) & https://www.youtube.com/watch?v=sqkBby1HlmY)
Line 56: Line 56:
A glitch causes the stat reductions associated with {{status|paralysis}} and {{status|burn}} to remain despite the fact that the Pokémon no longer has that status. If a Pokémon that has been {{status|bad poison|badly poisoned}} by {{m|Toxic}} successfully uses Rest, it will be cured of poison, but Toxic's '''N''' parameter is not reset; if it then suffers {{status|burn}}, {{m|Leech Seed}} or poison damage, that damage will be calculated with the formula for bad poison, still being calculated as '''N''' * x, and the '''N''' value will still increase by 1 each time (however, if the Pokémon is poisoned with Toxic, the '''N''' value will be reset to 1).
A glitch causes the stat reductions associated with {{status|paralysis}} and {{status|burn}} to remain despite the fact that the Pokémon no longer has that status. If a Pokémon that has been {{status|bad poison|badly poisoned}} by {{m|Toxic}} successfully uses Rest, it will be cured of poison, but Toxic's '''N''' parameter is not reset; if it then suffers {{status|burn}}, {{m|Leech Seed}} or poison damage, that damage will be calculated with the formula for bad poison, still being calculated as '''N''' * x, and the '''N''' value will still increase by 1 each time (however, if the Pokémon is poisoned with Toxic, the '''N''' value will be reset to 1).


Rest will also fail if the user's maximum HP is 256 or 511 and its current HP is one less than that amount.<!--someone prove this?-->
In the [[Generation I]] [[core series]] only, Rest will also fail if the difference between the user's maximum HP and current HP leaves a remainder of 255 when divided by 256 (such as 255 or 511).


===Generation II===
===Generation II===