- 14
- Posts
- 11
- Years
- Seen Jan 1, 2025
I'd like to remove badge boosts from Pokered. How do I do this?
At first it seemed easy with core.asm, where it seems I could just remove a call ApplyBadgeStatBoosts function and the entire function itself. The problem is that in effects.asm the function's also used for .applyBadgeBoostsAndStatusPenalties and it's a bit too complicated for me to see what I can do with it there without messing up the rest.
1 thing I'm wondering is if I could succesfully remove all badge boosts by, in ApplyBadgeStatBoosts in core.asm, editing ( ret z ; return if link battle ) to ( ret nz ; return if link battle ). Would that make the ApplyBadgeStatBoosts function in a regular battle like it does in a link battle, and invalidate all badge boosts as a result? Or would that do the opposite (applying badge boosts to link battles)?
At first it seemed easy with core.asm, where it seems I could just remove a call ApplyBadgeStatBoosts function and the entire function itself. The problem is that in effects.asm the function's also used for .applyBadgeBoostsAndStatusPenalties and it's a bit too complicated for me to see what I can do with it there without messing up the rest.
1 thing I'm wondering is if I could succesfully remove all badge boosts by, in ApplyBadgeStatBoosts in core.asm, editing ( ret z ; return if link battle ) to ( ret nz ; return if link battle ). Would that make the ApplyBadgeStatBoosts function in a regular battle like it does in a link battle, and invalidate all badge boosts as a result? Or would that do the opposite (applying badge boosts to link battles)?