Learn Pokémon Moves
Usage
learn_moves(moves, level = 50L, generation = 1L, n = 4L)
choose_moves(moves, level = 50L, generation = 1L, n = 4L)
Arguments
- moves
A list of moves extracted from
pokeapi::get_pokemon
- level
The level of the Pokémon. Used to work out which moves are viable
- generation
The generation to look at. Used to work out which moves are viable
- n
The maximum number of moves learnt by the Pokémon. Must be between 1 and 4 (default is 4).
Examples
if (FALSE) { # interactive()
pikachu <- pokeapi::get_pokemon(25)
pikachu_moves <- learn_moves(pikachu$moves)
}