mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 06:34:19 +00:00
Fix EncounterSlot form set order, copy expgrowth for consistency
Closes #3387 ty @odin880 !
This commit is contained in:
parent
5c33245221
commit
69ee363663
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -227,6 +227,7 @@ namespace PKHeX.Core
|
|||
l.Ability2 = s.Ability2;
|
||||
l.AbilityH = s.AbilityH;
|
||||
l.Gender = s.Gender;
|
||||
l.EXPGrowth = s.EXPGrowth;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue