- 23
- Posts
- 9
- Years
- Seen Feb 5, 2021
From the FRHE's Instruction Manual
Change Battled Pokémon Level:
Please confirm the ff scripts thanks.(Note: I assume the value that i will insert at yy is not hex. So PLEASE correct me if i'm wrong)
If I want to change the level of wild pokemon to lets say 5.
setvar 0x4051 0xf05
and if to trainer's pokemon, ill just change 0x4051 to 0x4052?
if i want the default setting(I assume this will use a-map's wild pokemon level, and yet correct me if im wrong)
setvar 0x4051 0x0
setvar 0x4052 0x0
Thanks!
Edit:
Delete this thread if possible, thanks.
I did trial and error and got answers to my questions so:
1. The value to be inserted at yy is in hex(actually I only forgot 100 will not fit in yy :) )
2. setvar 0x4051(or your value) 0xf05 will change the level of wild pokemon to 5
3. setvar 0x4051(or your value) 0x0 will use a-map's level thing
Change Battled Pokémon Level:
Spoiler:
One code is set by the content of variable 0x4051. That is the Wild Pokémon Level Switch.
The other is set by the contents of variable 0x4052. That is the Trainer Battle Level Switch.
0x0yy nothing, default setting
0x1yy gets the highest leveled pokémon in the party and sets all trainers pokémon/wild pokémon levels to that value.
0x2yy gets the highest leveled pokémon in the party and sets all trainers pokémon/wild pokémon levels to that value plus yy.
0x3yy gets the highest leveled pokémon in the party and sets all trainers pokémon/wild pokémon levels to that value minus yy.
0x4yy gets the lowest leveled pokémon in the party and sets all trainers pokémon/wild pokémon levels to that value.
0x5yy gets the lowest leveled pokémon in the party and sets all trainers pokémon/wild pokémon levels to that value plus yy.
0x6yy gets the lowest leveled pokémon in the party and sets all trainers pokémon/wild pokémon levels to that value minus yy.
0x7yy adds up all the pokémon levels in your party, makes a weighted average and sets all trainers pokémon/wild pokémon levels to that value.
0x8yy adds up all the pokémon levels in your party, makes a weighted average and sets all trainers pokémon/wild pokémon levels to that value plus yy.
0x9yy adds up all the pokémon levels in your party, makes a weighted average and sets all trainers pokémon/wild pokémon levels to that value minus yy.
0xfyy Sets the pokémon level to yy.
Also, the Wild variable accepts these settings:
0xayy calculates a random number between highest and lowest party level, and makes that the pokémon level.
0xbyy calculates a random number between highest - yy and highest + yy , and makes that the pokémon level.
0xcyy calculates a random number between lowest - yy and lowest + yy, and makes that the pokémon level.
0xdyy calculates a random number between average - yy and average + yy, and makes that the pokémon level.
The other is set by the contents of variable 0x4052. That is the Trainer Battle Level Switch.
0x0yy nothing, default setting
0x1yy gets the highest leveled pokémon in the party and sets all trainers pokémon/wild pokémon levels to that value.
0x2yy gets the highest leveled pokémon in the party and sets all trainers pokémon/wild pokémon levels to that value plus yy.
0x3yy gets the highest leveled pokémon in the party and sets all trainers pokémon/wild pokémon levels to that value minus yy.
0x4yy gets the lowest leveled pokémon in the party and sets all trainers pokémon/wild pokémon levels to that value.
0x5yy gets the lowest leveled pokémon in the party and sets all trainers pokémon/wild pokémon levels to that value plus yy.
0x6yy gets the lowest leveled pokémon in the party and sets all trainers pokémon/wild pokémon levels to that value minus yy.
0x7yy adds up all the pokémon levels in your party, makes a weighted average and sets all trainers pokémon/wild pokémon levels to that value.
0x8yy adds up all the pokémon levels in your party, makes a weighted average and sets all trainers pokémon/wild pokémon levels to that value plus yy.
0x9yy adds up all the pokémon levels in your party, makes a weighted average and sets all trainers pokémon/wild pokémon levels to that value minus yy.
0xfyy Sets the pokémon level to yy.
Also, the Wild variable accepts these settings:
0xayy calculates a random number between highest and lowest party level, and makes that the pokémon level.
0xbyy calculates a random number between highest - yy and highest + yy , and makes that the pokémon level.
0xcyy calculates a random number between lowest - yy and lowest + yy, and makes that the pokémon level.
0xdyy calculates a random number between average - yy and average + yy, and makes that the pokémon level.
Please confirm the ff scripts thanks.(Note: I assume the value that i will insert at yy is not hex. So PLEASE correct me if i'm wrong)
If I want to change the level of wild pokemon to lets say 5.
setvar 0x4051 0xf05
and if to trainer's pokemon, ill just change 0x4051 to 0x4052?
if i want the default setting(I assume this will use a-map's wild pokemon level, and yet correct me if im wrong)
setvar 0x4051 0x0
setvar 0x4052 0x0
Thanks!
Edit:
Delete this thread if possible, thanks.
I did trial and error and got answers to my questions so:
1. The value to be inserted at yy is in hex(actually I only forgot 100 will not fit in yy :) )
2. setvar 0x4051(or your value) 0xf05 will change the level of wild pokemon to 5
3. setvar 0x4051(or your value) 0x0 will use a-map's level thing
Last edited: