mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-28 05:13:13 +00:00
b49c5a5a8a
- Use tail recursion and a lookup table (species | form) for reversing - generate the reversal lookup by extrapolating all species-form destination values (EvolutionLink) All tests pass, and no special handling for forms is required. Kinda suspicious that it works this simply... Redo evolution banning (no wormhole for non-Alolan evolutions in SM), in a style that we can ban the Gigantamax event evolutions (pika/meowth/eevee). Their evolutions can't be resulted from a pre-evo, because the in-game routine early aborts if the gigantamax flag is set for those species. Update gen4 personal tables (formCount was 0, needs to be a minimum of 1 by default) Closes #2537
22 KiB
22 KiB