Skip to content

← Previous | Next →


createPokemon

Description

Creates a Pokémon that is not spawned.

Return

Type Description
PokemonID The unique ID of the created Pokémon.

Parameters

# Name Type Mandatory Description
1 name PokemonSpecies Yes The species of the Pokémon.
2 shiny boolean No Whether the Pokémon is shiny.
3 locked boolean No If true, prevents modification.
4 level integer Yes The level of the Pokémon (1 to maxGlobalLevel).
5 sex string No The gender of the Pokémon ('M', 'F', or 'N' for none).
6 nature PokemonNature No The nature of the Pokémon.
7 ability PokemonAbility No The ability of the Pokémon.
8 IV table No Individual values (IVs) for stats (HP, ATK, DEF, SPA, SPD, SPE).
9 EV table No Effort values (EVs) for stats (HP, ATK, DEF, SPA, SPD, SPE).
10 move1 PokemonMove No First move.
11 move2 PokemonMove No Second move.
12 move3 PokemonMove No Third move.
13 move4 PokemonMove No Fourth move.