Super Mario Advance 4: Super Mario Bros. 3/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 4: Super Mario Bros. 3.

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

RAM Map

Address  Size    Description
-------- ----    -----------
03002A6A    2    Lives count (Mario)
03002A6C    2    Lives count (Luigi)
03002C52    3    Card slot 1-3
                 * 00 - Empty
                 * 01 - Mushroom
                 * 02 - Fire Flower
                 * 03 - Star
03002C58    1    Coin count (Mario)
03002C83    1    Coin count (Luigi)
03002D70    1    Current character
                 * 00 - Mario
                 * 01 - Luigi
03003854    3    Score digits
03003CF8    1    P-Switch timer
03003D03    1    Underwater flag(?)
03003D06    1    Behind the background timer
03003D0B    3    Time digits
03003D0E    1    Timer for time countdown
03003DBC    1    Number of Advance Coins(?) (World-e)
03003E17    1    Current power-up (World-e)
                 * 00 - Small
                 * 01 - Big
                 * 02 - Fire
                 * 03 - Raccoon
                 * 04 - Frog
                 * 05 - Tanooki
                 * 06 - Hammer
                 * 07 - Cape
03003E1C    1    Invulnerability timer (World-e)
03003E1D    1    Star timer (World-e)
03003E1E    1    Transformation animation timer (World-e)
03003E21    1    Kicked animation timer (World-e)
03003E22    1    Front facing animation timer (World-e)
03003E23    1    End of level walk animation timer (World-e)
03003E2F    1    Kuribo's Shoe flag (World-e)
03003E30    1    Set power-up + palette (World-e)
                 * 01 - Small
                 * 02 - Big
                 * 03 - Fire
                 * 04 - Raccoon
                 * 05 - Frog
                 * 06 - Tanooki
                 * 07 - Hammer
                 * 08 - Cape
03003F32    1    Statue flag (World-e)
03003F5B    1    Current power-up
                 * 00 - Small
                 * 01 - Big
                 * 02 - Fire
                 * 03 - Raccoon
                 * 04 - Frog
                 * 05 - Tanooki
                 * 06 - Hammer
                 * 07 - Cape
03003F60    1    Invulnerability timer
03003F61    1    Star timer
03003F62    1    Transformation animation timer
03003F65    1    Kicked animation timer
03003F66    1    Front facing animation timer
03003F67    1    End of level walk animation timer
03003F73    1    Kuribo's Shoe flag
03003F74    1    Set power-up + palette
                 * 01 - Small
                 * 02 - Big
                 * 03 - Fire
                 * 04 - Raccoon
                 * 05 - Frog
                 * 06 - Tanooki
                 * 07 - Hammer
                 * 08 - Cape
03003F76    1    Statue flag
03003F80    1    Star flag (sets off 03003F61 + plays invincibility music)
03004F08    1    Turns before N-Spade card game ends