- 23
- Posts
- 7
- Years
- Seen Nov 28, 2023
Hi all,
I'm interested in changing trainer Pokémon levels dynamically in the same fashion as is done in the Open level mode in some Battle Frontier facilities. I've tried to see where the level of the opposing Pokémon is set and I have so far found some interesting functions in src/battle_controller_opponent.c and src/pokemon.c: SetOpponentMonData, SetMonData, GetOpponentMonData and GetMonData. I have first just tried to set the level of the opposing Pokémon to 50 (just to see if what I've done is working), but I have not been able to influence the level.
If any of you have better insight as to which function exactly I should try to edit, I would be very grateful. Thank you in advance!
I'm interested in changing trainer Pokémon levels dynamically in the same fashion as is done in the Open level mode in some Battle Frontier facilities. I've tried to see where the level of the opposing Pokémon is set and I have so far found some interesting functions in src/battle_controller_opponent.c and src/pokemon.c: SetOpponentMonData, SetMonData, GetOpponentMonData and GetMonData. I have first just tried to set the level of the opposing Pokémon to 50 (just to see if what I've done is working), but I have not been able to influence the level.
If any of you have better insight as to which function exactly I should try to edit, I would be very grateful. Thank you in advance!