summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorMeowsy <Meowsy@users.noreply.github.com>2018-12-17 12:28:11 -0500
committerMeowsy <Meowsy@users.noreply.github.com>2018-12-17 12:28:11 -0500
commit62c4379a217d10ea0224f31d83c89177be119822 (patch)
treedd10a53b0a96087d7375dd497607ff2e389a5841 /src/battle_script_commands.c
parent83c3f136551bc79bfffb4630469cc79c9f06951c (diff)
Remove magic numbers.
Diffstat (limited to 'src/battle_script_commands.c')
-rw-r--r--src/battle_script_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c
index 475b16c98..f1e7143dc 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -8648,7 +8648,7 @@ static void atkAE_healpartystatus(void)
u16 species = GetMonData(&party[i], MON_DATA_SPECIES2);
u8 abilityBit = GetMonData(&party[i], MON_DATA_ALT_ABILITY);
- if (species != 0 && species != SPECIES_EGG)
+ if (species != SPECIES_NONE && species != SPECIES_EGG)
{
u8 ability;