mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-11 07:04:16 +00:00
Check if the specified move is valid as Sketch move
This commit is contained in:
parent
e6b6005fc9
commit
9a37eda9ba
1 changed files with 2 additions and 0 deletions
|
@ -376,6 +376,8 @@ namespace PKHeX
|
|||
}
|
||||
internal static bool getCanKnowMove(PK6 pk6, int move, int version = -1)
|
||||
{
|
||||
if (pk6.Species == 235 && !Legal.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