Pokémon Fire Red Hacked Engine
View Single Post
May 29th, 2010 (7:11 AM).
Join Date: Mar 2010
How do you set one variable to a value, and then change it to another value?
I am using the Fire Red Hacked engine, and I used this code which changes the level of the Pokémon a gym leader has to three levels higher than your highest level Pokémon.
setvar 0x4052 0x203
trainerbattle 0x1 etc
setvar 0x4052 0x0
The var first gets set to the value that makes the Pokélevels what I wanted them to be, which worked. But after the battle, all trainer Pokémon levels are still 3 levels higher than my highest level Pokémon. If the value of 4052 is 0, it should cancel the change?
View Public Profile
Send a private message to Nikolai Fox
Find all posts by Nikolai Fox
Find threads started by Nikolai Fox