Re: Arbitrary code execution in Red/Blue using the "8F" item
Posted by: Misdreavus
Date: 2017-11-13 17:06:25
Actually,I sent you the wrong code by mistake. Sorry, here's the new code:I'm trying to max my Special DV. I have my pack set up as follows:
Hp EV:
Lemonade x??
Thunderstone x124
TM 09 x34
Awakening x??
Poke Ball x121
Burn Heal x119
TM 01 xAny
(My original code only allowed for both bytes to be changed to the same value)
To do the conversions, first convert the desired value into hex. In 40000, that would be $9C40. Then take the high byte ($9c), convert it to decimal (156), and have that value be the lemonade quantity. Do the same with the low byte, and put the result into the Awakening quantity.
So HP EV 40000 would be:
Lemonade x156
Thunderstone x124
TM 09 x34
Awakening x64
Poke Ball x121
Burn Heal x119
TM 01 xAny
Bicycle
8F
Lemonade x255
Thunderstone x132
TM09 x34
Awakening x255
Poke Ball x121
Burn Heal x119
TM01 x1
…
Then I use 8F, but the Special stat of the L7 Chansey in my box (the only Pokémon in that box) doesn't change, when it should be changing from 21 (untrained) to 26 (maxed).
Do I have the right setup, or am I doing something wrong?