mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-25 21:40:03 -05:00
Change default ShowdownSet import for empty moves
Don't replace current moveset if no moves requested.
This commit is contained in:
@@ -168,7 +168,8 @@ public static void ApplySetDetails(this PKM pk, IBattleTemplate Set)
|
||||
{
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user