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

Another way to use items in link battles (theory) - Page 1

Another way to use items in link battles (theory)

Posted by: Torchickens
Date: 2019-01-27 11:22:55
Certain D05A (battle style) values suppress the 'no items can be used here' message forced by D12B (wLinkState).

Hence the general idea is to cause the game to write a glitch D05A value in battle which doesn't bring up a preset inventory or the Safari Zone interface.

This will let you autoselect the first bag item, including e.g. 4F for arbitrary code execution or any in-battle item.

Possibly this can be done with either participants glitch or Super Glitch corruptions.

Participants glitch video:
https://www.youtube.com/watch?v=f7U2MWdCH8k

Re: Another way to use items in link battles (theory)

Posted by: Torchickens
Date: 2019-01-27 14:35:19
OK, I tested this in a real link battle rather than just modified D12B. Unfortunately it didn't work. But the concept of stealing your foe's Pokémon is fun so will try to do it in a different way to Crystal_ (who used CoolTrainer's effect for linked ACE).