Updated Improve Partner Battle Code (markdown)

Scyrous 2024-10-06 19:06:10 +02:00
parent d2e14c0893
commit bbc8dbc459

@ -69,7 +69,7 @@ In `src\battle_script_commands.c`, edit `Cmd_getexp` (case 2):
gBattleScripting.getexpState = 5;
gBattleMoveDamage = 0; // used for exp
```
This is arguably the most important change: ensuring that the partner's Pokémon dont gain experience. In the vanilla game, under rare circumstances, Steven's Metang can actually level up. If cheats are applied that multiply experience gained, Steven's Pokémon might even evolve or learn new moves, causing the game to treat them as if they belong to the player. While this can't happen in the vanilla game, modifying Steven's party or adding more partner battles can cause these issues to occur. As of Generation 4, partner Pokémon dont gain experience for this very reason. It just makes the whole mechanic a lot more flexible.
This is arguably the most important change: ensuring that the partner's Pokémon dont gain experience. In the vanilla game, under rare circumstances, Steven's Metang can actually level up. If cheats are applied that multiply experience gained, Steven's Pokémon might even evolve or learn new moves, causing the game to treat them as if they belong to the player. While this can't happen in the vanilla game, modifying Steven's party or adding more partner battles can cause these issues to occur. As of generation 4, partner Pokémon don't gain experience whatsoever. Ultimately, this change just makes the whole mechanic a lot more flexible.
***
## 4. Ensure player's Pokémon get 100% of the experience