Submission #2860: p4wn3r's SGB Pocket Monsters: Green "Doko Kashira Door" in 04:24.37

Super Game Boy
(Submitted: Pocket Monsters Green)
Doko Kashira Door
VBA-rr
15862
60
4400
Unknown
Pocket Monsters - Green Version (J)(V1.0)[S].sgb
Submitted by p4wn3r on 10/6/2010 10:32:14 PM
Submission Comments
  • Aims for fastest completion
  • Heavy glitch abuse
  • Manipulates luck
  • Doesn't corrupt save data
Emulator: VBA-rr v20, it doesn't sync on any other version
Well, I was bored and decided to improve the published movie by 10 frames.
The rival battle could've been faster. In fact, when I started the run, I improved it, but getting to Viridian in less frames got me terrible randomness. I need to encounter a Lv2 Pidgey to do the glitch optimally and the way the RNG works, I couldn't get it without a massive loss of frames in that occasion. So, I left the battle untouched and improved the movie after it.
For those who are not familiar, Doko Kashira Door is one of the many Select button bugs that occur in the first japanese versions released, and is the fastest known way to complete the game apart from save data corruption.
I had to use v20 because it's the only version that emulates the glitch. This is unfortunate, because it doesn't have Lua scripting implemented, which could be used to shave more frames by manipulating a faster rival battle that generated good randomness for the wild pokemon encounter.

The glitch

Doko Kashira (where am I?) is a game-breaking bug on the japanese versions of Pokémon. It occurs because the programmers forgot to disable the flag for switching items or pokemon when the menu is exited in battle. This was fixed later in the (J) v1.1 release and subsequent (U) releases.
Because of this bug, it's possible to force a lot of garbage data into the game's RAM, making it go nuts. The trick abused here is to switch the 2nd item in your inventory with the first pokemon. That somehow destroys the end marker for your party and the game starts overwriting data in other portions of memory. The useful fact is that it decreases the map ID of the destination of certain doors everytime you walk four steps, this is used to get from the rival's house to Celadon and from there to the Hall of Fame.
This isn't everything about the glitch though, it may occasionally change the coordinates of a warp, change the graphics of a block of four tiles and remove their wall status, and sometimes the game may simply crash or KO your entire party.
In the run, the fight menu is clicked because it's necessary to avoid the game killing you. It's necessary to encounter a L2 Pidgey when doing the glitch. All other pokemon that appear there, except L2 Rattata, make the game crash when you take the shortest path back. Rattata's cry is longer than Pidgey's though, encountering it would make the run longer.

GabCM: Added YouTube module.
Flygon: Added point-based YouTube module, Mister Epic, you deserve that name, because you're friggin' epic! *hugs the epic Epic tightly* :3!
Flygon: Just some formatting related business regarding the modules, should look cleaner now.
Also, added download link for point encode, I encourage GabCM to upload my point upload to his Archive collection, as well as his HQ encode.

Nach: Accepting as improvement to existing run.
sgrunt: Since nobody else has apparently done a standard encode of this, I'll do so. Apparently I missed GabCM's encode. Either way, this will be published as soon as I grab a screenshot. Can't use GabCM's encode - it has a bad aspect ratio flag. I'll encode this myself as previously stated.
Last Edited by adelikat on 9/20/2023 2:10 PM
Page History Latest diff List referrers