Jump to content

Luck manipulation: Difference between revisions

m
>Torchickens
>Torchickens
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.
 
The second pseudorandom number generator creates a value, determining the species of a Pokémon swarm, the species of Pokémon found in the telescopes within the Great Marsh and the Pokémon found in the Trophy Garden. The algorithm specifically ensures that Mystery Gift Pokémon and a Manaphy hatched from an Egg from Pokémon Ranger is not shiny. This pseudorandom number generator instead uses the algorithm (0x6C078965 * Seed) + 0x1, where 0x6C078965 is the integer 1822919013 and 0x1 is the integer 1.<br /><br />Before the pseudorandom number generator is used the game will use generate a 'random' number based on the value of a [[qworddword]] (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 as 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. <br />
 
===Random seed oversight in Pokémon Emerald and Pokémon Platinum===
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.