Skip to content

Exports

Name Description Return
addPokemon Adds a Pokémon to a trainer's party or storage. Returns true if the Pokémon was successfully added.
createPokemon Creates a Pokémon that is not spawned. The unique ID of the created Pokémon.
despawnPokemon Removes a spawned Pokémon from the world. nil
getTrainerBySource Gets the trainer ID by the current player source. nil
spawnPokemon Spawns an existing Pokémon at the specified coordinates. nil
wanderPokemon Makes a Pokémon start wandering around its current position. nil
wanderStopPokemon Makes a Pokémon stop wandering around its current position. nil