← Previous | Next →
createMonster
Description
Creates a Monster that is not spawned.
Return
Type | Description |
MonsterID | The unique ID of the created Monster. |
Parameters
# | Name | Type | Mandatory | Description |
1 | name | MonsterSpecies | Yes | The species of the Monster. |
2 | shiny | boolean | No | Whether the Monster is shiny. |
3 | locked | boolean | No | If true, prevents modification. |
4 | level | integer | Yes | The level of the Monster (1 to maxGlobalLevel). |
5 | sex | string | No | The gender of the Monster ('M', 'F', or 'N' for none). |
6 | nature | MonsterNature | No | The nature of the Monster. |
7 | ability | MonsterAbility | No | The ability of the Monster. |
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 | MonsterMove | No | First move. |
11 | move2 | MonsterMove | No | Second move. |
12 | move3 | MonsterMove | No | Third move. |
13 | move4 | MonsterMove | No | Fourth move. |