Quote:
Originally Posted by Morlak
Question #1
Based on DjTiki's evolving encounters/battling.
▪How can we change the level of a pokemon(of a trainer,of an area)?
More details:
♦Run-time
♦It will follow this algorithm:
1)check a flag
2)if flag=1,change Pokémon level
|
Since this is based twoards me, I guess I should answer this part of the question.
First off, I didn't make the algorithm for "Evolving Encounters/Battling", JPAN made it with his Hacked Engine. So don't give me any credit for it, it was simply an idea.
Second, to do this, you obviously need Fire Red Hacked Engine. When you get it, make sure to
read the documentation enclosed and expand your ROM to have the algorithm inserted. Okay so implemenation:
The algorithm is on the basis of Variables, not exactly flags. The variables I use is 0x4051(Wild) and 0x4052(Trainers), as the documentation told me to. So to do this, you would just do the following, let's say we want to change something depending on what badge you have in possession, all you would do is simply put a checkflag script followed by the variable and its value, in simpler terms:
That was a crappy script I made out the top of my head, but I hope you get the idea. The var will be set for ALL trainers to be one level higher, until you alter the value of it, by putting it to its default 0x0 value, which should make everything normal again. I would suggest making a habit of before every trainer battle to set the var, then set it back to its default, afterwards.