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; }
public static EncounterArea8[] GetAreas(byte[][] input, GameVersion game) { var result = new EncounterArea8[input.Length]; for (int i = 0; i < input.Length; i++) { result[i] = new EncounterArea8(input[i], game); } return(result); }
protected override bool IsMatchLevel(PKM pkm, DexLevel evo) { var met = pkm.Met_Level; if (met == Level) { return(true); } if (EncounterArea8.IsBoostedArea60(Location)) { return(met == 60); } return(false); }
protected override bool IsMatchLocation(PKM pkm) { var loc = pkm.Met_Location; return(loc == SharedNest || EncounterArea8.IsWildArea8(loc) || EncounterArea8.IsWildArea8Armor(loc)); }