summaryrefslogtreecommitdiff
path: root/src/battle/anim/ghost.c
diff options
context:
space:
mode:
authorGarak <thomastaps194@comcast.net>2018-07-07 20:50:41 -0400
committerGitHub <noreply@github.com>2018-07-07 20:50:41 -0400
commit6c5d1c4a3de2f1a2d1855a542a6a5d53e4daf936 (patch)
treee9a140e919d72891ea825b64fc72a9cfa175ce88 /src/battle/anim/ghost.c
parentc4cc1522c86ec240c53c75455b650b1c69b2d5a4 (diff)
parent9238533346fd97c67e48fee33a204d1e8e2dd0a7 (diff)
Merge pull request #9 from pret/master
sync with source repo
Diffstat (limited to 'src/battle/anim/ghost.c')
-rw-r--r--src/battle/anim/ghost.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle/anim/ghost.c b/src/battle/anim/ghost.c
index 52d9c7e72..c11cea5a0 100644
--- a/src/battle/anim/ghost.c
+++ b/src/battle/anim/ghost.c
@@ -242,7 +242,7 @@ static void sub_80DDBD8(struct Sprite *sprite)
s16 r0;
s16 r2;
sub_80DDCC8(sprite);
- if (TranslateAnimSpriteByDeltas(sprite))
+ if (TranslateAnimLinear(sprite))
{
sprite->callback = sub_80DDC4C;
return;
@@ -265,7 +265,7 @@ static void sub_80DDC4C(struct Sprite *sprite)
s16 r2;
s16 r0;
sprite->data[0] = 1;
- TranslateAnimSpriteByDeltas(sprite);
+ TranslateAnimLinear(sprite);
sprite->pos2.x += Sin(sprite->data[5], 10);
sprite->pos2.y += Cos(sprite->data[5], 15);