The IVs of roaming Pokémon in Ruby, Sapphire, FireRed and LeafGreen.
Roamers: IVs almost all zero
A Pokémon's six IVs fit in one 32-bit number, 5 bits each. When the game recreates a roaming Pokémon from its saved data, the function that stores these IVs reads only the first byte of that number. It therefore gets the 5 HP bits and only 3 of the 5 Attack bits; everything else is zero.
A roaming Latios, Latias, Raikou, Entei or Suicune thus has an Attack IV of 7 at most and 0 in Defense, Speed, Special Attack and Special Defense. Emerald reads all four bytes.
Sources : pokeruby src/pokemon_2.c et pokefirered src/pokemon.c : SetBoxMonData, case MON_DATA_IVS (« u32 ivs = *data; // Bug ») ; pokeemerald src/pokemon.c (quatre octets lus) ; src/roamer.c : CreateRoamerMonInstance
See also
The Ruby and Sapphire Berry Glitch and Emerald's always-zero seed have their own pages in this section.
Sources : pokeruby src/rtc.c ; pokeemerald src/main.c