#include "macros/btlanimcmd.inc"

L_0:
    LoadParticleResource 1, pound_spa
    LoadParticleResource 0, endeavor_spa
    PlayLoopedSoundEffectL SEQ_SE_DP_W039, 20, 4
    CreateEmitter 0, 2, 3
    BeginLoop 4
    Func_FadeBattlerSprite BATTLE_ANIM_ATTACKER, 0, 1, BATTLE_COLOR_YELLOW, 6, 
    Func_ScaleBattlerSprite BATTLE_ANIM_BATTLER_SPRITE_ATTACKER, 100, 120, 100, 80, 100, CYCLES(1), SCALE_F(4) | RESTORE_F(4)
    Delay 7
    CreateEmitter 1, 1, 4
    CreateEmitter 1, 1, 4
    Func_ScaleBattlerSprite BATTLE_ANIM_BATTLER_SPRITE_ATTACKER, 100, 80, 100, 140, 100, CYCLES(1), SCALE_F(4) | RESTORE_F(4)
    Func_Shake 1, 0, 1, 2, BATTLE_ANIM_BATTLER_SPRITE_DEFENDER
    Delay 3
    PlaySoundEffectR SEQ_SE_DP_030
    Delay 4
    EndLoop
    WaitForAllEmitters
    UnloadParticleSystem 0
    End
