PKHeX/PKHeX.Core/Legality
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
..
Areas Flag non-pokeball GO shedinja (evo'd from nincada) 2022-05-03 20:17:28 -07:00
Encounters Create initial movesets for Alpha entities correctly, verify initial mastery (#3489) 2022-05-06 15:43:23 -07:00
Enums Differentiate MO + MMO slot types 2022-04-22 20:33:12 -07:00
Evolutions Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
Formatting Create initial movesets for Alpha entities correctly, verify initial mastery (#3489) 2022-05-06 15:43:23 -07:00
Learnset Create initial movesets for Alpha entities correctly, verify initial mastery (#3489) 2022-05-06 15:43:23 -07:00
Moves Condense some expressions 2022-03-20 23:28:18 -07:00
Restrictions Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
RNG Inline some Rand32 calls 2022-04-26 20:21:26 -07:00
Structures Add gender sprites for main GUI 2022-04-24 20:28:56 -07:00
Tables Unban Darkrai, associated Met Locations, Sketch Dark Void 2022-04-01 06:18:11 -04:00
Verifiers Create initial movesets for Alpha entities correctly, verify initial mastery (#3489) 2022-05-06 15:43:23 -07:00
BinLinkerAccessor.cs Add BinLinkerAccessor for better startup perf 2022-02-04 17:20:56 -08:00
Breeding.cs Rename Silver SV->SI 2022-02-27 11:16:12 -08:00
BulkAnalysis.cs Remove duplicate home tracker flagging 2022-04-02 17:58:17 -07:00
BulkGenerator.cs Split PKMConverter into multiple classes 2022-04-09 01:39:34 -07:00
Core.cs Create initial movesets for Alpha entities correctly, verify initial mastery (#3489) 2022-05-06 15:43:23 -07:00
LegalityAnalysis.cs Performance: Slightly reduce allocations in moveset validation (#3460) 2022-03-12 17:39:00 -08:00
LegalityAnalyzers.cs Update PKHeX.Core abstractions with latest logic 2022-02-04 17:35:15 -08:00
MoveList.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
MoveListSuggest.cs Fix dropdown suggested green moves from showing swsh moves 2021-11-23 22:58:41 -08:00