diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2019-09-04 17:45:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-04 17:45:04 -0400 |
commit | c647a8329f41c8329653f0017a20f247a8c80746 (patch) | |
tree | bc9ff69796e9346db34b025e4554775ac111b7c8 /src/battle_gfx_sfx_util.c | |
parent | 4a0cad80b0b8193b840f34b6602ae6325ed95622 (diff) |
Use gBattlerPositions constants
Diffstat (limited to 'src/battle_gfx_sfx_util.c')
-rw-r--r-- | src/battle_gfx_sfx_util.c | 2 |
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); |