mirror of
https://github.com/rh-hideout/pokeemerald-expansion.git
synced 2026-04-26 02:14:22 -05:00
Fix Aqua Ring animation (#8707)
Co-authored-by: Hedara <hedara90@gmail.com>
This commit is contained in:
parent
3a8fdf9fad
commit
f10d722af7
|
|
@ -1043,14 +1043,14 @@ gBattleAnimGeneral_AquaRingHeal::
|
|||
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 12, 0, 25, 0
|
||||
setalpha 8, 8
|
||||
playsewithpan SE_M_MILK_DRINK, SOUND_PAN_ATTACKER
|
||||
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 0
|
||||
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 0, FALSE
|
||||
delay 4
|
||||
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 0
|
||||
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 0, FALSE
|
||||
delay 4
|
||||
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 0
|
||||
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 0, FALSE
|
||||
waitforvisualfinish
|
||||
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
||||
createvisualtask AnimTask_BlendColorCycle, 2, F_PAL_ATK_SIDE, 0, 2, 0, 10, RGB_WHITE
|
||||
createvisualtask AnimTask_BlendColorCycle, 2, F_PAL_ATTACKER, 0, 2, 0, 10, RGB_WHITE
|
||||
waitforvisualfinish
|
||||
clearmonbg ANIM_ATK_PARTNER
|
||||
blendoff
|
||||
|
|
@ -22535,11 +22535,11 @@ gBattleAnimMove_Safeguard::
|
|||
monbg ANIM_ATK_PARTNER
|
||||
setalpha 8, 8
|
||||
playsewithpan SE_M_MILK_DRINK, SOUND_PAN_ATTACKER
|
||||
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 2
|
||||
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 2, TRUE
|
||||
delay 4
|
||||
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 2
|
||||
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 2, TRUE
|
||||
delay 4
|
||||
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 2
|
||||
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 2, TRUE
|
||||
waitforvisualfinish
|
||||
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
||||
createvisualtask AnimTask_BlendColorCycle, 2, F_PAL_ATK_SIDE, 0, 2, 0, 10, RGB_WHITE
|
||||
|
|
|
|||
|
|
@ -3740,9 +3740,10 @@ static void AnimPerishSongMusicNote_Step2(struct Sprite *sprite)
|
|||
}
|
||||
}
|
||||
|
||||
// arg0: cover both battlers
|
||||
static void AnimGuardRing(struct Sprite *sprite)
|
||||
{
|
||||
if (IsDoubleBattle() && IsBattlerSpriteVisible(BATTLE_PARTNER(gBattleAnimAttacker)))
|
||||
if (gBattleAnimArgs[0] && IsDoubleBattle() && IsBattlerSpriteVisible(BATTLE_PARTNER(gBattleAnimAttacker)))
|
||||
{
|
||||
SetAverageBattlerPositions(gBattleAnimAttacker, FALSE, &sprite->x, &sprite->y);
|
||||
sprite->y += 40;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user