- 183
- Posts
- 7
- Years
- Seen Jan 22, 2025
Well, I actually managed to get to change Trainer's Pokémon's abilities to what I want, that being the first, the second or the hidden one.
but the first Pokémon that's send to battle, doesnt have any ability (checked with the debug menu from the pokemon expansion) and all the other ones do have the abilities that I want.
and, the wild pokémon also loose their abilities... but they gain them back when i caught them
in battle_main.c
in the four cases (the "itemdefault" and stuff ones)
SetMonData(&party, MON_DATA_ABILITY_NUM, &partyData.abilityNums);
in include/data.h
u16 abilityNums;
in the trainer_parties.h thing
in all pokemon for all trainers
.abilityNums = (ability),
the pokemon we send out also looses its ability
What am I doing wrong?
EDIT: Solved! something seemed to mess with battle engine v2 from dizzy eggg and this weird thing happened...
but the first Pokémon that's send to battle, doesnt have any ability (checked with the debug menu from the pokemon expansion) and all the other ones do have the abilities that I want.
and, the wild pokémon also loose their abilities... but they gain them back when i caught them
in battle_main.c
in the four cases (the "itemdefault" and stuff ones)
SetMonData(&party, MON_DATA_ABILITY_NUM, &partyData.abilityNums);
in include/data.h
u16 abilityNums;
in the trainer_parties.h thing
in all pokemon for all trainers
.abilityNums = (ability),
the pokemon we send out also looses its ability
What am I doing wrong?
EDIT: Solved! something seemed to mess with battle engine v2 from dizzy eggg and this weird thing happened...
Last edited: