Fix EncounterSlot form set order, copy expgrowth for consistency

Closes #3387
ty @odin880 !
This commit is contained in:
Kurt 2022-02-05 00:47:17 -08:00
parent 5c33245221
commit 69ee363663
2 changed files with 2 additions and 1 deletions

View file

@ -86,6 +86,7 @@ namespace PKHeX.Core
int lang = (int)Language.GetSafeLanguage(Generation, (LanguageID) sav.Language, version);
int level = LevelMin;
pk.Species = Species;
pk.Form = GetWildForm(pk, Form, sav);
pk.Language = lang;
pk.CurrentLevel = level;
pk.Version = (int)version;
@ -93,7 +94,6 @@ namespace PKHeX.Core
ApplyDetailsBall(pk);
pk.Language = lang;
pk.Form = GetWildForm(pk, Form, sav);
pk.OT_Friendship = pk.PersonalInfo.BaseFriendship;
SetMetData(pk, level, Location);

View file

@ -227,6 +227,7 @@ namespace PKHeX.Core
l.Ability2 = s.Ability2;
l.AbilityH = s.AbilityH;
l.Gender = s.Gender;
l.EXPGrowth = s.EXPGrowth;
}
}
}