mirror of
https://github.com/kwsch/PKHeX
synced 2025-03-04 07:17:15 +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)
|
if (1 <= pk.Species && pk.Species <= 151)
|
||||||
{
|
{
|
||||||
foreach (var move in new[] { pk.Move1, pk.Move2, pk.Move3, pk.Move4})
|
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]}";
|
comment = $"Pokemon cannot be converted due to invalid move: {Main.movelist[move]}";
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue