lgpe static encounters: Check specified IVs

https://discord.com/channels/401014193211441153/679178558597496872/1202059598941671434
This commit is contained in:
Kurt 2024-01-30 19:16:17 -08:00
parent aba7c800b3
commit 6e9ffe6390

View file

@ -96,6 +96,8 @@ public sealed record EncounterStatic7b(GameVersion Version)
return false;
if (FlawlessIVCount != 0 && pk.FlawlessIVCount < FlawlessIVCount)
return false;
if (IVs.IsSpecified && !Legal.GetIsFixedIVSequenceValidSkipRand(IVs, pk))
return false;
return true;
}