Pseudorandom number generation: Difference between revisions

(Fixed broken Smogon links pertaining to Generation 4 and 5 PRNG abuse; added numerous links to other articles.)
Line 33: Line 33:
'''RNG abuse''', also referred to as '''RNG manipulation,''' is a procedure that manipulates the pseudorandom number generator in the main series games to obtain a desired Pokémon. It is commonly used to obtain [[Shiny Pokémon]], Pokémon with high [[individual values]], Pokémon with a specific set of individual values that yield a particular {{m|Hidden Power}} output (regarding [[Type]] and/or move [[Power]]), or Pokémon with certain Natures.
'''RNG abuse''', also referred to as '''RNG manipulation,''' is a procedure that manipulates the pseudorandom number generator in the main series games to obtain a desired Pokémon. It is commonly used to obtain [[Shiny Pokémon]], Pokémon with high [[individual values]], Pokémon with a specific set of individual values that yield a particular {{m|Hidden Power}} output (regarding [[Type]] and/or move [[Power]]), or Pokémon with certain Natures.


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 {{Gen|V}} games use the [[Nintendo DS]]'s [[Days of the week|date]], [[time]], and delay between starting the game and pressing "Continue" to generate the initial seed.
In games where the initial seed (on startup) is predictable, the subsequent "random" numbers are predictable as well. {{game|Emerald}}'s initial seed is always 0. The [[Generation IV]] games use the [[Nintendo DS]]'s [[Days of the week|date]], [[time]], and delay between starting the game and pressing "Continue" to generate the initial seed. {{Gen|V}} games use the [[Nintendo DS]]'s [[Days of the week|date]], [[time]], keys currently pressed, and other entropy data to create a seed moments before the Nintendo logo appears.


The random number generator is used to determine a Pokémon's [[personality value]] and individual values when it is encountered or [[Pokémon Egg|rece]][[Gift Pokémon|ived]]. After the initial seed is discovered, the player can control a Pokémon's characteristics with frame-precise timing. There are several methods used to create a Pokémon's characteristics — for instance, a bred Pokémon and a stationary wild Pokémon's characteristics are generated through different methods.
The random number generator is used to determine a Pokémon's [[personality value]] and individual values when it is encountered or [[Pokémon Egg|rece]][[Gift Pokémon|ived]]. By searching for initial seeds that satisfy the characteristics required, the player can then hit the target seed and advance 'frames' to receive their target characteristics. There are several methods used to influence a Pokémon's characteristics — for instance, a bred Pokémon and a stationary wild Pokémon's characteristics are generated through different methods.


There are some limitations. As a player's [[Trainer ID|Trainer ID and Secret ID]] numbers 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]].
In Generation [[Generation III]] and [[Generation IV]], there are some limitations. As a player's [[Trainer ID|Trainer ID and Secret ID]] numbers determine a Pokémon's shininess, Shiny Pokémon generated through certain methods can only have certain individual values. Due to [[Wonder Card]] gifts using a timer register to create personality values, it is not possible to manipulate a gift's nature. In [[Generation V]], this is no longer the case as the individual values and personality values are determined from two different RNGs.


In the Pokémon fandom, RNG abuse is slightly controversial. Proponents note that RNG abuse does not require a third-party device and that the Pokémon obtained through RNG abuse can be obtained through normal gameplay. In addition, Pokémon obtained through RNG abuse have been used at the {{DL|Play! Pokémon|Video Game Championships}}, an official tournament. However, some players believe that RNG abuse is cheating, as the action of picking a Pokémon's characteristics is similar to using a [[cheating]] device.
In the Pokémon fandom, RNG abuse is slightly controversial. Proponents note that RNG abuse does not require a third-party device and that the Pokémon obtained through RNG abuse can be obtained through normal gameplay. In addition, Pokémon obtained through RNG abuse have been used at the {{DL|Play! Pokémon|Video Game Championships}}, an official tournament. However, some players believe that RNG abuse is cheating, as the action of picking a Pokémon's characteristics is similar to using a [[cheating]] device.
185

edits