Difference between revisions of "The Legend of Zelda"

From NES Hacker Wiki
Jump to: navigation, search
Line 36: Line 36:
  
 
===Memory Addresses===
 
===Memory Addresses===
 +
000E - Link's Sprite Offset (change to make link a monster)
 +
 
  0029 - Gannon - Visibility Duration (00-3F)
 
  0029 - Gannon - Visibility Duration (00-3F)
 +
 
  0070 - Link X Position
 
  0070 - Link X Position
 
  0071-007A - Enemy X Position
 
  0071-007A - Enemy X Position
Line 47: Line 50:
 
  0082 - Rod/Arrow Y Position
 
  0082 - Rod/Arrow Y Position
 
  0083 - Item X Position
 
  0083 - Item X Position
 +
 
  0084 - Link Y Position
 
  0084 - Link Y Position
 
  0085-008E - Enemy Y Position
 
  0085-008E - Enemy Y Position
Line 58: Line 62:
 
  0096 - Rod/Arrow Y Position
 
  0096 - Rod/Arrow Y Position
 
  0097 - Item Y Screen Position
 
  0097 - Item Y Screen Position
 +
 
  0098 - Link Direction (01 - Right, 02 - Left, 04 - Down, 08 - Up)
 
  0098 - Link Direction (01 - Right, 02 - Left, 04 - Down, 08 - Up)
 
  0099-0102 - Enemy Direction (01 - Right, 02 - Left, 04 - Down, 08 - Up)
 
  0099-0102 - Enemy Direction (01 - Right, 02 - Left, 04 - Down, 08 - Up)
 
  00A3 - Ladder Direction (01 - Right, 02 - Left, 04 - Down, 08 - Up)
 
  00A3 - Ladder Direction (01 - Right, 02 - Left, 04 - Down, 08 - Up)
 +
 
  00AC - Link Status Flag (40 - Paralyzed)
 
  00AC - Link Status Flag (40 - Paralyzed)
 
  00AD - Gannon - Arrow Vulnerability Duration (00-FF) Flashes below 2F
 
  00AD - Gannon - Arrow Vulnerability Duration (00-FF) Flashes below 2F
 +
 
  00AE-00B7 - Projectile Flags (Stepladder counts as a projectile)
 
  00AE-00B7 - Projectile Flags (Stepladder counts as a projectile)
 +
 
  00E6 - Flips between 01 and 00 as you change rooms.
 
  00E6 - Flips between 01 and 00 as you change rooms.
 
  00E7 - Room change direction (01 - Right, 02 - Left, 04 - Down, 08 - Up)
 
  00E7 - Room change direction (01 - Right, 02 - Left, 04 - Down, 08 - Up)
 +
00E8 - Room scrolling counter - left/right
 +
00E9 - Room scrolling counter - up/down. Also timeout before changing rooms (15-00) - If you alter 82E5 to 00, you will see the room before it's drawn.
 +
00EB - Room You're In (00-7F) Also cave exit room.
 +
00EC - Room You're Going To (00-7F)
 +
00ED - Room scrolling counter up/down
 +
00EE - Direction you entered this room from (01 - Right, 02 - Left, 04 - Down, 08 - Up)
 
   
 
   
 
  00F8 - Controller 1 Press
 
  00F8 - Controller 1 Press
Line 74: Line 88:
 
  0300-0324 - Info screen drawing
 
  0300-0324 - Info screen drawing
 
   
 
   
 +
0394 - Link Frame
 +
03A8 - Link Flag
 +
03D0 - Link Animation Counter
 +
03E4 - Link Flag
 
  03E5-03EE - Enemy Frame
 
  03E5-03EE - Enemy Frame
 
  03EF-03F7 - Enemy Value?
 
  03EF-03F7 - Enemy Value?
Line 92: Line 110:
 
  0494-049D - Enemy Flags?
 
  0494-049D - Enemy Flags?
 
  049E-04A7 - Enemy Flags?
 
  049E-04A7 - Enemy Flags?
 +
 +
04E4 - Get set to different values when link leaves a room and reset to 0 when the scrolling ends.
 
   
 
   
 
  04F0 - Link Invincibility Timeout (Palette dependent on value)
 
  04F0 - Link Invincibility Timeout (Palette dependent on value)
Line 98: Line 118:
 
  0505 - Item Holding up (See Item List)
 
  0505 - Item Holding up (See Item List)
 
  0506 - Item Holding up timeout
 
  0506 - Item Holding up timeout
 +
 +
0521 - Get set to different values when link leaves a room and reset to 0 when the scrolling ends.
 
   
 
   
 
  052F - Lost Mountains Counter (00-03)
 
  052F - Lost Mountains Counter (00-03)

Revision as of 16:10, 24 March 2016

The Legend of Zelda is an epic birds-eye-view adventure game. You play Link, and elfen boy who is trying to rescue princess Zelda from the evil wizard Gannon. You must defeat monsters to collect money to buy power ups, and visit dungeons to acquire better weapons, and gather the pieces of the Triforce of Wisdom. This will give you the power necessary to defeat Gannon.

Easy Cheats

Icon Addr Val Cmp Description
Icon-HitPoints-Infinite.png 066F
0670
FF
FC
-
-
Infinite Hit Points (1/2)
Infinite Hit Points (2/2)
Icon-Invincible.png 04F0 04 - Invincible
Icon-Money-Infinite.png 066D FF - Infinite Rupees
Icon-Item.png 066E 09 - Infinite Keys
Icon-Ammo-Infinite.png 0658 10 - Infinite Bombs
Icon-Weapon.png 0657 03 - Have Magical Sword
Icon-Armor.png 0676 01 - Have Magical Shield
Icon-Armor.png 0662 02 - Have Red Ring (Link's color doesn't change)
Icon-Item.png 065E 02 - Have Red Medicine
Icon-Item.png 0671 FF - Have All Triforce Pieces
Icon-Weapon.png 0674 01 - Have Boomerang
Icon-Weapon.png 0675 01 - Have Magical Boomerang
Icon-Weapon.png 065A 01 - Have Bow
Icon-Ammo.png 0659 02 - Have Silver Arrows
Icon-Item.png 065B 02 - Have Red Candle
Icon-Item.png 0664 01 - Have Magic Key
Icon-Item.png 065C 01 - Have Flute
Icon-Item.png 065D 01 - Have Bait
Icon-Weapon.png 065F 01 - Have Magical Rod
Icon-Item.png 0660 01 - Have Raft
Icon-Item.png 0661 01 - Have Book
Icon-Item.png 0663 01 - Have Step Ladder
Icon-Strength.png 0665 01 - Have Bracelet
Icon-Item.png 0667 FF - Have First 8 Compasses
Icon-Item.png 0668 FF - Have First 8 Maps
Icon-Item.png 0669 FF - Have Level 9 Compass
Icon-Item.png 066A FF - Have Level 9 Map
How do I use these?

North America

Legend of Zelda, The.png

Memory Addresses

000E - Link's Sprite Offset (change to make link a monster)

0029 - Gannon - Visibility Duration (00-3F)

0070 - Link X Position
0071-007A - Enemy X Position
007B - Ladder X Position
007D - Sword X Position
007E - Sword/Rod Bolt X Position
007F - Boomerang/Bait X Position
0080 - Fire 1 / Bomb X Position
0081 - Fire 2 X Position
0082 - Rod/Arrow Y Position
0083 - Item X Position

0084 - Link Y Position
0085-008E - Enemy Y Position
008F - Ladder Y Position
0090 - ?
0091 - Sword Y Position
0092 - Sword/Rod Bolt Y Position
0093 - Boomerang/Bait Y Position
0094 - Fire 1 / Bomb Y Position
0095 - Fire 2 Y Position
0096 - Rod/Arrow Y Position
0097 - Item Y Screen Position

0098 - Link Direction (01 - Right, 02 - Left, 04 - Down, 08 - Up)
0099-0102 - Enemy Direction (01 - Right, 02 - Left, 04 - Down, 08 - Up)
00A3 - Ladder Direction (01 - Right, 02 - Left, 04 - Down, 08 - Up)

00AC - Link Status Flag (40 - Paralyzed)
00AD - Gannon - Arrow Vulnerability Duration (00-FF) Flashes below 2F

00AE-00B7 - Projectile Flags (Stepladder counts as a projectile)

00E6 - Flips between 01 and 00 as you change rooms.
00E7 - Room change direction (01 - Right, 02 - Left, 04 - Down, 08 - Up)
00E8 - Room scrolling counter - left/right
00E9 - Room scrolling counter - up/down. Also timeout before changing rooms (15-00) - If you alter 82E5 to 00, you will see the room before it's drawn.
00EB - Room You're In (00-7F) Also cave exit room.
00EC - Room You're Going To (00-7F)
00ED - Room scrolling counter up/down
00EE - Direction you entered this room from (01 - Right, 02 - Left, 04 - Down, 08 - Up)

00F8 - Controller 1 Press
00F9 - Controller 2 Press
00FA - Controller 1 Down
00FB - Controller 2 Down

0300-0324 - Info screen drawing

0394 - Link Frame
03A8 - Link Flag
03D0 - Link Animation Counter
03E4 - Link Flag
03E5-03EE - Enemy Frame
03EF-03F7 - Enemy Value?
03F8 - Link Direction (01 - Right, 02 - Left, 04 - Down, 08 - Up)
03F9-0402 - Enemy Direction (01 - Right, 02 - Left, 04 - Down, 08 - Up)

03F8 - Controller 1 Direction

0407-0410 - Enemy Flags?
0411-041A - Enemy Values?
041B-0424 - Enemy Values?
042D-0436 - Enemy Animation Frame
0452-045B - Enemy Delay to Shoot
045A-045C - Enemy Projectile X Delta
0467-046A - Enemy Projectile Y Delta
0479-0482 - Enemy Pattern Count
0485-0490 - Enemy Hit Points (includes bosses)
0494-049D - Enemy Flags?
049E-04A7 - Enemy Flags?

04E4 - Get set to different values when link leaves a room and reset to 0 when the scrolling ends.

04F0 - Link Invincibility Timeout (Palette dependent on value)
04F1-04FA - Enemy Invincibility Timeouts

0505 - Item Holding up (See Item List)
0506 - Item Holding up timeout

0521 - Get set to different values when link leaves a room and reset to 0 when the scrolling ends.

052F - Lost Mountains Counter (00-03)

05F2 - Sword Timeout (affected by bubbles)

060F-061A - Enemy Flags

0656 - Currently Selected Item
	00 - Boomerang or Empty
	01 - Bomb
	02 - Arrow
	03 - Bow
	04 - Candle
	05 - Flute
	06 - Bait
	07 - Medicine
	08 - Rod
	09 - Raft (Crash if you use)
	0A - Book (Crash if you use)
	0B - Ring (Crash if you use)
	0C - Ladder (Crash if you use)
	0D - Magic Key (Crash if you use)
	0E - Bracelet (Changes last palette group if you use)
	0F - ?
0657 - Sword
	00 - None
	01 - Wooden
	02 - White
	03 - Magical
	04 - Red/Green Sword
	05 - Really weak wood sword
	07 - Regular sword using magical sword palette
0658 - Bombs
0659 - Arrow Flag
	00 - None
	01 - Wooden
	02 - Silver
	03 - Red
	04 - Black
065A - Bow Flag
065B - Candle Flag
	00 - None
	01 - Blue
	02 - Red
	03 - Green
	04 - Brown
065C - Flute Flag
065D - Bait Flag
065E - Medicine Flag
	00 - None
	01 - Blue
	02 - Red
	03 - Black
	04 - Green
065F - Magical Rod Flag
0660 - Raft Flag
0661 - Book Flag
0662 - Ring Flag (Doesn't affect armor or link color)
	00 - None
	01 - Blue
	02 - Red
	03 - Brown
	04 - Green
0663 - Step Ladder Flag
0664 - Magic Key Flag
0665 - Bracelet Flag
0666 - Letter Flag
0667 - Compass Flag (bit flag)
0668 - Map Flag (bit flag)
0669 - Level 9 Compass
066A - Level 9 Map
066B - 
066C - Clock Flag
066D - Rupees
066E - Keys
066F - Heart Containers (High nybble is container, low nybble is if it's full)
0670 - Heart Half Flag (FC - Full, 7D - Half)
0671 - Triforce Flag (Bit flags)
0672 - Triforce of Power Flag
0673 - 
0674 - Boomerang Flag
0675 - Magical Boomerang Flag
	00 - No
	01 - Yes
	02 - Orange
	03 - Dark
	04 - Mini
0676 - Magic Shield Flag
067C - Maximum Bombs
067D - Rupee Incrementer
067E - Rupee Decrementer
06A2 - Affected by hidden passages
06E6 - Revealed Passage Flags
06E7 - Revealed Passage Flags

Save Slot #1
6804 - Link's Tunic Color
6805 - Link's Skin Color
6806 - Link's Belt Color

Save Slot #2
6808 - Link's Tunic Color
6809 - Link's Skin Color
680A - Link's Belt Color

Save Slot #3
680C - Link's Tunic Color
680D - Link's Skin Color
680E - Link's Belt Color

6B81-6BA0 - Game Palettes

In-Game Link Attributes
6B92 - Link's Tunic Color
6B93 - Link's Skin Color
6B94 - Link's Belt Color


Item List

01 - Sword
02 - White Sword
03 - Magic Sword
04 - Bait
05 - Recorder
06 - Blue Candle
07 - Red Candle
08 - Arrow
09 - Silver Arrow
0A - Bow
0B - Magic Key
0C - Raft
0D - Step Ladder
0E - Moblin Error
0F - 5 Rupies
10 - Rod
11 - Book
12 - Blue Ring
13 - Red Ring
14 - Bracelet
15 - Letter
16 - Compass
17 - Map
18 - Rupy
19 - Key
1A - Heart Container
1B - Triforce
1C - Magic Shield
1D - Boomerang
1E - Magic Boomerang
1F - Blue Medicine
20 - Red Medicine
21 - Clock
22 - Heart
23 - Fairy (Flying) ?
24 - Fairy (Stationary) ?
25 - Upsidedown Link
26 - Sword (Shooting)
27 - Magic Bolt
28 - Bomb (Item) ?
29 - Bomb (Exploding) ?

Text

The Legend of Zelda uses a single character set throughout the entire game. It features letters, numbers, and some symbols. However, it uses the 8th bit as a carriage return / linefeed flag, so the entire character set is duplicated in the table, the first set is normal letters, the second set is end-of-line letters. Also, EC is a period that causes a full stop in the interpreter.

00=0
01=1
02=2
03=3
04=4
05=5
06=6
07=7
08=8
09=9
0A=A
0B=B
0C=C
0D=D
0E=E
0F=F
10=G
11=H
12=I
13=J
14=K
15=L
16=M
17=N
18=O
19=P
1A=Q
1B=R
1C=S
1D=T
1E=U
1F=V
20=W
21=X
22=Y
23=Z
24= 
28=,
29=!
2A='
2B=&
2C=.
2D="
2E=?
2F=-
30=™
64=+
7A=©
80=0
81=1
82=2
83=3
84=4
85=5
86=6
87=7
88=8
89=9
8A=A
8B=B
8C=C
8D=D
8E=E
8F=F
90=G
91=H
92=I
93=J
94=K
95=L
96=M
97=N
98=O
99=P
9A=Q
9B=R
9C=S
9D=T
9E=U
9F=V
A0=W
A1=X
A2=Y
A3=Z
A4= 
A8=,
A9=!
AA='
AB=&
AC=.
AD="
AE=?
AF=-
EC=.


Japan

Zelda no Densetsu 1 - The Hyrule Fantasy.png


FDS

Zeruda no Densetsu - The Hyrule Fantasy.png


Links