PKHeX/PKHeX.Core/Legality/Moves
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
..
Breeding Relearn suggestions + Headbutt Slot Fix (#3190) 2021-04-08 15:58:09 -07:00
GameData.cs Add Breeding move ordering logic, and use in legality analysis (#3183) 2021-04-04 18:30:01 -07:00
LearnInfo.cs Target type'd new 2020-12-21 17:17:56 -08:00
LearnLookup.cs Unify concepts with different names 2020-12-10 20:42:30 -08:00
MoveEgg.cs Simplify shared egg move array get 2021-01-31 23:07:14 -08:00
MoveLevelUp.cs Use IndexOf instead of FindIndex when possible 2021-01-16 12:47:02 -08:00
MoveParseSource.cs Minor clean 2020-12-21 23:37:07 -08:00
MoveTechnicalMachine.cs Add TR flags to emoveset generator 2021-01-30 21:49:45 -08:00
MoveTutor.cs Bake cosplay moves into the encounter template 2021-02-02 09:40:58 -08:00