Difference between revisions of "The Legend of Zelda"

From Red Candle
Jump to: navigation, search
 
(88 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Version differences ==
+
= Getting Started =
  
[[The Legend of Zelda/Version Differences]]
+
Here are some resources commonly requested by new players:
  
==Categories==
+
Picking an emulator: [[The Legend of Zelda/Emulators]]
  
===Any%===
+
Route options: [https://sites.google.com/view/orderoftheate/the-legend-of-zelda Order of the Ate] has a list of popular routes that are easier to finish, with a sliding scale of time/difficulty tradeoffs.
  
Get to Zelda as fast as you can.
+
Tutorial videos: [[The Legend of Zelda/Tutorial Videos]]
  
As there are no known means of getting to Zelda without defeating Gannon and taking the Triforce, and there are no known means of getting into Level 9 without all of the Triforce pieces, this means one must complete every dungeon.  Items needed: Wooden Sword, Bombs, Bow, Raft, Ladder, Recorder, Bait, Arrows, Silver Arrows. Items acquired for maximum speed in current routing: Heart containers, Magic Sword.
+
Basic maps: [http://nesmaps.com/maps/Zelda/Zelda.html NESMaps]
  
===Swordless===
+
Discord: [https://discord.gg/t7sgWzq Invitation to Lack's LoZ Discord server]
  
This is a challenge category.  One plays the game according to the Any% rules, with two changes: No sword is allowed, and the run ends upon reaching Gannon.  Gannon cannot be killed without a sword, unlike other enemies who can be killed with Bombs, Boomerang, Arrows, Candles, or the Wand.  See [[The Legend of Zelda/Swordless Route]] for information on a way to run this category.
+
= Version differences =
  
===100%===
+
Here is an entire page devoted to [[The Legend of Zelda/Version Differences|version differences]].
  
This category is not really run by anyone, because it is not clearly defined.  The required items are in dispute.  Is the Magic Shield required?  Is the Letter required if you finish with the Red Potion?  Is it required to take every Heart Container when offered a Heart Container or a Red Potion?  Are the two bomb upgrades required?  Must bait be re-bought?  These questions are given different answers by different runners, and so the category doesn't properly exist yet.
+
=Categories=
  
==Game Mechanics and Glitches==
+
The categories, and their rules, are all documented at [https://www.speedrun.com/The_Legend_of_Zelda speedrun.com's board].
  
===Screen Scroll===
+
If those categories aren't enough, there's also a [https://www.speedrun.com/zelda1ce Category Extensions board] with its own rules in [https://www.speedrun.com/zelda1ce/forum the forum sticky posts].
 +
 
 +
=Game Mechanics and Glitches=
 +
 
 +
==Screen Scroll==
  
 
The 'screen scroll' trick is useful for getting over overworld obstacles, as well as for clipping through blocks in dungeons. That means you get to some stairs without killing all the enemies first! Here's a graphic with some pointers:
 
The 'screen scroll' trick is useful for getting over overworld obstacles, as well as for clipping through blocks in dungeons. That means you get to some stairs without killing all the enemies first! Here's a graphic with some pointers:
Line 29: Line 33:
 
Since the above chart was made, an alternate way of clipping through a block has been discovered by [https://twitter.com/hal_yotsuba はる@よつば]. First, you get onto the pixel as in the above picture, with the top of Link's head lined up with the flat part of the block. Then, instead of doing a single-frame tap, slash the sword and press right or left. The sword slash, done correctly, will prevent you from moving. You will get the same effect as the single frame tap, so if you're positioned right, you will turn around. After the sword slash, walk through the block. This trick only works with block clips, not overworld scrolls or ladder clips.
 
Since the above chart was made, an alternate way of clipping through a block has been discovered by [https://twitter.com/hal_yotsuba はる@よつば]. First, you get onto the pixel as in the above picture, with the top of Link's head lined up with the flat part of the block. Then, instead of doing a single-frame tap, slash the sword and press right or left. The sword slash, done correctly, will prevent you from moving. You will get the same effect as the single frame tap, so if you're positioned right, you will turn around. After the sword slash, walk through the block. This trick only works with block clips, not overworld scrolls or ladder clips.
  
===Drops===
+
Here's an additional quick demonstration of the pixels for the "reverse" clip:
 +
 
 +
http://redcandle.us/wp-content/uploads/reverseclip.png
 +
 
 +
==Drops==
 +
 
 +
=== Random drops ===
  
The enemy drops are not random. Whether they do drop an item is random, but when they do drop, here's what they'll be. The counter starts at 0, and goes up by 1 every time you kill (most) enemies. Chart via [http://tasvideos.org/2091S.html Baxter at TASVideos]<nowiki>:</nowiki>
+
The enemy drops are not random. Whether they do drop an item is random, but when they do drop, here's what they'll be. The counter starts at 0, and goes up by 1 every time you kill (most) enemies. Zols' gels and vires' keese do not advance the counter. Chart via [http://tasvideos.org/2091S.html Baxter at TASVideos]<nowiki>:</nowiki>
  
 
http://redcandle.us/wp-content/uploads/2012/10/zeldaitemdropsnr2.png
 
http://redcandle.us/wp-content/uploads/2012/10/zeldaitemdropsnr2.png
 +
 +
===Drop Rates ===
 +
 +
The chance of getting a drop from group A is 80/256 = 31%.
 +
 +
Group B: 104/256 = 41%
 +
 +
Group C: 152/256 = 59%
 +
 +
Group D: 104/256 = 41%
 +
 +
==== Forced drops ====
  
 
However there are also the ''consecutive'' kill counters. Kill 10 enemies without getting hit (by an enemy, even a non-damaging bubble, or by the whirlwind from the recorder) and you'll get a forced, guaranteed 5 rupee drop from the next enemy that drops items (not in the X group). Kill the 10th enemy with a bomb instead, and instead of a 5 rupee you'll get a forced, guaranteed bomb drop!
 
However there are also the ''consecutive'' kill counters. Kill 10 enemies without getting hit (by an enemy, even a non-damaging bubble, or by the whirlwind from the recorder) and you'll get a forced, guaranteed 5 rupee drop from the next enemy that drops items (not in the X group). Kill the 10th enemy with a bomb instead, and instead of a 5 rupee you'll get a forced, guaranteed bomb drop!
Line 43: Line 65:
 
However if the 16th enemy does not drop items, the fairy drop will be skipped entirely, and another one will not happen unless you get hit and the counters reset.
 
However if the 16th enemy does not drop items, the fairy drop will be skipped entirely, and another one will not happen unless you get hit and the counters reset.
  
Note that splitting a Zol into two Gels, or splitting a Vire into two Keese, will not count as a kill or a consecutive kill. Killing one of those split Gels or Keese will not count as a kill for drops, but will count as a consecutive kill. Yes, there are some circumstances that are an exception to this. If the Zol/Vire is trapped against a barrier, it can sometimes trigger an extra 'kill' that way. A kill sound in place of a split sound is a hint to when this might happen.
+
In some rooms that drop an item (such as the 5-Stalfos room in Level 1 that gives a key at the end), one enemy will act like it was holding the drop like a stalfos with a visible key, or a gibdo with a visible bomb.  As a result, that enemy will never drop anything, and it will be able to store a forced drop and/or bypass a fairy drop, just like enemies that never drop items.
 +
 
 +
Note that splitting a Zol into two Gels, or splitting a Vire into two Keese, will not count as a kill or a consecutive kill. Killing one of those split Gels or Keese will not count as a kill for drops, but will count as a consecutive kill. Yes, there are some circumstances that are an exception to this. If the Zol is trapped against a barrier, it can sometimes trigger an extra 'kill' that way. A kill sound in place of a split sound indicates that this has happened. This does not occur with Vires.
 +
 
 +
Further note: Multiple simultaneous kills will not take you past 10 on the consecutive kill counter, per Darkwing Duck.  If they would take you past 10 they leave you at 10 instead.
  
 
Advanced strategies: If a forced bomb/rupee or forced fairy drops, the consecutive counter for bombs/rupees is reset, but not the counter for fairies.  So no matter how many hits you get on Manhandla with one well-placed bomb, the 10 count is reset after defeating him. The same is true of Dodongo.  Likewise with a "Hippo Fairy" (going into a Patra with 7 on the consecutive counters, so that the Patra's center will be kill #16 and get a fairy), the bomb/rupee count resets to 0.  Credit to Khananaphone for this discovery.
 
Advanced strategies: If a forced bomb/rupee or forced fairy drops, the consecutive counter for bombs/rupees is reset, but not the counter for fairies.  So no matter how many hits you get on Manhandla with one well-placed bomb, the 10 count is reset after defeating him. The same is true of Dodongo.  Likewise with a "Hippo Fairy" (going into a Patra with 7 on the consecutive counters, so that the Patra's center will be kill #16 and get a fairy), the bomb/rupee count resets to 0.  Credit to Khananaphone for this discovery.
Line 54: Line 80:
 
Credit to Darkwing Duck for this discovery.
 
Credit to Darkwing Duck for this discovery.
  
===Luck Manipulation===
+
==Luck Manipulation==
  
 
See [[The Legend of Zelda/Luck Manipulation]]
 
See [[The Legend of Zelda/Luck Manipulation]]
  
===The Recorder===
+
==The Recorder==
 
 
The recorder loops you through all the dungeons you've gotten the Triforce in, sequentially, according to the direction link is facing. It has an internal counter that starts at 1.  Every time you blow the recorder in a place where the whirlwind would appear (that is, in most overworld screens, but not all), the counter changes according to the direction Link is facing.  If Link is facing right or up, then the counter goes up one.  If Link is facing down or left, then the counter goes down one.
 
 
 
For example, hold your right foot turnwise to the out.  If Link is facing where your toes point cross-wise, then the count will be cremented.
 
  
OK, never mind that. Let's say Link has completed dungeons 1, 3, 4, and 5. If Link blows the whistle once facing down.  Link will then be taken to level 5, because the count started at one, and then looped around to 5.
+
The recorder loops you through all the dungeons for which you have the Triforce, sequentially, according to the direction Link is facing. It has an internal counter that starts at 1. The counter changes every time you blow the recorder in a place where the whirlwind can appear (that is, any overworld screen where the recorder doesn't spawn a staircase). If Link is facing up or right, then the counter goes up to the next completed dungeon. If Link is facing down or left, then the counter goes down to the previous completed dungeon. The counter wraps around as needed. This counter is only initialized on power-on or reset, and so it does not reset during the run or even if you switch save files.
  
Let's say link then blows the whistle 3 more times while facing down.   The count will go 4, 3, 1, skipping 2 since the player has not completed 2 yet, and Link will be taken to 1.
+
Let's look at some examples:
 +
* You've completed levels 1, 3, 4, and 5 and haven't yet blown the recorder. If you blow the recorder once facing down, you will be taken to level 5, because the counter started at 1 and then looped around to 5.
 +
* You then blow the recorder 3 more times while facing down. The counter will go 4, 3, 1, skipping 2 because level 2 is not completed. The whirlwind would then take you to level 1.
 +
* You then blow the recorder once facing up and then once facing down. The counter goes from 1 to 3 and then 3 to 1, so the whirlwind would take Link to level 1 again. This technique is used in some routes.
  
So let's go back to the first example. Link just completed Level 5, and blows the whistle twice. Once facing down, once facing right.  The counter will go from 1 to 5, and then back from 5 to 1, taking Link to Level 1.  This is a technique used in record runs.
+
Note that if you turn on the same frame that you use the recorder, the counter will change as though you were facing the old direction, not the new direction. This is a common source of recorder mistakes. Also, level ordering in the second quest is different, and this affects the order for the recorder. Levels 2 & 3, 4 & 5, and 7 & 8 are swapped, so the counter goes 1, 3, 2, 5, 4, 6, 8, 7.
  
===Bombing Darknuts===
+
==Bombing Darknuts==
  
 
Whether a Darknut blocks a bomb's explosion with its shield is determined by two things. First, the direction Link is facing when he lays the bomb. Second, the direction the Darknut is facing when the explosion hits him.  If Link's position when laying the bomb is facing the direction the Darknut is looking when the bomb goes off, the bomb won't work.
 
Whether a Darknut blocks a bomb's explosion with its shield is determined by two things. First, the direction Link is facing when he lays the bomb. Second, the direction the Darknut is facing when the explosion hits him.  If Link's position when laying the bomb is facing the direction the Darknut is looking when the bomb goes off, the bomb won't work.
Line 78: Line 103:
 
http://redcandle.us/wp-content/uploads/darknuts-lackattack.png
 
http://redcandle.us/wp-content/uploads/darknuts-lackattack.png
  
===Free Locked Door===
+
==Bombing Walls==
 +
 
 +
Note that bombs do not check to see if a hole should be opened whenever a shutter is opening or closing. Beware of that.
 +
 
 +
Image by Eunos on positioning:
 +
 
 +
http://redcandle.us/wp-content/uploads/eunos-bomb-positions.png
 +
 
 +
==Free Locked Door==
  
 
If you enter a dungeon and the first room has a locked door on top then you can leave and immediately reenter to unlock that door for free!
 
If you enter a dungeon and the first room has a locked door on top then you can leave and immediately reenter to unlock that door for free!
  
==Beginning Advice==
+
==Walking through enemies==
 +
 
 +
If an enemy has just been hit, then Link can temporarily walk through that enemy without damage or knockback.  However the enemy itself must not be knocked back or split in order for that to work.  So this doesn't work against Zols or Vires.  Striking a Darknut's shield also prevents this from working.
 +
 
 +
Enemies won't be knocked back if hit perpendicular to their movement direction while they're between tiles. When they're directly on a tile, they can be knocked back in any direction.
 +
 
 +
Link normally stops walking temporarily when using the sword.  Exceptions to this are while stepping onto the ladder (useful in 7 after the hungry Goriya, and in 1 to steal the key from the Stalfos after the Gels), and when stepping into a door (useful in 9 when skipping the first Patra). Catching a boomerang while stabbing will also allow Link to start moving immediately.
 +
 
 +
== Skipping Patras ==
  
===Darkwing Duck's Impromptu Guide===
+
Walking through Patras is a special case. It turns out that the orbiting eyes of the Patra don't actually exist hitbox-wise right away. This gives you time to walk through them. This is important for being able to actually skip the first Patra in level 9, when going toward the Old Man who talks about the Next Room.  It's also great for trying to skip the second Patra, on the way back from the Silver Arrows, going toward Gannon.
  
This is [http://www.twitch.tv/darkwing_duck_sda/c/2567986 an incredibly informative video].
+
Note that when walking through that first Patra, there's a trick to it. You can't just walk through the door. You have to hesitate after unlocking the door, before going through, and stabbing your way through the eye that will otherwise hit you.
  
{{#ev:twitch|chapter_id=2567986&amp;start_volume=25&amp;channel=darkwing_duck_sda&amp;title=Your%2Bguide%2Bto%2Bbetter%2BZelda%2Bspeedruns&amp;auto_play=false}}
+
Skipping the second Patra going toward the Silver Arrows is a matter of getting a good pattern of movement, and getting your block clip quickly and accurately.
  
===Zelda for Mortals===
+
Sadly the Patra before Gannon cannot be skipped with present knowledge.
  
It's still a tough route though, so [http://www.twitch.tv/presjpolk/c/2573122 here is the Presjpolk followup] for beginners
+
Additionally, in Level 9 there's a special "reverse" block clip that's very useful to get done quickly, to get out of the wizzrobe room immediately south of the Silver Arrows. It's in theory a standard block clip, but it's coming from the opposite direction most runners do a block clip from, and it's under immense time pressure.
  
 +
[https://www.youtube.com/watch?v=20p65-Vn6yY Here's a video of the Patra skips and the reverse clip in level 9], from LackAttack24's 29:56 then-WR run.
  
{{#ev:twitch|chapter_id=2573122&amp;start_volume=25&amp;channel=presjpolk&amp;title=The%2BLegend%2Bof%2BZelda%2Bfor%2BMortals&amp;auto_play=false}}
+
== Heart Duplication ==
  
===Beginner Any% Route===
+
Only possible in the 1.0 FDS version? https://www.youtube.com/watch?v=4iGwBE4aAzU
  
If you'd like to start running the game, it may be best to begin with the Any% category. 100% may sound easier, but it's better to be able to buy the blue ring, and to skip a heart container for a free potion. Here is a beginner's route for Any%. Note that in every Level you have to get the Heart Container and the Triforce piece, in addition to the items listed:
+
== Recorder Wrong Warping ==
  
# Level 2.
+
http://redcandle.us/wp-content/uploads/roocorder4ds.png
# 30 Rupee secret just northeast of Level 2
 
# 30 Rupee Secret north of that one
 
# Heart Container north of Level 2
 
# 100 secret in the northeast corner
 
# Optional: Letter
 
# Candle in the shop east of Level 5
 
# White Sword
 
# 30 Rupee secret just northeast of Level 1
 
# Level 1. Get the Bow.
 
# Heart Container south of 1
 
# Level 3. Get the Raft.
 
# 100 Rupee secret south of Level 7
 
# Blue Ring from the Blue Ring shop
 
# Level 4. Get the Ladder.
 
# Level 5. Get the Recorder.
 
# (Use the Recorder to reach Level 2. Face up and press B, to increment the warp counter from 1 to 2.)
 
# 100 secret near the Heart Container on the south coast
 
# Heart Container on south coast
 
# Heart Container on the east coast
 
# Heart Container (or potion, your choice) north of the east coast Heart Container
 
# If you need Rupees: Recorder warp to 1.
 
# If you need Rupees: 30 secret just southeast of Level 1
 
# (Recorder warp to 3. Face up and press B so the warp counter goes from 2 to 3.)
 
# Meat from the Blue Ring shop
 
# Arrows from the shop south of the Blue Ring shop
 
# Level 7.
 
# Magic Sword
 
# Level 6.
 
# If necessary, buy potions from the potion shop east of Level 6
 
# (Recorder warp to 2 Face down and press B this time so the counter goes from 3 to 2.)
 
# Level 8.
 
# (Recorder warp to 1. Face down and press B so the counter goes from 2 to 1.)
 
# If necessary, bomb into the potion shop north of Level 1 for potions
 
# Level 9. Get the Silver Arrows.
 
  
This route was designed without the 'screen scroll' trick in mind, so don't feel the need to be able to do it to play. It's capable of producing solid times, though it does too much walking and extra item fetching to be at a World Record pace.
+
Fiskbit: Regarding the technical stuff: The raft and whirlwind both set Link's direction when picking him up. Because Link gets picked up by the raft second, his direction is set to up, which determines the scroll direction. Because he's in the whirlwind, the recorder destination (which is one screen left of the target level) is used as the screen he's scrolling from, and the direction from the raft makes him scroll up.
  
==More advanced routes==
+
Fun fact: Both the whirlwind and the raft are controlling Link's position. The whirlwind modifies only his X position, while the raft only modifies his Y position, so he winds up moving diagonally while being carried by both.
  
This route benefits from the "screen scroll" but does not strictly require it. You're strongly advised at least to do the wrap into level 5, and the wrap past the lost woods, even if you don't do any others.  The most important block clip you'll want to start doing is the one on the way to the Recorder.
+
http://redcandle.us/wp-content/uploads/overworld_roocorder.png
  
[[The Legend of Zelda/Old Record Route]]
+
Eunos: Required execution for Roocorder to save time vs. properly executed current WR route strats. https://youtu.be/MJ7HDzrUUrk
  
This route makes more advanced use of the screen scroll, but has the benefit over the old record route in that it  puts the player under less rupee pressure, as the Blue Candle is not bought.  It's slower than either of the record routes, though.
+
= Other Technical Information =
  
[[The Legend of Zelda/Red Candle Route]]
+
There are a lot of small interactions and weird corner cases in this game. Here's a section of the site dedicated to them.
  
This route is the one that got to sub-30.
+
[[Legend of Zelda/Technical Information]]
  
[[The Legend of Zelda/Record Route]]
+
=Fighting Bosses=
  
===Maps===
+
[[Legend of Zelda/Bosses]]
 +
 
 +
=Tutorial Videos=
 +
 
 +
[[The Legend of Zelda/Tutorial Videos]]
 +
 
 +
[[The Legend of Zelda/Room Tutorial Series]]
 +
 
 +
=Routes=
 +
 
 +
Routing of this game changes all the time.  But here are some resources.
 +
 
 +
Again, [https://www.orderoftheate.com/the-legend-of-zelda Order of the Ate] is a very good site for referencing routes.
 +
 
 +
If you're better than that, you need to start looking at routes used by top runners, and do research.
 +
 
 +
Here's some of that research:
 +
 
 +
* Saver's [http://imgur.com/a/56TXh route tracking] maps.
 +
* Eunos has been putting together some documents: [https://docs.google.com/spreadsheets/d/1MiAI6uH4zMJ7fvYWnELaTu-r8PcDd_p4eT_LqX7edVI/edit Updating Saver's maps] and [https://docs.google.com/document/d/1g5aMlSu5TtMe0liFzc1Ow3fsCReHC_uVJ4HaTsIb010/edit?usp=sharing 100% route document].
 +
* The [https://discord.gg/6GAYGBa routing channel on Lack's LoZ discord] is invaluable for routing.
 +
 
 +
 
 +
Some notable historical routes:
 +
 
 +
Here's [https://archive.org/details/Zelda1_3404 Tom Votava's 34:04 run] from 2003, which was a good route if you didn't know anything at all about block clips, screen wraps, or item drop manipulation.
 +
 
 +
[https://www.twitch.tv/darkwing_duck_sda/v/49914035 Darkwing Duck's 31:25] is notable as an upgrade from that, beginning to incorporate modern knowledge of the game.
 +
 
 +
Saver had an sub-30 run early, that skipped the Magic Sword. It's a tough route, but valid, though the video has been lost to the public.
 +
 
 +
=Maps=
  
 
The instructions above assume you know the overworld map, as well as where to get everything inside the dungeons themselves. For maps see [http://www.nesmaps.com NESMaps.com], including [http://www.nesmaps.com/maps/Zelda/Zelda.html dungeon maps] and a [http://www.nesmaps.com/maps/Zelda/ZeldaOverworldQ1.html fully annotated overworld map].
 
The instructions above assume you know the overworld map, as well as where to get everything inside the dungeons themselves. For maps see [http://www.nesmaps.com NESMaps.com], including [http://www.nesmaps.com/maps/Zelda/Zelda.html dungeon maps] and a [http://www.nesmaps.com/maps/Zelda/ZeldaOverworldQ1.html fully annotated overworld map].
  
==Records==
+
=Records=
  
See [[The Legend of Zelda/Records]]
+
See [http://www.speedrun.com/The_Legend_of_Zelda Speedrun.com]
  
==Randomizer!==
+
=Randomizer!=
  
 
See [[The Legend of Zelda/Randomizer]] for mechanics and techniques specific to [https://sites.google.com/site/zeldarandomizer/ Fred Coughlin's Legend of Zelda Randomizer]
 
See [[The Legend of Zelda/Randomizer]] for mechanics and techniques specific to [https://sites.google.com/site/zeldarandomizer/ Fred Coughlin's Legend of Zelda Randomizer]
 +
 +
= Tools =
 +
 +
How to patch a ROM?  Get an IPS patcher, such as:
 +
* [https://fusoya.eludevisibility.org/lips/ Lunar IPS]
 +
* [https://www.romhacking.net/utilities/746 MultiPatch]
 +
* [https://github.com/fbeaudet/ips.py ips.py]
 +
 +
== ROM Patches ==
 +
 +
These work in a real NES
 +
 +
[https://github.com/helgefmi/tloz-prachack Practice Hack] in development. Shows drop counters.  Later may give other useful information.
 +
 +
[http://redcandle.us/w/images/b/b8/Buffet_Zelda_1.2.zip Buffet 1.2 practice hack] by Fiskbit. Displays a timer, drop/spawn/recorder counters, and screen scroll / block clip help. Has a select menu for editing inventory, screen/level warping, and features like making Ganon visible. Archive also contains no-music hacks and FCEUX LUA scripts for things like hitbox and enemy targeting visualization.
 +
 +
[http://redcandle.us/wp-content/uploads/show-target-by-fiskbit.ips AI target viewer] by Fiskbit (in the form of an IPS patch from the PRG0 ROM)
 +
 +
[http://redcandle.us/wp-content/uploads/Legend%20of%20Zelda%2C%20The%20%28U%29%20%28PRG1%29%20%5Baccessible%5D.ips Patch to remove screen flashing] by [https://twitter.com/ireneista/status/946576170392440832 @ireneista]
 +
 +
== Lua scripts ==
 +
 +
These work in select emulators
 +
 +
[https://pastebin.com/UrcyJi7L Hitbox visualizer script v1.2] by Fiskbit
 +
 +
[http://redcandle.us/wp-content/uploads/Zelda_Object_Targeting.lua Zelda Object Targeting v1.0]
 +
 +
[http://games.technoplaza.net/lozsrame/ Legend of Zelda save editor].
 +
 +
== Reading the code ==
 +
 +
[https://github.com/camthesaxman/zeldasource Disassembly project]
 +
 +
[http://zelda.zewt.org/asm.html Another disassembly]
 +
 +
[https://github.com/aldonunez/zelda1-disassembly Complete disassembly] by Aldo Nunez
 +
 +
== Miscellaneous ==
 +
 +
[http://avidemux.sourceforge.net Avidemux] is the best tool out there for timing runs.
 +
 +
= History =
 +
 +
[http://redcandle.us/wp-content/Zelda-Historical-Graphs/loz.html History of the record]
 +
 +
[https://www.youtube.com/watch?v=kDluReuJDOk World Record Progression: The Legend of Zelda]
 +
 +
{{#ev:youtube| kDluReuJDOk}}

Latest revision as of 20:20, 10 July 2023

Getting Started

Here are some resources commonly requested by new players:

Picking an emulator: The Legend of Zelda/Emulators

Route options: Order of the Ate has a list of popular routes that are easier to finish, with a sliding scale of time/difficulty tradeoffs.

Tutorial videos: The Legend of Zelda/Tutorial Videos

Basic maps: NESMaps

Discord: Invitation to Lack's LoZ Discord server

Version differences

Here is an entire page devoted to version differences.

Categories

The categories, and their rules, are all documented at speedrun.com's board.

If those categories aren't enough, there's also a Category Extensions board with its own rules in the forum sticky posts.

Game Mechanics and Glitches

Screen Scroll

The 'screen scroll' trick is useful for getting over overworld obstacles, as well as for clipping through blocks in dungeons. That means you get to some stairs without killing all the enemies first! Here's a graphic with some pointers:

screenscroll.png

Since the above chart was made, an alternate way of clipping through a block has been discovered by はる@よつば. First, you get onto the pixel as in the above picture, with the top of Link's head lined up with the flat part of the block. Then, instead of doing a single-frame tap, slash the sword and press right or left. The sword slash, done correctly, will prevent you from moving. You will get the same effect as the single frame tap, so if you're positioned right, you will turn around. After the sword slash, walk through the block. This trick only works with block clips, not overworld scrolls or ladder clips.

Here's an additional quick demonstration of the pixels for the "reverse" clip:

reverseclip.png

Drops

Random drops

The enemy drops are not random. Whether they do drop an item is random, but when they do drop, here's what they'll be. The counter starts at 0, and goes up by 1 every time you kill (most) enemies. Zols' gels and vires' keese do not advance the counter. Chart via Baxter at TASVideos:

zeldaitemdropsnr2.png

Drop Rates

The chance of getting a drop from group A is 80/256 = 31%.

Group B: 104/256 = 41%

Group C: 152/256 = 59%

Group D: 104/256 = 41%

Forced drops

However there are also the consecutive kill counters. Kill 10 enemies without getting hit (by an enemy, even a non-damaging bubble, or by the whirlwind from the recorder) and you'll get a forced, guaranteed 5 rupee drop from the next enemy that drops items (not in the X group). Kill the 10th enemy with a bomb instead, and instead of a 5 rupee you'll get a forced, guaranteed bomb drop!

Kill 16 enemies in a row and you get a fairy drop forced, but only if the 16th enemy is capable of dropping an item (not in the X group).

Note that if the 10th enemy does not drop items (in the X group), then killing that enemy with a bomb means the next drop that does happen will be a bomb. Killing that 10th enemy with the sword or any thing else will mean the next drop will be a rupee, even if you kill the next-dropping enemy with a bomb. It's the actual 10th enemy kill that counts, not the succeeding enemy that drops items.

However if the 16th enemy does not drop items, the fairy drop will be skipped entirely, and another one will not happen unless you get hit and the counters reset.

In some rooms that drop an item (such as the 5-Stalfos room in Level 1 that gives a key at the end), one enemy will act like it was holding the drop like a stalfos with a visible key, or a gibdo with a visible bomb. As a result, that enemy will never drop anything, and it will be able to store a forced drop and/or bypass a fairy drop, just like enemies that never drop items.

Note that splitting a Zol into two Gels, or splitting a Vire into two Keese, will not count as a kill or a consecutive kill. Killing one of those split Gels or Keese will not count as a kill for drops, but will count as a consecutive kill. Yes, there are some circumstances that are an exception to this. If the Zol is trapped against a barrier, it can sometimes trigger an extra 'kill' that way. A kill sound in place of a split sound indicates that this has happened. This does not occur with Vires.

Further note: Multiple simultaneous kills will not take you past 10 on the consecutive kill counter, per Darkwing Duck. If they would take you past 10 they leave you at 10 instead.

Advanced strategies: If a forced bomb/rupee or forced fairy drops, the consecutive counter for bombs/rupees is reset, but not the counter for fairies. So no matter how many hits you get on Manhandla with one well-placed bomb, the 10 count is reset after defeating him. The same is true of Dodongo. Likewise with a "Hippo Fairy" (going into a Patra with 7 on the consecutive counters, so that the Patra's center will be kill #16 and get a fairy), the bomb/rupee count resets to 0. Credit to Khananaphone for this discovery.

This means that if you get a forced fairy drop, the next consecutive bomb/rupee kill will not be at 20. It will be at 26. So bomb/rupee drops work in one of two methods:

  1. 10, (Fairy at 16), 26, 36, 46...
  2. 10, (Skip fairy at 16 by killing non-dropping enemy), 20, 30, 40...

Credit to Darkwing Duck for this discovery.

Luck Manipulation

See The Legend of Zelda/Luck Manipulation

The Recorder

The recorder loops you through all the dungeons for which you have the Triforce, sequentially, according to the direction Link is facing. It has an internal counter that starts at 1. The counter changes every time you blow the recorder in a place where the whirlwind can appear (that is, any overworld screen where the recorder doesn't spawn a staircase). If Link is facing up or right, then the counter goes up to the next completed dungeon. If Link is facing down or left, then the counter goes down to the previous completed dungeon. The counter wraps around as needed. This counter is only initialized on power-on or reset, and so it does not reset during the run or even if you switch save files.

Let's look at some examples:

  • You've completed levels 1, 3, 4, and 5 and haven't yet blown the recorder. If you blow the recorder once facing down, you will be taken to level 5, because the counter started at 1 and then looped around to 5.
  • You then blow the recorder 3 more times while facing down. The counter will go 4, 3, 1, skipping 2 because level 2 is not completed. The whirlwind would then take you to level 1.
  • You then blow the recorder once facing up and then once facing down. The counter goes from 1 to 3 and then 3 to 1, so the whirlwind would take Link to level 1 again. This technique is used in some routes.

Note that if you turn on the same frame that you use the recorder, the counter will change as though you were facing the old direction, not the new direction. This is a common source of recorder mistakes. Also, level ordering in the second quest is different, and this affects the order for the recorder. Levels 2 & 3, 4 & 5, and 7 & 8 are swapped, so the counter goes 1, 3, 2, 5, 4, 6, 8, 7.

Bombing Darknuts

Whether a Darknut blocks a bomb's explosion with its shield is determined by two things. First, the direction Link is facing when he lays the bomb. Second, the direction the Darknut is facing when the explosion hits him. If Link's position when laying the bomb is facing the direction the Darknut is looking when the bomb goes off, the bomb won't work.

Here is a graphic by Lackattack24.

darknuts-lackattack.png

Bombing Walls

Note that bombs do not check to see if a hole should be opened whenever a shutter is opening or closing. Beware of that.

Image by Eunos on positioning:

eunos-bomb-positions.png

Free Locked Door

If you enter a dungeon and the first room has a locked door on top then you can leave and immediately reenter to unlock that door for free!

Walking through enemies

If an enemy has just been hit, then Link can temporarily walk through that enemy without damage or knockback. However the enemy itself must not be knocked back or split in order for that to work. So this doesn't work against Zols or Vires. Striking a Darknut's shield also prevents this from working.

Enemies won't be knocked back if hit perpendicular to their movement direction while they're between tiles. When they're directly on a tile, they can be knocked back in any direction.

Link normally stops walking temporarily when using the sword. Exceptions to this are while stepping onto the ladder (useful in 7 after the hungry Goriya, and in 1 to steal the key from the Stalfos after the Gels), and when stepping into a door (useful in 9 when skipping the first Patra). Catching a boomerang while stabbing will also allow Link to start moving immediately.

Skipping Patras

Walking through Patras is a special case. It turns out that the orbiting eyes of the Patra don't actually exist hitbox-wise right away. This gives you time to walk through them. This is important for being able to actually skip the first Patra in level 9, when going toward the Old Man who talks about the Next Room. It's also great for trying to skip the second Patra, on the way back from the Silver Arrows, going toward Gannon.

Note that when walking through that first Patra, there's a trick to it. You can't just walk through the door. You have to hesitate after unlocking the door, before going through, and stabbing your way through the eye that will otherwise hit you.

Skipping the second Patra going toward the Silver Arrows is a matter of getting a good pattern of movement, and getting your block clip quickly and accurately.

Sadly the Patra before Gannon cannot be skipped with present knowledge.

Additionally, in Level 9 there's a special "reverse" block clip that's very useful to get done quickly, to get out of the wizzrobe room immediately south of the Silver Arrows. It's in theory a standard block clip, but it's coming from the opposite direction most runners do a block clip from, and it's under immense time pressure.

Here's a video of the Patra skips and the reverse clip in level 9, from LackAttack24's 29:56 then-WR run.

Heart Duplication

Only possible in the 1.0 FDS version? https://www.youtube.com/watch?v=4iGwBE4aAzU

Recorder Wrong Warping

roocorder4ds.png

Fiskbit: Regarding the technical stuff: The raft and whirlwind both set Link's direction when picking him up. Because Link gets picked up by the raft second, his direction is set to up, which determines the scroll direction. Because he's in the whirlwind, the recorder destination (which is one screen left of the target level) is used as the screen he's scrolling from, and the direction from the raft makes him scroll up.

Fun fact: Both the whirlwind and the raft are controlling Link's position. The whirlwind modifies only his X position, while the raft only modifies his Y position, so he winds up moving diagonally while being carried by both.

overworld_roocorder.png

Eunos: Required execution for Roocorder to save time vs. properly executed current WR route strats. https://youtu.be/MJ7HDzrUUrk

Other Technical Information

There are a lot of small interactions and weird corner cases in this game. Here's a section of the site dedicated to them.

Legend of Zelda/Technical Information

Fighting Bosses

Legend of Zelda/Bosses

Tutorial Videos

The Legend of Zelda/Tutorial Videos

The Legend of Zelda/Room Tutorial Series

Routes

Routing of this game changes all the time. But here are some resources.

Again, Order of the Ate is a very good site for referencing routes.

If you're better than that, you need to start looking at routes used by top runners, and do research.

Here's some of that research:


Some notable historical routes:

Here's Tom Votava's 34:04 run from 2003, which was a good route if you didn't know anything at all about block clips, screen wraps, or item drop manipulation.

Darkwing Duck's 31:25 is notable as an upgrade from that, beginning to incorporate modern knowledge of the game.

Saver had an sub-30 run early, that skipped the Magic Sword. It's a tough route, but valid, though the video has been lost to the public.

Maps

The instructions above assume you know the overworld map, as well as where to get everything inside the dungeons themselves. For maps see NESMaps.com, including dungeon maps and a fully annotated overworld map.

Records

See Speedrun.com

Randomizer!

See The Legend of Zelda/Randomizer for mechanics and techniques specific to Fred Coughlin's Legend of Zelda Randomizer

Tools

How to patch a ROM? Get an IPS patcher, such as:

ROM Patches

These work in a real NES

Practice Hack in development. Shows drop counters. Later may give other useful information.

Buffet 1.2 practice hack by Fiskbit. Displays a timer, drop/spawn/recorder counters, and screen scroll / block clip help. Has a select menu for editing inventory, screen/level warping, and features like making Ganon visible. Archive also contains no-music hacks and FCEUX LUA scripts for things like hitbox and enemy targeting visualization.

AI target viewer by Fiskbit (in the form of an IPS patch from the PRG0 ROM)

Patch to remove screen flashing by @ireneista

Lua scripts

These work in select emulators

Hitbox visualizer script v1.2 by Fiskbit

Zelda Object Targeting v1.0

Legend of Zelda save editor.

Reading the code

Disassembly project

Another disassembly

Complete disassembly by Aldo Nunez

Miscellaneous

Avidemux is the best tool out there for timing runs.

History

History of the record

World Record Progression: The Legend of Zelda