Exemplo n.º 1
0
        private static List <int> AddMovesLevelUp5(List <int> moves, GameVersion ver, int species, int max, int form)
        {
            switch (ver)
            {
            case Any:
                LearnBW.AddMoves(moves, species, form, max);
                return(LearnB2W2.AddMoves(moves, species, form, max));

            case B:
            case W:
            case BW:
                return(LearnBW.AddMoves(moves, species, form, max));

            case B2:
            case W2:
            case B2W2:
                return(LearnB2W2.AddMoves(moves, species, form, max));
            }
            return(moves);
        }
        private static List <int> AddMovesLevelUp5(List <int> moves, GameVersion ver, int species, int max, int form)
        {
            switch (ver)
            {
            case Any:
                if (species != 646)     // Kyurem moves are same for both versions, but forme movepool not present.
                {
                    LearnBW.AddMoves(moves, species, form, max);
                }
                return(LearnB2W2.AddMoves(moves, species, form, max));

            case B:
            case W:
            case BW:
                return(LearnBW.AddMoves(moves, species, form, max));

            case B2:
            case W2:
            case B2W2:
                return(LearnB2W2.AddMoves(moves, species, form, max));
            }
            return(moves);
        }