Jump to content

Roaming Pokémon IV glitch: Difference between revisions

Nintendo just owns the rights Game Freak actually programmed the games.
>Torchickens
>Glisp
(Nintendo just owns the rights Game Freak actually programmed the games.)
Line 6:
==Technical explanation==
 
Information for the individual values of a Pokémon is read in a [[dword]] (a total of 32 bits in [[binary]]) or {{Explain|four bytes|As most modern hardware use eight bits for every byte}}. Hence the permutations of the individual values a Pokémon has is denoted by 11111111111111111111111111111111 or a total of 4294967296 possibilities, which includes the unlikely circumstances of a Pokémon having 0 IVs in every stat. When the player encounters a Roaming Pokémon however, an oversight by NintendoGame Freak was that only the first byte is defined (the first eight bits from the right). By default, if the other bytes for the individual values are not defined every other bit is taken as 0. Therefore, the permutations are reduced to just 11111111 or 256. HP was the first stat in the data structure so it remains unchanged, but the other stats except Attack remain undefined and the Attack IV can only be an integer between 0 and 7.
 
==See also==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.