Fix relearn move check for gen6+

Probably should rewrite some sections of the current move verifier; lots of old code with illogical paths
This commit is contained in:
Kurt 2021-01-28 18:08:13 -08:00
parent e8fa28794c
commit 3a6bff11c9

View file

@ -39,7 +39,7 @@
/// <summary>
/// Indicates if the source of the move was validated from the <see cref="PKM.RelearnMoves"/>
/// </summary>
public bool IsRelearn => Source == MoveSource.Relearn;
public bool IsRelearn => Source == MoveSource.Relearn || (Source == MoveSource.EggMove && Generation >= 6);
/// <summary>
/// Checks if the Move should be present in a Relearn move pool (assuming Gen6+ origins).