mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-26 15:35:33 -05:00
Fix for pokemon with encounters in both safari zone and bug contest
This commit is contained in:
@@ -845,7 +845,7 @@ internal static EncounterSlot[] getValidWildEncounters(PKM pkm, GameVersion game
|
||||
// safari ball only in safari zones and non safari ball only outside safari zones
|
||||
s = s_Safari.ToList();
|
||||
|
||||
if (s.Count() > 1 && !IsSafariBall && pkm.GenNumber == 4)
|
||||
if (s.Count() > 1 && pkm.GenNumber == 4)
|
||||
{
|
||||
var IsSportsBall = pkm.Ball == 0x18;
|
||||
var s_BugContest = IsSportsBall ? s.Where(slot => slot.Type == SlotType.BugContest) : s.Where(slot => slot.Type != SlotType.BugContest);
|
||||
|
||||
Reference in New Issue
Block a user