Pokémon Race mini/RAM map

From Data Crystal
< Pokémon Race mini
Revision as of 23:21, 27 June 2020 by YasaSheep (talk | contribs) (Created page with "{{rammap|game=Pokemon Race mini}} The game uses tile mode 3 (24x16) during menus and tile mode 1 (16x12) during the race preview and actual gameplay which changes the availab...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Chip tiny.png The following article is a RAM map for Pokémon Race mini.

The game uses tile mode 3 (24x16) during menus and tile mode 1 (16x12) during the race preview and actual gameplay which changes the available memory slightly, indicating that there may be differences in meaning between the two modes, particularly in that contested region of memory (1420-14df). If any entries are defined in this section, be aware that they only mean that when the tile mode is 1 (during gameplay).

Full pointers are 21 bits but the system is 16 bits. This doesn't exactly cause a banking situation, so the last 5 bits will be referred to the hi (byte) here.

  • 1000-141f (0420) = PRC section during tile mode 1
  • 1632..... (0001) = related to map rendering
  • 1633..... (0001) = related to map rendering
  • 192b..... (0001) = map width
  • 192c..... (0001) = map height
  • 192d-192e (0002) = map width * 8 - 96
  • 192f-1930 (0002) = map height * 8 - 64
  • 1931-1933 (0003) = pointer to tilemap base
  • 1934-1935 (0002) = pointer to location in tilemap of currently displayed upper-left tile (uses value in 1933 as hi)
  • 1936-1937 (0002) = related to map rendering
  • 1938-1939 (0002) = related to map rendering
  • 193a-193b (0002) = (signed) related to map rendering
  • 193c-193d (0002) = (signed) related to map rendering
  • 193e-193f (0002) = offset to currently displayed upper-left tile in tilemap from the tilemap base
  • 1940-1941 (0002) = related to map rendering
  • 1942-1943 (0002) = related to map rendering @192f - 32
  • 195c-195d (0002) = pointer to map metadata (hi fixed as 02)