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

Address  Size    Description
-------- ----    -----------
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, resets when 5 cherries are collected
03001C35    1    Ace Coin count (HUD)
03001C36    1    Ace Coin count(?)
03001C37    1    Yoshi Egg count (Yoshi Challenge)
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