Anonymous user
Luck manipulation: Difference between revisions
→How pseudorandom number generators are used in the Pokémon games
>Torchickens |
>Torchickens |
||
Line 10:
Two pseudorandom number generators exist in Pokémon Diamond and Pearl.
#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.<br /><br />Before the pseudorandom number generator is used the game will use generate a 'random' number based on the value of a [[qword]] (known as the random seed or 'seed state'). The seed can range from any value between 1 and 4294967295 and is usually generated after the player chooses 'Continue' on the title screen, except in Pokémon Emerald. The random seed changes depending on variables which are 'almost random', such the game clock time or the amount of recent coin tosses. To determine a 'random' number the game will then use the algorithm (0x41C64E6D * Seed) + 0x6073, where 0x41C64E6D is the integer 1103515245 and where 0x6073 is the integer 24691.
==A glitch in the pseudorandom number generator process of Pokémon Emerald and Pokémon Platinum==
|