Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Super Mario Advance 4: Super Mario Bros. 3/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Created page with "{{rammap|game=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. {| border="1" align="center" cellpadding="4" cellspacing="0" style="margin: 0 0 1em 1em; background: #f7f8ff; border: 1px #8888cc solid; border-collapse: collapse; font-size: 95%" |- style=background:#ccccff !'''RAM''' || '''Information''' |- |03002A6A || Lives count (Mario) |- |03002A6B || Increments by 01 ev...")
 
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{rammap|game=Super Mario Advance 4: Super Mario Bros. 3}}
{{rammap|game=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.
{{todo|List background IDs for address 03003BBF}}
{| border="1" align="center" cellpadding="4" cellspacing="0" style="margin: 0 0 1em 1em; background: #f7f8ff; border: 1px #8888cc solid; border-collapse: collapse; font-size: 95%"
Addresses are for USA version.
|- style=background:#ccccff
 
!'''RAM'''  || '''Information'''
== RAM Map ==
|-
Address  Size    Description
|03002A6A || Lives count (Mario)
-------- ----    -----------
|-
03002A6A    2    Lives count (Mario)
|03002A6B || Increments by 01 every 256 lives (Mario)
03002A6C    2    Lives count (Luigi)
|-
03002C52    3    Panel slot 1-3
|03002A6C || Lives count (Luigi)
                  * 00 - Empty
|-
                  * 01 - Mushroom
|03002A6D || Increments by 01 every 256 lives (Luigi)
                  * 02 - Fire Flower
|-
                  * 03 - Star
|03002C58 || Coin count (Mario)
03002C58    1    Coin count (Mario)
|-
03002C83    1    Coin count (Luigi)
|03002C83 || Coin count (Luigi)
03002D52    2    Switch effects
|-
                  * 0000 - No effects
|03003854 || Score digit 1
                  * +0001 - Vegetables in main game (Blue-Green Switch effect)
|-
                  * +0002 - Halved P-Meter (Cyan Switch effect)
|03003854 || Score digit 2(?)
                  * +0004 - Triple 1-Up Mushrooms (Unused)
|-
                  * +0008 - Hold Box from Super Mario World (Unused)
|03003854 || Score digit 3(?)
                  * +0010 - Slowed timer (Green Switch effect)
|-
                  * +0020 - Shortened enemy points chain (Unused)
|03003CF8 || P-Switch timer
                  * +0040 - Fireball coin mechanics from Super Mario World (Orange Switch effect)
|-
                  * +0080 - Famicom damage mechanic (Red Switch effect)
|03003D03 || Underwater flag(?)
                  * +0100 - Unique Luigi mechanics in main game (Yellow Switch effect)
|-
                  * +0200 - 2x point multiplier (Red Switch effect)
|03003D06 || Behind the background timer
                  * +0400 - 1-Up Mushrooms into 3-Up Moons (Blue Switch effect)
|-
                  * +0800 - Some enemies replaced with harder ones (Red Switch effect)
|03003D0B || Time digit 1
                  * +1000 - Floating platform rescue (Unused)
|-
                  * +2000 - Bosses are twice as strong (Red Switch effect)
|03003D0C || Time digit 2
                  * +4000 - Luigi replaces Mario in replays (Unused)
|-
03002D64    1    Indicator for switches active in main game
|03003D0D || Time digit 3
                  * 00 - No switches active
|-
                  * +01 - Blue Switch active
|03003D0E || Timer for time countdown
                  * +02 - Orange Switch active
|-
                  * +04 - Blue-Green Switch active
|03003F60 || Invulnerability timer
                  * +08 - Yellow Switch active
|-
                  * +10 - Green Switch active (Unused)
|03003F61 || Star timer
                  * +20 - Cyan Switch active (appears as Blue-Green Switch) (Unused)
|-
                  * +40 - Red Switch active
|03003F62 || Transformation animation timer
03002D70    1    Current character
|-
                  * 00 - Mario
|03003F65 || Kicked animation timer
                  * 01 - Luigi
|-
03003854   3    Score digits
|03003F66 || Front facing animation timer
03003A8B    1   Indicator for switches active in World-e
|-
                  * 00 - No switches active
|03003F67 || End of level walk animation timer
                  * +01 - Blue Switch active
|-
                  * +02 - Orange Switch active
|03004F08 || Turns before N-Spade card game ends
                  * +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


{{Internal Data}}
{{Internal Data}}

Latest revision as of 04:20, 28 May 2024

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