66,174

edits
# Changes

no edit summary

==Mechanics==

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

==Alternative ~~pseudo-random~~pseudorandom 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-random~~pseudorandom 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.

==External links==

* ~~{{~~[[wp:Pseudorandom number generator|Pseudorandom number generator~~}}~~ on Wikipedia]]

* [http://www.smogon.com/ingame/rng/emerald_rng_intro Smogon's explanation and guide on Pokémon Emerald RNG Abuse]

* [http://www.smogon.com/ingame/rng/dpp_rng_intro Smogon's explanation and guide on Generation IV RNG Abuse]