# Changes

## Pseudorandom number generation in Pokémon

, 12:21, 6 January 2013
no edit summary
{{move|PseudorandomA '''pseudorandom number generationgenerator''' is an electronic device or software's attempt at creating a random number. Just as rolling a dice is not 'random' (being determined by factors such as force and angle of the throw, as well as friction), computers cannot be truly 'random'. In order to generate 'random' events in Pokémon}}games and other forms of software, they must get as close to looking it as they can. There are limitless ways of accomplishing this. The degree of apparent randomness depends on the ability to predict the next result of the algorithm.
A '''pseudo-random number generator''' is an electronic device or software's attempt at creating a random number. Just as rolling a dice is not 'random' (being determined by factors such as force and angle of the throw, as well as friction), computers cannot be truly 'random'. In order to generate 'random' events in games and other forms of software, they must get as close to looking it as they can. There are limitless ways of accomplishing this. The degree of apparent randomness depends on the ability to predict the next result of the algorithm.

==Mechanics==
* Determining the [[Pokémon Lottery Corner]] lucky number.

==Alternative pseudo-randompseudorandom number generator==
The game also uses a different algorithm to alternate, reroll, or modify a previously randomly generated value. The algorithm works in the same nature, however the equation changes to:

==RNG Abuse==
'''RNG abuse''', also referred to as '''RNG manipulation,''' is a procedure that manipulates the pseudo-randompseudorandom number generator in the main series games to obtain a desired Pokémon. It is commonly used to obtain [[Shiny Pokémon]] or Pokémon with high [[individual values]].

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.