summaryrefslogtreecommitdiff
path: root/src/pokemon.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-03-17 08:34:03 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-03-17 08:34:03 -0400
commita172f0064c1936fbac56a02ccb386ce16a4edfb2 (patch)
tree8e1d971fc5494bc6abaeea3c277ccd182cb7597c /src/pokemon.c
parent4d86834d12f788d78ec0ae9fc4ba999f7a0e1fc7 (diff)
Fix accidental ++ deletion
Diffstat (limited to 'src/pokemon.c')
-rw-r--r--src/pokemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokemon.c b/src/pokemon.c
index 6eeb31682..ae95cab41 100644
--- a/src/pokemon.c
+++ b/src/pokemon.c
@@ -4597,7 +4597,7 @@ bool8 PokemonItemUseNoEffect(struct Pokemon *mon, u16 item, u8 partyIndex, u8 mo
}
if (GetMonData(mon, MON_DATA_MAX_HP, NULL) != GetMonData(mon, MON_DATA_HP, NULL))
retVal = FALSE;
- idx;
+ idx++;
curEffect &= ~(ITEM4_REVIVE >> 2);
break;
case 3: