addPokemon
Description
Adds a Pokémon to a trainer's party or storage.
Return
Type | Description |
---|---|
boolean | Returns true if the Pokémon was successfully added. |
Parameters
# | Name | Type | Mandatory | Description |
---|---|---|---|---|
1 | pokemonId | PokemonID | Yes | The unique ID of the Pokémon to be added. |
2 | trainerId | TrainerID | Yes | The unique ID of the trainer who will receive the Pokémon. |