PKHeX/PKHeX.Core/Legality/Encounters/EncounterSlot
Kurt e9c9627ad5
Relearn suggestions + Headbutt Slot Fix (#3190)
This change revises the logic for an Egg Move's RelearnMoves.

Removes a class that is no longer used
Passes the large value-passing struct byref via in keyword
Revises handling so that early-returned results from the MoveBreed processing are marked with their move source rather than leaving them unvisited.
The moveset processor uses depth search recursion, and returns false if the move that it is processing is not possible for the hatched moveset. If the depth search never reaches the check for base moves, all moves won't be marked for their origins, resulting in the result array not being accurate to use for suggestion purposes.

Yay multi-purpose logic (validation w/early returns & fixing needing fully processed data).
2021-04-08 15:58:09 -07:00
..
GO Generate slots/static per correlation if appropriate 2021-02-14 12:27:14 -08:00
EncounterSlot.cs Rework EncounterCriteria to be ability indexed rather than direct ability (#3179) 2021-03-23 17:05:15 -07:00
EncounterSlot1.cs Make Species/Form/Min/Max readonly, not init 2021-01-01 10:53:05 -08:00
EncounterSlot2.cs Relearn suggestions + Headbutt Slot Fix (#3190) 2021-04-08 15:58:09 -07:00
EncounterSlot3.cs Partial match HA species without a HA possible 2021-01-31 13:05:36 -08:00
EncounterSlot3PokeSpot.cs Rework EncounterCriteria to be ability indexed rather than direct ability (#3179) 2021-03-23 17:05:15 -07:00
EncounterSlot3Swarm.cs Mark EncounterSlot/Static types as immutable record types 2020-12-23 20:40:59 -08:00
EncounterSlot4.cs Partial match HA species without a HA possible 2021-01-31 13:05:36 -08:00
EncounterSlot5.cs Fracture the encounter matching checks to allow progressive validation (#3137) 2021-01-29 17:55:27 -08:00
EncounterSlot6AO.cs Generate slots/static per correlation if appropriate 2021-02-14 12:27:14 -08:00
EncounterSlot6XY.cs Generate slots/static per correlation if appropriate 2021-02-14 12:27:14 -08:00
EncounterSlot7.cs Rework EncounterCriteria to be ability indexed rather than direct ability (#3179) 2021-03-23 17:05:15 -07:00
EncounterSlot7b.cs Generate slots/static per correlation if appropriate 2021-02-14 12:27:14 -08:00
EncounterSlot8.cs Fix deferral for wild slots 2021-04-04 21:54:24 -07:00
IEncounterTypeTile.cs moar is or 2020-12-25 12:30:26 -08:00
IMagnetStatic.cs Xmldoc, minor tweaks 2020-11-27 11:51:02 -08:00
INumberedSlot.cs Xmldoc, minor tweaks 2020-11-27 11:51:02 -08:00