PKHeX/PKHeX.Core/Legality/Moves/Breeding
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
..
BreedInfo.cs Add Breeding move ordering logic, and use in legality analysis (#3183) 2021-04-04 18:30:01 -07:00
EggSource.cs Add Breeding move ordering logic, and use in legality analysis (#3183) 2021-04-04 18:30:01 -07:00
MoveBreed.cs Relearn suggestions + Headbutt Slot Fix (#3190) 2021-04-08 15:58:09 -07:00
MoveBreed2.cs Relearn suggestions + Headbutt Slot Fix (#3190) 2021-04-08 15:58:09 -07:00
MoveBreed3.cs Relearn suggestions + Headbutt Slot Fix (#3190) 2021-04-08 15:58:09 -07:00
MoveBreed4.cs Relearn suggestions + Headbutt Slot Fix (#3190) 2021-04-08 15:58:09 -07:00
MoveBreed5.cs Relearn suggestions + Headbutt Slot Fix (#3190) 2021-04-08 15:58:09 -07:00
MoveBreed6.cs Relearn suggestions + Headbutt Slot Fix (#3190) 2021-04-08 15:58:09 -07:00