mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 20:43:07 +00:00
bced546c63
O(1) lookup for arbitrary species, some edge handling rules for specific game islands/forms. With HOME, there's only 3 islands of permissions. No allocation besides the singletons which aren't really necessary.
No longer need to peek within multiple hashsets, just fetch the "is possible" bit from the species listing and check if the bit is set.
Will be fun if ball shell swaps are added 🤞, get to set all bits for anything that can enter game with that feature (if ever added).
Add unit test for gen67 no-patch exclusion
|
||
---|---|---|
.. | ||
BallContext6.cs | ||
BallContext7.cs | ||
BallContextHOME.cs | ||
BallContextUtil.cs | ||
BallInheritanceResult.cs | ||
BallUseLegality.cs | ||
BallVerifier.cs | ||
IBallContext.cs |