Рет қаралды 283,313
I explain all about how RNG works in SM64. RNG is a short stored at 0x00C7A962. When an object calls RNG, the RNG value is inputted into the RNG function, which then outputs a new RNG value. This new RNG value is given to the object to use and also replaces the old RNG value. RNG starts at 0 when the game is turned on, and then goes through a sequence of 65114 values before repeating. (Note that RNG is not reset to 0 when you change save files.) Thus, 422 of the 65536 potential RNG values can never be achieved.
Big thanks to Tyler Kehne for telling me all about how RNG works and giving me the RNG function code. Also thanks to Peter Fedak for looking into some RNG behavior for me, and thanks to Kaze for answering some of my RNG questions.
To download the list of the 65114 RNG values in sequential order, click here:
drive.google.com/file/d/0B3JC...
To download the list of the 422 unreachable RNG values in numerical order, click here:
drive.google.com/file/d/0B3JC...