diff --git a/PKHeX.Core/Legality/Areas/EncounterArea2.cs b/PKHeX.Core/Legality/Areas/EncounterArea2.cs index 7318e4c42..827eebbb1 100644 --- a/PKHeX.Core/Legality/Areas/EncounterArea2.cs +++ b/PKHeX.Core/Legality/Areas/EncounterArea2.cs @@ -35,7 +35,7 @@ private EncounterArea2(byte[] data, GameVersion game) : base(game) var type = (Type = (SlotType)data[2]) & (SlotType)0xF; var rate = data[3]; - if (type > SlotType.Surf) // Not Grass/Surf + if (type is > SlotType.Surf and not SlotType.BugContest) // Not Grass/Surf { const int size = 5; int count = (data.Length - 4) / size;