Set friendship after form set

Resolves GO galarian stunfisk, ty matt
This commit is contained in:
Kurt 2021-05-05 08:43:32 -07:00
parent 9826067a18
commit fa5bc0d634

View file

@ -103,8 +103,8 @@ namespace PKHeX.Core
var ball = Area.Type.GetRequiredBallValueWild(Generation, Location);
pk.Ball = (int)(ball == Ball.None ? Ball.Poke : ball);
pk.Language = lang;
pk.OT_Friendship = pk.PersonalInfo.BaseFriendship;
pk.Form = GetWildForm(pk, Form, sav);
pk.OT_Friendship = pk.PersonalInfo.BaseFriendship;
SetMetData(pk, level, Location);
SetPINGA(pk, criteria);