mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-20 20:58:30 -05:00
Since BCC/Safari only roll PIDIV up to 4 times, a large amount of resulting-pk4 will still lack a 31 IV. These require the full recursion failure to be reached, so the traversal needs to travel up 4x before accepting an origin. Reduce parameter passing by wrapping the immutables/derived in a struct. Also clean up some level comparisons for lead:pressure boosting check, maybe DPPt's MethodJ impl was comparing wrong (didn't match MethodK). If we're above the encounter slot's level range, then it must have been pressure boosted. Don't bother checking for Grass type (the only type that can boost) as we already check that in the IsMatchExact yield. Unrelated: Add a unit test of an obvious genned mon EVs I laughed at when scrolling thru my HG save file. |
||
|---|---|---|
| .. | ||
| General | ||
| Legality | ||
| PKM | ||
| Saves | ||
| Simulator | ||
| TestData | ||
| Util | ||
| PKHeX.Core.Tests.csproj | ||