mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-12 13:42:36 +00:00
PK2 -> PK1 Conversion fix
This commit is contained in:
parent
1bb5388b4b
commit
45df87f8cc
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ namespace PKHeX
|
|||
if (1 <= pk.Species && pk.Species <= 151)
|
||||
{
|
||||
foreach (var move in new[] { pk.Move1, pk.Move2, pk.Move3, pk.Move4})
|
||||
if (move < 1 || move > 165)
|
||||
if (move < 0 || move > 165)
|
||||
{
|
||||
comment = $"Pokemon cannot be converted due to invalid move: {Main.movelist[move]}";
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue