diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-01-23 00:40:46 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-01-23 00:40:46 -0500 |
commit | 3fd5e143a986334985c2c786c324663dbba2db9b (patch) | |
tree | 93c91ab5eaa5d9effc7c79fabf11f9e346f888cd /src/battle_anim_ghost.c | |
parent | a392cca92811c27524f1d10cd69d2fc96ea69b74 (diff) |
Misc battle anim documentation
Diffstat (limited to 'src/battle_anim_ghost.c')
-rw-r--r-- | src/battle_anim_ghost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_anim_ghost.c b/src/battle_anim_ghost.c index 632954351..98d951108 100644 --- a/src/battle_anim_ghost.c +++ b/src/battle_anim_ghost.c @@ -225,7 +225,7 @@ static void AnimConfuseRayBallBounce(struct Sprite *sprite) sprite->data[2] = GetBattlerSpriteCoord(gBattleAnimTarget, 2); sprite->data[3] = sprite->pos1.y; sprite->data[4] = GetBattlerSpriteCoord(gBattleAnimTarget, 3); - sub_80A6FD4(sprite); + InitAnimLinearTranslationWithSpeed(sprite); sprite->callback = AnimConfuseRayBallBounce_Step1; sprite->data[6] = 16; SetGpuReg(REG_OFFSET_BLDCNT, (BLDCNT_EFFECT_BLEND | BLDCNT_TGT2_ALL)); |