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

Verifying 8F code - Page 1

Verifying 8F code

Posted by: MewFlare
Date: 2017-11-27 13:19:49
A while back (months ago), I came across an 8F code that will change a Pokemons move, but I cant recall where I found it. I do have it written down though, but Im not sure which move slot it would change or what move it would become. All I do remember is that it will affect the Pokémon in the first slot of the current box.

The code is-

Any item x any amount
8F
Lemonade x 125
X Accuracy x 158
Carbos x 218
Poke Ball x 119
Fresh Water x 201

Thanks for the help!

Re: Verifying 8F code

Posted by: ISSOtm
Date: 2017-11-27 14:46:57
It edits $DA9E, thus the first move slot.

Re: Verifying 8F code

Posted by: Couldntthinkofaname
Date: 2017-11-27 14:48:36
The aforementioned item code would change Stored Pokémon 1's first move into Bone Club.




The ASM translates to the following:

ld a,$7D
ld l,$9E
ld h,$DA
inc b
ld (hl),a
inc a
ret

Re: Verifying 8F code

Posted by: MewFlare
Date: 2017-11-27 15:04:08
Which item would I have to change to change the move? (Bone Club into Mega Kick, for example)

Re: Verifying 8F code

Posted by: Couldntthinkofaname
Date: 2017-11-27 15:04:45

Which item would I have to change to change the move? (Bone Club into Mega Kick, for example)


You would alter the quantity of the Lemonade.

For Mega Kick, the Lemonade quantity would be 25.

Re: Verifying 8F code

Posted by: MewFlare
Date: 2017-11-27 15:25:00
Thanks :)

Re: Verifying 8F code

Posted by: Krys3000
Date: 2017-11-28 01:35:24
Happy that your problem was solved :)

To be able to solve alone this kind of issues without having to wait for an answer, you can read this, starting at paragraph 2: http://forums.glitchcity.info/index.php?topic=6638.msg207787#msg207787

Maybe we need a newcomer's guide to 1G ACE too!