summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorLOuroboros <lunosouroboros@gmail.com>2020-12-12 12:09:26 -0300
committerLOuroboros <lunosouroboros@gmail.com>2020-12-12 12:18:56 -0300
commit55bc2b4bb943d3c7d4e3c94609777df335db8cf2 (patch)
treea28749b41d57f948244a310953ee9ec3d6d3f2d2 /src/battle_script_commands.c
parent52b7576a5e636c4bfe6e5c212515d17bdc4bcac0 (diff)
Corrected small inconsistency in move flag names
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 d43ddd5a2..53d8be47c 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -953,7 +953,7 @@ static void Cmd_attackcanceler(void)
gHitMarker |= HITMARKER_OBEYS;
- if (gProtectStructs[gBattlerTarget].bounceMove && gBattleMoves[gCurrentMove].flags & FLAG_MAGICCOAT_AFFECTED)
+ if (gProtectStructs[gBattlerTarget].bounceMove && gBattleMoves[gCurrentMove].flags & FLAG_MAGIC_COAT_AFFECTED)
{
PressurePPLose(gBattlerAttacker, gBattlerTarget, MOVE_MAGIC_COAT);
gProtectStructs[gBattlerTarget].bounceMove = 0;