Guest User

Untitled

a guest
Mar 23rd, 2015
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. - The current damage in battle is stored in two 8-bit addresses (will be referred to as a 16-bit address from now on) so it can store values up to 65535. This damage address is shared for both players.
  2. - The damage address isn't cleared (set to 0) when a battle starts or finishes, nor on a switch.
  3. - It will be carried over between battles.
  4.  
  5. - If the requirements for Counter dealing damage meet, the content of the damage address is doubled (before the damage is dealt).
  6.  
  7. - Whenever a move whose effect is NOT on this list is successfully used, the damage address is cleared.
  8. + CONVERSION_EFFECT
  9. + HAZE_EFFECT
  10. + SWITCH_AND_TELEPORT_EFFECT
  11. + MIST_EFFECT
  12. + FOCUS_ENERGY_EFFECT
  13. + CONFUSION_EFFECT
  14. + HEAL_EFFECT
  15. + TRANSFORM_EFFECT
  16. + LIGHT_SCREEN_EFFECT
  17. + REFLECT_EFFECT
  18. + POISON_EFFECT
  19. + PARALYZE_EFFECT
  20. + SUBSTITUTE_EFFECT
  21. + MIMIC_EFFECT
  22. + LEECH_SEED_EFFECT
  23. + SPLASH_EFFECT
  24.  
  25. - Whenever a damaging move (including fixed damage moves like Seismic Toss or Super Fang, Counter, and Bide's damage dealing effect) deals damage to the target, the damage dealt corresponds to the value stored in the damage address. The damage stored corresponds to the damage calculated during the last damage calculation process.
  26. - Multi-turn and multi-hit moves such as Wrap, Double Kick and Fury Attack only execute damage calculation for the first hit
  27.  
  28. - Whenever any move that goes through standard accuracy checks misses, the damage address is cleared.
  29. - Missing isn't the same as having no effect (e.g. Thunder Wave on a already statused move, Leer on a -6 Def Pokemon).
  30. - Failing because of Mist or because the target is using Fly/Dig is considered missing.
  31. - Moves included are:
  32. + Damaging moves
  33. + Moves that inflict sleep, poison, paralysis, or confusion
  34. + Disable
  35. + Mimic
  36. + Moves with a stat modifier down effect
  37. + Leech Seed
  38.  
  39. - If, as a result of a damage dealing move, the target is KOed, the damage stored is overwritten with the HP the Pokemon had before being KOed.
  40. - If the target's Substitute faints, the damage stored is NOT overwritten with the HP the Substitute had.
Advertisement
Add Comment
Please, Sign In to add comment