Open main menu

Bulbapedia β

Changes

Pseudorandom number generation in Pokémon

62 bytes added, 03:23, 24 July 2011
RNG Abuse
As the initial seed is predictable, the "random" numbers are predictable as well. {{game|Emerald}}'s initial seed is always 0. The Generation IV and V games use the [[Nintendo DS]]'s date, time, and delay between starting the game and pressing "Continue" to generate the initial seed.
 
The random number generator is used to determine a Pokémon's [[personality value]] and [[IV|Individual values]] when it is encountered or received. After the initial seed is discovered, the player can control a Pokémon's characteristics with frame precise timing (frame increases by 60 frames per second in Pokémon Emerald). There are several methods used to create a Pokémon's characteristics - for instance, a bred Pokémon and a stationary Pokémon's characteristics are generated through different methods.
 
There are some limitations. As a player's Trainer ID and Secret ID determine a Pokémon's shininess, shiny Pokémon generated through certain methods can only have certain Individual Values. Also, it is not possible to manipulate the nature of a Pokémon obtained through a [[Wonder Card]].
2
edits