Super Mario Bros./ROM map

From Data Crystal
Jump to navigation Jump to search

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

Graphical Values

Backgrounds

  • 0x005E0 to 0x----- (0001) = Background color of Sky
  • 0x005E1 to 0x----- (0001) = Background color of New Level & Game Over screen

Characters

  • 0x005E8 to 0x----- (0001) = Color of Small/Big Mario's hat + outer clothing
  • 0x005E9 to 0x----- (0001) = Color of Small/Big Mario's skin
  • 0x005EA to 0x----- (0001) = Color of Small/Big Mario's hair + inner clothing
  • 0x005F0 to 0x----- (0001) = Color of Fire Mario's hat + outer clothing
  • 0x005F1 to 0x----- (0001) = Color of Fire Mario's skin
  • 0x005F2 to 0x----- (0001) = Color of Fire Mario's hair + inner enemies
  • 0x00CF8 to 0x----- (0001) = Color of Goomba's eyes
  • 0x00CF9 to 0x----- (0001) = Color of Goomba's body
  • 0x00CFA to 0x----- (0001) = Color of Goomba's head

Items

The following three values do not apply while underground.

  • 0x00CF4 to 0x----- (0001) = Color of Mushrooms (spots), Mario's Fireballs (outside), Coins (outside), Stars (eyes) and other items with the same color.
  • 0x00CF5 to 0x----- (0001) = Color of Mushrooms (bottom), Mario's Fireballs (smaller portion on the inside), Coins (small inside portion), Score Bonus (the number that pops up when you get a coin) and other items with the same color.
  • 0x00CF6 to 0x----- (0001) = Color of Mushrooms (the inside), Mario's Fireballs (larger portion on the inside), Coins (large outside border) and other items with the same color.

Text Values

  • 0x00765 to 0x00769 (0005) = "MARIO" text on top bar
  • 0x0076D to 0x00771 (0005) = "WORLD" text on top bar
  • 0x00774 to 0x00777 (0004) = "TIME" text on top bar
  • 0x0077E to 0x0077F (0002) = "x00" text on top bar (the coins sprite and the x sprite)
  • 0x00796 to 0x0079A (0005) = "WORLD" text on black screen
  • 0x007B3 to 0x007B9 (0007) = "TIME UP" text on black screen
  • 0x007C6 to 0x007CE (0009) = "GAME OVER" text on black screen
  • 0x007D3 to 0x007E7 (0015) = "WELCOME TO WARP ZONE!" text
  • 0x007FD to 0x00801 (0005) = "LUIGI" text on top bar
  • 0x09FB5 to 0x09FC2 (000D) = "© 1985 NINTENDO" text on title screen
  • 0x09FC6 to 0x09FD2 (000C) = "1 PLAYER GAME" text on title screen
  • 0x09FD6 to 0x09FE2 (000C) = "2 PLAYER GAME" text on title screen
  • 0x09FE6 to 0x09FE9 (0004) = "TOP-" text on title screen

Mechanics

Fireballs

  • 0x061E2 to 0x----- (0001) = Fireball Movement*
  • 0x061FB to 0x----- (0001) = Fireball Position*
Fireball Movements:
1C: Normal
10: Explode on contact, but no damage
13: Straight forward but bounces off blocks
15: Straight forward
19: Appear in air then bounce along top of sky
1B: Explode on contact
9F: Shoot a fireball then jump to launch into the air; jump and shoot a fireball in the air to
either shoot up or shoot down
CF: Kill first enemy even if you miss it
FF: Explode on Mario, but no damage

Fireball Positions:
F8 - Normal
CA - 3 blocks above Mario
D0 - 2 blocks above Mario
F7 - Straight ahead, misses Goombas but sometimes hits Koopa Troopas
FC - Shoot much farther
FE - Shoot slightly farther

Moving Sprites

This section not only applies to enemies like Goombas and Koopa Troopas, but to Mushrooms and Stars as well.

  • 0x05995 to 0x----- (0001) = Moving Sprite Stomp Reaction (part 1)*
  • 0x059E2 to 0x----- (0001) = Moving Sprite Stomp Reaction (part 2)*
  • 0x059E5 to 0x----- (0001) = Moving Sprite Stomp Reaction (part 3)*
  • 0x06006 to 0x----- (0001) = Moving Sprite Properties*
Moving Sprite Stomp Reactions (part 1):
01: Fall down
49: Morph to turtle; keep stomping to change to red, then green and repeats

Moving Sprite Stomp Reactions (part 2):
00: Don't flatten but turn around
01: Unflatten quickly (can bounce off of multiple times to get 1ups)
02: Unflatten quickly (no multi-bounce)
30: Disappear in 30 seconds
FF: Stay flat and don't disappear 

Moving Sprite Stomp Reactions (part 3):
04: Normal
09: Flatten then unflatten while falling 
29: Fall left
49: Small spring
69: Fall right
89: Walk around flat

Moving Sprite Properties:
03: Normal
17: Everything is bouncing around and giving you lots of points.
38: 17 without the points
39: Enemies bounce after you
3B: Everything bounces until it hits the lowest ground (cracked blocks) then it is carried away
and can't hurt you.
42: Most things are scared and bounce away!
43: Most things are scared and run away even through bricks; jump off cliffs and then bounce if
they land on ground
4D: 43 with less bounce
54: Everything runs very quickly your way through anything but doesn't turn around
56: Everything runs quickly your way through anything but does not turn around
E0: Everything that touches ground bounces
E1: Everything that would bounce in E0 falls and some things walk through walls.
E6: You can't stomp anything but you bounce off ie. goombas flatten then pop back up
FF: Everything falls through the floor