<?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=Ltb5026</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=Ltb5026"/>
	<link rel="alternate" type="text/html" href="https://projectpokemon.org/wiki/Special:Contributions/Ltb5026"/>
	<updated>2026-05-07T17:22:40Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_Pt_Save_File_Structure&amp;diff=4290</id>
		<title>Pokémon Pt Save File Structure</title>
		<link rel="alternate" type="text/html" href="https://projectpokemon.org/wiki/index.php?title=Pok%C3%A9mon_Pt_Save_File_Structure&amp;diff=4290"/>
		<updated>2011-05-12T16:17:04Z</updated>

		<summary type="html">&lt;p&gt;Ltb5026: Documented the offset where starter Pokémon choice is stored.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is under construction, because previously, there was pretty much NO documentation here.&lt;br /&gt;
&lt;br /&gt;
I will add more as I continue my research, but since no one seems keen to volunteer the information, it is based off my own research.&lt;br /&gt;
&lt;br /&gt;
==Small block offsets==&lt;br /&gt;
&lt;br /&gt;
===Trainer Name - 0x68===&lt;br /&gt;
*8 unsigned 16-bit 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 - 0x78===&lt;br /&gt;
*Random unsigned 16-bit 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 - 0x7A===&lt;br /&gt;
*Random unsigned 16-bit 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 - 0x7C===&lt;br /&gt;
*Unsigned 32-bit integer.&lt;br /&gt;
*Limited to 0xF423F (999,999)&lt;br /&gt;
&lt;br /&gt;
===Trainer Gender - 0x80===&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 - 0x81===&lt;br /&gt;
*Unsigned 8-bit 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;
===Badges - 0x82===&lt;br /&gt;
*Unsigned 8-bit 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 = Coal Badge&lt;br /&gt;
: 0x02 = Forest Badge&lt;br /&gt;
: 0x04 = Cobble Badge&lt;br /&gt;
: 0x08 = Fen Badge&lt;br /&gt;
: 0x10 = Relic Badge&lt;br /&gt;
: 0x20 = Mine Badge&lt;br /&gt;
: 0x40 = Icicle Badge&lt;br /&gt;
: 0x80 = Beacon Badge&lt;br /&gt;
&lt;br /&gt;
===Multiplayer Avatar - 0x83===&lt;br /&gt;
*Unsigned 8-bit integer.&lt;br /&gt;
*Determines the sprite seen by other players in a multi-player 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;
Please correct if these are wrong, or if there are more.&lt;br /&gt;
&lt;br /&gt;
===Number of Current Party Pokémon - 0x9C===&lt;br /&gt;
*Unsigned 8-bit integer.&lt;br /&gt;
Note: In my opinion this is actually a 32-bit integer, but only 8 bits of it are ever used.&lt;br /&gt;
&lt;br /&gt;
===Party Pokémon - 0xA0===&lt;br /&gt;
The Pokémon in the trainer&#039;s party.&lt;br /&gt;
*6 blocks of 236 byte structures&lt;br /&gt;
{{main|Pokemon NDS Structure}}&lt;br /&gt;
&lt;br /&gt;
===General Items - 0x630===&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 - 0x8C4===&lt;br /&gt;
{{main|Key items}}&lt;br /&gt;
The items in the Trainer&#039;s Key Items bag pocket.&lt;br /&gt;
*50 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===TMs &amp;amp; HMs - 0x98C===&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 - 0xB1C===&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 - 0xB4C===&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 - 0xBEC===&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 - 0xCEC===&lt;br /&gt;
{{main|Pokéballs}}&lt;br /&gt;
The items in the Trainer&#039;s Balls bag pocket.&lt;br /&gt;
*15 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Battle Items - 0xD28===&lt;br /&gt;
{{main|Battle items}}&lt;br /&gt;
The items in the Trainer&#039;s Battle Items bag pocket.&lt;br /&gt;
*30 blocks of 4 byte structures (two bytes for item index, two bytes for quantity).&lt;br /&gt;
&lt;br /&gt;
===Starter Pokémon - 0xE0C===&lt;br /&gt;
The Pokédex number of the starter chosen.&lt;br /&gt;
*Unsigned 16-bit integer.&lt;br /&gt;
&lt;br /&gt;
===Lotto number - 0xE24===&lt;br /&gt;
*Unsigned 16-bit integer.&lt;br /&gt;
&lt;br /&gt;
===Has obtained lotto prize - 0x1141===&lt;br /&gt;
*1 if obtained, 0 if not yet obtained.&lt;br /&gt;
&lt;br /&gt;
===Rival&#039;s Name - 0x27E8===&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;
[[Category:Structures]]&lt;br /&gt;
[[Category:Game Mechanics]]&lt;br /&gt;
[[Category:Technical References]]&lt;/div&gt;</summary>
		<author><name>Ltb5026</name></author>
	</entry>
</feed>