summaryrefslogtreecommitdiff
path: root/src/ice.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2019-09-04 17:06:59 -0400
committerGitHub <noreply@github.com>2019-09-04 17:06:59 -0400
commit4a0cad80b0b8193b840f34b6602ae6325ed95622 (patch)
tree11e47cdd912c84e8ebdac0b991ac6d1bbc4ab26d /src/ice.c
parent5f457dd4590cfbb664e37357632918030b3c360f (diff)
Use B_SIDE constants
Also includes a CHAR_X constant use for X items
Diffstat (limited to 'src/ice.c')
-rw-r--r--src/ice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ice.c b/src/ice.c
index 8f0c97d82..4dbf5c4df 100644
--- a/src/ice.c
+++ b/src/ice.c
@@ -735,7 +735,7 @@ void AnimSwirlingSnowball_Step2(struct Sprite *sprite)
void AnimSwirlingSnowball_Step3(struct Sprite *sprite)
{
s16 tempVar;
- tempVar = GetBattlerSide(gBattleAnimAttacker) != 0 ? 20 : -20;
+ tempVar = GetBattlerSide(gBattleAnimAttacker) != B_SIDE_PLAYER ? 20 : -20;
if (sprite->data[5] <= 31)
{