Anonymous user
RNG oddities (Generation III): Difference between revisions
no edit summary
>Sherkel (Created page with "{{Misc Gen 3}} While luck manipulation can be considered a class of non-glitch exploits, there are aspects of RNG implementation in the Generation III ha...") |
>Sherkel No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3:
== Emerald initial seeding ==
In {{Emerald}}, no matter what, the RNG seed is 0 upon bootup, despite the existence of substantial initial seeding algorithms in {{RS}} and {{FRLG}}.<!-- Is there an unused one somewhere in Emerald? Should we say something about what this can lead to? (All I can think of is soft-resetters...) --> (When the internal battery has run dry or is disconnected in Ruby and Sapphire, the algorithm always returns 5A0, resulting in the same predictability as in Emerald. It takes the internal clock roughly two days to stop functioning after the battery is disconnected.)
== VBlank RNG interrupt glitch ("Methods") ==
In all five games, there exist multiple sets of PIDs and IVs for a given Egg or encounter on any given frame. Even though the effects of this are mostly innocuous and potentially beneficial to the player,
The GBA's VBlank routine runs roughly once every 16.743 milliseconds. Stat generation is generally much faster than this, making four calls to the RNG returning a halfword each time, two each for the PID and IV spread. These can be predicted for any given current seed by running the LCG on
These unintended orders have been referred to as "methods" by various sources. Three have been confirmed to occur on official hardware. Each has a counterpart that includes the random encounter nature hunt routine ("Methods H-1, H-2, and H-4"). Method H-1 almost never occurs, as the slowness of the nature hunt almost always causes VBlank to interrupt the four main RNG calls. Method 4 has frequently occurred in [[bp:Pokémon Box Ruby & Sapphire|Pokémon Box Ruby & Sapphire]], and H-1 has been occasionally witnessed in {{RS}}.
|