From 0a16dd0df08213b58a804b0711a7fdeb79377ce6 Mon Sep 17 00:00:00 2001 From: ultima-soul Date: Sun, 7 Apr 2019 14:19:02 -0700 Subject: Decompile/port rest of battle_anim plus fix 1 NONMATCHING. --- src/battle/anim/musical.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/battle/anim/musical.c') diff --git a/src/battle/anim/musical.c b/src/battle/anim/musical.c index 5e4e3e97b..1e559d975 100644 --- a/src/battle/anim/musical.c +++ b/src/battle/anim/musical.c @@ -265,7 +265,7 @@ static void sub_80CEC1C(struct Sprite* sprite) if ((u32)((c + 16) << 16) > (0x110) << 16 || a < -16 || a > 0x80) { - move_anim_8074EE0(sprite); + DestroySpriteAndMatrix(sprite); } else { @@ -322,7 +322,7 @@ static void sub_80CED78(struct Sprite* sprite) } if (++sprite->data[0] == 0x30) - move_anim_8074EE0(sprite); + DestroySpriteAndMatrix(sprite); } // drum (using hands to slap the Pokemon's belly in a rhythm.) -- cgit v1.2.3