PKHeX/PKHeX.Core/Legality/Verifiers
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
..
Ability Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
Ball Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
Egg -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
Misc Seal some classes 2022-03-06 12:16:36 -08:00
Ribbons Merge pull request #3382 from kwsch/pla 2022-02-04 18:28:17 -08:00
ConsoleRegionVerifier.cs this is not that 2020-12-21 17:12:39 -08:00
ContestStatVerifier.cs Split min sheen calc for 3 & 4, revise limits 2022-01-11 23:29:01 -08:00
CXDVerifier.cs More explicit type checks for Encounter class 2022-03-26 14:53:15 -07:00
EffortValueVerifier.cs Stackalloc EV/AV checks 2022-03-13 22:33:17 -07:00
FormVerifier.cs More explicit type checks for Encounter class 2022-03-26 14:53:15 -07:00
GenderVerifier.cs Trailing commas 2021-08-20 13:49:20 -07:00
GroundTileVerifier.cs Revise EncounterArea and EncounterType for clarity (#3228) 2021-06-29 20:58:06 -07:00
HistoryVerifier.cs Fix WB8 friendship check 2022-02-24 20:17:58 -08:00
HyperTrainingVerifier.cs Update PKHeX.Core abstractions with latest logic 2022-02-04 17:35:15 -08:00
IndividualValueVerifier.cs Stackalloc IVs for template->pkm fill 2022-03-13 19:24:08 -07:00
ItemVerifier.cs Trailing commas 2021-08-20 13:49:20 -07:00
LanguageVerifier.cs Use Generation property when available 2021-08-06 15:34:28 -07:00
LegendsArceusVerifier.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
LevelVerifier.cs More explicit type checks for Encounter class 2022-03-26 14:53:15 -07:00
MarkVerifier.cs Flag Marks on BDSP/PLA encounters 2022-05-02 19:27:22 -07:00
MedalVerifier.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
MemoryVerifier.cs More specific primitives for Memories/others 2022-03-06 12:01:47 -08:00
MiscVerifier.cs Create initial movesets for Alpha entities correctly, verify initial mastery (#3489) 2022-05-06 15:43:23 -07:00
NHarmoniaVerifier.cs Minor clean 2021-01-10 18:15:33 -08:00
NicknameVerifier.cs More explicit type checks for Encounter class 2022-03-26 14:53:15 -07:00
ParseSettings.cs Revise zero hw checks 2021-11-24 23:03:30 -08:00
PIDVerifier.cs Enumerate ability permissions in encounter templates, misc updates (#3368) 2022-01-08 22:34:04 -08:00
TrainerIDVerifier.cs Split Trainer verifier into TrainerName and TrainerID 2021-11-25 19:15:42 -08:00
TrainerNameVerifier.cs Minor clean 2022-05-02 23:48:25 -07:00
TransferVerifier.cs More explicit type checks for Encounter class 2022-03-26 14:53:15 -07:00
Verifier.cs Target type'd new 2020-12-21 17:17:56 -08:00