Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.

Arbitrary Code Execution Discussion

Pokémon Yellow in 0x A-presses or even 0x any button - Page 1

Pokémon Yellow in 0x A-presses or even 0x any button

Posted by: Torchickens
Date: 2017-08-30 09:37:55
This is a way to beat Pokémon Yellow in 0x A-presses using an external device, and a theory on how to beat Pokémon Yellow with no A-presses without any external device.

1. Use cart-swap arbitrary code execution and OAM DMA hijacking to change C57E to 87. After "Game Freak" appears, the game should jump right into a file as if Continue or New Game was chosen.
2. Have other addresses manipulated at the same time to trigger the Hall of Fame script.

;as such:

D164: FF ('good' party to avoid many glitch Pokémon entries)
D36D: 1D D3 (map script is in inventory)

@D31D:
0E 16 26 64 2E 56 41 CD 84 3E C9

3. Mash B.
4. Congratulations, you just won Pokémon Yellow with no A-presses!

Maybe as well you could run the credits without having to press anything if we just use a different address to run at D31D.

Technically you need to press buttons on another game to set this up of course, but that's probably as far as we'll go without ROM hacking/physical hijacking of the game.

You can also use a GameShark and enter the following codes:

01FF64D1
01C927D3
013E26D3
018425D3
01CD24D3
014123D3
015622D3
012E21D3
016420D3
01261FD3
01161ED3
010E1DD3
01D36ED3
011D6DD3
01877EC5

Hope TheZZAZZGlitch likes this if he sees it. :)

Re: Pokémon Yellow in 0x A-presses or even 0x any button

Posted by: Parzival
Date: 2017-08-30 16:32:13
Um…
This breaks a few rules set in the second video.
Mainly, no external devices, which I'm sure goes toward cartswap.

Re: Pokémon Yellow in 0x A-presses or even 0x any button

Posted by: jfb1337
Date: 2017-08-31 06:25:07
Or perhaps the rule that if multiple games are used, each one has to start from a blank save file, and total A presses are counted over all games used

Re: Pokémon Yellow in 0x A-presses or even 0x any button

Posted by: Parzival
Date: 2017-08-31 07:52:13
This'd render the post useless.

Re: Pokémon Yellow in 0x A-presses or even 0x any button

Posted by: ISSOtm
Date: 2017-08-31 17:59:42
The actual question is how "external" is defined ; since the other cartridge is "legit" licensed hardware, I believe this doesn't count, in the same way as linking two cartridges together.
However, on the topic of using two carts, it had been deemed that the number of A presses would be counted towards both carts.

Re: Pokémon Yellow in 0x A-presses or even 0x any button

Posted by: Krys3000
Date: 2017-09-01 05:44:25

This'd render the post useless.


With all due respect, I wouldn't say that. Torchickens posted a thread for theory discussion and it's still interesting though.

Regardless of what she proposed, in my opinion, no debate thread is useless :)

Re: Pokémon Yellow in 0x A-presses or even 0x any button

Posted by: Parzival
Date: 2017-09-01 09:21:29


This'd render the post useless.


With all due respect, I wouldn't say that. Torchickens posted a thread for theory discussion and it's still interesting though.

Regardless of what she proposed, in my opinion, no debate thread is useless :)
I meant from a practicality point, it's unusable due to the rules of the challenge. Theory-wise, though, yes, it's a good post. Probably should've clarified that in the earlier post. xD


The actual question is how "external" is defined ; since the other cartridge is "legit" licensed hardware, I believe this doesn't count, in the same way as linking two cartridges together.
However, on the topic of using two carts, it had been deemed that the number of A presses would be counted towards both carts.
Which would most likely only extend the number of button presses far enough to make it unusable.

Re: Pokémon Yellow in 0x A-presses or even 0x any button

Posted by: Krys3000
Date: 2017-09-02 06:56:43
Okay Parzival, no prob  ;)