Pseudorandom number generation: Difference between revisions

m
updated link
m (The whole page is about PRNG in the Pokémon games, this section is specifically about algorithms)
m (updated link)
Line 18: Line 18:
*Pokémon Colosseum: <code>''result'' = 0x000343FD * ''seed'' + 0x00269EC3</code>
*Pokémon Colosseum: <code>''result'' = 0x000343FD * ''seed'' + 0x00269EC3</code>
*[[Game Boy Advance|GBA]] and [[Nintendo DS|DS]] games: <code>''result'' = 0x41C64E6D * ''seed'' + 0x00006073</code>
*[[Game Boy Advance|GBA]] and [[Nintendo DS|DS]] games: <code>''result'' = 0x41C64E6D * ''seed'' + 0x00006073</code>
*[[Distribution devices|Pokémon Machine v2]] distributions: <code>''result'' = 0x41C64E6D * ''seed'' + 0x00003039</code>
*[[Distribution device|Pokémon Machine v2]] distributions: <code>''result'' = 0x41C64E6D * ''seed'' + 0x00003039</code>


In [[Generation III]] and [[Generation IV]], this algorithm is used for the following:
In [[Generation III]] and [[Generation IV]], this algorithm is used for the following: