Dword: Difference between revisions

From Glitch City Wiki
Jump to navigation Jump to search
Content added Content deleted
>Torchickens
No edit summary
>Torchickens
No edit summary
Line 1: Line 1:
{{wikipedia|dword}}
{{wikipedia|dword}}


A '''dword''' represents a 32-bit [[byte]], or four 8-bit bytes, with 4294967296 available [[identifiers]] in base 16.
A '''dword''' represents four 8-bit bytes (which is 32 bits), with 4294967296 available [[identifiers]] in base 16.


==In the Pokémon glitch community==
==In the Pokémon glitch community==

Revision as of 01:02, 17 August 2014

Wikipedia also has an article about Dword.

A dword represents four 8-bit bytes (which is 32 bits), with 4294967296 available identifiers in base 16.

In the Pokémon glitch community

In Generation III, the personality value of a Pokémon is stored in a dword in the Pokémon data substructure, and the individual values of a Pokémon are stored in a dword in the miscellaneous section of the Pokémon data substructures.

For this reason, the above dwords are relevant for two Generation III glitches:

  • The roaming Pokémon IV glitch, where data is only written to the first byte of a roaming Pokémon's individual values when it is captured (in Generation III games other than Pokémon Emerald).
  • The Generation III bit set glitch, where bit 0 and 2 (+hex:05) or bit 6 (+hex:40) may be written to a Pokémon in the storage box when one of the aforementioned bits are not set.

See also

  1. Bit
  2. Byte