mirror of https://github.com/pret/pokeemerald.git
typo
parent
b7c4d7c19f
commit
d2e14c0893
|
@ -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):
|
||||
```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)
|
||||
-if (GetMonData(&gPlayerParty[i], MON_DATA_SPECIES) == SPECIES_NONE || GetMonData(&gPlayerParty[i], MON_DATA_HP) == 0)
|
||||
continue;
|
||||
if (gBitTable[i] & sentIn)
|
||||
viaSentIn++;
|
||||
|
|
Loading…
Reference in New Issue