Pokémon Race mini/Data structures

From Data Crystal
< Pokémon Race mini
Revision as of 02:42, 24 January 2024 by Xkeeper (talk | contribs) (Xkeeper moved page Pokemon Race mini:Data structures to Pokémon Race mini/Data structures: normalize subpages and titles)
Jump to navigation Jump to search

Addresses and sizes are in hex.

Map metadata

  • 00-02 (03) = tileset base
  • 03-05 (03) = tilemap base
  • 06... (01) = width
  • 07... (01) = height (extending downward)
  • 08... (01) = background music index (table of 2-byte addresses starts at $00646A)
  • 09... (01) = goal x position (crossing from any y counts as a lap)
  • 0a... (01) = starting y offset for all players (and hoppip), in pixels
  • 0b... (01) = unknown
  • 0c-0e (03) = sprite set base
  • 0f-11 (03) = preview tileset base
  • 12-14 (03) = preview tilemap base
  • 15... (01) = preview map width
  • 16... (01) = preview map height