PKHeX/PKHeX.Core/Legality
Kurt bced546c63
Memoize Ball Breeding permission tables (#4050)
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
2023-11-02 15:55:26 -07:00
..
Bulk Misc tweaks 2023-09-04 00:50:26 -07:00
Encounters Memoize Ball Breeding permission tables (#4050) 2023-11-02 15:55:26 -07:00
Evolutions Use byte span for BinLinker check 2023-10-14 19:25:39 -07:00
Formatting More fixes/improvements 2023-07-08 12:46:46 -07:00
Learnset Misc fixes 2023-07-06 19:41:27 -07:00
LearnSource Minor clean 2023-10-28 22:07:58 -07:00
Moves Misc tweaks 2023-09-10 21:17:47 -07:00
Restrictions Minor tweaks 2023-10-14 19:28:46 -07:00
RNG Add more xmldoc, conditional flawless IVs 2023-10-29 20:27:42 -07:00
Structures Misc tweaks 2023-09-10 21:17:47 -07:00
Tables RNG: Move files & extract some logic 2023-10-11 19:28:51 -07:00
Verifiers Memoize Ball Breeding permission tables (#4050) 2023-11-02 15:55:26 -07:00
BinLinkerAccessor.cs Use byte span for BinLinker check 2023-10-14 19:25:39 -07:00
Breeding.cs Add API for home tracker state checking 2023-09-16 16:53:06 -07:00
BulkGenerator.cs Remove old GeneratePKMs api methods 2023-09-11 18:20:22 -07:00
Core.cs SAV3E: Max Item ID +2 2023-10-11 19:30:26 -07:00
LegalityAnalysis.cs Minor tweaks 2023-10-14 19:28:46 -07:00
LegalityAnalyzers.cs Encounter Templates: Searching and Creating (#3955) 2023-08-12 16:01:16 -07:00
MoveListSuggest.cs Handle get moveset for Gen1 Red Trade Jynx 2023-09-04 18:23:10 -07:00
MoveSourceType.cs More Gen1/2 considerations for tree pruning 2023-09-04 20:34:46 -07:00