PKHeX/PKHeX.Core/Legality/Encounters/EncounterSlot
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
..
GO Flag non-pokeball GO shedinja (evo'd from nincada) 2022-05-03 20:17:28 -07:00
EncounterSlot.cs Refactor EvoCriteria to be a struct, reduce allocation (#3483) 2022-04-23 21:33:17 -07:00
EncounterSlot1.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot2.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot3.cs Performance: Slightly reduce allocations in moveset validation (#3460) 2022-03-12 17:39:00 -08:00
EncounterSlot3PokeSpot.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot3Swarm.cs Create initial movesets for Alpha entities correctly, verify initial mastery (#3489) 2022-05-06 15:43:23 -07:00
EncounterSlot4.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot5.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot6AO.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot6XY.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot7.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot7b.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
EncounterSlot8.cs Minor clean 2022-05-02 23:48:25 -07:00
EncounterSlot8a.cs Create initial movesets for Alpha entities correctly, verify initial mastery (#3489) 2022-05-06 15:43:23 -07:00
EncounterSlot8b.cs -8 bytes from each encounter template 2022-03-06 23:25:47 -08:00
IGroundTypeTile.cs Change interface for method call to less restricted 2021-07-13 18:22:04 -07:00
IMagnetStatic.cs SlotNumber/MagnetStatic int->byte 2022-03-06 22:47:03 -08:00
INumberedSlot.cs SlotNumber/MagnetStatic int->byte 2022-03-06 22:47:03 -08:00