#include "macros/btlanimcmd.inc"

L_0:
    Func_FadeBg FADE_BG_TYPE_BASE, 1, 0, 12, BATTLE_COLOR_BLACK
    WaitForAnimTasks
    LoadParticleResource 0, icy_wind_spa
    CreateEmitter 0, 0, 17
    BtlAnimCmd_055 0, 2, 6, 5, 0, 0
    PlayLoopedSoundEffectC SEQ_SE_DP_W016B, 2, 14
    CreateEmitter 0, 1, 17
    BtlAnimCmd_055 0, 2, 6, 5, 0, 0
    Delay 20
    CreateEmitter 0, 2, 20
    Func_Shake 2, 0, 1, 10, BATTLE_ANIM_BATTLER_SPRITE_DEFENDER
    Func_Shake 2, 0, 1, 10, BATTLE_ANIM_BATTLER_SPRITE_DEFENDER_PARTNER
    Func_FadeBattlerSprite BATTLE_ANIM_DEFENDER, 0, 2, BATTLE_COLOR_WHITE, 14, 0
    Func_FadeBattlerSprite BATTLE_ANIM_DEFENDER_PARTNER, 0, 2, BATTLE_COLOR_WHITE, 14, 0
    Delay 10
    PlayLoopedSoundEffectR SEQ_SE_DP_W258, 4, 4
    Delay 50
    Func_FadeBg FADE_BG_TYPE_BASE, 1, 12, 0, BATTLE_COLOR_BLACK
    WaitForAnimTasks
    WaitForAllEmitters
    UnloadParticleSystem 0
    StopSoundEffect SEQ_SE_DP_W016B
    End
