If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working at any time.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
New Super Mario Bros./RAM map
Jump to navigation
Jump to search
The following article is a RAM map for New Super Mario Bros..
These values are based on the USA release.
RAM Map
Address Size Description
-------- ---- -----------
0208B32C 1 Item in reserve
* 00 - Empty
* 01 - Mushroom
* 02 - Fire Flower
* 03 - Blue Shell
* 04 - Mini Mushroom
* 05 - Mega Mushroom
0208B334 2 Mega Mushroom timer; starts flashing green when the second byte is 00
0208B33C 2 Mega Mushroom 1-up bar, max value is E803
0208B350 2 Invincibility timer
0208B364 3 Number of lives
0208B37C 3 Number of coins
02085A0C 1 Set to 02 to enable an unused feature that remaps holding an item and shooting fireballs to R
02085A50 1 Current character
* 00 - Mario
* 01 - Luigi
02088C3C 2 World 1 enabled flag (set first byte to 40-7F or C0-FF to enable)
02088C3E 2 World 2 enabled flag (set first byte to 40-7F or C0-FF to enable)
02088C40 2 World 3 enabled flag (set first byte to 40-7F or C0-FF to enable)
02088C42 2 World 4 enabled flag (set first byte to 40-7F or C0-FF to enable)
02088C44 2 World 5 enabled flag (set first byte to 40-7F or C0-FF to enable)
02088C46 2 World 6 enabled flag (set first byte to 40-7F or C0-FF to enable)
02088C48 2 World 7 enabled flag (set first byte to 40-7F or C0-FF to enable)
02088C4A 2 World 8 enabled flag (set first byte to 40-7F or C0-FF to enable)
02088C4C C0 Number of Star Coins collected in each level (2 bytes each)
0208B324 1 Current powerup on map
* 00 - Small Mario
* 01 - Super Mario
* 02 - Fire Mario
* 03 - Mega Mario (unused)
* 04 - Mini Mario
* 05 - Blue Shell Mario
020CA8AC 1 "Return to map" flag for pause menu (is set to 01 automatically for levels you have previously cleared)
020D271B 1 Set to EA to skip the opening cutscene on a new save file
02100FFC 1 "Can shoot fireballs" flag
02129480 1 Fireball counter; if at 02, fireball throwing is temporarily disabled
021B69E6 1 Enables the unused "floaty physics" flag that resembles Mini Mario's movement
021B7178 1 Invulnerability (blinking) timer
021B7187 1 Current powerup (plays growing animation upon change)
* 00 - Small Mario
* 01 - Super Mario
* 02 - Fire Mario
* 03 - Mega Mario
* 04 - Mini Mario
* 05 - Blue Shell Mario
021B7188 1 Animation to play when damaged/growing(?)
* 00 - Small Mario to Super Mario
* 01 - Super Mario to Small Mario
* 02 - Fire Mario to Super Mario
* 03 - Mega Mario to Super Mario? (unused)
* 04 - Mini Mario to Super Mario
* 05 - Blue Shell Mario to Super Mario
021B7189 1 The last powerup you had before taking damage
Internal Data for New Super Mario Bros.
| |
|---|---|