summaryrefslogtreecommitdiff
path: root/src/battle/anim/seed.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-07-05 20:53:40 -0500
committerMarcus Huderle <huderlem@gmail.com>2018-07-05 19:12:20 -0700
commit99c98097753008b1f824a676b36f34ac2857effe (patch)
treecff85e4c569e337f087d62314122209929195d92 /src/battle/anim/seed.c
parentc63e00f47a5d3388a149fdbd8b6cbd8c138e8494 (diff)
Decompile battle_anim_813F0f4.s
Diffstat (limited to 'src/battle/anim/seed.c')
-rw-r--r--src/battle/anim/seed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle/anim/seed.c b/src/battle/anim/seed.c
index 11eebada0..bf8142a49 100644
--- a/src/battle/anim/seed.c
+++ b/src/battle/anim/seed.c
@@ -61,13 +61,13 @@ void AnimLeechSeed(struct Sprite* sprite)
sprite->data[2] = GetBattlerSpriteCoord(gAnimBankTarget, 0) + gBattleAnimArgs[2];
sprite->data[4] = GetBattlerSpriteCoord(gAnimBankTarget, 1) + gBattleAnimArgs[3];
sprite->data[5] = gBattleAnimArgs[5];
- InitAnimSpriteTranslationOverDuration(sprite);
+ InitAnimArcTranslation(sprite);
sprite->callback = AnimLeechSeedStep;
}
static void AnimLeechSeedStep(struct Sprite* sprite)
{
- if (TranslateAnimSpriteLinearAndSine(sprite))
+ if (TranslateAnimArc(sprite))
{
sprite->invisible = 1;
sprite->data[0] = 10;