Pokémon data structure (Generation IV): Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (New page: Pokémon in the games Diamond and Pearl are all stored the same way in a 136-byte structure. '''Need to figure out how checksum is computed''' '''Need to figure out the encryptio...)
 
No edit summary
Line 5: Line 5:
'''Need to figure out the encryption algorithm for bytes 08-87'''
'''Need to figure out the encryption algorithm for bytes 08-87'''


00-03 [[Personality value]]
* 00-03 [[Personality value]]
04-05 ''Unknown''
* 04-05 ''Unknown''
06-07 [[Checksum]]
* 06-07 [[Checksum]]


== Block A ==
== Block A ==
08-09 Species ID
* 08-09 Species ID
0A-0B Held Item
* 0A-0B Held Item
0C-0D OT ID
* 0C-0D OT ID
0E-0F OT Secret ID
* 0E-0F OT Secret ID
10-13 [[Experience points]]
* 10-13 [[Experience points]]
14 Friendship/Egg Steps to Hatch
* 14 Friendship/Egg Steps to Hatch
15 [[Ability]]
* 15 [[Ability]]
16 Markings
* 16 Markings
17 Country of Origin
* 17 Country of Origin
18-1D [[Effort values]]
* 18-1D [[Effort values]]
1E-23 Contest stats
* 1E-23 Contest stats
24-27 Ribbons
* 24-27 Ribbons


== Block B ==
== Block B ==
28-2F Moveset
* 28-2F Moveset
30-33 Move PP
* 30-33 Move PP
34-37 Move PP Ups
* 34-37 Move PP Ups
38-3B [[Individual values]]
* 38-3B [[Individual values]]
3C-3F ''Unknown''
* 3C-3F ''Unknown''
40 Gender
* 40 Gender
41-47 ''Unknown''
* 41-47 ''Unknown''


== Block C ==
== Block C ==
48-5D Nickname
* 48-5D Nickname
5E ''Unknown''
* 5E ''Unknown''
5F Hometown
* 5F Hometown
60-62 Contests
* 60-62 Contests
63-67 ''Unknown''
* 63-67 ''Unknown''


== Block D ==
== Block D ==
68-77 OT Name
* 68-77 OT Name
78-7A Date Egg Received
* 78-7A Date Egg Received
7B-7D Date Met
* 7B-7D Date Met
7E-7F Egg Location
* 7E-7F Egg Location
80-81 Met At Location
* 80-81 Met At Location
82 ''Unknown''
* 82 ''Unknown''
83 PokeBall
* 83 PokeBall
84 Met At Level
* 84 Met At Level
85-87 ''Unknown''
* 85-87 ''Unknown''


[[Category:Structures]]
[[Category:Structures]]
[[Category:Game mechanics]]
[[Category:Game mechanics]]

Revision as of 10:43, 16 September 2007

Pokémon in the games Diamond and Pearl are all stored the same way in a 136-byte structure.

Need to figure out how checksum is computed

Need to figure out the encryption algorithm for bytes 08-87

Block A

  • 08-09 Species ID
  • 0A-0B Held Item
  • 0C-0D OT ID
  • 0E-0F OT Secret ID
  • 10-13 Experience points
  • 14 Friendship/Egg Steps to Hatch
  • 15 Ability
  • 16 Markings
  • 17 Country of Origin
  • 18-1D Effort values
  • 1E-23 Contest stats
  • 24-27 Ribbons

Block B

  • 28-2F Moveset
  • 30-33 Move PP
  • 34-37 Move PP Ups
  • 38-3B Individual values
  • 3C-3F Unknown
  • 40 Gender
  • 41-47 Unknown

Block C

  • 48-5D Nickname
  • 5E Unknown
  • 5F Hometown
  • 60-62 Contests
  • 63-67 Unknown

Block D

  • 68-77 OT Name
  • 78-7A Date Egg Received
  • 7B-7D Date Met
  • 7E-7F Egg Location
  • 80-81 Met At Location
  • 82 Unknown
  • 83 PokeBall
  • 84 Met At Level
  • 85-87 Unknown