Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Pokémon Race mini/Data structures: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
m (aligned)
m (figured out bg music)
Line 6: Line 6:
* <tt>06... (01)</tt> = width
* <tt>06... (01)</tt> = width
* <tt>07... (01)</tt> = height (extending downward)
* <tt>07... (01)</tt> = height (extending downward)
* <tt>08... (01)</tt> = ''unknown''
* <tt>08... (01)</tt> = background music index (table of 2-byte addresses starts at $00646A)
* <tt>09... (01)</tt> = goal x position (crossing from any y counts as a lap)
* <tt>09... (01)</tt> = goal x position (crossing from any y counts as a lap)
* <tt>0a... (01)</tt> = starting y offset for all players (and hoppip), in pixels
* <tt>0a... (01)</tt> = starting y offset for all players (and hoppip), in pixels

Revision as of 07:22, 20 July 2020

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