Super Mario Advance/RAM map

From Data Crystal
Jump to navigation Jump to search

Chip tiny.png The following article is a RAM map for Super Mario Advance.

Addresses are for USA/Europe version, but an equivalent or similar address exists in the Japan version.

RAM Map

Super Mario Bros. 2

Address  Size    Description
-------- ----    -----------
0300114C    4    Score
03001160    1    Current level
                 * 00 - World 1-1
                 * 01 - World 1-2
                 * 02 - World 1-3
                 * 03 - World 2-1
                 * 04 - World 2-2
                 * 05 - World 2-3
                 * 06 - World 3-1
                 * 07 - World 3-2
                 * 08 - World 3-3
                 * 09 - World 4-1
                 * 0A - World 4-2
                 * 0B - World 4-3
                 * 0C - World 5-1
                 * 0D - World 5-2
                 * 0E - World 5-3
                 * 0F - World 6-1
                 * 10 - World 6-2
                 * 11 - World 6-3
                 * 12 - World 7-1
                 * 13 - World 7-2
03001161    1    Lives count
030019B0    1    Mode (not used when multiplayer has started)
                 * 00 - "Erase all save data" screen
                 * 01 - Mario Bros. Classic multiplayer connection screen
                 * 02 - Intro/Title/Choose a Game/Choose a File
                 * 03 - Choose a Player/Level intro/Level
                 * 04 - Single-player Mario Bros. Classic
03001A07    1    Coin count
03001A26    1    Number of cherries collected, spawns a star and resets when 5 are collected
03001C35    1    Ace Coin count (HUD)
03001C36    1    Ace Coin count(?)
03001C37    1    Yoshi Egg count (Yoshi Challenge)
03001C5A    1    Player Y speed
03001C5B    1    Player Y direction
                 * 00 - Down
                 * FF - Up
03001C70    1    Current character
                 * 00 - Mario
                 * 01 - Peach
                 * 02 - Toad
                 * 03 - Luigi
03001C71    1    "Is in air" flag
03001C74    1    "Is holding item" flag
03001C76    1    Health count
03001C77    1    Health count (HUD)
03001C7B    1    Frozen timer
03001C7D    1    Flashing invulnerability timer
03001C7E    1    Timer for Peach's float, resets to 30 each jump, counts down to 00 while A is held
03001C7F    1    Timer for charged jump, counts up to 3C while down is held
03001C88    1    Star timer
03001CAC    1    Stopwatch timer
03001CCF    1    Time left before returning from Subspace
03001E2D    1    Magic carpet timer

Mario Bros.

Hmmm...
To do:
Make list of metatiles.
Address  Size    Description
-------- ----    -----------
03001DEE    1    Number of enemies left to defeat
03001DFC    1    Current round
03001E10    1    Current score
03001E35    1    Lives
030037E9  7A1    Level tilemap (8x8 tiles)