mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 04:53:08 +00:00
Refactor
Remove unnecessary reference, Core is within Legal
This commit is contained in:
parent
26bda05936
commit
20f3a10838
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ namespace PKHeX
|
|||
}
|
||||
internal static bool getCanKnowMove(PK6 pk6, int move, int version = -1)
|
||||
{
|
||||
if (pk6.Species == 235 && !Legal.InvalidSketch.Contains(move))
|
||||
if (pk6.Species == 235 && !InvalidSketch.Contains(move))
|
||||
return true;
|
||||
return getValidMoves(pk6, Version: version, LVL: true, Relearn: true, Tutor: true, Machine: true).Contains(move);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue