PKHeX/PKHeX.Core/MysteryGifts
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
..
DataMysteryGift.cs Use range/index 2021-05-14 15:30:55 -07:00
MysteryGift.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
MysteryUtil.cs Minor clean 2021-12-27 13:50:21 -08:00
PCD.cs Show lock capsule slot in mystery gift editor 2022-05-05 21:21:03 -07:00
PGF.cs Inline some Rand32 calls 2022-04-26 20:21:26 -07:00
PGT.cs Create initial movesets for Alpha entities correctly, verify initial mastery (#3489) 2022-05-06 15:43:23 -07:00
PL6.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
ShinyType6.cs Disassociate Shiny enum from WC6 PIDType (#3461) 2022-03-12 17:38:59 -08:00
ShinyType8.cs Disassociate Shiny enum from WC6 PIDType (#3461) 2022-03-12 17:38:59 -08:00
WA8.cs Add server date checks for WA8 gifts 2022-05-02 18:52:43 -07:00
WB7.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
WB8.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
WC3.cs Create initial movesets for Alpha entities correctly, verify initial mastery (#3489) 2022-05-06 15:43:23 -07:00
WC6.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
WC6Full.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
WC7.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
WC7Full.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
WC8.cs Add server date checks for WA8 gifts 2022-05-02 18:52:43 -07:00
WR7.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00