![]() ![]() Puts restrictions on how the player can remove the Pokémon from their party/ownership. Note that these properties are currently unused (except beauty for Feebas' evolution). Each stat should be a number between 0 and 255 inclusive. Set the ability to nil to make the choice of ability be determined as normal (from the Pokémon's ability index, which by default is derived from its personal ID). Note that this only applies until the Pokémon's species or form changes, so this usually shouldn't be used. To set the Pokémon's ability to any existing ability at all, simply set its ability. Use pkmn.ability_index = nil to make the choice of ability be determined by the Pokémon's personal ID. 0 is the first regular ability, 1 is the second regular ability, and 2+ are hidden abilities. To set the Pokémon's ability to one that is defined as available to its species, set its ability_index to the appropriate number. This page assumes that the Pokémon being edited is referred to as " pkmn". These will all return a Pokémon (if possible) and call it " pkmn". This can be done a variety of different ways depending on the circumstances. The first step is to find the Pokémon to edit. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |