summaryrefslogtreecommitdiff
path: root/src/battle_gfx_sfx_util.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2019-09-17 00:10:23 -0400
committerGitHub <noreply@github.com>2019-09-17 00:10:23 -0400
commit945d3d3a27f6e5005e5481bb2ad36f1a2a220d3d (patch)
tree7dc8f5a21c6bb7640aad82de03a314b0e919f3b2 /src/battle_gfx_sfx_util.c
parentf4160ded9897f65e5ee7fa7050d195dfaa5bf5b2 (diff)
parent06af24bce58b9285166d27fc371ad3c3dbb63a29 (diff)
Merge branch 'master' into document-eventscripts
Diffstat (limited to 'src/battle_gfx_sfx_util.c')
-rw-r--r--src/battle_gfx_sfx_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_gfx_sfx_util.c b/src/battle_gfx_sfx_util.c
index cdd7e8158..de403aec7 100644
--- a/src/battle_gfx_sfx_util.c
+++ b/src/battle_gfx_sfx_util.c
@@ -779,7 +779,7 @@ bool8 BattleInitAllSprites(u8 *state1, u8 *battlerId)
break;
case 4:
InitBattlerHealthboxCoords(*battlerId);
- if (gBattlerPositions[*battlerId] <= 1)
+ if (gBattlerPositions[*battlerId] <= B_POSITION_OPPONENT_LEFT)
DummyBattleInterfaceFunc(gHealthboxSpriteIds[*battlerId], FALSE);
else
DummyBattleInterfaceFunc(gHealthboxSpriteIds[*battlerId], TRUE);