luckytyphlosion

gen 3 matchup update logic.

May 14th, 2019
189
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. entire pokemon is made dirty both offensively and defensively:
  2. - mon type
  3. - transform status changes
  4.  
  5. disabled moves becoming enabled:
  6. - a new move existing -> the new move
  7. - a move regaining PP from zero -> the move
  8. - a disabled (status) move being enabled -> the move
  9. - a tormented move being enabled -> the move
  10. - (a taunted move being enabled?)
  11. - an imprisoned move being enabled? -> the move?
  12. - non-encored moves being made availabe -> the non-encored moves
  13. - choice band removed -> the other moves
  14.  
  15. individual move made dirty:
  16. - held item is modified and the old or new hold effect is:
  17. - choice band -> all physical moves
  18. - type boosting item -> all moves of type
  19. - soul dew and the mon is latios/latias -> all special moves
  20. - deep sea tooth and the mon is clamperl -> all special moves
  21. - light ball and the mon is pikachu -> all special moves
  22. - thick club and the mon is marowak -> all physical moves
  23. - ability is modified and the old or new ability is:
  24. - huge power -> all physical moves
  25. - pure power -> all physical moves
  26. - hustle -> all physical moves
  27. - plus in a double battle and other teammate has minus -> all special moves
  28. - minus in a double battle and other teammate has plus -> all special moves
  29. - guts and the pokemon has a status -> all physical moves
  30. - the opponent hp's is modified -> super fang
  31. - the current mon's happiness is modified -> return, frustration
  32. - the pokemon has a flail-type move and the current or max hp is modified -> all flail-type moves
  33. - the pokemon has overgrow and the current hp is modified from or to <1/3 -> all offensive grass moves
  34. - the pokemon has blaze and the current hp is modified from or to <1/3 -> all offensive fire moves
  35. - the pokemon has torrent and the current hp is modified from or to <1/3 -> all offensive water moves
  36. - the pokemon has swarm and the current hp is modified from or to <1/3 -> all offensive bug moves
  37. - the attack stat is modified (through level ups or transform) -> all physical moves
  38. - the special attack stat is modified -> all special moves
  39. - the attack stat stage is modified -> all physical moves
  40. - the special attack stat stage is modified -> all special moves
  41. - the pokemon has guts and the status effect is modified to existing or not -> all physical moves
  42. - the pokemon does not have guts and the status effect is modified to or from a burn -> all physical moves
  43. - the number of alive mons on the opponent side in a double battle has changed for spread moves (e.g. surf, earthquake) -> all spread moves
  44. - weather changes to or from rain -> all fire moves
  45. - weather changes to or from rain -> all water moves
  46. - weather changes to or from sun -> solarbeam
  47. - weather changes to or from sun -> all fire moves
  48. - weather changes to or from sun -> all water moves
  49. - flash fire status changed -> all fire moves
  50.  
  51. mon is made defensively dirty:
  52. - held item is modified and the old or new hold effect is:
  53. - soul dew and the mon is latios/latias -> all opponent special moves
  54. - deep sea scale and the mon is clamperl -> all opponent special moves
  55. - metal powder and the mon is ditto -> all opponent physical moves
  56. - ability is modified and the old or new ability is:
  57. - thick fat -> all opponent fire and ice moves
  58. - marvel scale with a status -> all opponent physical moves
  59. - the defense stat is modified -> all opponent physical moves
  60. - the special defense stat is modified -> all opponent special moves
  61. - mud sport is modified (can only go from false to true) -> all opponent electric moves
  62. - water sport is modified -> all opponent fire moves
  63. - the defense stat stage is modified -> all opponent physical moves
  64. - the special defense stat stage is modified -> all opponent special moves
  65. - the status effect is modified and the pokemon has marvel scale -> all opponent physical moves
  66. - reflect is modified -> all opponent physical moves
  67. - light screen is modified -> all opponent special moves
  68. - the number of alive mons on the player side in a double battle has changed and reflect is up -> all opponent physical moves
  69. - the number of alive mons on the player side in a double battle has changed and light screen is up -> all opponent special moves
  70.  
  71. unconditional move cases:
  72. - if the pokemon has super fang, update damage for each opponent mon
  73. - if the pokemon has a level damage move, update damage for each opponent mon
  74. - if the pokemon has endeavor, update damage for each opponent mon
RAW Paste Data