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 Bros. Deluxe/RAM map

From Data Crystal
Jump to navigation Jump to search

Chip tiny.png The following article is a RAM map for Super Mario Bros. Deluxe.

Addresses are for USA/Europe version, unconfirmed for Japan.

RAM Map

WRAM

Addr    Size    Description
----    ----    -----------
C160       1    Level set
                * 00 - Super Mario Bros.
                * 01 - The Lost Levels
C162       1    Current level
                * See Notes page for values
C166       1    Hard mode flag
C17D       2    Time digits
C17F       1    Lives count
C180       1    Time timer
C181       1    Time disable flag
C1A8       1    Current menu selection
                * 00 - Original 1985 (Goes to File Select)
                * 01 - Challenge Mode
                * 02 - Vs. Game
                * 03 - Super Mario Bros. For Super Players (The Lost Levels)
                * 04 - Records
                * 05 - Album
                * 06 - Toy Box
                * 07 - You Vs. Boo
C1B9       1    Map Mario Y position
C1BA       1    Map Mario X position
C1C1       1    Player state
                * 00 - On ground
                * 01 - In the air
                * 02 - Free movement
                * 03 - Dead
                * 05 - Stationary
                * 06 - Power down animation
                * 07 - Power up animation
                * 08 - Sub-area transition
                * 0A - Auto-walking at end of castle
C1C2       1    Player pose
                * 00 - Standing
                * 01 - Walking 1
                * 02 - Walking 2
                * 03 - Turning around
                * 04 - Jumping
                * 05 - Swimming 1
                * 06 - Walking 3
                * 07 - Climbing 1
                * 08 - Swimming 2
                * 09 - Swimming 3
                * 0A - Swimming 4
                * 0B - Crouching
                * 0C - Climbing 2
                * 0D - Fireball shoot
                * 0E - Swimming 5
                * 0F - Mid-power up
                * 11 - Swimming 6
C1D5       1    Invulnerability timer
C1DA       2    Star timer
C1DC       1    Colors to flash during Star
C1F2       1    Coin count
C383       1    Player select
                * 00 - Mario
                * 01 - Luigi
DE00       1    Music pitch
DED0       1    "Hurry Up" tempo flag

HRAM

FF99       1    X position of Player
FFA7       1    X position of Level
FFA9       1    Y position
FFAB       1    X speed
FFAC       1    Y speed
FFB5       1    Current mode
                * See Notes page for values