mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Fix moves 2->1
Unsync'd
This commit is contained in:
parent
db660355cc
commit
d18e17a599
1 changed files with 7 additions and 0 deletions
|
@ -337,6 +337,13 @@ public override int Stat_Level
|
|||
Array.Copy(otname, 0, pk1.otname, 0, otname.Length);
|
||||
Array.Copy(nick, 0, pk1.nick, 0, nick.Length);
|
||||
|
||||
int[] newMoves = pk1.Moves;
|
||||
for (int i = 0; i < 4; i++)
|
||||
if (newMoves[i] > 165) // not present in Gen 1
|
||||
newMoves[i] = 0;
|
||||
pk1.Moves = newMoves;
|
||||
pk1.FixMoves();
|
||||
|
||||
return pk1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue