mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-19 12:08:34 +01:00
Change the ability popup sound
This commit is contained in:
parent
3448e19275
commit
3ae783aa16
@ -3088,7 +3088,7 @@ static void SpriteCb_AbilityPopUp(struct Sprite *sprite)
|
|||||||
if (!sprite->tHide) // Show
|
if (!sprite->tHide) // Show
|
||||||
{
|
{
|
||||||
if (sprite->tIsMain && ++sprite->tFrames == 4)
|
if (sprite->tIsMain && ++sprite->tFrames == 4)
|
||||||
PlaySE(SE_SELECT);
|
PlaySE(SE_BALL_TRAY_ENTER);
|
||||||
if ((!sprite->tRightToLeft && (sprite->pos1.x -= 4) <= sprite->tOriginalX)
|
if ((!sprite->tRightToLeft && (sprite->pos1.x -= 4) <= sprite->tOriginalX)
|
||||||
|| (sprite->tRightToLeft && (sprite->pos1.x += 4) >= sprite->tOriginalX)
|
|| (sprite->tRightToLeft && (sprite->pos1.x += 4) >= sprite->tOriginalX)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user