PKHeX/PKHeX.Core/Legality/Encounters
Kurt 9deafa851a
Create initial movesets for Alpha entities correctly, verify initial mastery (#3489)
* Draft checks for encounter slot mastery

* Check encounter mastery flags

* Add moves for LA static encounters that don't follow learnset

* Add moves on crossover LA static encounters

* add alpha moveset population method

Now generates and applies moves as the game does
Updates some handling of other methods to use Span

* Show better message for bad mastery init flags

* Insert descending if candidates have same level

Level 78 Yanmega:
- [01] [10] Quick Attack
- [06] [15] Gust
- [11] [20] Silver Wind
- [18] [28] Hypnosis
- [25] [35] Air Slash
- [34] [45] Ancient Power
- [43] [54] Crunch
- [43] [54] Bug Buzz

Yields:
AlphaMove
Crunch*
Bug Buzz*
Ancient Power

* Descending order due to iteration

Co-authored-by: Lusamine <30205550+Lusamine@users.noreply.github.com>
2022-05-06 15:43:23 -07:00
..
Data Create initial movesets for Alpha entities correctly, verify initial mastery (#3489) 2022-05-06 15:43:23 -07:00
EncounterMisc Split PKMConverter into multiple classes 2022-04-09 01:39:34 -07:00
EncounterSlot Create initial movesets for Alpha entities correctly, verify initial mastery (#3489) 2022-05-06 15:43:23 -07:00
EncounterStatic Create initial movesets for Alpha entities correctly, verify initial mastery (#3489) 2022-05-06 15:43:23 -07:00
EncounterTrade Create initial movesets for Alpha entities correctly, verify initial mastery (#3489) 2022-05-06 15:43:23 -07:00
Generator Remove optional gameversion for enc generators 2022-05-04 22:28:39 -07:00
Information Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
Verifiers Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
EncounterMatchRating.cs Pre-filter memory mismatch on moves 2021-08-15 14:23:15 -07:00
IEncounterable.cs Expose shiny potential value 2022-01-07 17:48:12 -08:00
IEncounterConvertible.cs Add more xmldoc 2021-02-24 18:08:03 -08:00
IEncounterInfo.cs Add more xmldoc 2021-02-24 18:08:03 -08:00
IEncounterMatch.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
IEncounterTemplate.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
IMasteryInitialMoveShop8.cs Create initial movesets for Alpha entities correctly, verify initial mastery (#3489) 2022-05-06 15:43:23 -07:00
IShinyPotential.cs Move some interfaces to different folder 2022-03-06 12:06:50 -08:00