Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of an article from Glitch City Laboratories wiki.

A live version of this article is available at the Glitch City Wiki here.

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

You may also download the archive of the wiki in .tar.gz or .xml.gz formats.

ItemDexES/RB:093

Template:ItemInfoGenI

P7 (hex:5D) is a glitch item in the Spanish versions of Pokémon Red and Blue with index number 93. Its behavior is very similar to that of 8F in the English versions of Red and Blue.

Its effect pointer is D163 in WRAM, which is the beginning of the party Pokemon data in memory. Since this is relatively easy to manipulate, P7 is popular for arbitrary code execution.

The setup for bootstrapping is almost exactly the same as that of 8F, except that due to differences in the memory layout,the third item slot is at $D327 instead of $D322. To fix this, the Onix in any 8F bootstrap is usually replaced with a Graveler.