Difference between revisions of "Mega Man"

From NES Hacker Wiki
Jump to: navigation, search
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Mega Man is a platform action game that takes place in the future. You play Rock, a house robot turned into a fighting machine to save the world from the evil robots of Dr. Wily. Each enemy boss has his own stage that must be infiltrated. When you defeat a boss robot, you take their powers to use on the remaining robots.
+
'''''Mega Man''''' is a platform action game that takes place in the future. You play Rock, a house robot turned into a fighting machine to save the world from the evil robots of Dr. Wily. Each enemy boss has his own stage that must be infiltrated. When you defeat a boss robot, you take their powers to use on the remaining robots.
 +
 
 +
==Easy Cheats==
 +
{{CheatTop}}
 +
{{Cheat|Lives-Infinite|00A6|09|-|Infinite Lives}}
 +
{{Cheat|HitPoints-Infinite|006A|1C|-|Infinite Hit Points}}
 +
{{Cheat|Invincible|0055|01|-|Invulnerable}}
 +
{{Cheat|Weapon|005D|FF|-|Have All Weapons}}
 +
{{Cheat|Ammo-Infinite|006B|1C|-|Infinite Cutman Power}}
 +
{{Cheat|Ammo-Infinite|006C|1C|-|Infinite Iceman Power}}
 +
{{Cheat|Ammo-Infinite|006D|1C|-|Infinite Bombman Power}}
 +
{{Cheat|Ammo-Infinite|006E|1C|-|Infinite Fireman Power}}
 +
{{Cheat|Ammo-Infinite|006F|1C|-|Infinite Elecman Power}}
 +
{{Cheat|Ammo-Infinite|0070|1C|-|Infinite Gutsman Power}}
 +
{{Cheat|Ammo-Infinite|0071|1C|-|Infinite Magnet Beam}}
 +
{{Cheat|Jump|961F|06|04|High Jump}}
 +
{{Cheat|Jump|961F|08|04|Super High Jump}}
 +
{{Cheat|Strength|06C1|00|-|1-Hit Boss Kills}}
 +
{{CheatBottom}}
  
 
==North America==
 
==North America==
 
[[File:Mega Man.png|256px|right]]
 
[[File:Mega Man.png|256px|right]]
  
===Memory Offsets===
+
===Memory Addresses===
 +
 
 +
0000 - Ego Frame
 +
06 - Blinking
 +
1C - Idle
 +
48 - Landing 2
 +
5A - Shooting
 +
5E - Landing 1
 +
68 - Bullet in in air
 +
84 - Jumping
 +
C6 - Teleport Falling
 +
D0 - Teleport Landing 1
 +
E6 - Teleport Falling 2
 +
...
 +
0031 - Selected boss in menu
 +
00 - Cutman
 +
01 - Iceman
 +
02 - Bombman
 +
03 - Fireman
 +
04 - Elecman
 +
05 - Gutsman
 +
06 - Dr. Wily
 +
0055 - Invulnerable timeout
 +
005D - Weapon Bit Flag
 +
+01 - Unused
 +
+02 - Bombman
 +
+04 - Elecman
 +
+08 - Gutsman
 +
+10 - Iceman
 +
+20 - Cutman
 +
+40 - Fireman
 +
+80 - Magnet Beam
 +
005F - Active Suit
 +
006A - Hit Points (00-1C)
 +
006B - Cutman's Weapon Power (00-1C)
 +
006D - Bombman's Weapon Power (00-1C)
 +
006C - Iceman's Weapon Power (00-1C)
 +
006E - Fireman's Weapon Power (00-1C)
 +
006F - Elecman's Weapon Power (00-1C)
 +
0070 - Gutsman's Weapon Power (00-1C)
 +
0071 - Magnet Beam Power (00-1C)
 +
0072 - Score: xxxxxx9
 +
0073 - Score: xxxxx9x
 +
0074 - Score: xxxx9xx
 +
0075 - Score: xxx9xxx
 +
0076 - Score: xx9xxxx
 +
0077 - Score: x9xxxxx
 +
0078 - Score: 9xxxxxx
 +
00A6 - Lives (00-63)
 +
00AE - Point Balls
 +
0600 - Player Y
 +
0611 - Object Y
 +
0651 - Object Timeout
 +
06C1 - Boss Hit Points (00-1C)
 +
0680 - Player Y Delta
 +
 
 +
===Code===
 +
====Jump Height====
 +
961E:A9 04    LDA #$04        ; Load A with #04 (Y Delta)
 +
9620:8D 80 06  STA $0680        ; Store A into Player Y Delta
 +
9623:A9 DF    LDA #$DF        ;
 +
9625:8D 60 06  STA $0660        ;
 +
9628:60        RTS
  
0000 - Ego Frame (1C=Idle, 06=Blinking, 84=Jumping...)
 
0055 - Invincible after hit timeout
 
006A - Hit Points (1C-00)
 
  
 
===Text===
 
===Text===
 +
Mega Man's character set is a bit strange. The graphic set only contains one set of characters, but the game adjusts their memory location depending on where you're at in the game which is why there are three different table look ups.
  
 
====Title====
 
====Title====

Latest revision as of 16:06, 21 April 2016

Mega Man is a platform action game that takes place in the future. You play Rock, a house robot turned into a fighting machine to save the world from the evil robots of Dr. Wily. Each enemy boss has his own stage that must be infiltrated. When you defeat a boss robot, you take their powers to use on the remaining robots.

Easy Cheats

Icon Addr Val Cmp Description
Icon-Lives-Infinite.png 00A6 09 - Infinite Lives
Icon-HitPoints-Infinite.png 006A 1C - Infinite Hit Points
Icon-Invincible.png 0055 01 - Invulnerable
Icon-Weapon.png 005D FF - Have All Weapons
Icon-Ammo-Infinite.png 006B 1C - Infinite Cutman Power
Icon-Ammo-Infinite.png 006C 1C - Infinite Iceman Power
Icon-Ammo-Infinite.png 006D 1C - Infinite Bombman Power
Icon-Ammo-Infinite.png 006E 1C - Infinite Fireman Power
Icon-Ammo-Infinite.png 006F 1C - Infinite Elecman Power
Icon-Ammo-Infinite.png 0070 1C - Infinite Gutsman Power
Icon-Ammo-Infinite.png 0071 1C - Infinite Magnet Beam
Icon-Jump.png 961F 06 04 High Jump
Icon-Jump.png 961F 08 04 Super High Jump
Icon-Strength.png 06C1 00 - 1-Hit Boss Kills
How do I use these?

North America

Mega Man.png

Memory Addresses

0000 - Ego Frame
	06 - Blinking
	1C - Idle
	48 - Landing 2
	5A - Shooting
	5E - Landing 1
	68 - Bullet in in air
	84 - Jumping
	C6 - Teleport Falling
	D0 - Teleport Landing 1
	E6 - Teleport Falling 2
	...
0031 - Selected boss in menu
	00 - Cutman
	01 - Iceman
	02 - Bombman
	03 - Fireman
	04 - Elecman
	05 - Gutsman
	06 - Dr. Wily
0055 - Invulnerable timeout
005D - Weapon Bit Flag
	+01 - Unused
	+02 - Bombman
	+04 - Elecman
	+08 - Gutsman
	+10 - Iceman
	+20 - Cutman
	+40 - Fireman
	+80 - Magnet Beam
005F - Active Suit
006A - Hit Points (00-1C)
006B - Cutman's Weapon Power (00-1C)
006D - Bombman's Weapon Power (00-1C)
006C - Iceman's Weapon Power (00-1C)
006E - Fireman's Weapon Power (00-1C)
006F - Elecman's Weapon Power (00-1C)
0070 - Gutsman's Weapon Power (00-1C)
0071 - Magnet Beam Power (00-1C)
0072 - Score: xxxxxx9
0073 - Score: xxxxx9x
0074 - Score: xxxx9xx
0075 - Score: xxx9xxx
0076 - Score: xx9xxxx
0077 - Score: x9xxxxx
0078 - Score: 9xxxxxx
00A6 - Lives (00-63)
00AE - Point Balls
0600 - Player Y
0611 - Object Y
0651 - Object Timeout
06C1 - Boss Hit Points (00-1C)
0680 - Player Y Delta

Code

Jump Height

961E:A9 04     LDA #$04         ; Load A with #04 (Y Delta)
9620:8D 80 06  STA $0680        ; Store A into Player Y Delta
9623:A9 DF     LDA #$DF         ; 
9625:8D 60 06  STA $0660        ;
9628:60        RTS


Text

Mega Man's character set is a bit strange. The graphic set only contains one set of characters, but the game adjusts their memory location depending on where you're at in the game which is why there are three different table look ups.

Title

81=A
82=B
83=C
84=D
85=E
86=F
87=G
88=H
89=I
8A=J
8B=K
8C=L
8D=M
8E=N
8F=O
90=P
91=Q
92=R
93=S
94=T
95=U
96=V
97=W
98=X
99=Y
9A=Z
9B=r
9C=.
9D=,
9E='
9F=!
A0= 
AA=1
AB=9
AC=8
AD=7
AE="
AF=°
C8=©
D0=0
D1=1
D2=2
D3=3
D4=4
D5=5
D6=6
D7=7
D8=8
D9=9

Stage Select

01=A
02=B
03=C
04=D
05=E
06=F
07=G
08=H
09=I
0A=J
0B=K
0C=L
0D=M
0E=N
0F=O
10=P
11=Q
12=R
13=S
14=T
15=U
16=V
17=W
18=X
19=Y
1A=Z
1B=r
1C=.
1D=,
1E='
1F=!
20= 
2E="
3F=°
48=©
50=0
51=1
52=2
53=3
54=4
55=5
56=6
57=7
58=8
59=9

Ending

04= 
61=A
62=B
63=C
64=D
65=E
66=F
67=G
68=H
69=I
6A=J
6B=K
6C=L
6D=M
6E=N
6F=O
70=P
71=Q
72=R
73=S
74=T
75=U
76=V
77=W
78=X
79=Y
7A=Z
7B=r
7C=.
7D=,
7E='
7F=!
8E="
8F=°
A8=©
B0=0
B1=1
B2=2
B3=3
B4=4
B5=5
B6=6
B7=7
B8=8
B9=9


Japan

Rockman.png

Rockman is the Japanese title, named after the game's main character, Rock.