Example #1
0
        internal static bool getEvolutionValid(PKM pkm)
        {
            var curr = getValidPreEvolutions(pkm);
            var poss = getValidPreEvolutions(pkm, 100, skipChecks: true);

            if (SplitBreed.Contains(getBaseSpecies(pkm, 1)))
            {
                return(curr.Count() >= poss.Count() - 1);
            }
            return(curr.Count() >= poss.Count());
        }
Example #2
0
        internal static bool getEvolutionValid(PK6 pk6)
        {
            var curr = getValidPreEvolutions(pk6);
            var poss = getValidPreEvolutions(pk6, 100);

            if (SplitBreed.Contains(getBaseSpecies(pk6, 1)))
            {
                return(curr.Count() >= poss.Count() - 1);
            }
            return(curr.Count() >= poss.Count());
        }