Skip to content

Instantly share code, notes, and snippets.

@egzn
Last active January 24, 2020 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egzn/e9b3f001613d0816a1e5c0bfa28416f4 to your computer and use it in GitHub Desktop.
Save egzn/e9b3f001613d0816a1e5c0bfa28416f4 to your computer and use it in GitHub Desktop.
Pokémon Diamond & Pearl, Platinum - Underground

Documenting some things about the Underground in DPPt, the goal is to get the exact offsets of anything related to them.

Diamond & Pearl

Offset Value Type
???? Spiritomb Count Event byte? uint16? idk
0x3A28 Underground Player Score uint32
0x3A2C Players Met Underground uint32
0x3A30 Gifts given uint32
0x3A38 Spheres obtained uint32
0x3A3C Fossils obtained uint32
0x3A44 Traps avoided uint32
0x3A48 Traps triggered uint32
0x3A60 Flags captured uint32

Traps: from 0x42B0 to 0x42D7 length: 0x28

Goods: from 0x42D8 to 0x42FF length: 0x28

Treasures: from 0x4300 to 0x4327 length: 0x28

Spheres: from 0x4328 to 0x4377
first 0x28 being the items, last ones their value

Platinum

Offset Value Type
0xE28 Spiritomb Count Event byte? uint16? idk
0x3CB0 Underground Player Score uint32
0x3CB4 Players Met Underground uint32
0x3CB8 Gifts given uint32
0x3CC0 Spheres obtained uint32
0x3CC4 Fossils obtained uint32
0x3CCC Traps avoided uint32
0x3CD0 Traps triggered uint32
0x3CE8 Flags captured uint32

Traps: from 0x4538 to 0x455F length: 0x28

Goods: from 0x4560 to 0x4587 length: 0x28

Treasures: from 0x4588 to 0x45AF length: 0x28

Spheres: from 0x45B0 to 0x45FF
first 0x28 being the items, last ones their value

Credits

This is basically a research I'm doing on my own, but of course I've found some interesting things thanks to others' work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment