Exemplo n.º 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;
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 4
0
        protected override bool IsMatchLocation(PKM pkm)
        {
            var loc = pkm.Met_Location;

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