summaryrefslogtreecommitdiff
path: root/src/ground.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-02-20 00:04:42 -0500
committerhuderlem <huderlem@gmail.com>2020-02-25 12:54:08 -0600
commitafa1ae220965ea6453a9e1a21fb211de280c41c8 (patch)
tree450c8cf74b8cc25ed868b1dd34266598c236affc /src/ground.c
parente633b57593df806e1ae04d575f005d3fc4172d25 (diff)
Finish documenting move anim scripts
Diffstat (limited to 'src/ground.c')
-rw-r--r--src/ground.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ground.c b/src/ground.c
index c86d4731b..4e4ca1785 100644
--- a/src/ground.c
+++ b/src/ground.c
@@ -737,12 +737,12 @@ void AnimTask_IsPowerOver99(u8 taskId)
DestroyAnimVisualTask(taskId);
}
-void sub_8115628(u8 taskId)
+void AnimTask_PositionFissureBgOnBattler(u8 taskId)
{
struct Task *newTask;
- u8 battler = (gBattleAnimArgs[0] & 1) ? gBattleAnimTarget : gBattleAnimAttacker;
+ u8 battler = (gBattleAnimArgs[0] & ANIM_TARGET) ? gBattleAnimTarget : gBattleAnimAttacker;
- if (gBattleAnimArgs[0] > 1)
+ if (gBattleAnimArgs[0] > ANIM_TARGET)
battler ^= 2;
newTask = &gTasks[CreateTask(sub_81156D0, gBattleAnimArgs[1])];