示例#1
0
        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;
        }
示例#2
0
        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);
        }
示例#3
0
        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);
        }
示例#4
0
        protected override bool IsMatchLocation(PKM pkm)
        {
            var loc = pkm.Met_Location;

            return(loc == SharedNest || EncounterArea8.IsWildArea8(loc) || EncounterArea8.IsWildArea8Armor(loc));
        }