If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Pokémon Race mini/Data structures: Difference between revisions
Jump to navigation
Jump to search
m (aligned) |
(→top) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{subpage}} | |||
Addresses and sizes are in hex. | Addresses and sizes are in hex. | ||
Line 6: | Line 8: | ||
* <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> = | * <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 |
Latest revision as of 15:00, 24 January 2024
This is a sub-page of Pokémon Race mini.
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