After hearing about how the dark overlord Darces has returned, our hero goes on a quest to unite all five elements "unite" only one element in order to defeat the dark overlord Darces and save the kingdom.
This is an improvement over my previous submission. It's now roughly one minute of a "what the heck is going on!?" run.
  • Beats game as fast as possible, so you see less of it
  • Abuses programming errors
  • Uses FCEUX 2.0.2
Finally, a list of records between all my movie files while working on this TAS:
  • 440 - Test run, where I was learning how to use the tools. I do make it to the end. Never uploaded, it's just a test!
  • 178 - My first real start-to-end attempt. The run through the final dungeon is almost entirely copied from this one.
  • 431 - My second attempt, and first submission. Recorded over an old, failed attempt of an unknown count.
  • 098 - A test run trying to speed through while skipping the shop. Recorded over the above 431 attempt, reading as 529 records.
  • 064 - My third real attempt, picking a fairly fast potion route.
  • 043 - This submission, recorded over the 064 attempt, reading as 107 records. Hopefully, this is the fastest.
So between all my attempts, I've made a total of 1254 records. If you want to count this run alone, that's 43 records, but that's no fair since I am following and copying a fair chunk of my previous runs! Just like how I'm following and copying most of my previous submission text. There's still a few changes.

Improvements

All thanks to TaoTao for pointing out a route change which lets me avoid shopping entirely. Now, there's these potions on the ground! I'm doing this for the environment! And also a glitch to allow me to walk through one door. Yep, I end up going through one without the commonly believed requirement of opening the door first.
A total improvement of 718 frames over my cancelled submission, with an estimated 56 from going through a door and probably the remaining 662 from skipping the shop to pick up some potions instead. That shop sure takes a long time!
By the way, I'm not done thanking TaoTao yet. Suggesting which potions might be good ones to pick up, walking right through a door, and even helped to make a fight optimal right when I was starting to get tired. Although I was making most of the input in the movie files, it felt like half the run is thanks to TaoTao. Really, thanks!

About the game

Some dark overlord named Darces returns, and of course, only one person can drive him away. You need to travel around the world to unite the five elements, Earth, Water, Fire, Wind, and Faerie, so you can defeat Darces and save the world. Or something to that effect.
Do I do any of that? No way, man! I "unite" only one element, fly straight to some dungeon, get the required item, and then run into the final dungeon, only to skip by Darces (giving him a pat in the process) and pay the king a visit. Oh, kingly guy, you love to exaggerate!
As far as gameplay goes, it's a little odd. Movement is done merely by tapping in a direction. Left/right turns you, and up/down moves you. If you attack, it takes a little time for it to hit, and you can only strike whatever is right in front of you. All the spells are made using runes, and since there is no MP in this game, casting spells eats up your HP. Also, vision is rather limited, and it's very easy to get lost without using the right spells.
But in this run, with the way movement works, and how little you see at once, it's all a blur. If you can't tell where I'm going, you're probably running it correctly.

You may note that there are five "actions" I can take:
  • Fight - Used for fun. It makes a physical attack. I hit Darces with a zero damage attack!
  • Item - Used three times. Those potions are pretty important!
  • Spell - Abused like crazy. Needed for just about everything.
  • Use - Used four times. This opens dungeon doors and treasure chests. The treasures are important.
  • Camp - Not used. Would use food and water to restore HP, which you can only get from a shop.

There are five different spell-sets in the game. However, only one of them is even needed.
  • Earth - Mostly status cure spells, and allows walking into water.
  • Water - Shielding spells! Too bad defense is no issue in a TAS.
  • Fire - No non-attack spells whatsoever. Arguably the worst.
  • Wind - Warp spells. Very useful, except Faerie is a required set, and this isn't.
  • Faerie - Map spells, info spells, and lets you fly to some sky zone. Required to win.
From the start, you can choose to learn one set of magic. After that, in order to learn any other magic, you must first find the appropriate sword and hand it in to the sage guy. Naturally, I don't do that, preferring to win with only Faerie magic.
The dungeon doors automatically open because I cast a certain spell when I get to the first dungeon door. It takes 4 HP, but at least I no longer have to select the USE command to open doors. This gives me a little more time to spare with that 8-frame rule the doors have, and I needed it to save some time.

As casting most spells eat up HP, I search far and wide for only the quickest healing potions, with help from TaoTao. In total, I pick up two healing potions and an attack jar. They are used to good effect so I don't run out of HP while in the middle of fighting.
After a quick visit to sage guy for my Faerie spells, I then fly to the sky, to collect a two items then get into "Tores Sanctuary". As the monsters here are meant for decently-leveled maximally-armed characters, you can imagine why I just run past most of them. Through some manipulation, I fight only two of them, where I use a damage underflow glitch to kill both of them. Once I get the item in there, I can no longer use the damage underflow to kill everything.
On leaving, I took the same path I used to get in there. I still have to do enough manipulation to keep monsters out of my way. If I didn't waste any HP, I would have 8 when I reach the ending, so I promptly throw away 7 HP without wasting time. Besides, who wants to see me end the game with more than 1 HP? I finally go down to 1 HP when I fly back down to the ground, where I re-enter the castle and head into the basement to find the king and queen.
So after running past all the basement critters about (must be his pets he never told me about), I see Darces for like three frames before opening the final door. So that's where you two were! In a closet of your own basement! Oh, Darces? He's right outside the door.

Input

There are some points where the game ignores input. Especially the title screen, where you must wait four seconds before you can hit start twice to get through it, then we're faced with unskippable dialogue. Other than that, there's a few frames that ignores input in transitions between "fields" and while flying up or down.
The game ignores movement when more than 1 button is pressed on the same frame. Also, there is no reason why one would want to hold down a button for more than one frame. Because of these, it generally limits the amount of possible useful input significantly.
There is nothing tricky about movement. It instantly reacts when I touch any direction for a single frame. There does not exist acceleration of any sort. I'm at "maximum" speed the instant I tap up or down.
Further, the only luck manipulation possible is pausing the game outside of towns to affect enemy movement, or waiting for the right frame for damage. There is no need to make "random" input for the purposes of affecting luck. The only luck that is affected is enemy movement, determined whether or not the game is paused at the time. Otherwise, it's all based on a frame-counter.
In short, due to how simple the input is, this game might be one of the easier ones to TAS out there.

Vision and Movement

It should already be obvious, even in a TAS, that this is supposed to be first-person perspective. You see everything through the eyes of your character. Now, the main problem here is the fact the character should be legally blind due to the fact he can only see like two squares ahead.
There are map spells I can cast, but they freeze the game for a few seconds while displaying the area, then the map disappears and gameplay is back to normal. If I could move while showing the map, I would have done so. But since it even stops doors from opening, I can't show the maps without losing time.
As for the speed, the game accepts movement every frame. When you tap up, you instantly move one square, unless there's a wall or something else in the way. Then the game waits for you to release up before accepting the next up input. So, of course I hit, release, hit, release, at 30 Hz. Needless to say, 30 squares per second should be a blur in itself.
Then there's a lesser factor: The game updates the wall display every four or so frames. It's also a little behind on the display, so of course even with frame-by-frame, you can't even tell what's up ahead, or even what you're seeing relates to what paths you saw before.
In short, everything looks like a blur, pretty much. However, if you like seeing a game react to impossibly quick input, this run is a fair example.
A good chunk of time is spent on doors, however. They have this 8-frame rule while they open slowly. It might be possible to sacrifice a frame somewhere and still get to a door without increasing the total length of the movie, because of that rule. There's also a few things I can do while waiting for doors to open, like relaxing with a drink, casting a few spells, or manipulating enemy movements, and I take advantage of that.
One door can be glitched through because for some reason, it's not loaded properly after going down some stairs. If, after some stairs, I have to take a step or even turn to face the door, I can't glitch through it. Only the one door that's right in front of the stairs can be glitched through in one direction.
Town doors work differently from dungeon doors. They can be opened by any of the five actions, the auto-opener spell won't work on them, and they take longer to open. Also, because they're town doors, and as such implies that they're in towns, I can't manipulate enemy movements using them.

Fighting

All the monsters seen here are end-game monsters, and I'm only level 0! Dang, even "!" of Dragon Warrior and "Axe" of Final Fantasy starts at a higher level than I do! In fact, they even gain levels while I'm stuck at 0 the whole time! They have it so easy...
In any case, if I were to take a hit, there would be a game over, where evil wins again. Hundreds of damage versus 12 HP doesn't leave room for error. Luckily, I am tool-assisted in this run, so I can avoid all those nasty attacks.
At specific frames, the enemy may attack, depending on its attack pattern, and whether the game is paused. Obviously, I have the game paused at those frames where I would be whacked, so they never attack. That's a good thing, since hundreds of damage does not feel good to someone who barely has a dozen to work with. Besides, I need to pause anyway to set up my spells.
Enemies can also make weaker flanking attacks (still fatal to me), which has a similar ticking timer that also follows similar rules to the main attack they have. Naturally, I don't expose my flank during those ticks, or else have the game paused at the time.

The above takes care of defense, but what about offense? Surely my bare-handed hero can't even dent his foes! But don't worry, he's got spells! ... Which also wouldn't dent his foes... But wait! What's that? A glitch involving damage underflow? The day is saved!
Generally, I try to avoid all monsters, because they take some time to kill. However, there are two monsters that are deeply in the way, and are needed to be killed to continue forth. So for the two moments where you actually see me attack something, I'm using a damage underflow glitch. If I didn't mess around with my spells before the attack spells hit, you would have seen them go through their normal animation and deal one damage.
For some reason, attempting to cast a different spell while the first one is still going through its animation causes the spell to transform, taking on the parameters of the new spell. If you were attempting to cast an attack spell as the second spell, you are not charged any extra HP for it. For a normal run, this is typically useful for firing a monstrous 58 HP-cost killer attack spell while spending only 2 HP. But this isn't a normal run, is it?
If you try to cast a non-attack spell while the attack spell is still going through its animation, the effect of the non-attack goes through (HP cost included) AND the attack spell also changes. The base attack power of a spell transformed this way is -1, and with luck, deals at most 6 damage (before you take into account the enemy magic defense). A bit of luck manipulation later, and I hit that -1 every time! Since the game treats the negative as though it were unsigned, I nail maximum damage every time. Too bad it's cropped to 255, then further reduced by their defense...
Upon getting Tores Sword, the item required to enter the final dungeon, my spell damage goes up by 32. Now that base -1 is actually base 31. No longer can I kill things, but that's alright -- I killed everything I needed to already. Everything else is manipulated into going out of my way.
The non-attack spell that I'm using to transform spells happens to cost 0 HP. There are other non-attack spells, but they either eat up what few HP I have, or bring up this game-pausing map. The non-attack spell I'm using reveals the last damage I dealt, damage I took, and position. There's another that reveals enemy stats and whether they're flanking you, but it takes a few more frames to set up. Since I had some spare time at a door, I thought I'd cast it before all the fighting.

Luck Manipulation

And what would a TAS be without affecting luck along the way?
For whatever reason, when determining a lot of things, the game uses the frame counter. Apparently, damage is also affected by the frame counter. A spell's damage is anywhere from the base damage up to base+7 damage. It looks at the frame-count MOD 8 to decide on what damage it did.
Because of the dependency of the frame-counter, we have an 8-frame rule on when the max damage can be done. In this run, the two times I kill something, the spells are optimised enough that I can't see any way to get past that 8-frame rule.
The enemy's movement is a little more complex. There's a selector at 0x00CE which states which enemy is next in line to move, ticking every four frames. And every time it ticks from F to 1, the value at 0x00CF is incremented, which is used in deciding how the enemy will move. The ticks are ignored if the game is paused AND not in town. As there are several dungeon doors along the way, I can pause or unpause at no cost to time at those points.
The first time I need to manipulate enemy movements, I make it to the first dungeon door with no time to spare. If I got there a few frames later, an enemy would have moved to a highly inconvenient spot just past that first door. After getting through that door, I then use a form of manipulation involving being in the way when it's time for that monster to move. Twice in that same room, actually.
In any case, I did manipulate everything I could out of the way so that I can just zip to the next point at ridiculous speeds.

Possible improvements

Not likely. Though the last time I said that, someone came by and told me how I can make some improvements. Well, I'm sticking by "not likely" anyway, since it doesn't mean "impossible."
Unless you found a way to walk through walls, or otherwise skip past the king and queen, a faster run isn't likely. Basically anything that calls for a more extreme route change.
Doors and damage are on an 8-frame rule. So if you're going to improve on a section, you'll need to save several frames. Generally, all the movement and fighting should be optimal, so breaking through that frame rule without any major changes might be impossible.
Barring another route change or unknown glitches, the only improvement I see that can be done is to entertainment. And I think I covered what I could without slowing down, like intentionally dropping down to 1 HP in three separate times and beating the game that way.
Suggested screenshots: (I can't decide!)
1671 - Fighting a monster with a clear difference in power
2207 - Three floating eyes!
3717 - Seeing the final boss while the player is at 1 HP.

adelikat: Good viewer response, accepting for publication ... and processing.

TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 14847
Location: 127.0.0.1
Joe
Joined: 6/10/2006
Posts: 152
Location: Wisconsin
Very nice job updating your run. This time, for kicks, I ran the emulator at half speed to catch a glimpse at the foes you whizzed on by.
Experienced player (867)
Joined: 9/18/2008
Posts: 148
Location: Japan
Excellent, elegant run! The improvement is now beyond my first expectation. I voted 9.5/9.5. I agree that a faster run is not likely unless some unknown glitch is discovered. I'm very happy to be of help. Well, it is very minor thing, I diffed the movie of your submission and the one you posted at another topic, and found you input <A> on frame 3583 in the new one. Does this have some special meaning?
Editor, Skilled player (1171)
Joined: 9/27/2008
Posts: 1085
Indeed, I did insert that A right before submitting this run. The visible effect being that you see the ATP go to 000 just before the ending starts. I wanted to show that I can hit Darces with a physical attack without slowing down in spite of the fact I'm skipping him. And it should show that the attack would deal no damage. It would take a clever observer to note that, though. It is a very small difference, anyway. The only visible difference is changing a number, and it's visible for only a short time. I tried listening to the attack noise, but I can't notice it at all.
Experienced player (867)
Joined: 9/18/2008
Posts: 148
Location: Japan
Oh, I see. I watched again and saw ATP went to 0 on frame 3756. Thank you. It is indeed visible for a short time, but I guess it is preferable to show it.
Joined: 3/7/2006
Posts: 720
Location: UK
Truly amazing, confusing and fast TAS. Do you think these techniques can be applied to other dungeon-crawler style games? Eye of the Beholder perhaps? The GBA port lets you move one tile per frame too, though obviously the battles are long drawn-out tile-based affairs.
Voted NO for NO reason
Editor, Skilled player (1938)
Joined: 6/15/2005
Posts: 3243
From the other thread:
FractalFusion wrote:
The fact that one could go through the last dungeon right away without dying says a lot about this run. Too bad one can't say the same about any other RPG on this site. It also took me a long time to understand why enemies couldn't attack you even when they were in your face.
Well done, and even a better improvement. I'll add 1 to my previous entertainment score.
Banned User
Joined: 8/2/2008
Posts: 420
Location: italy
Voted 10 for Tech Quality. Didn't vote for Entertainment. And here's the usual encode from me. This was so short I bumped up the quality a bit, the file is tiny anyway. Disclaimer: the encode proposed in the link above is unofficial and hasn't been used for actual publication, despite having higher video and sound quality than the published one.
Gone.
Joined: 7/2/2007
Posts: 3960
You're awesome, Nineko. Thanks! And wow, that movie was...something. Heh. I'm very glad for the detailed writeup, because even with it I could barely tell what was going on. Nice work!
Pyrel - an open-source rewrite of the Angband roguelike game in Python.
Skilled player (1404)
Joined: 10/27/2004
Posts: 1976
Location: Making an escape
Watching this run was reminiscent of watching one of those videos taken of a long drive, except each frame is a picture taken every 10 seconds. (thanks, nine!)
A hundred years from now, they will gaze upon my work and marvel at my skills but never know my name. And that will be good enough for me.
Player (120)
Joined: 2/11/2007
Posts: 1522
How much more will this be improved? ;) 9|9 again
I make a comic with no image files and you should read it. While there is a lower class, I am in it, and while there is a criminal element I am of it, and while there is a soul in prison, I am not free. -Eugene Debs
Joined: 9/20/2008
Posts: 41
Once again, very impressive! I gave you a 9.5 on technical skills last time assuming that there might still be some improvements left to come, but I've got to give you a solid 10 for this one. I'll also bump the 8.5 for entertainment up to 9 since I find usually the shorter, glitchier runs to be the most fun to watch. Great work.
Joined: 5/17/2008
Posts: 212
Location: Virginia
This was one of those "WTF WAS THAT" movies for me. 10 entertainment, still undecided on technical (will vote later).
adelikat wrote:
It started off fairly tame, but as more balls entered the picture it sure got a lot more entertaining.
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3584)
Joined: 11/3/2004
Posts: 4737
Location: Tennessee
Nice, that was a lot more entertaining than I expected. I figured it was another might & magic rehash. But this was a whole lot faster. I gave it a yes v...err good rating.
It's hard to look this good. My TAS projects
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 14847
Location: 127.0.0.1
This movie has been published. The posts before this message apply to the submission, and posts after this message apply to the published movie. ---- [1199] NES Dungeon Magic: Sword of the Elements by FatRatKnight in 01:02.83
Editor, Skilled player (1171)
Joined: 9/27/2008
Posts: 1085
So, it has been published for a few days now... I saw the description. I now feel more a part of TASVideos than just a lurker. I feel like it's luck that had me interested in the right game, which happened to be decently entertaining and also has a relatively easy input. Regardless, I still put in effort, and accepted trying out a possible improvement, re-doing a fair chunk of the game several times in order to find the fastest path. I still say luck has something to do with it, but luck alone won't get me anywhere, and I still put a fair amount of effort into this. I'm quite happy I contributed a run to this site! Perhaps I should look into updating that FAQ I have over in GameFAQs... I'm sure there's at least a few things I can add to it now.
Editor, Skilled player (1938)
Joined: 6/15/2005
Posts: 3243
I'm glad you liked the description. I added the part about GameFAQs because I looked for FAQs earlier and saw your guide and message board topics, and you seem to be very dedicated to this game. I admit though that this sentence was possibly excessive POV on my part:
movie description wrote:
It's everything an RPG TAS should be, without warping or save glitching.
I'll try to reword it if I can.