mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 22:10:21 +00:00
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:
parent
e8fa28794c
commit
3a6bff11c9
1 changed files with 1 additions and 1 deletions
|
@ -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).
|
||||
|
|
Loading…
Reference in a new issue