Vendily

mega fix

Sep 4th, 2020
85
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. So turns out multiform megas with the same stone are still bugged in v18.
  2. But here's the fix.
  3. in `def getMegaForm`, find `if megaStone>0 && self.hasItem?(megaStone)`
  4. and replace with
  5. ```ruby
  6. if megaStone>0 && self.hasItem?(megaStone) &&
  7. (self.formSimple==pbGetSpeciesData(@species,i,SpeciesUnmegaForm) ||
  8. self.formSimple==i)
  9. ```
RAW Paste Data