Mega Man 3 (NES)/RAM map

From Data Crystal
Jump to navigation Jump to search

Chip tiny.png The following article is a RAM map for Mega Man 3 (NES).

Sprite/Object Arrays

See Arrays List

RAM Function Details
300-31F States AND #$80 is used to for states.
-Depending on State values,
different behaviors occur.
AND #$7F unknown yet
320-33F ASM pointer
340-35F X Coordinate Ratio Counter
360-37F X Coordinate
380-39F X Screen (Level Screen)
3A0-3BF Y Coordinate Ratio Counter
3C0-3DF Y Coordinate
3E0-3FF Y Screen
400-41F Horizontal Speed Low
420-43F Horizontal Speed High
440-45F Vertical Speed Low
460-47F Vertical Speed High
480-49F Substance and Shape
4A0-4BF Direction Bits
4C0-4DF Enemy Number# in Level
4E0-4FF Enemy HP
500-51F Object ASM Private Memory 1
520-53F Object ASM Private Memory 2 ###
540-55F Object ASM Private Memory 3 ###
560-57F Object ASM Private Memory 4 ###
580-59F Sprite Flags
5A0-5BF Sprite's Animation
5C0-5DF Sprite ID
5E0-5FF Animation Frame Counter
5B8-5CF Invincibility Blink / Freeze Action Status #####

Player Variables

Life & Health

RAM Function Details
$00A2 Current HP
$00AE Lives Remaining
$00AF Energy Tanks Remaining

Weapons

RAM Function
$00A3 Gemini Beam
$00A4 Needle Cannon
$00A5 Hard Knuckle
$00A6 Magnet Missile
$00A7 Top Spin
$00A8 Search Snake
$00AA Spark Shock
$00AC Shadow Blade
Hex value Description
00 Don't have weapon
9C Have weapon

Rush Equipment

RAM Function Details
$00A9 Rush Coil
$00AB Rush Marine
$00AD Rush Jet

Miscellaneous Variables

Stages

RAM Function Details
$0022 Current Stage 00 - Needle Man
01 - Magnet Man
02 - Gemini Man
03 - Hard Man
04 - Top Man
05 - Snake Man
06 - Spark Man
07 - Shadow Man
08 - Needle Man 2
09 - Gemini Man 2
0A - Spark Man 2
0B - Shadow Man 2
0C - Wily Castle 1
0D - Wily Castle 2
0E - Wily Castle 3
0F - Wily Castle 4
10 - Wily Castle 5
11 - Wily Castle 6
14 - Ending scene
16 - Dr. Light's Lab
$006E Wily Stage 4 Boss Rematches 00 - No bosses defeated
01 - Needle Man defeated
02 - Magnet Man defeated
04 - Gemini Man defeated
08 - Hard Man defeated
10 - Top Man defeated
20 - Snake Man defeated
40 - Spark Man defeated
80 - Shadow Man defeated

$00DC - $0DE4 Music