stephoogl.blogg.se

Pokemon sleep wiki
Pokemon sleep wiki




  1. #Pokemon sleep wiki how to
  2. #Pokemon sleep wiki code

The remainder is the number of days remaining for it to be infectious.

  • >15, has a remainder when divided by 16 - The Pokémon has Pokérus and is infectious.
  • 0 - The Pokémon does not have Pokérus, and has never had it.
  • It contains both the strain of the virus and the remaining infection time in days. Is a number between 0 and 255 which describes the Pokérus infection state of this Pokémon. They are randomly set when the Pokémon is created. These can each be between 0 and 31 inclusive. They are all 0 when the Pokémon is created.Īn array of the Individual Values this Pokémon has, in the order: These can each be between 0 and 255 inclusive.
  • pokeX, formX - The species and forms of up to three Pokémon to appear on the mail, if appropriate (" X" is 1, 2 or 3).Īn array of the Effort Values this Pokémon has, in the order:.
  • sender - The name of the mail's sender.
  • This determines the mail's background image.
  • item - Is the same value as the Pokémon's held item.
  • If it is a mail item, then this attribute is an array of several attributes: If the Pokémon's item is not a mail item, this attribute is nil. Is the internal number of that item, which is the same as PBItems::ORANBERRY (or similar). The list of Poké Balls and their corresponding numbers is in the script section PItem_Pokeballs. Is calculated from data in the PBS file "moves.txt" and the " ppup" attribute.Ī number representing the type of Poké Ball that the Pokémon is in.
  • totalpp - The maximum PP of this move.
  • Is looked up from the PBS file "moves.txt". One boost will add 20% of the original maximum PP, and item effects limit the maximum number of allowed boosts to 3 (there is no inherent limit on the number of boosts allowed).
  • ppup - The number of boosts to the maximum PP this move has had.
  • Can also be referred to as PBMoves::TACKLE. Each move slot has the following attributes: This is the only way in which eggs are different to Pokémon.Īn array of 4 move slots that the Pokémon has.

    #Pokemon sleep wiki code

    The code pkmn.egg? will return whether pkmn is an egg (it is if " eggsteps" is a positive number). The number of steps until the egg hatches. When the Pokémon leaves battle while badly poisoned, this value is set to 0 and it becomes regular Poisoned (even in later battles). Badly poisoned - If the Pokémon is Poisoned and this is "1", the Pokémon is badly poisoned instead (which affects how much poison damage it takes in battle).This number is set when the Pokémon is made to fall asleep. Asleep - Is the number of rounds the Pokémon will remain asleep.The current maximum HP amount the Pokémon can haveĪll of these are calculated depending on the Pokémon's species, level, IVs, EVs and nature.0 is the default form, and Pokémon with form 0 are as defined in the PBS file "pokemon.txt". If defined, forces the Pokémon to be shiny (true) or not (false). If defined, forces the Pokémon's nature to be the value of this attribute. Depends on the attribute " natureflag" if defined, or the attribute " personalID" if not. It cannot be set to a gender that the Pokémon cannot have. If defined, forces the Pokémon to be male (0) or female (1). Depends on the attribute " genderflag" if defined, or the attribute " personalID" if not. Is either 0 (male), 1 (female) or 2 (genderless). It is not possible to give the Pokémon any ability other than those defined in the PBS file "pokemon.txt" for its species (or "pokemonforms.txt" for its species and form). If defined, forces the Pokémon's ability to be the first natural (0), second natural (1) or hidden (2) ability available to its species. Depends on the attribute " abilityflag" if defined, or the attribute " personalid" if not. If the Pokémon only has one type, then " type2" will be the same as " type1".

    pokemon sleep wiki

    Depends on the first/second types as defined for the Pokémon's species in the PBS file "pokemon.txt" or "pokemonforms.txt". If blank, is the Pokémon's species name instead. $Trainer.partyis the first Pokémon in the player's party) - see Manipulating Pokémon for ways to refer to individual Pokémon. The term " pkmn" in the examples below should be replaced with the Pokémon to be modified (e.g. Together, these attributes define that specific Pokémon. This includes the properties an individual Pokémon has, along with other general information about them.Įach individual Pokémon in the game has a number of attributes. This page describes how Pokemon work in-game. For Pokémon before they're hatched, see Eggs. For adding, removing, counting and choosing Pokémon, see Manipulating Pokémon.

    #Pokemon sleep wiki how to

    For how to change a property of an individual Pokémon, see Editing a Pokémon.






    Pokemon sleep wiki