Pokemon Blue: Effects of overflowing the stack with 9F (item 0x5E)  @TheZZAZZGlitch
Pokemon Blue: Effects of overflowing the stack with 9F (item 0x5E)  @TheZZAZZGlitch
TheZZAZZGlitch | Pokemon Blue: Effects of overflowing the stack with '9F' (item 0x5E) @TheZZAZZGlitch | Uploaded February 2015 | Updated October 2024, 4 days ago.
The item '9F' (hex 0x5E) causes the game to jump to the overworld loop without ever returning back to the item menu. This behavior makes the stack, a memory location used to preserve state information between function calls, to increase in size by 10 bytes every time the item is used. Using the item enough times causes the stack to overflow into different memory areas, like current Pokemon box, Daycare data, wild encounter info and more.

Thanks to luckytyphlosion for alerting me of this glitch's existence.

This item could potentially be used as a new way of executing arbitrary code in Gen I games - it should be possible to bring the stack pointer all the way to wild encounter data, use the old man glitch to overwrite top of the stack with the player's name, and manipulate the player's name to contain an address to some useful code.
Pokemon Blue: Effects of overflowing the stack with 9F (item 0x5E)A visit in Corruption World: TetrisPokémon Red/Blue/Yellow - investigating glitch ball toss animationsNyanmega8Pokemon Gold - WTF?Pokemon Yellow ASM hack: Debug menuPokemon Blue: Running homebrew software with 8F arbitrary code executionPokemon Blue - Random Glitching And Hacking 9Pokémon R/B/Y: Memory corruption effects of glitch textboxesPokémon Gen I ABC - several improvements (47x A presses)Pokémon R/B/Y: Extended Super Glitch corruptions (or: on maximum length of Super Glitch corruptions)Pokemon Blue: Random Glitching And Hacking 8

Pokemon Blue: Effects of overflowing the stack with '9F' (item 0x5E) @TheZZAZZGlitch

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER