For those thinking the japanese versions of Pokémon are the only ones that could be completed extremely fast with the use of glitches, well, the UE versions can be completed even faster.
By breaking the game into allowing the modification of its internal variables the main character gets into the Hall of Fame without receiving his first pokemon, yet his pokedex marks 152 out of 151 pokemon.

Game Objectives

  • The objective is to get to the credits as fast as possible.
  • Uses save and restart.
  • Displays extreme breaking of the game.
  • Uses mysterious warping.

Emulator used

  • Visual Boy Advance re-recording v19.3

Stupid Comments

This is an anime themed run! It gets to show Ash is a known cheater and definitely sharked his Pikachu and set his pokedex to mark 152 when there only existed 151 pokemon at the time.
At first it looked like he was going to have a normal day and meet Oak and get his first pokemon, but no, he had to beat Gary in getting to the league. And for that he had obtained a Game Shark.
First, he sharked balls for he wanted to be tripping them. Then he did the same with his items. While the items are scrolled we get to see the game scream OH S... in disbelief of what is going to happen. But nothing would stop it he was only thinking on himself.
After leaving Pallet, a wild Pidgey tried to steal his gameshark so he was forced to enter codes to summon his precious, the over nine thousand poké, so inmensely powerful it even raised the health of its enemy with only its presence.
Realizing that the road was going to be full of obstacles Ash hacked some more. On his mind there was only hate towards his enemy, and figures that resemble yellow and red Ponytas. He teleported straight to the Hall of Fame. What a surprise that Oak greeted him, he was supposed to wait for him at his lab! Oh crap, "Gary was here" written on the desk!?
"Well not only that, when you were out Team Rocket slammed into the lab, and hacked your pokedex leaving this message..."
(They also stole Pikachu)

Serious Comments

Hello, this is my first TAS. I found luck manipulation to be a chore, no idea how you guys do it manually and several times for a single run, if any of you do so of course.
Since I had to be staring at each frame while making this I had enough time to notice patterns or shapes on the glitches and make up a story as I went. If you feel lazy you can try to find what I used as inspiration by watching with frame advance.
Pokemon Yellow is the less buggy out of the first generation Pokemon games. Having been released last, there was time to patch errors like the well known Old Man (MissingNo.) glitch. It also lacks the Brock skip glitch for instance. Well it doesn't matter, it can be finished as quick as Red or Blue can.
Yes, the three games can be finished with this exact same route. Yellow is the slowest for the simple fact that it has ONE extra tile on its map which means you have to walk one extra step. Red and Blue lack this step. Out of the two, Red is the fastest because its first name choice for the protagonist is Red which has one less letter than Blue for Pokemon Blue. The name gets printed three times, for a total of 3 frames advantage for the red version.
Initially I didn't want to use an anime theme, I wanted to use Yellow as the protagonist and Blue as the rival's name. But the second option is Ash and it has much fewer letters than Yellow, for 5 frames advantage (9 minus 4 it takes to select the name). My main goal was not to get 2 minutes on the clock so I decided to save these frames just in case.
(That meant I had to name the rival Gary, despite Blue being the faster option (4 frames again). It would be a mistake not to go with the theme after naming the protagonist Ash on Pokemon Yellow, the Pikachu version... the one that after all tries to resemble the anime.-Scratch this) After a bit of testing, by using a custom name for the rival I eliminate a huge chunk of "lag" while scrolling items. This is not lag per se but the game glitching out due to the items it tries to display do not have valid item values and forcing you to press the B button several times. While scrolling the items I have to pass by the rival's name addresses, so I gave him a name that has values that correspond with actual items taking out the glitchiness (which could be considered bad because now the screen is less glitchy). I also used one of the "letters" to skip Oak. I used to go out of the way to get a value to skip him, but instead this is on the way and I don't lose time other than doing the item switch.
To be able to pull this route, I had to spawn with a trainer id of 76 in hexadecimal (on the lower byte, D359). This has a 1 in 256 chance of happening, and is set when you select New Game, but the random number generator at that time can't be manipulated without inserting idle frames. These frames can be inserted before any valid input given to the game and will modify the generator differently. Before choosing new game there are four valid inputs (first for Game Freak logo, second for intro, third for game logo, and fourth for New Game itself).
I checked manually the combinations of up to four idle frames, but didn't get the 76 I needed. So instead I made two programs do the work for me: One that created movies with every combination of idle frames and another that played these non stop until it found one that worked. I modified tas-movie-editor and Visual Boy Advance for this. They found the best combination quickly, at iteration 74 which corresponds with 5 idle frames.
With the first part of the puzzle I could continue with the plan. First I walked up to the point where I stop... yeah... Ok, it has some significance, one tile forward and the Oak skip trick won't work because the closest value that gets this done doesn't work one tile forward. It also makes it wait until the last moment to show that it is not going to be a normal run, I mean I could have saved as soon as the game started.
I use a save corruption exploit, reset while saving and your file may get corrupted, reset at a specific frame, and you will still be able to load your corrupted file. The corruption fills your owned pokemon data -which you have zero atm- with FFs, or 255 in decimal (if you watch the address D200 -VBA's Memory Watch window- you will see this after resetting). That area includes the pokemon owned counter, in other words the game thinks you have 255 pokemon on your belt, that's a lot of balls.
When Chamale wrote that this exploit gave him over 25 pokemon it rang my bell. I had been testing the ZZAZZ glitch since hanzou introduced it at the forum, this glitch ultimately ends with the overwriting of the items counter and subsequent memory shuffling that allows for a teleport to Hall of Fame as demostrated by hanzou. Since the game only has room for 6 pokemon but think you got 255, pokemon can be switched and that means overwriting data that are not pokemon with whatever data the pokemon had, and not only is this cool, the belt data is right before the owned items data, and having as values FF is perfect.
Switch your first pokemon with the tenth and you will overwrite the items counter, since you will be placing FF in there, now you will have 255 items, but 20 is the regular maximum! Below the item data there is important data, like your current area (D35D), coordinates (D35E, D360-D361 and D362-D363), badges (D355), trainer id (D358-D359), the rival's name, etc. So by manipulating your belt you can manipulate your items and then get access to manipulate this. Items use two bytes, the first for the item, the second for its quantity, so when you switch items you are exchanging four addresses (the two you switch from and the two you switch to). Tossing items modify the address on the quantity byte, these are the even addresses (0-2-4-etc). Completely tossing all of the item will shift all bytes by two, this will most of the time crash your game. The item with value FF is read as the Cancel button, and can't be tossed nor switched, unless the text Cancel doesn't show (and if you do you'll cause a single byte shift).
Now with access to this data from the items menu, I overwrite the area value to be able to get to Route 1 without triggering Oak. The closest value that doesn't crash the game (is FD and is quite far away, but it works -Scratch this too) is E7 and corresponds to the third character "!" given to the rival as his name, it is on the way while scrolling so no time is lost. Please keep in mind that Pokemon Red and Blue accept more values (they don't crash/freeze), like the Card Key item (30) that is on the way as well.
Now in Route 1 I proceed with the final step of a ZZAZZ attempt, to generate a teleport to another area. Get into a wild battle, and switch the area value with whatever value you want, then end the battle through whatever means. You'll spawn at the new location.
First things first, I needed a random encounter on the first possible step. You can't get a random encounter in Pallet so I had to get to Route 1. You can't get a random encounter on the step in which you enter Route 1, and you can't move right because the collision model is actually one tile to the left, (due to my playing with values to skip Oak) which means you are actually next to the wall. Moving left won't trigger a random battle because the grass is not there (in other words the grass is not shifted, only the collision). So the only way is up.
There are two pokemon that can be triggered, Pidgey and Rattata. Pidgey is 6 frames faster and I lucked out in getting one within two frames of optimal while recording the movie. There's no way to manipulate the RNG without adding idle frames. To manipulate it without them like for example primo's do, you have to hold the input when accepting text dialogs. There are none of those after I reset.
I used the bots again, this time there are more than 60 inputs, not four, before the random battle. That means anything bigger than 3 frames and it's hell (3 frames have like 90,000 combinations, which is still doable but would take several days). Since I already had a Pidgey within 2 frames though, the bots only had to check the combinations for one idle frame, which is nothing, and they found one valid run, on the last combination possible, getting a Pidgey with just one frame lost.
I wrote a small program to calculate the number of combinations for 'n' idle frames inserted before 68 possible inputs, lucky me I only had to do number 1:
  1. 68
  2. 2414
  3. 57154
  4. 971635
  5. 13991544 <- 13 Million something
  6. 170230452
  7. 1799579064 <- 1 Billion something
Anyway, the 76 I manipulated earlier as the trainer id is also the code for Hall of Fame, and the data is right next to each other so I don't waste time switching "items". When I switch, the data from one address goes to the other, so I am setting my area value as 76.
This is not the only switch required, because my current coordinate position values would get me out of the map at Hall of Fame and the game would crash. So I switch another item on top of their values keeping things cool.
Then I just run from the battle and profit. Oak is a smart man and can't be fooled easily, he proceeds with the registration but he knows what I did there.
By the way, the pokedex data is between your belt and the items, so when I switch pokemon I also complete the pokedex, in fact it now says 152 out of 151.
Since this wouldn't be complete without Team Rocket, well, they had to make an unexpected appearance, I wasn't expecting that the first time, with a dark tone for music change and everything. Even though the game is about to end, there is trouble ahead...
My RAM map is not complete, so there could be another method to teleport to Hall of Fame, even from the starting room, by creating a patch of grass, setting the exit or escape roping to the final room, or similar. Also, due to the variability of input and frames a couple frames improvement could be found by varying the button presses, I think this is called a "frame rule". But their effect is random, sometimes a combination will speed you a frame here and then slow you down in another place, and usually it is that it can't be sped up.
I DID use a "constant" combination I found and had no chance to use during the movie, I used it on the last dialog, pressing A then the next frame B on a dialog without an "arrow" makes it close 1 frame earlier. The movie's input ends at the same frame though because it's the last dialog.
For those wondering, the run is around 1 minute and 13 seconds according to the ingame timer (which only displays the minutes). DA3F is the address for the hour, then it goes to minutes, seconds and frames (60 fps). A 0:00 run sounds unlikely and the addresses are not even within range for manipulation so that's a no as well ;o

Other comments

I suggest you turn on Input Display, open Memory Watcher, enlarge its height to the max, and set it to watch the address D200 to D350 so you can "see" what happens in memory.
I don't think many people will get what is going on even if they know the Pokémon games. It is very possible to execute these glitches and NOT teleport to the end and instead play some more to make it more friendly to them, but my goal was to find out the final screen time display upon completion, was it going to be 0:00, 0:01 or 0:02? I got a movie where I "walk" to the Hall of Fame and it takes six minutes (perhaps five if optimized), but my goal was speed so I finished this one. All in all, there are enough glitches to perhaps do a glitchfest run, some walk on water, glitched battles, changing the music tempo, palettes, battling gym leaders but changing their pokemon, etc, (yes all that is possible, at the same time may not be so possible but that's what planning is for).
It may be possible to break a frame rule by using a different input combination on certain dialog. Usually it doesn't make a difference but sometimes pressing A alone is faster, or B the frame before then A, or A the frame before then B, or holding B and pressing A the frame that it has to be pressed, etc. When it doesn't work it usually makes you lose one frame instead. This frame advantage can be lost arbitrarily if the game wants to though, for example when you name yourself or your rival, or at reset. And of course a faster way to teleport to the end will also improve the run.
Suggested screenshots:

Bisqwit: Author submitted a replacement movie. Submission updated. Quoting Gia:
I missed a quite obvious optimization and after applying it I also lucked out with the random encounter, the improvement is 672 frames though, not 10.

NesVideoAgent: Hi! I am a robot. I took a few screenshots of this movie and placed them here.
Bisqwit: But the movie desynced for NVA, as it did for me. Removing the said screenshots.

adelikat: The glitching presented here is different enough to warrant a new category. So accepted for publication but not to obsolete the green run.


Joined: 2/26/2007
Posts: 1365
Location: Minnesota
I think the biggest problem would be once this movie gets special treatment, a la animated gif, then why should game x not get an animated gif too? Pretty soon the movie page will be full of dizzying, non-sense animation, which will agitate and confuse lower life forms new viewers. Although I like the idea, I think the snowball effect that could happen would not be worth this bit of humor.
adelikat wrote:
I very much agree with this post.
Bobmario511 wrote:
Forget party hats, Christmas tree hats all the way man.
Senior Moderator
Joined: 8/4/2005
Posts: 5777
Location: Away
Well, usage of gif is justified with this screenshot, much like it was justified with Faxanadu's blinking (and no-one seemed to cry for more gifs only because of it).
Warp wrote:
Edit: I think I understand now: It's my avatar, isn't it? It makes me look angry.
Joined: 2/26/2007
Posts: 1365
Location: Minnesota
Moozooh, what do you mean? I looked at that game, but it didn't animate for me. Maybe I missed something?
adelikat wrote:
I very much agree with this post.
Bobmario511 wrote:
Forget party hats, Christmas tree hats all the way man.
Senior Moderator
Joined: 8/4/2005
Posts: 5777
Location: Away
Yes, you missed its previous screenshot.
Warp wrote:
Edit: I think I understand now: It's my avatar, isn't it? It makes me look angry.
Joined: 4/11/2006
Posts: 487
Location: North of Russia :[
My first attempt of encoding a movie :) http://www.mediafire.com/?ez5mwc21is0
Active player (498)
Joined: 1/12/2007
Posts: 682
O_O Anyway, yes vote.
Player (25)
Joined: 4/23/2005
Posts: 435
Location: Germany
Nice, I like the part, where you enter a Fight without a Pokémon. And 152 Pokémon are great to have, at a time where only 151 exist. ;-)
Last TAS finished: Final Fantasy Adventure (4.0 Warp Glitch Run) WIP in the moment: Tail Gator (GB) Matty
Banned User
Joined: 12/23/2004
Posts: 1850
Raiscan wrote:
So this resets the game during a save causing corruption to progress? Hmm sounds a teeny bit sketchy, but you won't hear any complaints from me at least. I'll be watching this when I have access to my emulators.
Yeah, that's a bit iffy... does anybody know to what extent this can be replicated on a real GBC? I mean, assumedly, if it can be done on a GBC with perfect timing, then it should be fine here, I'd think, but...
Perma-banned
Player (121)
Joined: 2/11/2007
Posts: 1522
I'm fine with Ash and Gary and glad you took some amount of entertainment into account :) Though personally I think this is just the tip of the iceberg and this will be beaten, probably by a large % ...and if I were doing it I would aim for absolute speed since it's so short. In a 4 hour RPG tas a small trade for entertainment is ok or even desirable, but for a 2 minute run it seems like one would want to push the envelope. [off topic] RE: King's Bounty, Gens is open source like pretty much all the emulators used here. If you wrote a bot I'd be happy to run it (but only for co-author credit :P) Voted yes 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
N._Harmonik
She/Her
Joined: 8/27/2006
Posts: 502
Location: Canada
Any chance of a run of this game being done without this glitch?
Why, oh, why do I even <i>try</i> to understand my own species?
Editor, Expert player (2071)
Joined: 6/15/2005
Posts: 3282
Xkeeper wrote:
what
This sums up my reaction exactly.
N. Harmonik wrote:
Any chance of a run of this game being done without this glitch?
http://tasvideos.org/1489S.html Though now it is far from as fast as the game can be beaten, even without Missingno./ZZAZZ. At least it is a demonstration (other than this submission) of beating the game without allowing a single enemy move. P.S. If you mean whether someone would start a new run on Pokemon Yellow without using the glitch, then I doubt it.
Editor, Active player (297)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
Desyncs horribly. I guess it requires some version of VBA that is sync-incompatible with past versions such as "vba-rerecording-20-src.7z". Or, it requires some settings that I am not aware of.
Player (206)
Joined: 5/29/2004
Posts: 5712
Well, what version are YOU using?
put yourself in my rocketpack if that poochie is one outrageous dude
gia
Player (109)
Joined: 5/3/2006
Posts: 223
Uh is there anything beyond v20? It uses v19.3, v20 desynchs. Accurate Emulation Speed, synchronize emulation speed, real time clock, lag reduction. Power on, no bios, GBC, no borders. Automatic / Flash 64K save type. I do have a route for a longer run and even manipulated a pikachu that would do it but I will definitely not run it, it would require precise luck manipulation which I found out with this gets very expensive. About kings bounty I'm not interested on researching it :P (in turn I'm not interested in authoring it), so if Aqfaq wishes to feed me the data by hand (starting by answering the questions he left open) he could keep his findings and thank me for the tools which are not a big deal anyway. I'll see if I can get Gens to compile. EDIT: Yes but this is not the rerecording version damn, and I cant find source code for that, there also seem to be a thousand genesis emulators so I'm not sure which source code would have to be obtained. I can make a bot for this one but then I can't assure the resulting input would work on the "tas emulator", so getting the source code for the emulator to be used would be another requirement...
Experienced player (828)
Joined: 11/18/2006
Posts: 2426
Location: Back where I belong
What is this? Did the quadratic formula explode? I see a "Strongba" in there. But it's getting eaten... by some linux or something. Alright Edgar, now drop a train on 'em. 999999999999999999999999999999999999 AAAH! That is not a small number! That is a big number! Computer over? Virus equals very yes? And the compy just peed the carpet. Sums up my thoughts. Yes vote.
Living Well Is The Best Revenge My Personal Page
Joined: 2/13/2007
Posts: 448
Location: Calgary, Alberta
I find if I watch the movie upside down it makes sense more. I'm going to try both sides as well. Yes Vote.
Renting this space for rent. Trying to fix image on this site. Please cut slack. As of April 6th, 2012: After a long absence, here we go again?
Joined: 6/1/2006
Posts: 64
Heh. I was giggling the whole time, but nearly fell out of my chair laughing at the "pokedex rating". A great punchline to a hilarious TAS.
Post subject: new version AVI
Joined: 4/11/2006
Posts: 487
Location: North of Russia :[
tee-am-eight-tee-am-eight-rocket-eight-eight-wii-eight-i-zed-tee-one-dee-one-error ^__^ and here goes encoded new version: http://www.mediafire.com/?x5h1cylzmvm
Skilled player (1651)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
mmbossman wrote:
What is this? Did the quadratic formula explode? I see a "Strongba" in there. But it's getting eaten... by some linux or something. Alright Edgar, now drop a train on 'em. 999999999999999999999999999999999999 AAAH! That is not a small number! That is a big number! Computer over? Virus equals very yes? And the compy just peed the carpet. Sums up my thoughts. Yes vote.
Strongbad, does your computer have a virus? No.... Strongbad, does your computer have 420,000 viruses? Yes... very yes! Best strongbad ever. Oh, and this is probably now my favorite run. Very Yes.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Joined: 10/24/2007
Posts: 11
Having just watched the movie, I'd have to echo the response of Xkeeper. What?
Joined: 7/20/2004
Posts: 45
I don't think I can say anything else here except: HOLY CRAP.
Chamale
He/Him
Player (181)
Joined: 10/20/2006
Posts: 1353
Location: Canada
Nice. I argued with Rridgway several times over whether the hard reset bug would ever amount to speeding up a run, though I thought it would maybe amount to a 30-minute run, not this. Yes vote, and I agree that it should obsolete the Green run.
Joined: 4/11/2006
Posts: 487
Location: North of Russia :[
I disagree on subject of green run. It has all different glitches involved :(
Joined: 5/17/2007
Posts: 393
Location: Sweden
Watched it, liked it, voted.
"No love for the game gear"
P.JBoy
Any
Editor
Joined: 3/25/2006
Posts: 850
Location: stuck in Pandora's box HELLPP!!!
IT'S OVER NINE THOOOOOOOUUUUUSSSSSAAAAAAAAANNNNNDDD