Jump to content

Luck manipulation: Difference between revisions

>Torchickens
No edit summary
>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.
 
: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 seed is the product of eight bytes and can range from any value between 1 and 4294967295. This number is usually generated after the player chooses 'Continue' on the title screen or will depend on the values of previous in-game variables. To determine a 'random' number the game will then use the algorithm (0x41C64E6D * Seed) + 0x6073, where 0x41C64E6D is the product of eight in-game variables between 1 andinteger 1103515245 and where 0x6073 is the product of two in-game variables between 1 andinteger 24691.
 
2. The second pseudorandom number generator creates a value ensuring that the Manaphy Egg obtained from Pokémon Ranger does not contain a shiny Manaphy. It also determines the species of a Pokémon swarm, the species of Pokémon found in the telescopes within the Great Marsh, the Pokémon found in the Trophy Garden and ensures that the Pokémon obtained from Mystery Gift cards are not shiny.
 
:The second pseudorandom number generator also depends on a random seed but instead the game will useuses the algorithm (0x6C078965 * Seed) + 0x1, where 0x6C078965 is the productinteger of eight bytes ranging between 1 and 18124332531822919013 and 0x1 is 1the orinteger 01.
 
==A glitch in the pseudorandom number generator process of 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.