using static PKHeX.Core.Encounters8Nest; namespace PKHeX.Core { /// /// Generation 8 Nest Encounter (Distributed Crystal Data) /// /// public sealed class EncounterStatic8NC : EncounterStatic8Nest { protected override bool IsMatchLocation(PKM pkm) { var loc = pkm.Met_Location; return loc == SharedNest || loc == Watchtower; } } }