Super Mario Advance 4: Super Mario Bros. 3/RAM map

From Data Crystal
< Super Mario Advance 4: Super Mario Bros. 3
Revision as of 04:20, 28 May 2024 by Lelegofrog (talk | contribs) (→‎RAM Map)
(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 Super Mario Advance 4: Super Mario Bros. 3.

Hmmm...
To do:
List background IDs for address 03003BBF

Addresses are for USA version.

RAM Map

Address  Size    Description
-------- ----    -----------
03002A6A    2    Lives count (Mario)
03002A6C    2    Lives count (Luigi)
03002C52    3    Panel slot 1-3
                 * 00 - Empty
                 * 01 - Mushroom
                 * 02 - Fire Flower
                 * 03 - Star
03002C58    1    Coin count (Mario)
03002C83    1    Coin count (Luigi)
03002D52    2    Switch effects
                 * 0000 - No effects
                 * +0001 - Vegetables in main game (Blue-Green Switch effect)
                 * +0002 - Halved P-Meter (Cyan Switch effect)
                 * +0004 - Triple 1-Up Mushrooms (Unused)
                 * +0008 - Hold Box from Super Mario World (Unused)
                 * +0010 - Slowed timer (Green Switch effect)
                 * +0020 - Shortened enemy points chain (Unused)
                 * +0040 - Fireball coin mechanics from Super Mario World (Orange Switch effect)
                 * +0080 - Famicom damage mechanic (Red Switch effect)
                 * +0100 - Unique Luigi mechanics in main game (Yellow Switch effect)
                 * +0200 - 2x point multiplier (Red Switch effect)
                 * +0400 - 1-Up Mushrooms into 3-Up Moons (Blue Switch effect)
                 * +0800 - Some enemies replaced with harder ones (Red Switch effect)
                 * +1000 - Floating platform rescue (Unused)
                 * +2000 - Bosses are twice as strong (Red Switch effect)
                 * +4000 - Luigi replaces Mario in replays (Unused)
03002D64    1    Indicator for switches active in main game
                 * 00 - No switches active
                 * +01 - Blue Switch active
                 * +02 - Orange Switch active
                 * +04 - Blue-Green Switch active
                 * +08 - Yellow Switch active
                 * +10 - Green Switch active (Unused)
                 * +20 - Cyan Switch active (appears as Blue-Green Switch) (Unused)
                 * +40 - Red Switch active
03002D70    1    Current character
                 * 00 - Mario
                 * 01 - Luigi
03003854    3    Score digits
03003A8B    1    Indicator for switches active in World-e
                 * 00 - No switches active
                 * +01 - Blue Switch active
                 * +02 - Orange Switch active
                 * +04 - Blue-Green Switch active (Unused)
                 * +08 - Yellow Switch active (Unused)
                 * +10 - Green Switch active
                 * +20 - Cyan Switch active (appears as Blue-Green Switch)
                 * +40 - Red Switch active
03003BBF    1    Current level background
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)
03003DE0    1    Player map Y position
03003DE4    1    Player map X position
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    Goomba'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    Goomba'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