namespace PKHeX.Core { /// /// Encounter Slot found in . /// /// public sealed class EncounterSlot8 : EncounterSlot { public readonly AreaWeather8 Weather; public override string LongName => Weather == AreaWeather8.All ? wild : $"{wild} - {Weather.ToString().Replace("_", string.Empty)}"; public override int Generation => 8; public EncounterSlot8(EncounterArea8 area, int specForm, int min, int max, AreaWeather8 weather) : base(area) { Species = specForm & 0x7FF; Form = specForm >> 11; LevelMin = min; LevelMax = max; Weather = weather; } } }