mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-19 00:43:14 +00:00
21c1dde3a7
extract EncounterStatic match determination; in doing so fixes "lvl" by passing byval. Pichu encounters (2) come before the Gift level 25 pikachu, causing lvl to be dropped to 5. When pikachu comes around, it compares 5==25 -> bad; pulling out the method and passing byval allows it to be 25 at the start of every new encounterstatic checked.
73 B
73 B