Merge pull request #1524 from Jaizu/patch-13

Change the ability popup sound
This commit is contained in:
ghoulslash
2021-06-08 08:41:41 -06:00
committed by GitHub

View File

@@ -3080,7 +3080,7 @@ static void SpriteCb_AbilityPopUp(struct Sprite *sprite)
if (!sprite->tHide) // Show
{
if (sprite->tIsMain && ++sprite->tFrames == 4)
PlaySE(SE_SELECT);
PlaySE(SE_BALL_TRAY_ENTER);
if ((!sprite->tRightToLeft && (sprite->pos1.x -= 4) <= sprite->tOriginalX)
|| (sprite->tRightToLeft && (sprite->pos1.x += 4) >= sprite->tOriginalX)
)