typo

Scyrous 2024-10-06 18:23:46 +02:00
parent b7c4d7c19f
commit d2e14c0893
1 changed files with 1 additions and 1 deletions

@ -76,7 +76,7 @@ This is arguably the most important change: ensuring that the partner's Pokémon
In `src\battle_script_commands.c`, edit `Cmd_getexp` (case 1): In `src\battle_script_commands.c`, edit `Cmd_getexp` (case 1):
```diff ```diff
+if (GetMonData(&gPlayerParty[i], MON_DATA_SPECIES) == SPECIES_NONE || GetMonData(&gPlayerParty[i], MON_DATA_HP) == 0 || GetMonData(&gPlayerParty[i], MON_DATA_LEVEL) == MAX_LEVEL || ((gBattleTypeFlags & BATTLE_TYPE_INGAME_PARTNER) && i >= 3)) +if (GetMonData(&gPlayerParty[i], MON_DATA_SPECIES) == SPECIES_NONE || GetMonData(&gPlayerParty[i], MON_DATA_HP) == 0 || GetMonData(&gPlayerParty[i], MON_DATA_LEVEL) == MAX_LEVEL || ((gBattleTypeFlags & BATTLE_TYPE_INGAME_PARTNER) && i >= 3))
-if (GetMonData(&gPlayerParty[i], MON_DATA_SPECIES) == SPECIES_NONE || GetMonData(&gPlayerParty[i], MON_DATA_HP) -if (GetMonData(&gPlayerParty[i], MON_DATA_SPECIES) == SPECIES_NONE || GetMonData(&gPlayerParty[i], MON_DATA_HP) == 0)
continue; continue;
if (gBitTable[i] & sentIn) if (gBitTable[i] & sentIn)
viaSentIn++; viaSentIn++;