Anonymous user
Luck manipulation: Difference between revisions
no edit summary
>Torchickens |
>Torchickens No edit summary |
||
Line 12:
#The first pseudorandom number generator manages the encryption of Pokémon data in the save file (also known as the hidden ID number), the generation of the Personality Value, the Individual Values of a wild Pokémon, the species of wild Pokémon when encountered in a particular area and for determining the lottery number.
:Before the pseudorandom number generator is used the game will use generate a 'random' number based on the product of the values of eight bytes (known as the [[random seed]] or 'seed state'
:The second pseudorandom number generator also depends on a [[random seed]] but instead the game will use the algorithm 0x6C078965 * Seed) + 0x1, where 0x6C078965 is the product of eight bytes ranging between 1 and 1812433253 and 0x1 is 1 or 0.
|