mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-14 16:27:21 +00:00
Change default ShowdownSet import for empty moves
Don't replace current moveset if no moves requested.
This commit is contained in:
parent
5c0498ddbe
commit
daf9ad76c9
1 changed files with 2 additions and 1 deletions
|
@ -168,7 +168,8 @@ public static class CommonEdits
|
|||
{
|
||||
pk.Species = Math.Min(pk.MaxSpeciesID, Set.Species);
|
||||
pk.Form = Set.Form;
|
||||
pk.SetMoves(Set.Moves, true);
|
||||
if (Set.Moves[0] != 0)
|
||||
pk.SetMoves(Set.Moves, true);
|
||||
pk.ApplyHeldItem(Set.HeldItem, Set.Format);
|
||||
pk.CurrentLevel = Set.Level;
|
||||
pk.CurrentFriendship = Set.Friendship;
|
||||
|
|
Loading…
Reference in a new issue