namespace PKHeX.Core; /// /// Encounter Slot found in . /// /// public sealed record EncounterSlot5 : EncounterSlot { public override int Generation => 5; public override EntityContext Context => EntityContext.Gen5; public EncounterSlot5(EncounterArea5 area, ushort species, byte form, byte min, byte max) : base(area, species, form, min, max) { } public bool IsHiddenGrotto => Area.Type == SlotType.HiddenGrotto; protected override HiddenAbilityPermission IsHiddenAbilitySlot() => Area.Type == SlotType.HiddenGrotto ? HiddenAbilityPermission.Always : HiddenAbilityPermission.Never; }