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

From Data Crystal
Jump to navigation Jump to search
(Created page with "Addresses and sizes are in hex. == Map metadata == * <tt>00-02 (03)</tt> = tileset base * <tt>03-05 (03)</tt> = tilemap base * <tt>06 (01)</tt> = width * <tt>07 (01)</t...")
 
m (aligned)
Line 4: Line 4:
* <tt>00-02 (03)</tt> = tileset base
* <tt>00-02 (03)</tt> = tileset base
* <tt>03-05 (03)</tt> = tilemap base
* <tt>03-05 (03)</tt> = tilemap base
* <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> = ''unknown''
* <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
* <tt>0b   (01)</tt> = ''unknown''
* <tt>0b... (01)</tt> = ''unknown''
* <tt>0c-0e (03)</tt> = sprite set base
* <tt>0c-0e (03)</tt> = sprite set base
* <tt>0f-11 (03)</tt> = preview tileset base
* <tt>0f-11 (03)</tt> = preview tileset base
* <tt>12-14 (03)</tt> = preview tilemap base
* <tt>12-14 (03)</tt> = preview tilemap base
* <tt>15   (01)</tt> = preview map width
* <tt>15... (01)</tt> = preview map width
* <tt>16   (01)</tt> = preview map height
* <tt>16... (01)</tt> = preview map height

Revision as of 05:15, 27 June 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) = unknown
  • 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