Luck manipulation (Generation I)

From Glitch City Wiki
Revision as of 00:18, 8 February 2019 by >Sherkel (Created page with "{{incomplete}} Pseudorandom number generation in {{RBY}} uses the rDIV function, which is stored in hardware and thus makes intentionally landing on a specific value in these...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This article is incomplete. Please feel free to add any missing information about the subject. It is missing: {{{1}}}.

Pseudorandom number generation in Pokémon Red, Blue, and Yellow uses the rDIV function, which is stored in hardware and thus makes intentionally landing on a specific value in these games very difficult and unreliable. The only known emulators that emulate this function properly are BGB, Sameboy, and Gambatte-Speedrun. The function also behaves differently between the original Game Boy, Game Boy Color, Super Game Boy, Super Game Boy 2, and 3DS Virtual Console. However, certain series of timed inputs based on the DMG-001's rDIV function have been discovered for use in speedrun routes and work as intended nearly all of the time provided the player does not miss any input windows. The save file's in-game time also affects the initial seed, and at times can cause one of these procedures to fail. What is needed to fix this is simply saving again.

External links

  1. RNG manipulation FAQ on Pokémon Speedruns wiki
  2. random.asm
This article or section is a stub. You can help Glitch City Wiki by expanding it.