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

Item hex:71 in Pokemon Yellow acting like 8F in Red/Blue - Page 1

Item hex:71 in Pokemon Yellow acting like 8F in Red/Blue

Posted by: metalmario32
Date: 2019-07-29 16:00:36
The hex:71 item (Gn#Sl) in Yellow executes code from D11D, which is somewhere in the battle data region. This area is zeroed out upon reset, so it can fall to D162 (party data). Here's a bootstrap to redirect code to the third item:

* 6 Pokemon in the party
* Growlithe as the 1st Pokemon
* Jolteon with 233 HP as the 2nd Pokemon
* Pidgey as the 3rd and 4th Pokemon
* Tentacool as the 5th Pokemon
* Parasect/Psyduck as the 6th Pokemon