<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://projectpokemon.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wichu</id>
	<title>ProjectPokemon Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://projectpokemon.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wichu"/>
	<link rel="alternate" type="text/html" href="https://projectpokemon.org/wiki/Special:Contributions/Wichu"/>
	<updated>2026-05-07T17:22:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2304</id>
		<title>Pokémon HGSS Save File Structure</title>
		<link rel="alternate" type="text/html" href="https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2304"/>
		<updated>2009-09-16T17:06:11Z</updated>

		<summary type="html">&lt;p&gt;Wichu: Added Kanto badges&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Small block offsets==&lt;br /&gt;
&lt;br /&gt;
===Adventure Started - 0x34===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Pokémon League Champ Date - 0x3C===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Trainer Name - 0x64===&lt;br /&gt;
*8 unsigned 16bit integers.&lt;br /&gt;
*Each {{wplink|word_(computing)|word}} represents a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Trainer ID - 0x74===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
*The visible identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Secret ID - 0x76===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
* The hidden identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
*Determines variation in the game.&lt;br /&gt;
&lt;br /&gt;
===Money - 0x78===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Limited to 0xF423F (999,999)&lt;br /&gt;
&lt;br /&gt;
===Trainer Gender - 0x7C===&lt;br /&gt;
*0 if male, 1 if female.&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Country of Origin - 0x7D===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines whether or not Pokémon get an outsider EXP bonus.&lt;br /&gt;
*Countries other than Japan are inferred from D/P/Pt, since the game has only been released in Japanese.&lt;br /&gt;
: 0x1 = 日本語 (Japan)&lt;br /&gt;
: 0x2 = English (US/UK/AU)&lt;br /&gt;
: 0x3 = Français (France/Québec)&lt;br /&gt;
: 0x4 = Italiano (Italy)&lt;br /&gt;
: 0x5 = Deutsch (Germany)&lt;br /&gt;
: 0x7 = Español (Spain/Latin Americas)&lt;br /&gt;
: 0x8 = 한국어 (South Korea)&lt;br /&gt;
&lt;br /&gt;
===Johto League Badges - 0x7E===&lt;br /&gt;
*Unsigned 8bit bitfield&lt;br /&gt;
*Determines what PokéMart items are for sale, what level outsider Pokémon will obey until, and flags certain in-game events.&lt;br /&gt;
: 0x01 = Zephyr Badge&lt;br /&gt;
: 0x02 = Hive Badge&lt;br /&gt;
: 0x04 = Plain Badge&lt;br /&gt;
: 0x08 = Fog Badge&lt;br /&gt;
: 0x10 = Storm Badge&lt;br /&gt;
: 0x20 = Mineral Badge&lt;br /&gt;
: 0x40 = Glacier Badge&lt;br /&gt;
: 0x80 = Rising Badge&lt;br /&gt;
&lt;br /&gt;
===Multiplayer Avatar - 0x7F===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines the sprite seen by other players in a multiplayer environment such as the Union Room.&lt;br /&gt;
: 0x00 = None&lt;br /&gt;
: 0x03 = School Kid&lt;br /&gt;
: 0x05 = Bug Catcher&lt;br /&gt;
: 0x06 = Lass&lt;br /&gt;
: 0x07 = Battle Girl&lt;br /&gt;
: 0x0B = Ace Trainer Male&lt;br /&gt;
: 0x0D = Beauty&lt;br /&gt;
: 0x0E = Ace Trainer Female&lt;br /&gt;
: 0x0F = Roughneck&lt;br /&gt;
: 0x1F = Pop Idol&lt;br /&gt;
: 0x23 = Social&lt;br /&gt;
: 0x25 = Cowgirl&lt;br /&gt;
: 0x2A = Ruin Maniac&lt;br /&gt;
: 0x32 = Black Belt&lt;br /&gt;
: 0x3E = Rich Boy&lt;br /&gt;
: 0x3F = Lady&lt;br /&gt;
: 0x46 = Psychic&lt;br /&gt;
&lt;br /&gt;
===Kanto League Badges - 0x83===&lt;br /&gt;
*Unsigned 8bit bitfield&lt;br /&gt;
*Determines what PokéMart items are for sale, what level outsider Pokémon will obey until, and flags certain in-game events.&lt;br /&gt;
: 0x01 = Boulder Badge&lt;br /&gt;
: 0x02 = Cascade Badge&lt;br /&gt;
: 0x04 = Thunder Badge&lt;br /&gt;
: 0x08 = Rainbow Badge&lt;br /&gt;
: 0x10 = Soul Badge&lt;br /&gt;
: 0x20 = Marsh Badge&lt;br /&gt;
: 0x40 = Volcano Badge&lt;br /&gt;
: 0x80 = Earth Badge&lt;br /&gt;
&lt;br /&gt;
===Total Playtime - 0x86===&lt;br /&gt;
*Hours = unsigned 16bit integer.&lt;br /&gt;
*Minutes = unsigned 8bit integer.&lt;br /&gt;
*Seconds = unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Number of Current Party Pokémon - 0x94===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Party Pokémon - 0x98===&lt;br /&gt;
The Pokémon in the trainer&#039;s party.&lt;br /&gt;
*6 blocks of 236byte structures&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===General Items - 0x644===&lt;br /&gt;
{{main|Other items}}&lt;br /&gt;
The items in the Trainer&#039;s general Items bag pocket.&lt;br /&gt;
*165 blocks of 4 byte structures (two bytes for [[item index]], two bytes for quantity)&lt;br /&gt;
&lt;br /&gt;
===Key Items - 0x8D8===&lt;br /&gt;
{{main|Key items}}&lt;br /&gt;
The items in the Trainer&#039;s Key Items bag pocket.&lt;br /&gt;
*43 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===TMs &amp;amp; HMs - 0x9A4===&lt;br /&gt;
{{main|TMs and HMs}}&lt;br /&gt;
The items in the Trainer&#039;s TMs &amp;amp; HMs bag pocket.&lt;br /&gt;
*100 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*TMs &amp;amp; HMs are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Mail - 0xB34===&lt;br /&gt;
{{main|Mail}}&lt;br /&gt;
The items in the Trainer&#039;s Mail bag pocket.&lt;br /&gt;
*12 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Medicine - 0xB64===&lt;br /&gt;
{{main|Medicine}}&lt;br /&gt;
The items in the Trainer&#039;s Medicine bag pocket.&lt;br /&gt;
*40 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Berries - 0xC04===&lt;br /&gt;
{{main|Berries}}&lt;br /&gt;
The items in the Trainer&#039;s Berries bag pocket.&lt;br /&gt;
*64 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*Berries are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Balls - 0xD04===&lt;br /&gt;
{{main|Pokéballs}}&lt;br /&gt;
The items in the Trainer&#039;s Balls bag pocket.&lt;br /&gt;
*24 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Battle Items - 0xD64===&lt;br /&gt;
{{main|Battle items}}&lt;br /&gt;
The items in the Trainer&#039;s Battle Items bag pocket.&lt;br /&gt;
*31 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===First Registered Item - 0xDE0===&lt;br /&gt;
The first [[Key Item|Key items]] registered for use with the Y button.&lt;br /&gt;
*Unsigned 16bit integer, representing the ID of the item.&lt;br /&gt;
&lt;br /&gt;
===Second Registered Item - 0xDE2===&lt;br /&gt;
The first [[Key Item|Key items]] registered for use with a button on the Touch Screen.&lt;br /&gt;
*Unsigned 16bit integer, representing the ID of the item.&lt;br /&gt;
&lt;br /&gt;
===Starter Pokémon - 0xE44===&lt;br /&gt;
The [[Nationaldex|Pokédex]] number of the starter chosen.&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Map ID Number - 0x1234===&lt;br /&gt;
{{main|MAP LIST HGSS}}&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map X Coordinate - 0x236E===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Y Coordinate - 0x2372===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Z Coordinate - 0x2376===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map X Coordinate - 0x23BE===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Y Coordinate - 0x23C2===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Z Coordinate - 0x23C6===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
=== Money held by mother - 0xC0D8 ===&lt;br /&gt;
* Unsigned 32bit integer.&lt;br /&gt;
* Limited to 0xF423F (999,999)&lt;br /&gt;
&lt;br /&gt;
==Big block offsets==&lt;br /&gt;
&lt;br /&gt;
===Pokémon in Storage - 0xF700===&lt;br /&gt;
The Pokémon in Bill&#039;s PC.&lt;br /&gt;
*18 blocks of 4080byte structures (each box contains 30 136byte Pokémon structures).&lt;br /&gt;
*Each box structure is separated by 16 bytes of space (unlike D/P).&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===Box Names - 0x21708===&lt;br /&gt;
*18 blocks of 40byte structures&lt;br /&gt;
*The first 11 words (22 bytes) each {{wplink|word_(computing)|word}} represent a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Box Wallpapers - 0x219D8===&lt;br /&gt;
*18 bytes, each representing the wallpaper for the corresponding box.&lt;br /&gt;
: 0x20 = Ho-oh&lt;br /&gt;
: 0x21 = Lugia&lt;br /&gt;
: 0x22 = TV&lt;br /&gt;
: 0x23 = Pokéthlon&lt;br /&gt;
: 0x24 = Starters&lt;br /&gt;
: 0x25 = Pichu&lt;br /&gt;
: 0x26 = Ecruteak&lt;br /&gt;
: 0x27 = Team Rocket&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Structures]]&lt;br /&gt;
[[Category:Game Mechanics]]&lt;/div&gt;</summary>
		<author><name>Wichu</name></author>
	</entry>
	<entry>
		<id>https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2302</id>
		<title>Pokémon HGSS Save File Structure</title>
		<link rel="alternate" type="text/html" href="https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2302"/>
		<updated>2009-09-14T17:07:41Z</updated>

		<summary type="html">&lt;p&gt;Wichu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Small block offsets==&lt;br /&gt;
&lt;br /&gt;
===Adventure Started - 0x34===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Pokémon League Champ Date - 0x3C===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Trainer Name - 0x64===&lt;br /&gt;
*8 unsigned 16bit integers.&lt;br /&gt;
*Each {{wplink|word_(computing)|word}} represents a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Trainer ID - 0x74===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
*The visible identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Secret ID - 0x76===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
* The hidden identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
*Determines variation in the game.&lt;br /&gt;
&lt;br /&gt;
===Money - 0x78===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Limited to 0xF423F (999,999)&lt;br /&gt;
&lt;br /&gt;
===Trainer Gender - 0x7C===&lt;br /&gt;
*0 if male, 1 if female.&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Country of Origin - 0x7D===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines whether or not Pokémon get an outsider EXP bonus.&lt;br /&gt;
*Countries other than Japan are inferred from D/P/Pt, since the game has only been released in Japanese.&lt;br /&gt;
: 0x1 = 日本語 (Japan)&lt;br /&gt;
: 0x2 = English (US/UK/AU)&lt;br /&gt;
: 0x3 = Français (France/Québec)&lt;br /&gt;
: 0x4 = Italiano (Italy)&lt;br /&gt;
: 0x5 = Deutsch (Germany)&lt;br /&gt;
: 0x7 = Español (Spain/Latin Americas)&lt;br /&gt;
: 0x8 = 한국어 (South Korea)&lt;br /&gt;
&lt;br /&gt;
===Johto League Badges - 0x7E===&lt;br /&gt;
*Unsigned 8bit bitfield&lt;br /&gt;
*Determines what PokéMart items are for sale, what level outsider Pokémon will obey until, and flags certain in-game events.&lt;br /&gt;
: 0x01 = Zephyr Badge&lt;br /&gt;
: 0x02 = Hive Badge&lt;br /&gt;
: 0x04 = Plain Badge&lt;br /&gt;
: 0x08 = Fog Badge&lt;br /&gt;
: 0x10 = Storm Badge&lt;br /&gt;
: 0x20 = Mineral Badge&lt;br /&gt;
: 0x40 = Glacier Badge&lt;br /&gt;
: 0x80 = Rising Badge&lt;br /&gt;
&lt;br /&gt;
===Multiplayer Avatar - 0x7F===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines the sprite seen by other players in a multiplayer environment such as the Union Room.&lt;br /&gt;
: 0x00 = None&lt;br /&gt;
: 0x03 = School Kid&lt;br /&gt;
: 0x05 = Bug Catcher&lt;br /&gt;
: 0x06 = Lass&lt;br /&gt;
: 0x07 = Battle Girl&lt;br /&gt;
: 0x0B = Ace Trainer Male&lt;br /&gt;
: 0x0D = Beauty&lt;br /&gt;
: 0x0E = Ace Trainer Female&lt;br /&gt;
: 0x0F = Roughneck&lt;br /&gt;
: 0x1F = Pop Idol&lt;br /&gt;
: 0x23 = Social&lt;br /&gt;
: 0x25 = Cowgirl&lt;br /&gt;
: 0x2A = Ruin Maniac&lt;br /&gt;
: 0x32 = Black Belt&lt;br /&gt;
: 0x3E = Rich Boy&lt;br /&gt;
: 0x3F = Lady&lt;br /&gt;
: 0x46 = Psychic&lt;br /&gt;
&lt;br /&gt;
===Total Playtime - 0x86===&lt;br /&gt;
*Hours = unsigned 16bit integer.&lt;br /&gt;
*Minutes = unsigned 8bit integer.&lt;br /&gt;
*Seconds = unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Number of Current Party Pokémon - 0x94===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Party Pokémon - 0x98===&lt;br /&gt;
The Pokémon in the trainer&#039;s party.&lt;br /&gt;
*6 blocks of 236byte structures&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===General Items - 0x644===&lt;br /&gt;
{{main|Other items}}&lt;br /&gt;
The items in the Trainer&#039;s general Items bag pocket.&lt;br /&gt;
*165 blocks of 4 byte structures (two bytes for [[item index]], two bytes for quantity)&lt;br /&gt;
&lt;br /&gt;
===Key Items - 0x8D8===&lt;br /&gt;
{{main|Key items}}&lt;br /&gt;
The items in the Trainer&#039;s Key Items bag pocket.&lt;br /&gt;
*43 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===TMs &amp;amp; HMs - 0x9A4===&lt;br /&gt;
{{main|TMs and HMs}}&lt;br /&gt;
The items in the Trainer&#039;s TMs &amp;amp; HMs bag pocket.&lt;br /&gt;
*100 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*TMs &amp;amp; HMs are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Mail - 0xB34===&lt;br /&gt;
{{main|Mail}}&lt;br /&gt;
The items in the Trainer&#039;s Mail bag pocket.&lt;br /&gt;
*12 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Medicine - 0xB64===&lt;br /&gt;
{{main|Medicine}}&lt;br /&gt;
The items in the Trainer&#039;s Medicine bag pocket.&lt;br /&gt;
*40 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Berries - 0xC04===&lt;br /&gt;
{{main|Berries}}&lt;br /&gt;
The items in the Trainer&#039;s Berries bag pocket.&lt;br /&gt;
*64 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*Berries are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Balls - 0xD04===&lt;br /&gt;
{{main|Pokéballs}}&lt;br /&gt;
The items in the Trainer&#039;s Balls bag pocket.&lt;br /&gt;
*24 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Battle Items - 0xD64===&lt;br /&gt;
{{main|Battle items}}&lt;br /&gt;
The items in the Trainer&#039;s Battle Items bag pocket.&lt;br /&gt;
*31 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===First Registered Item - 0xDE0===&lt;br /&gt;
The first [[Key Item|Key items]] registered for use with the Y button.&lt;br /&gt;
*Unsigned 16bit integer, representing the ID of the item.&lt;br /&gt;
&lt;br /&gt;
===Second Registered Item - 0xDE2===&lt;br /&gt;
The first [[Key Item|Key items]] registered for use with a button on the Touch Screen.&lt;br /&gt;
*Unsigned 16bit integer, representing the ID of the item.&lt;br /&gt;
&lt;br /&gt;
===Starter Pokémon - 0xE44===&lt;br /&gt;
The [[Nationaldex|Pokédex]] number of the starter chosen.&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Map ID Number - 0x1234===&lt;br /&gt;
{{main|MAP LIST HGSS}}&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map X Coordinate - 0x236E===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Y Coordinate - 0x2372===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Z Coordinate - 0x2376===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map X Coordinate - 0x23BE===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Y Coordinate - 0x23C2===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Z Coordinate - 0x23C6===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
=== Money held by mother - 0xC0D8 ===&lt;br /&gt;
* Unsigned 32bit integer.&lt;br /&gt;
* Limited to 0xF423F (999,999)&lt;br /&gt;
&lt;br /&gt;
==Big block offsets==&lt;br /&gt;
&lt;br /&gt;
===Pokémon in Storage - 0xF700===&lt;br /&gt;
The Pokémon in Bill&#039;s PC.&lt;br /&gt;
*18 blocks of 4080byte structures (each box contains 30 136byte Pokémon structures).&lt;br /&gt;
*Each box structure is separated by 16 bytes of space (unlike D/P).&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===Box Names - 0x21708===&lt;br /&gt;
*18 blocks of 40byte structures&lt;br /&gt;
*The first 11 words (22 bytes) each {{wplink|word_(computing)|word}} represent a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Box Wallpapers - 0x219D8===&lt;br /&gt;
*18 bytes, each representing the wallpaper for the corresponding box.&lt;br /&gt;
: 0x20 = Ho-oh&lt;br /&gt;
: 0x21 = Lugia&lt;br /&gt;
: 0x22 = TV&lt;br /&gt;
: 0x23 = Pokéthlon&lt;br /&gt;
: 0x24 = Starters&lt;br /&gt;
: 0x25 = Pichu&lt;br /&gt;
: 0x26 = Ecruteak&lt;br /&gt;
: 0x27 = Team Rocket&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Structures]]&lt;br /&gt;
[[Category:Game Mechanics]]&lt;/div&gt;</summary>
		<author><name>Wichu</name></author>
	</entry>
	<entry>
		<id>https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2298</id>
		<title>Pokémon HGSS Save File Structure</title>
		<link rel="alternate" type="text/html" href="https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2298"/>
		<updated>2009-09-14T16:28:59Z</updated>

		<summary type="html">&lt;p&gt;Wichu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Small block offsets==&lt;br /&gt;
&lt;br /&gt;
===Adventure Started - 0x34===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Pokémon League Champ Date - 0x3C===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Trainer Name - 0x64===&lt;br /&gt;
*8 unsigned 16bit integers.&lt;br /&gt;
*Each {{wplink|word_(computing)|word}} represents a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Trainer ID - 0x74===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
*The visible identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Secret ID - 0x76===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
* The hidden identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
*Determines variation in the game.&lt;br /&gt;
&lt;br /&gt;
===Money - 0x78===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Limited to 0xF423F (999,999)&lt;br /&gt;
&lt;br /&gt;
===Trainer Gender - 0x7C===&lt;br /&gt;
*0 if male, 1 if female.&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Country of Origin - 0x7D===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines whether or not Pokémon get an outsider EXP bonus.&lt;br /&gt;
*Countries other than Japan are inferred from D/P/Pt, since the game has only been released in Japanese.&lt;br /&gt;
: 0x1 = 日本語 (Japan)&lt;br /&gt;
: 0x2 = English (US/UK/AU)&lt;br /&gt;
: 0x3 = Français (France/Québec)&lt;br /&gt;
: 0x4 = Italiano (Italy)&lt;br /&gt;
: 0x5 = Deutsch (Germany)&lt;br /&gt;
: 0x7 = Español (Spain/Latin Americas)&lt;br /&gt;
: 0x8 = 한국어 (South Korea)&lt;br /&gt;
&lt;br /&gt;
===Johto League Badges - 0x7E===&lt;br /&gt;
*Unsigned 8bit bitfield&lt;br /&gt;
*Determines what PokéMart items are for sale, what level outsider Pokémon will obey until, and flags certain in-game events.&lt;br /&gt;
: 0x01 = Zephyr Badge&lt;br /&gt;
: 0x02 = Hive Badge&lt;br /&gt;
: 0x04 = Plain Badge&lt;br /&gt;
: 0x08 = Fog Badge&lt;br /&gt;
: 0x10 = Storm Badge&lt;br /&gt;
: 0x20 = Mineral Badge&lt;br /&gt;
: 0x40 = Glacier Badge&lt;br /&gt;
: 0x80 = Rising Badge&lt;br /&gt;
&lt;br /&gt;
===Multiplayer Avatar - 0x7F===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines the sprite seen by other players in a multiplayer environment such as the Union Room.&lt;br /&gt;
: 0x00 = None&lt;br /&gt;
: 0x03 = School Kid&lt;br /&gt;
: 0x05 = Bug Catcher&lt;br /&gt;
: 0x06 = Lass&lt;br /&gt;
: 0x07 = Battle Girl&lt;br /&gt;
: 0x0B = Ace Trainer Male&lt;br /&gt;
: 0x0D = Beauty&lt;br /&gt;
: 0x0E = Ace Trainer Female&lt;br /&gt;
: 0x0F = Roughneck&lt;br /&gt;
: 0x1F = Pop Idol&lt;br /&gt;
: 0x23 = Social&lt;br /&gt;
: 0x25 = Cowgirl&lt;br /&gt;
: 0x2A = Ruin Maniac&lt;br /&gt;
: 0x32 = Black Belt&lt;br /&gt;
: 0x3E = Rich Boy&lt;br /&gt;
: 0x3F = Lady&lt;br /&gt;
: 0x46 = Psychic&lt;br /&gt;
&lt;br /&gt;
===Total Playtime - 0x86===&lt;br /&gt;
*Hours = unsigned 16bit integer.&lt;br /&gt;
*Minutes = unsigned 8bit integer.&lt;br /&gt;
*Seconds = unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Number of Current Party Pokémon - 0x94===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Party Pokémon - 0x98===&lt;br /&gt;
The Pokémon in the trainer&#039;s party.&lt;br /&gt;
*6 blocks of 236byte structures&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===General Items - 0x644===&lt;br /&gt;
{{main|Other items}}&lt;br /&gt;
The items in the Trainer&#039;s general Items bag pocket.&lt;br /&gt;
*165 blocks of 4 byte structures (two bytes for [[item index]], two bytes for quantity)&lt;br /&gt;
&lt;br /&gt;
===Key Items - 0x8D8===&lt;br /&gt;
{{main|Key items}}&lt;br /&gt;
The items in the Trainer&#039;s Key Items bag pocket.&lt;br /&gt;
*43 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===TMs &amp;amp; HMs - 0x9A4===&lt;br /&gt;
{{main|TMs and HMs}}&lt;br /&gt;
The items in the Trainer&#039;s TMs &amp;amp; HMs bag pocket.&lt;br /&gt;
*100 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*TMs &amp;amp; HMs are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Mail - 0xB34===&lt;br /&gt;
{{main|Mail}}&lt;br /&gt;
The items in the Trainer&#039;s Mail bag pocket.&lt;br /&gt;
*12 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Medicine - 0xB64===&lt;br /&gt;
{{main|Medicine}}&lt;br /&gt;
The items in the Trainer&#039;s Medicine bag pocket.&lt;br /&gt;
*40 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Berries - 0xC04===&lt;br /&gt;
{{main|Berries}}&lt;br /&gt;
The items in the Trainer&#039;s Berries bag pocket.&lt;br /&gt;
*64 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*Berries are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Balls - 0xD04===&lt;br /&gt;
{{main|Pokéballs}}&lt;br /&gt;
The items in the Trainer&#039;s Balls bag pocket.&lt;br /&gt;
*24 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Battle Items - 0xD64===&lt;br /&gt;
{{main|Battle items}}&lt;br /&gt;
The items in the Trainer&#039;s Battle Items bag pocket.&lt;br /&gt;
*31 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
=== Current shortcut item (Y-button) - 0xDE0 ===&lt;br /&gt;
The current shortcut item on the touch screen (which can also be activated with the Y-button).&lt;br /&gt;
* The value is the id of a item.&lt;br /&gt;
&lt;br /&gt;
=== Current second shortcut item - 0xDE2 ===&lt;br /&gt;
The current second shortcut item on the touch screen.&lt;br /&gt;
* The value is the id of a item.&lt;br /&gt;
&lt;br /&gt;
===First Registered Item - 0xDE0===&lt;br /&gt;
The first [[Key Item|Key items]] registered for use with the Y button.&lt;br /&gt;
*Unsigned 16bit integer, representing the ID of the item.&lt;br /&gt;
&lt;br /&gt;
===Second Registered Item - 0xDE2===&lt;br /&gt;
The first [[Key Item|Key items]] registered for use with a button on the Touch Screen.&lt;br /&gt;
*Unsigned 16bit integer, representing the ID of the item.&lt;br /&gt;
&lt;br /&gt;
===Starter Pokémon - 0xE44===&lt;br /&gt;
The [[Nationaldex|Pokédex]] number of the starter chosen.&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Map ID Number - 0x1234===&lt;br /&gt;
{{main|MAP LIST HGSS}}&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map X Coordinate - 0x236E===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Y Coordinate - 0x2372===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Z Coordinate - 0x2376===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map X Coordinate - 0x23BE===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Y Coordinate - 0x23C2===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Z Coordinate - 0x23C6===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
==Big block offsets==&lt;br /&gt;
&lt;br /&gt;
===Pokémon in Storage - 0xF700===&lt;br /&gt;
The Pokémon in Bill&#039;s PC.&lt;br /&gt;
*18 blocks of 4080byte structures (each box contains 30 136byte Pokémon structures).&lt;br /&gt;
*Each box structure is separated by 16 bytes of space (unlike D/P).&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===Box Names - 0x21708===&lt;br /&gt;
*18 blocks of 40byte structures&lt;br /&gt;
*The first 11 words (22 bytes) each {{wplink|word_(computing)|word}} represent a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Box Wallpapers - 0x219D8===&lt;br /&gt;
*18 bytes, each representing the wallpaper for the corresponding box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Structures]]&lt;br /&gt;
[[Category:Game Mechanics]]&lt;/div&gt;</summary>
		<author><name>Wichu</name></author>
	</entry>
	<entry>
		<id>https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2296</id>
		<title>Pokémon HGSS Save File Structure</title>
		<link rel="alternate" type="text/html" href="https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2296"/>
		<updated>2009-09-14T16:24:26Z</updated>

		<summary type="html">&lt;p&gt;Wichu: /* Map ID Number - 0x1234 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Small block offsets==&lt;br /&gt;
&lt;br /&gt;
===Adventure Started - 0x34===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Pokémon League Champ Date - 0x3C===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Trainer Name - 0x64===&lt;br /&gt;
*8 unsigned 16bit integers.&lt;br /&gt;
*Each {{wplink|word_(computing)|word}} represents a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Trainer ID - 0x74===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
*The visible identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Secret ID - 0x76===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
* The hidden identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
*Determines variation in the game.&lt;br /&gt;
&lt;br /&gt;
===Money - 0x78===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Limited to 0xF423F (999,999)&lt;br /&gt;
&lt;br /&gt;
===Trainer Gender - 0x7C===&lt;br /&gt;
*0 if male, 1 if female.&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Country of Origin - 0x7D===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines whether or not Pokémon get an outsider EXP bonus.&lt;br /&gt;
*Countries other than Japan are inferred from D/P/Pt, since the game has only been released in Japanese.&lt;br /&gt;
: 0x1 = 日本語 (Japan)&lt;br /&gt;
: 0x2 = English (US/UK/AU)&lt;br /&gt;
: 0x3 = Français (France/Québec)&lt;br /&gt;
: 0x4 = Italiano (Italy)&lt;br /&gt;
: 0x5 = Deutsch (Germany)&lt;br /&gt;
: 0x7 = Español (Spain/Latin Americas)&lt;br /&gt;
: 0x8 = 한국어 (South Korea)&lt;br /&gt;
&lt;br /&gt;
===Johto League Badges - 0x7E===&lt;br /&gt;
*Unsigned 8bit bitfield&lt;br /&gt;
*Determines what PokéMart items are for sale, what level outsider Pokémon will obey until, and flags certain in-game events.&lt;br /&gt;
: 0x01 = Zephyr Badge&lt;br /&gt;
: 0x02 = Hive Badge&lt;br /&gt;
: 0x04 = Plain Badge&lt;br /&gt;
: 0x08 = Fog Badge&lt;br /&gt;
: 0x10 = Storm Badge&lt;br /&gt;
: 0x20 = Mineral Badge&lt;br /&gt;
: 0x40 = Glacier Badge&lt;br /&gt;
: 0x80 = Rising Badge&lt;br /&gt;
&lt;br /&gt;
===Multiplayer Avatar - 0x7F===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines the sprite seen by other players in a multiplayer environment such as the Union Room.&lt;br /&gt;
: 0x00 = None&lt;br /&gt;
: 0x03 = School Kid&lt;br /&gt;
: 0x05 = Bug Catcher&lt;br /&gt;
: 0x06 = Lass&lt;br /&gt;
: 0x07 = Battle Girl&lt;br /&gt;
: 0x0B = Ace Trainer Male&lt;br /&gt;
: 0x0D = Beauty&lt;br /&gt;
: 0x0E = Ace Trainer Female&lt;br /&gt;
: 0x0F = Roughneck&lt;br /&gt;
: 0x1F = Pop Idol&lt;br /&gt;
: 0x23 = Social&lt;br /&gt;
: 0x25 = Cowgirl&lt;br /&gt;
: 0x2A = Ruin Maniac&lt;br /&gt;
: 0x32 = Black Belt&lt;br /&gt;
: 0x3E = Rich Boy&lt;br /&gt;
: 0x3F = Lady&lt;br /&gt;
: 0x46 = Psychic&lt;br /&gt;
&lt;br /&gt;
===Total Playtime - 0x86===&lt;br /&gt;
*Hours = unsigned 16bit integer.&lt;br /&gt;
*Minutes = unsigned 8bit integer.&lt;br /&gt;
*Seconds = unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Number of Current Party Pokémon - 0x94===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Party Pokémon - 0x98===&lt;br /&gt;
The Pokémon in the trainer&#039;s party.&lt;br /&gt;
*6 blocks of 236byte structures&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===General Items - 0x644===&lt;br /&gt;
{{main|Other items}}&lt;br /&gt;
The items in the Trainer&#039;s general Items bag pocket.&lt;br /&gt;
*165 blocks of 4 byte structures (two bytes for [[item index]], two bytes for quantity)&lt;br /&gt;
&lt;br /&gt;
===Key Items - 0x8D8===&lt;br /&gt;
{{main|Key items}}&lt;br /&gt;
The items in the Trainer&#039;s Key Items bag pocket.&lt;br /&gt;
*43 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===TMs &amp;amp; HMs - 0x9A4===&lt;br /&gt;
{{main|TMs and HMs}}&lt;br /&gt;
The items in the Trainer&#039;s TMs &amp;amp; HMs bag pocket.&lt;br /&gt;
*100 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*TMs &amp;amp; HMs are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Mail - 0xB34===&lt;br /&gt;
{{main|Mail}}&lt;br /&gt;
The items in the Trainer&#039;s Mail bag pocket.&lt;br /&gt;
*12 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Medicine - 0xB64===&lt;br /&gt;
{{main|Medicine}}&lt;br /&gt;
The items in the Trainer&#039;s Medicine bag pocket.&lt;br /&gt;
*40 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Berries - 0xC04===&lt;br /&gt;
{{main|Berries}}&lt;br /&gt;
The items in the Trainer&#039;s Berries bag pocket.&lt;br /&gt;
*64 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*Berries are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Balls - 0xD04===&lt;br /&gt;
{{main|Pokéballs}}&lt;br /&gt;
The items in the Trainer&#039;s Balls bag pocket.&lt;br /&gt;
*24 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Battle Items - 0xD64===&lt;br /&gt;
{{main|Battle items}}&lt;br /&gt;
The items in the Trainer&#039;s Battle Items bag pocket.&lt;br /&gt;
*56 (?) blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Starter Pokémon - 0xE44===&lt;br /&gt;
The [[Nationaldex|Pokédex]] number of the starter chosen.&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Map ID Number - 0x1234===&lt;br /&gt;
[[MAP LIST HGSS|List of Maps]]&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map X Coordinate - 0x236E===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Y Coordinate - 0x2372===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Z Coordinate - 0x2376===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map X Coordinate - 0x23BE===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Y Coordinate - 0x23C2===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Z Coordinate - 0x23C6===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
==Big block offsets==&lt;br /&gt;
&lt;br /&gt;
===Pokémon in Storage - 0xF700===&lt;br /&gt;
The Pokémon in Bill&#039;s PC.&lt;br /&gt;
*18 blocks of 4080byte structures (each box contains 30 136byte Pokémon structures).&lt;br /&gt;
*Each box structure is separated by 16 bytes of space (unlike D/P).&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===Box Names - 0x21708===&lt;br /&gt;
*18 blocks of 40byte structures&lt;br /&gt;
*The first 11 words (22 bytes) each {{wplink|word_(computing)|word}} represent a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Box Wallpapers - 0x219D8===&lt;br /&gt;
*18 bytes, each representing the wallpaper for the corresponding box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Structures]]&lt;br /&gt;
[[Category:Game Mechanics]]&lt;/div&gt;</summary>
		<author><name>Wichu</name></author>
	</entry>
	<entry>
		<id>https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2295</id>
		<title>Pokémon HGSS Save File Structure</title>
		<link rel="alternate" type="text/html" href="https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2295"/>
		<updated>2009-09-14T16:23:58Z</updated>

		<summary type="html">&lt;p&gt;Wichu: /* Map ID Number - 0x1234 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Small block offsets==&lt;br /&gt;
&lt;br /&gt;
===Adventure Started - 0x34===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Pokémon League Champ Date - 0x3C===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Trainer Name - 0x64===&lt;br /&gt;
*8 unsigned 16bit integers.&lt;br /&gt;
*Each {{wplink|word_(computing)|word}} represents a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Trainer ID - 0x74===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
*The visible identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Secret ID - 0x76===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
* The hidden identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
*Determines variation in the game.&lt;br /&gt;
&lt;br /&gt;
===Money - 0x78===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Limited to 0xF423F (999,999)&lt;br /&gt;
&lt;br /&gt;
===Trainer Gender - 0x7C===&lt;br /&gt;
*0 if male, 1 if female.&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Country of Origin - 0x7D===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines whether or not Pokémon get an outsider EXP bonus.&lt;br /&gt;
*Countries other than Japan are inferred from D/P/Pt, since the game has only been released in Japanese.&lt;br /&gt;
: 0x1 = 日本語 (Japan)&lt;br /&gt;
: 0x2 = English (US/UK/AU)&lt;br /&gt;
: 0x3 = Français (France/Québec)&lt;br /&gt;
: 0x4 = Italiano (Italy)&lt;br /&gt;
: 0x5 = Deutsch (Germany)&lt;br /&gt;
: 0x7 = Español (Spain/Latin Americas)&lt;br /&gt;
: 0x8 = 한국어 (South Korea)&lt;br /&gt;
&lt;br /&gt;
===Johto League Badges - 0x7E===&lt;br /&gt;
*Unsigned 8bit bitfield&lt;br /&gt;
*Determines what PokéMart items are for sale, what level outsider Pokémon will obey until, and flags certain in-game events.&lt;br /&gt;
: 0x01 = Zephyr Badge&lt;br /&gt;
: 0x02 = Hive Badge&lt;br /&gt;
: 0x04 = Plain Badge&lt;br /&gt;
: 0x08 = Fog Badge&lt;br /&gt;
: 0x10 = Storm Badge&lt;br /&gt;
: 0x20 = Mineral Badge&lt;br /&gt;
: 0x40 = Glacier Badge&lt;br /&gt;
: 0x80 = Rising Badge&lt;br /&gt;
&lt;br /&gt;
===Multiplayer Avatar - 0x7F===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines the sprite seen by other players in a multiplayer environment such as the Union Room.&lt;br /&gt;
: 0x00 = None&lt;br /&gt;
: 0x03 = School Kid&lt;br /&gt;
: 0x05 = Bug Catcher&lt;br /&gt;
: 0x06 = Lass&lt;br /&gt;
: 0x07 = Battle Girl&lt;br /&gt;
: 0x0B = Ace Trainer Male&lt;br /&gt;
: 0x0D = Beauty&lt;br /&gt;
: 0x0E = Ace Trainer Female&lt;br /&gt;
: 0x0F = Roughneck&lt;br /&gt;
: 0x1F = Pop Idol&lt;br /&gt;
: 0x23 = Social&lt;br /&gt;
: 0x25 = Cowgirl&lt;br /&gt;
: 0x2A = Ruin Maniac&lt;br /&gt;
: 0x32 = Black Belt&lt;br /&gt;
: 0x3E = Rich Boy&lt;br /&gt;
: 0x3F = Lady&lt;br /&gt;
: 0x46 = Psychic&lt;br /&gt;
&lt;br /&gt;
===Total Playtime - 0x86===&lt;br /&gt;
*Hours = unsigned 16bit integer.&lt;br /&gt;
*Minutes = unsigned 8bit integer.&lt;br /&gt;
*Seconds = unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Number of Current Party Pokémon - 0x94===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Party Pokémon - 0x98===&lt;br /&gt;
The Pokémon in the trainer&#039;s party.&lt;br /&gt;
*6 blocks of 236byte structures&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===General Items - 0x644===&lt;br /&gt;
{{main|Other items}}&lt;br /&gt;
The items in the Trainer&#039;s general Items bag pocket.&lt;br /&gt;
*165 blocks of 4 byte structures (two bytes for [[item index]], two bytes for quantity)&lt;br /&gt;
&lt;br /&gt;
===Key Items - 0x8D8===&lt;br /&gt;
{{main|Key items}}&lt;br /&gt;
The items in the Trainer&#039;s Key Items bag pocket.&lt;br /&gt;
*43 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===TMs &amp;amp; HMs - 0x9A4===&lt;br /&gt;
{{main|TMs and HMs}}&lt;br /&gt;
The items in the Trainer&#039;s TMs &amp;amp; HMs bag pocket.&lt;br /&gt;
*100 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*TMs &amp;amp; HMs are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Mail - 0xB34===&lt;br /&gt;
{{main|Mail}}&lt;br /&gt;
The items in the Trainer&#039;s Mail bag pocket.&lt;br /&gt;
*12 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Medicine - 0xB64===&lt;br /&gt;
{{main|Medicine}}&lt;br /&gt;
The items in the Trainer&#039;s Medicine bag pocket.&lt;br /&gt;
*40 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Berries - 0xC04===&lt;br /&gt;
{{main|Berries}}&lt;br /&gt;
The items in the Trainer&#039;s Berries bag pocket.&lt;br /&gt;
*64 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*Berries are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Balls - 0xD04===&lt;br /&gt;
{{main|Pokéballs}}&lt;br /&gt;
The items in the Trainer&#039;s Balls bag pocket.&lt;br /&gt;
*24 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Battle Items - 0xD64===&lt;br /&gt;
{{main|Battle items}}&lt;br /&gt;
The items in the Trainer&#039;s Battle Items bag pocket.&lt;br /&gt;
*56 (?) blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Starter Pokémon - 0xE44===&lt;br /&gt;
The [[Nationaldex|Pokédex]] number of the starter chosen.&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Map ID Number - 0x1234===&lt;br /&gt;
[[List of Maps|MAP LIST HGSS]]&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map X Coordinate - 0x236E===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Y Coordinate - 0x2372===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Z Coordinate - 0x2376===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map X Coordinate - 0x23BE===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Y Coordinate - 0x23C2===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Z Coordinate - 0x23C6===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
==Big block offsets==&lt;br /&gt;
&lt;br /&gt;
===Pokémon in Storage - 0xF700===&lt;br /&gt;
The Pokémon in Bill&#039;s PC.&lt;br /&gt;
*18 blocks of 4080byte structures (each box contains 30 136byte Pokémon structures).&lt;br /&gt;
*Each box structure is separated by 16 bytes of space (unlike D/P).&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===Box Names - 0x21708===&lt;br /&gt;
*18 blocks of 40byte structures&lt;br /&gt;
*The first 11 words (22 bytes) each {{wplink|word_(computing)|word}} represent a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Box Wallpapers - 0x219D8===&lt;br /&gt;
*18 bytes, each representing the wallpaper for the corresponding box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Structures]]&lt;br /&gt;
[[Category:Game Mechanics]]&lt;/div&gt;</summary>
		<author><name>Wichu</name></author>
	</entry>
	<entry>
		<id>https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2294</id>
		<title>Pokémon HGSS Save File Structure</title>
		<link rel="alternate" type="text/html" href="https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2294"/>
		<updated>2009-09-14T16:23:19Z</updated>

		<summary type="html">&lt;p&gt;Wichu: /* Map ID Number - 0x1234 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Small block offsets==&lt;br /&gt;
&lt;br /&gt;
===Adventure Started - 0x34===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Pokémon League Champ Date - 0x3C===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Trainer Name - 0x64===&lt;br /&gt;
*8 unsigned 16bit integers.&lt;br /&gt;
*Each {{wplink|word_(computing)|word}} represents a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Trainer ID - 0x74===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
*The visible identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Secret ID - 0x76===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
* The hidden identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
*Determines variation in the game.&lt;br /&gt;
&lt;br /&gt;
===Money - 0x78===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Limited to 0xF423F (999,999)&lt;br /&gt;
&lt;br /&gt;
===Trainer Gender - 0x7C===&lt;br /&gt;
*0 if male, 1 if female.&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Country of Origin - 0x7D===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines whether or not Pokémon get an outsider EXP bonus.&lt;br /&gt;
*Countries other than Japan are inferred from D/P/Pt, since the game has only been released in Japanese.&lt;br /&gt;
: 0x1 = 日本語 (Japan)&lt;br /&gt;
: 0x2 = English (US/UK/AU)&lt;br /&gt;
: 0x3 = Français (France/Québec)&lt;br /&gt;
: 0x4 = Italiano (Italy)&lt;br /&gt;
: 0x5 = Deutsch (Germany)&lt;br /&gt;
: 0x7 = Español (Spain/Latin Americas)&lt;br /&gt;
: 0x8 = 한국어 (South Korea)&lt;br /&gt;
&lt;br /&gt;
===Johto League Badges - 0x7E===&lt;br /&gt;
*Unsigned 8bit bitfield&lt;br /&gt;
*Determines what PokéMart items are for sale, what level outsider Pokémon will obey until, and flags certain in-game events.&lt;br /&gt;
: 0x01 = Zephyr Badge&lt;br /&gt;
: 0x02 = Hive Badge&lt;br /&gt;
: 0x04 = Plain Badge&lt;br /&gt;
: 0x08 = Fog Badge&lt;br /&gt;
: 0x10 = Storm Badge&lt;br /&gt;
: 0x20 = Mineral Badge&lt;br /&gt;
: 0x40 = Glacier Badge&lt;br /&gt;
: 0x80 = Rising Badge&lt;br /&gt;
&lt;br /&gt;
===Multiplayer Avatar - 0x7F===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines the sprite seen by other players in a multiplayer environment such as the Union Room.&lt;br /&gt;
: 0x00 = None&lt;br /&gt;
: 0x03 = School Kid&lt;br /&gt;
: 0x05 = Bug Catcher&lt;br /&gt;
: 0x06 = Lass&lt;br /&gt;
: 0x07 = Battle Girl&lt;br /&gt;
: 0x0B = Ace Trainer Male&lt;br /&gt;
: 0x0D = Beauty&lt;br /&gt;
: 0x0E = Ace Trainer Female&lt;br /&gt;
: 0x0F = Roughneck&lt;br /&gt;
: 0x1F = Pop Idol&lt;br /&gt;
: 0x23 = Social&lt;br /&gt;
: 0x25 = Cowgirl&lt;br /&gt;
: 0x2A = Ruin Maniac&lt;br /&gt;
: 0x32 = Black Belt&lt;br /&gt;
: 0x3E = Rich Boy&lt;br /&gt;
: 0x3F = Lady&lt;br /&gt;
: 0x46 = Psychic&lt;br /&gt;
&lt;br /&gt;
===Total Playtime - 0x86===&lt;br /&gt;
*Hours = unsigned 16bit integer.&lt;br /&gt;
*Minutes = unsigned 8bit integer.&lt;br /&gt;
*Seconds = unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Number of Current Party Pokémon - 0x94===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Party Pokémon - 0x98===&lt;br /&gt;
The Pokémon in the trainer&#039;s party.&lt;br /&gt;
*6 blocks of 236byte structures&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===General Items - 0x644===&lt;br /&gt;
{{main|Other items}}&lt;br /&gt;
The items in the Trainer&#039;s general Items bag pocket.&lt;br /&gt;
*165 blocks of 4 byte structures (two bytes for [[item index]], two bytes for quantity)&lt;br /&gt;
&lt;br /&gt;
===Key Items - 0x8D8===&lt;br /&gt;
{{main|Key items}}&lt;br /&gt;
The items in the Trainer&#039;s Key Items bag pocket.&lt;br /&gt;
*43 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===TMs &amp;amp; HMs - 0x9A4===&lt;br /&gt;
{{main|TMs and HMs}}&lt;br /&gt;
The items in the Trainer&#039;s TMs &amp;amp; HMs bag pocket.&lt;br /&gt;
*100 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*TMs &amp;amp; HMs are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Mail - 0xB34===&lt;br /&gt;
{{main|Mail}}&lt;br /&gt;
The items in the Trainer&#039;s Mail bag pocket.&lt;br /&gt;
*12 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Medicine - 0xB64===&lt;br /&gt;
{{main|Medicine}}&lt;br /&gt;
The items in the Trainer&#039;s Medicine bag pocket.&lt;br /&gt;
*40 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Berries - 0xC04===&lt;br /&gt;
{{main|Berries}}&lt;br /&gt;
The items in the Trainer&#039;s Berries bag pocket.&lt;br /&gt;
*64 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*Berries are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Balls - 0xD04===&lt;br /&gt;
{{main|Pokéballs}}&lt;br /&gt;
The items in the Trainer&#039;s Balls bag pocket.&lt;br /&gt;
*24 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Battle Items - 0xD64===&lt;br /&gt;
{{main|Battle items}}&lt;br /&gt;
The items in the Trainer&#039;s Battle Items bag pocket.&lt;br /&gt;
*56 (?) blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Starter Pokémon - 0xE44===&lt;br /&gt;
The [[Nationaldex|Pokédex]] number of the starter chosen.&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Map ID Number - 0x1234===&lt;br /&gt;
{{main|MAP LIST HGSS}}&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map X Coordinate - 0x236E===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Y Coordinate - 0x2372===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Z Coordinate - 0x2376===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map X Coordinate - 0x23BE===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Y Coordinate - 0x23C2===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Z Coordinate - 0x23C6===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
==Big block offsets==&lt;br /&gt;
&lt;br /&gt;
===Pokémon in Storage - 0xF700===&lt;br /&gt;
The Pokémon in Bill&#039;s PC.&lt;br /&gt;
*18 blocks of 4080byte structures (each box contains 30 136byte Pokémon structures).&lt;br /&gt;
*Each box structure is separated by 16 bytes of space (unlike D/P).&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===Box Names - 0x21708===&lt;br /&gt;
*18 blocks of 40byte structures&lt;br /&gt;
*The first 11 words (22 bytes) each {{wplink|word_(computing)|word}} represent a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Box Wallpapers - 0x219D8===&lt;br /&gt;
*18 bytes, each representing the wallpaper for the corresponding box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Structures]]&lt;br /&gt;
[[Category:Game Mechanics]]&lt;/div&gt;</summary>
		<author><name>Wichu</name></author>
	</entry>
	<entry>
		<id>https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2293</id>
		<title>Pokémon HGSS Save File Structure</title>
		<link rel="alternate" type="text/html" href="https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2293"/>
		<updated>2009-09-14T16:23:04Z</updated>

		<summary type="html">&lt;p&gt;Wichu: /* Map ID Number - 0x1234 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Small block offsets==&lt;br /&gt;
&lt;br /&gt;
===Adventure Started - 0x34===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Pokémon League Champ Date - 0x3C===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Trainer Name - 0x64===&lt;br /&gt;
*8 unsigned 16bit integers.&lt;br /&gt;
*Each {{wplink|word_(computing)|word}} represents a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Trainer ID - 0x74===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
*The visible identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Secret ID - 0x76===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
* The hidden identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
*Determines variation in the game.&lt;br /&gt;
&lt;br /&gt;
===Money - 0x78===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Limited to 0xF423F (999,999)&lt;br /&gt;
&lt;br /&gt;
===Trainer Gender - 0x7C===&lt;br /&gt;
*0 if male, 1 if female.&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Country of Origin - 0x7D===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines whether or not Pokémon get an outsider EXP bonus.&lt;br /&gt;
*Countries other than Japan are inferred from D/P/Pt, since the game has only been released in Japanese.&lt;br /&gt;
: 0x1 = 日本語 (Japan)&lt;br /&gt;
: 0x2 = English (US/UK/AU)&lt;br /&gt;
: 0x3 = Français (France/Québec)&lt;br /&gt;
: 0x4 = Italiano (Italy)&lt;br /&gt;
: 0x5 = Deutsch (Germany)&lt;br /&gt;
: 0x7 = Español (Spain/Latin Americas)&lt;br /&gt;
: 0x8 = 한국어 (South Korea)&lt;br /&gt;
&lt;br /&gt;
===Johto League Badges - 0x7E===&lt;br /&gt;
*Unsigned 8bit bitfield&lt;br /&gt;
*Determines what PokéMart items are for sale, what level outsider Pokémon will obey until, and flags certain in-game events.&lt;br /&gt;
: 0x01 = Zephyr Badge&lt;br /&gt;
: 0x02 = Hive Badge&lt;br /&gt;
: 0x04 = Plain Badge&lt;br /&gt;
: 0x08 = Fog Badge&lt;br /&gt;
: 0x10 = Storm Badge&lt;br /&gt;
: 0x20 = Mineral Badge&lt;br /&gt;
: 0x40 = Glacier Badge&lt;br /&gt;
: 0x80 = Rising Badge&lt;br /&gt;
&lt;br /&gt;
===Multiplayer Avatar - 0x7F===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines the sprite seen by other players in a multiplayer environment such as the Union Room.&lt;br /&gt;
: 0x00 = None&lt;br /&gt;
: 0x03 = School Kid&lt;br /&gt;
: 0x05 = Bug Catcher&lt;br /&gt;
: 0x06 = Lass&lt;br /&gt;
: 0x07 = Battle Girl&lt;br /&gt;
: 0x0B = Ace Trainer Male&lt;br /&gt;
: 0x0D = Beauty&lt;br /&gt;
: 0x0E = Ace Trainer Female&lt;br /&gt;
: 0x0F = Roughneck&lt;br /&gt;
: 0x1F = Pop Idol&lt;br /&gt;
: 0x23 = Social&lt;br /&gt;
: 0x25 = Cowgirl&lt;br /&gt;
: 0x2A = Ruin Maniac&lt;br /&gt;
: 0x32 = Black Belt&lt;br /&gt;
: 0x3E = Rich Boy&lt;br /&gt;
: 0x3F = Lady&lt;br /&gt;
: 0x46 = Psychic&lt;br /&gt;
&lt;br /&gt;
===Total Playtime - 0x86===&lt;br /&gt;
*Hours = unsigned 16bit integer.&lt;br /&gt;
*Minutes = unsigned 8bit integer.&lt;br /&gt;
*Seconds = unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Number of Current Party Pokémon - 0x94===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Party Pokémon - 0x98===&lt;br /&gt;
The Pokémon in the trainer&#039;s party.&lt;br /&gt;
*6 blocks of 236byte structures&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===General Items - 0x644===&lt;br /&gt;
{{main|Other items}}&lt;br /&gt;
The items in the Trainer&#039;s general Items bag pocket.&lt;br /&gt;
*165 blocks of 4 byte structures (two bytes for [[item index]], two bytes for quantity)&lt;br /&gt;
&lt;br /&gt;
===Key Items - 0x8D8===&lt;br /&gt;
{{main|Key items}}&lt;br /&gt;
The items in the Trainer&#039;s Key Items bag pocket.&lt;br /&gt;
*43 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===TMs &amp;amp; HMs - 0x9A4===&lt;br /&gt;
{{main|TMs and HMs}}&lt;br /&gt;
The items in the Trainer&#039;s TMs &amp;amp; HMs bag pocket.&lt;br /&gt;
*100 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*TMs &amp;amp; HMs are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Mail - 0xB34===&lt;br /&gt;
{{main|Mail}}&lt;br /&gt;
The items in the Trainer&#039;s Mail bag pocket.&lt;br /&gt;
*12 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Medicine - 0xB64===&lt;br /&gt;
{{main|Medicine}}&lt;br /&gt;
The items in the Trainer&#039;s Medicine bag pocket.&lt;br /&gt;
*40 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Berries - 0xC04===&lt;br /&gt;
{{main|Berries}}&lt;br /&gt;
The items in the Trainer&#039;s Berries bag pocket.&lt;br /&gt;
*64 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*Berries are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Balls - 0xD04===&lt;br /&gt;
{{main|Pokéballs}}&lt;br /&gt;
The items in the Trainer&#039;s Balls bag pocket.&lt;br /&gt;
*24 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Battle Items - 0xD64===&lt;br /&gt;
{{main|Battle items}}&lt;br /&gt;
The items in the Trainer&#039;s Battle Items bag pocket.&lt;br /&gt;
*56 (?) blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Starter Pokémon - 0xE44===&lt;br /&gt;
The [[Nationaldex|Pokédex]] number of the starter chosen.&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Map ID Number - 0x1234===&lt;br /&gt;
{{List of maps|MAP LIST HGSS}}&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map X Coordinate - 0x236E===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Y Coordinate - 0x2372===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Z Coordinate - 0x2376===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map X Coordinate - 0x23BE===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Y Coordinate - 0x23C2===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Z Coordinate - 0x23C6===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
==Big block offsets==&lt;br /&gt;
&lt;br /&gt;
===Pokémon in Storage - 0xF700===&lt;br /&gt;
The Pokémon in Bill&#039;s PC.&lt;br /&gt;
*18 blocks of 4080byte structures (each box contains 30 136byte Pokémon structures).&lt;br /&gt;
*Each box structure is separated by 16 bytes of space (unlike D/P).&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===Box Names - 0x21708===&lt;br /&gt;
*18 blocks of 40byte structures&lt;br /&gt;
*The first 11 words (22 bytes) each {{wplink|word_(computing)|word}} represent a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Box Wallpapers - 0x219D8===&lt;br /&gt;
*18 bytes, each representing the wallpaper for the corresponding box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Structures]]&lt;br /&gt;
[[Category:Game Mechanics]]&lt;/div&gt;</summary>
		<author><name>Wichu</name></author>
	</entry>
	<entry>
		<id>https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2292</id>
		<title>Pokémon HGSS Save File Structure</title>
		<link rel="alternate" type="text/html" href="https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2292"/>
		<updated>2009-09-14T16:21:30Z</updated>

		<summary type="html">&lt;p&gt;Wichu: /* Country of Origin - 0x7D */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Small block offsets==&lt;br /&gt;
&lt;br /&gt;
===Adventure Started - 0x34===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Pokémon League Champ Date - 0x3C===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Trainer Name - 0x64===&lt;br /&gt;
*8 unsigned 16bit integers.&lt;br /&gt;
*Each {{wplink|word_(computing)|word}} represents a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Trainer ID - 0x74===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
*The visible identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Secret ID - 0x76===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
* The hidden identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
*Determines variation in the game.&lt;br /&gt;
&lt;br /&gt;
===Money - 0x78===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Limited to 0xF423F (999,999)&lt;br /&gt;
&lt;br /&gt;
===Trainer Gender - 0x7C===&lt;br /&gt;
*0 if male, 1 if female.&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Country of Origin - 0x7D===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines whether or not Pokémon get an outsider EXP bonus.&lt;br /&gt;
*Countries other than Japan are inferred from D/P/Pt, since the game has only been released in Japanese.&lt;br /&gt;
: 0x1 = 日本語 (Japan)&lt;br /&gt;
: 0x2 = English (US/UK/AU)&lt;br /&gt;
: 0x3 = Français (France/Québec)&lt;br /&gt;
: 0x4 = Italiano (Italy)&lt;br /&gt;
: 0x5 = Deutsch (Germany)&lt;br /&gt;
: 0x7 = Español (Spain/Latin Americas)&lt;br /&gt;
: 0x8 = 한국어 (South Korea)&lt;br /&gt;
&lt;br /&gt;
===Johto League Badges - 0x7E===&lt;br /&gt;
*Unsigned 8bit bitfield&lt;br /&gt;
*Determines what PokéMart items are for sale, what level outsider Pokémon will obey until, and flags certain in-game events.&lt;br /&gt;
: 0x01 = Zephyr Badge&lt;br /&gt;
: 0x02 = Hive Badge&lt;br /&gt;
: 0x04 = Plain Badge&lt;br /&gt;
: 0x08 = Fog Badge&lt;br /&gt;
: 0x10 = Storm Badge&lt;br /&gt;
: 0x20 = Mineral Badge&lt;br /&gt;
: 0x40 = Glacier Badge&lt;br /&gt;
: 0x80 = Rising Badge&lt;br /&gt;
&lt;br /&gt;
===Multiplayer Avatar - 0x7F===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines the sprite seen by other players in a multiplayer environment such as the Union Room.&lt;br /&gt;
: 0x00 = None&lt;br /&gt;
: 0x03 = School Kid&lt;br /&gt;
: 0x05 = Bug Catcher&lt;br /&gt;
: 0x06 = Lass&lt;br /&gt;
: 0x07 = Battle Girl&lt;br /&gt;
: 0x0B = Ace Trainer Male&lt;br /&gt;
: 0x0D = Beauty&lt;br /&gt;
: 0x0E = Ace Trainer Female&lt;br /&gt;
: 0x0F = Roughneck&lt;br /&gt;
: 0x1F = Pop Idol&lt;br /&gt;
: 0x23 = Social&lt;br /&gt;
: 0x25 = Cowgirl&lt;br /&gt;
: 0x2A = Ruin Maniac&lt;br /&gt;
: 0x32 = Black Belt&lt;br /&gt;
: 0x3E = Rich Boy&lt;br /&gt;
: 0x3F = Lady&lt;br /&gt;
: 0x46 = Psychic&lt;br /&gt;
&lt;br /&gt;
===Total Playtime - 0x86===&lt;br /&gt;
*Hours = unsigned 16bit integer.&lt;br /&gt;
*Minutes = unsigned 8bit integer.&lt;br /&gt;
*Seconds = unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Number of Current Party Pokémon - 0x94===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Party Pokémon - 0x98===&lt;br /&gt;
The Pokémon in the trainer&#039;s party.&lt;br /&gt;
*6 blocks of 236byte structures&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===General Items - 0x644===&lt;br /&gt;
{{main|Other items}}&lt;br /&gt;
The items in the Trainer&#039;s general Items bag pocket.&lt;br /&gt;
*165 blocks of 4 byte structures (two bytes for [[item index]], two bytes for quantity)&lt;br /&gt;
&lt;br /&gt;
===Key Items - 0x8D8===&lt;br /&gt;
{{main|Key items}}&lt;br /&gt;
The items in the Trainer&#039;s Key Items bag pocket.&lt;br /&gt;
*43 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===TMs &amp;amp; HMs - 0x9A4===&lt;br /&gt;
{{main|TMs and HMs}}&lt;br /&gt;
The items in the Trainer&#039;s TMs &amp;amp; HMs bag pocket.&lt;br /&gt;
*100 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*TMs &amp;amp; HMs are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Mail - 0xB34===&lt;br /&gt;
{{main|Mail}}&lt;br /&gt;
The items in the Trainer&#039;s Mail bag pocket.&lt;br /&gt;
*12 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Medicine - 0xB64===&lt;br /&gt;
{{main|Medicine}}&lt;br /&gt;
The items in the Trainer&#039;s Medicine bag pocket.&lt;br /&gt;
*40 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Berries - 0xC04===&lt;br /&gt;
{{main|Berries}}&lt;br /&gt;
The items in the Trainer&#039;s Berries bag pocket.&lt;br /&gt;
*64 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*Berries are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Balls - 0xD04===&lt;br /&gt;
{{main|Pokéballs}}&lt;br /&gt;
The items in the Trainer&#039;s Balls bag pocket.&lt;br /&gt;
*24 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Battle Items - 0xD64===&lt;br /&gt;
{{main|Battle items}}&lt;br /&gt;
The items in the Trainer&#039;s Battle Items bag pocket.&lt;br /&gt;
*56 (?) blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Starter Pokémon - 0xE44===&lt;br /&gt;
The [[Nationaldex|Pokédex]] number of the starter chosen.&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Map ID Number - 0x1234===&lt;br /&gt;
{{main|List of Maps}}&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map X Coordinate - 0x236E===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Y Coordinate - 0x2372===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Z Coordinate - 0x2376===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map X Coordinate - 0x23BE===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Y Coordinate - 0x23C2===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Z Coordinate - 0x23C6===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
==Big block offsets==&lt;br /&gt;
&lt;br /&gt;
===Pokémon in Storage - 0xF700===&lt;br /&gt;
The Pokémon in Bill&#039;s PC.&lt;br /&gt;
*18 blocks of 4080byte structures (each box contains 30 136byte Pokémon structures).&lt;br /&gt;
*Each box structure is separated by 16 bytes of space (unlike D/P).&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===Box Names - 0x21708===&lt;br /&gt;
*18 blocks of 40byte structures&lt;br /&gt;
*The first 11 words (22 bytes) each {{wplink|word_(computing)|word}} represent a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Box Wallpapers - 0x219D8===&lt;br /&gt;
*18 bytes, each representing the wallpaper for the corresponding box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Structures]]&lt;br /&gt;
[[Category:Game Mechanics]]&lt;/div&gt;</summary>
		<author><name>Wichu</name></author>
	</entry>
	<entry>
		<id>https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2291</id>
		<title>Pokémon HGSS Save File Structure</title>
		<link rel="alternate" type="text/html" href="https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_HGSS_Save_File_Structure&amp;diff=2291"/>
		<updated>2009-09-14T16:20:10Z</updated>

		<summary type="html">&lt;p&gt;Wichu: Created page with &amp;#039;==Small block offsets==  ===Adventure Started - 0x34=== *Unsigned 32bit integer. *Number of seconds since 1/1/2000 00:00:00  ===Pokémon League Champ Date - 0x3C=== *Unsigned 32b...&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Small block offsets==&lt;br /&gt;
&lt;br /&gt;
===Adventure Started - 0x34===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Pokémon League Champ Date - 0x3C===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Number of seconds since 1/1/2000 00:00:00&lt;br /&gt;
&lt;br /&gt;
===Trainer Name - 0x64===&lt;br /&gt;
*8 unsigned 16bit integers.&lt;br /&gt;
*Each {{wplink|word_(computing)|word}} represents a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Trainer ID - 0x74===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
*The visible identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Secret ID - 0x76===&lt;br /&gt;
*Random unsigned 16bit integer&lt;br /&gt;
* The hidden identification number of a trainer&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
*Determines variation in the game.&lt;br /&gt;
&lt;br /&gt;
===Money - 0x78===&lt;br /&gt;
*Unsigned 32bit integer.&lt;br /&gt;
*Limited to 0xF423F (999,999)&lt;br /&gt;
&lt;br /&gt;
===Trainer Gender - 0x7C===&lt;br /&gt;
*0 if male, 1 if female.&lt;br /&gt;
*Determines ownership of Pokémon.&lt;br /&gt;
&lt;br /&gt;
===Country of Origin - 0x7D===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines whether or not Pokémon get an outsider EXP bonus.&lt;br /&gt;
: 0x1 = 日本語 (Japan)&lt;br /&gt;
: 0x2 = English (US/UK/AU)&lt;br /&gt;
: 0x3 = Français (France/Québec)&lt;br /&gt;
: 0x4 = Italiano (Italy)&lt;br /&gt;
: 0x5 = Deutsch (Germany)&lt;br /&gt;
: 0x7 = Español (Spain/Latin Americas)&lt;br /&gt;
: 0x8 = 한국어 (South Korea) &lt;br /&gt;
&lt;br /&gt;
===Johto League Badges - 0x7E===&lt;br /&gt;
*Unsigned 8bit bitfield&lt;br /&gt;
*Determines what PokéMart items are for sale, what level outsider Pokémon will obey until, and flags certain in-game events.&lt;br /&gt;
: 0x01 = Zephyr Badge&lt;br /&gt;
: 0x02 = Hive Badge&lt;br /&gt;
: 0x04 = Plain Badge&lt;br /&gt;
: 0x08 = Fog Badge&lt;br /&gt;
: 0x10 = Storm Badge&lt;br /&gt;
: 0x20 = Mineral Badge&lt;br /&gt;
: 0x40 = Glacier Badge&lt;br /&gt;
: 0x80 = Rising Badge&lt;br /&gt;
&lt;br /&gt;
===Multiplayer Avatar - 0x7F===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
*Determines the sprite seen by other players in a multiplayer environment such as the Union Room.&lt;br /&gt;
: 0x00 = None&lt;br /&gt;
: 0x03 = School Kid&lt;br /&gt;
: 0x05 = Bug Catcher&lt;br /&gt;
: 0x06 = Lass&lt;br /&gt;
: 0x07 = Battle Girl&lt;br /&gt;
: 0x0B = Ace Trainer Male&lt;br /&gt;
: 0x0D = Beauty&lt;br /&gt;
: 0x0E = Ace Trainer Female&lt;br /&gt;
: 0x0F = Roughneck&lt;br /&gt;
: 0x1F = Pop Idol&lt;br /&gt;
: 0x23 = Social&lt;br /&gt;
: 0x25 = Cowgirl&lt;br /&gt;
: 0x2A = Ruin Maniac&lt;br /&gt;
: 0x32 = Black Belt&lt;br /&gt;
: 0x3E = Rich Boy&lt;br /&gt;
: 0x3F = Lady&lt;br /&gt;
: 0x46 = Psychic&lt;br /&gt;
&lt;br /&gt;
===Total Playtime - 0x86===&lt;br /&gt;
*Hours = unsigned 16bit integer.&lt;br /&gt;
*Minutes = unsigned 8bit integer.&lt;br /&gt;
*Seconds = unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Number of Current Party Pokémon - 0x94===&lt;br /&gt;
*Unsigned 8bit integer.&lt;br /&gt;
&lt;br /&gt;
===Party Pokémon - 0x98===&lt;br /&gt;
The Pokémon in the trainer&#039;s party.&lt;br /&gt;
*6 blocks of 236byte structures&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===General Items - 0x644===&lt;br /&gt;
{{main|Other items}}&lt;br /&gt;
The items in the Trainer&#039;s general Items bag pocket.&lt;br /&gt;
*165 blocks of 4 byte structures (two bytes for [[item index]], two bytes for quantity)&lt;br /&gt;
&lt;br /&gt;
===Key Items - 0x8D8===&lt;br /&gt;
{{main|Key items}}&lt;br /&gt;
The items in the Trainer&#039;s Key Items bag pocket.&lt;br /&gt;
*43 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===TMs &amp;amp; HMs - 0x9A4===&lt;br /&gt;
{{main|TMs and HMs}}&lt;br /&gt;
The items in the Trainer&#039;s TMs &amp;amp; HMs bag pocket.&lt;br /&gt;
*100 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*TMs &amp;amp; HMs are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Mail - 0xB34===&lt;br /&gt;
{{main|Mail}}&lt;br /&gt;
The items in the Trainer&#039;s Mail bag pocket.&lt;br /&gt;
*12 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Medicine - 0xB64===&lt;br /&gt;
{{main|Medicine}}&lt;br /&gt;
The items in the Trainer&#039;s Medicine bag pocket.&lt;br /&gt;
*40 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Berries - 0xC04===&lt;br /&gt;
{{main|Berries}}&lt;br /&gt;
The items in the Trainer&#039;s Berries bag pocket.&lt;br /&gt;
*64 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
*Berries are auto-sorted by item index in ascending order.&lt;br /&gt;
&lt;br /&gt;
===Balls - 0xD04===&lt;br /&gt;
{{main|Pokéballs}}&lt;br /&gt;
The items in the Trainer&#039;s Balls bag pocket.&lt;br /&gt;
*24 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Battle Items - 0xD64===&lt;br /&gt;
{{main|Battle items}}&lt;br /&gt;
The items in the Trainer&#039;s Battle Items bag pocket.&lt;br /&gt;
*56 (?) blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Starter Pokémon - 0xE44===&lt;br /&gt;
The [[Nationaldex|Pokédex]] number of the starter chosen.&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Map ID Number - 0x1234===&lt;br /&gt;
{{main|List of Maps}}&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map X Coordinate - 0x236E===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Y Coordinate - 0x2372===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Player Map Z Coordinate - 0x2376===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map X Coordinate - 0x23BE===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Y Coordinate - 0x23C2===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
===Follower Map Z Coordinate - 0x23C6===&lt;br /&gt;
*Unsigned 16bit integer.&lt;br /&gt;
&lt;br /&gt;
==Big block offsets==&lt;br /&gt;
&lt;br /&gt;
===Pokémon in Storage - 0xF700===&lt;br /&gt;
The Pokémon in Bill&#039;s PC.&lt;br /&gt;
*18 blocks of 4080byte structures (each box contains 30 136byte Pokémon structures).&lt;br /&gt;
*Each box structure is separated by 16 bytes of space (unlike D/P).&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===Box Names - 0x21708===&lt;br /&gt;
*18 blocks of 40byte structures&lt;br /&gt;
*The first 11 words (22 bytes) each {{wplink|word_(computing)|word}} represent a character in the game&#039;s [[Pokémon NDS Character Table|character table]].&lt;br /&gt;
&lt;br /&gt;
===Box Wallpapers - 0x219D8===&lt;br /&gt;
*18 bytes, each representing the wallpaper for the corresponding box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Structures]]&lt;br /&gt;
[[Category:Game Mechanics]]&lt;/div&gt;</summary>
		<author><name>Wichu</name></author>
	</entry>
	<entry>
		<id>https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_NDS_Save_File_Structure&amp;diff=2288</id>
		<title>Pokémon NDS Save File Structure</title>
		<link rel="alternate" type="text/html" href="https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_NDS_Save_File_Structure&amp;diff=2288"/>
		<updated>2009-09-14T15:47:21Z</updated>

		<summary type="html">&lt;p&gt;Wichu: added HGSS&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page disambiguates between the Pokémon NDS file save structure for Pokémon [[Pokémon Diamond|Diamond]], [[Pokémon Pearl|Pearl]], [[Pokémon Platinum Version|Platinum]], and Pokémon [[Pokemon Heart Gold %26 Soul Silver|HeartGold &amp;amp; SoulSilver]].&lt;br /&gt;
&lt;br /&gt;
* Pokémon Diamond &amp;amp; Pearl [[Pokémon DP Save File Structure|save file structure]]&lt;br /&gt;
* Pokémon Platinum [[Pokémon Pt Save File Structure|save file structure]]&lt;br /&gt;
* Pokémon HeartGold &amp;amp; SoulSilver [[Pokémon HGSS Save File Structure|save file structure]]&lt;/div&gt;</summary>
		<author><name>Wichu</name></author>
	</entry>
</feed>