Originally posted by Anti-matter Drone
Perhaps there ought to be a sticky that has all of the values for RAM adresses....
He's right, isn't he? You can all participate, I or a mod/smod/admin will edit it here.
For all flags:
00=False; 01=True
$7E:0015
Controller data 1
01=Right, 02=Left, 04=Down, 08=Up, 10=Start, 20=Select, 00=R and L, 40=Y and X, 80=B and A
$7E:0016
Controller data 1 (one frame)
Same values as above.
$7E:0017
Controller data 2
00=Right, 00=Left, 00=Down, 00=Up, 00=Start, 00=Select, 10=R, 20=L, 00=Y, 40=X, 00=B, 80=A
$7E:0018
Controller data 2 (one frame)
Same values as above.
$7E:0019
Powerup
00=Small Mario; 01=Super Mario; 02=Cape Mario; 03=Fire Mario
$7E:0076
Mario's Direction
00=Left; 01=Right
$7E:007B
Mario's X speed
This value is relative to $00D345, $00D347, $00D349, $00D34A and all other values that effect Mario's X speed. +/-15 is fully walking, +/-30 is fully running. 00-7F is right, 80-FF is left.
$7E:007D
Mario's Y speed
This value is relative to $00D7A5, $00D7A6 and all other values that effect Mario's Y speed. 15 is falling at mid-speed, 30 is falling at max-speed, EB is jumping at mid-speed and D0 is jumping at full speed.
$7E:0100
Game Mode
00 Load Nintendo Presents
01 Nintendo Presents
02 Fade to Title Screen
03 Load Title Screen
04 Prepare Title Screen
05 Title Screen: Fade in
06 Title Screen: Circle effect
07 Title Screen
08 Title Screen: File select
09 Title Screen: File delete
0A Title Screen: Player select
0B Fade to Overworld
0C Load Overworld
0D Overworld: Fade in
0E Overworld
0F Fade to Level
10 Fade to Level (black)
11 Load Level (Mario Start!)
12 Prepare Level
13 Level: Fade in
14 Level
15 Fade to Game Over
16 Fade to Game Over?
17 Game Over
18 Load Credits/Cutscene?
19 Load Credits/Cutscene?
1A Load Credits/Cutscene?
1B Ending: Credits / Cutscene
1C Fade to Yoshi's House
1D Fade to Yoshi's House (black)
1E Ending: Yoshi's House: Fade in
1F Ending: Yoshi's House
20 Fade to Enemies
21 Fade to Enemies (black)
22 Fade to Enemies?
23 Fade to Enemies (black)?
24 Ending: Enemies: Fade in
25 Ending: Enemies
26 Fade to The End / Go to 22
27 Fade to The End (black)
28 Ending: The End: Fade in
29 Ending: The End
$7E:0DC2
Reserved Item(current player)
02 = Fire Flower, 03 = Star, 04 = Cape
$7E:0DB3
Character
00=Mario; 01=Luigi
$7E:0DBC
Mario's Item Box
00=Nothing; 01=Mushroom; 02=Cape; 03=Fire Flower
$7E:0DBD
Luigi's Item Box
00=Nothing; 01=Mushroom; 02=Cape; 03=Fire Flower
$7E:0DC2
Reserved Item (current player)
#$00=None; #$01=Mushroom; #$02=Fire Flower; #$03=Star; #$04=Cape
$7E:0F30
Timer Frame Counter
After this reaches $00, then the game decrements the timer
$7E:0F31
Timer, hundreds' digit ($00 through $09)
$7E:0F32
Timer, tens' digit ($00 through $09)
$7E:0F33
Timer, ones' digit ($00 through $09)
$7E:0F34
Mario Score
1 here = 10 points, because the game draws an extra 0 after the score
$7E:0F37
Luigi Score
Same as above
$7E:14C8 - $7E:14D3
Sprite Status Table
00=Non-existant
01=Initial
02=Killed, falling off screen
03=Smushed
04=Spinjumped
05=Sinking in lava
06=Turn into coin at lvl end
07=Stay in Yoshi's mouth
08=Normal routines
09=Stationary
0A=Kicked
0B=Carried
0C=Powerup from being carried past goaltape.
$7E:17C0 - $7E:17C3 - Smoke images.
00=Nothing
01=Puff of smoke
02=Contact graphic
03=Smoke when Mario turns around abruptly
04=None
05=Glitter sprite
$7E:17F0 - $7E:17FB
Minor Extended Sprites type
00=None
01=Piece of brick block
02=Small star
03=Cracked shell (Yoshi egg)
04=Fireball from Podoboo
05=Small star?
06=Rip van Fish Z tile
07=Water splash
08=Rip van Fish Z tile (unused)
09=Rip van Fish Z tile (unused)
0A=Boo Stream tile
0B=Unused Yoshi smoke
$7E:185C
Mario no ground contact flag
00 = No effect; 01 = Mario falls through all solid objects
$7E:18FD
Whistling Chuck Flag