mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 20:43:07 +00:00
cb24c20a44
Sure it's nice to cache a valid array, but the amount of logic was small enough that it can be done with 10 lines of code rather than at the end of each verification method. Reduces parameter passing & removes 1 field from the info object, as relearn suggestions are only done rarely after legality checking. Allows for a simpler api surface (pkm, encounter) rather than a bigger object reference |
||
---|---|---|
.. | ||
EncounterVerifier.cs | ||
EvolutionVerifier.cs | ||
MysteryGiftRestriction.cs | ||
MysteryGiftVerifier.cs | ||
VerifyCurrentMoves.cs | ||
VerifyRelearnMoves.cs |