PKHeX/Tests/PKHeX.Core.Tests/Legality
Kurt 416f5fe183 Check Winning/Victory ribbons for gen3 origin based on encounter
Closes #2990 ty @Atrius97 !

Remove the `object Content` accessor only used for Mystery Gifts (used to trickle up the PKM object since the two ribbon interfaces weren't implemented on the IEncounterable). Just make PCD/PGT implement the ribbon interfaces and delegate the get/set to PKM directly.

Rewrite the national ribbon check for clarity
Optimize invalid/missing ribbon string replace to operate on the final string rather than do linq and replace each input. With this we make 1 temp string only, rather than 1-per-ribbon.

Replace hardcoded "Ribbon" strings to use a shared const string in a central spot.
2020-09-18 16:23:17 -07:00
..
Illegal Check Winning/Victory ribbons for gen3 origin based on encounter 2020-09-18 16:23:17 -07:00
Legal Check Winning/Victory ribbons for gen3 origin based on encounter 2020-09-18 16:23:17 -07:00
LearnabilityTests.cs Make parsing flexible / diacritic insensitive 2019-03-18 18:09:48 -07:00
LegalityData.cs Handle nullable field check 2020-01-12 18:12:31 -08:00
LegalityRules.cs Split encounter areas, relocate slot finding to obj 2019-09-12 23:20:52 -07:00
LegalityTests.cs Continued refactoring 2020-09-13 14:40:10 -07:00
RaidTests.cs Verify full raid result with known seed 2020-01-23 00:11:07 -08:00
ShadowTests.cs Fix shiny check behavior for XD nonshadows 2020-03-11 19:18:58 -07:00