Anonymous user
RNG correlation (Generation I): Difference between revisions
m
→Mechanics: Undid a superfluous change when doing text replacement ("~" for approximation should not be changed).
m (Text replacement - "~" to "–") |
m (→Mechanics: Undid a superfluous change when doing text replacement ("~" for approximation should not be changed).) |
||
Line 5:
==Mechanics==
:''See also: [[Luck manipulation (Generation I)#Mechanics of the RNG]]''
In {{RBY}}, the value of the RNG advances each time by the value of the rDIV register, which itself is incremented at a rate of 16384Hz (
In particular, if the random numbers are drawn in a tight loop, then they will approximately follow a quadratic function (modulo 256), with the leading coefficient depending on the timing of the loop.
|