Re: Arbitrary code execution in Red/Blue using the "8F" item
Posted by: Torchickens
Date: 2013-12-07 07:52:50
My item pointer table dumper shows that the valid items point to what they should.
Remember that because of Gen I's broken pointer arithmetic, item with ID $80 acts like $00, $81 like $01, $82 like $02, etc., and your pointer table dumper should take that into account. This would mean that $BB acts like $3B. $3B is an unused 'Coin' item, and that would explain everything, since it's programmed to do nothing.
Japanese Yellow has item $63 (''), which jumps to $D9B2 - number of Pokemon in the current box. Interestingly enough, on English Yellow, item $63 is 'ws m'…
My ROM (telling by the checksum) seems to be v1.0.
It has an improperly terminated name, so it causes all those wonderful Super Glitch effects, unless its name is made harmless (method of doing this is the same as in international releases)
<offtop>Suddenly, when I wasn't looking, my thread became popular like chocolate ;p</offtop>
Interesting, TheZZAZZGlitch. I never knew that.
Thanks for coming to the rescue! It's pretty cool that '' happens to be the equivalent of 'w sm' because that is one of the 'mysterious unused text' from Red/Green; ShellBadge.
Btw, I believe that in v1.1 and v1.2 it just locks up in battle on the items list with the white arrow pointer.
I just tested them now. It seems to have a completely different name on Rev A and B ('ぴま'), instead of 'ぐ(down arrow)へ' and viewing its name doesn't cause characters to be shown the bottom of the screen.
The battle corruption works in all versions, but you have to press A again after the cursor has gone white. Haven't tested if the Pokémon you get are the same.
Incidentally $BB has a pretty cool effect on my save. It causes some memory corruption in battle and turns the enemy into a level 127 hex: 38 Ketsuban
It has an improperly terminated name, so it causes all those wonderful Super Glitch effects, unless its name is made harmless (method of doing this is the same as in international releases)
<offtop>Suddenly, when I wasn't looking, my thread became popular like chocolate ;p</offtop>
It doesn't seem to have an improperly terminated name in Rev A and Rev B and it still causes corruption.