RNG: Difference between revisions

2 bytes added ,  21 May 2019
m
(updated)
Line 8: Line 8:


function RNG:
function RNG:
     if RNGSeed = 22026:
     if RNGSeed is 22026:
         set RNGSeed to 0
         set RNGSeed to 0


Line 82: Line 82:


Now we return the seed. 1010101001010101 in decimal is 43605, which is the expected result.
Now we return the seed. 1010101001010101 in decimal is 43605, which is the expected result.
===Description===
===Description===
[[File:RNG Graph.png|500px|right|A graph showing notable RNG values and indices in SM64.]]
[[File:RNG Graph.png|500px|right|A graph showing notable RNG values and indices in SM64.]]