mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-07-20 19:31:46 -05: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
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user