mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 19:09:21 -05:00
Update EncounterSlot3XD.cs
Closes #4468 Co-Authored-By: santacrab2 <79347566+santacrab2@users.noreply.github.com>
This commit is contained in:
@@ -61,7 +61,8 @@ private void SetPINGA(XK3 pk, EncounterCriteria criteria, PersonalInfo3 pi)
|
||||
{
|
||||
MethodPokeSpot.SetRandomPID(pk, criteria, pi.Gender, SlotNumber);
|
||||
if (criteria.IsSpecifiedIVsAll() && !MethodPokeSpot.TrySetIVs(pk, criteria, LevelMin, LevelMax))
|
||||
MethodPokeSpot.SetRandomIVs(pk, criteria, LevelMin, LevelMax);
|
||||
return;
|
||||
MethodPokeSpot.SetRandomIVs(pk, criteria, LevelMin, LevelMax);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user