diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-10-08 10:38:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-08 10:38:29 -0400 |
commit | e26f9d10d7bebee5ea512fc4729ce6adafec66a0 (patch) | |
tree | b868ba0c0b0618c38064037d840c52971ca10111 /src/battle_util.c | |
parent | 6012cf43cbfc27e37fedae41136e13a62ccdd61c (diff) | |
parent | 6e62c057f5123b458ebc7d74e60c7ce8fb32e980 (diff) |
Merge pull request #1509 from GriffinRichards/doc-sprman
Document remaining symbols in pokemon.c
Diffstat (limited to 'src/battle_util.c')
-rw-r--r-- | src/battle_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_util.c b/src/battle_util.c index 8617134dc..7b47bc994 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -3095,14 +3095,14 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u8 ability, u8 special, u16 moveA case ABILITYEFFECT_FIELD_SPORT: // 14 switch (gLastUsedAbility) { - case 0xFD: + case ABILITYEFFECT_MUD_SPORT: for (i = 0; i < gBattlersCount; i++) { if (gStatuses3[i] & STATUS3_MUDSPORT) effect = i + 1; } break; - case 0xFE: + case ABILITYEFFECT_WATER_SPORT: for (i = 0; i < gBattlersCount; i++) { if (gStatuses3[i] & STATUS3_WATERSPORT) |