mirror of
https://github.com/rh-hideout/pokeemerald-expansion.git
synced 2026-03-21 18:04:50 -05:00
35605 lines
1.4 MiB
35605 lines
1.4 MiB
#include "config/general.h"
|
|
#include "config/battle.h"
|
|
#include "constants/battle.h"
|
|
#include "constants/battle_anim.h"
|
|
#include "constants/rgb.h"
|
|
#include "constants/songs.h"
|
|
#include "constants/sound.h"
|
|
#include "constants/moves.h"
|
|
#include "constants/pokemon.h"
|
|
#include "constants/items.h"
|
|
.include "asm/macros.inc"
|
|
.include "asm/macros/battle_anim_script.inc"
|
|
.include "constants/constants.inc"
|
|
|
|
.section script_data, "aw", %progbits
|
|
|
|
gBattleAnimGeneral_MonScared::
|
|
createvisualtask AnimTask_SetAttackerTargetLeftPos, 2, 1
|
|
waitforvisualfinish
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_TARGET, delay=2, initial_blend_y=0, target_blend_y=10, color=RGB(0, 23, 25)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 10, 1
|
|
delay 20
|
|
createsprite gSprayWaterDropletSpriteTemplate, ANIM_TARGET, 5, 0, 1
|
|
playsewithpan SE_M_SKETCH, SOUND_PAN_TARGET
|
|
createsprite gSprayWaterDropletSpriteTemplate, ANIM_TARGET, 5, 1, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 5, 1
|
|
createvisualtask AnimTask_StretchTargetUp, 3
|
|
waitforvisualfinish
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_TARGET, delay=2, initial_blend_y=10, target_blend_y=0, color=RGB(0, 23, 25)
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimGeneral_GhostGetOut::
|
|
createvisualtask AnimTask_SetAttackerTargetLeftPos, 2, 1
|
|
waitforvisualfinish
|
|
fadetobg BG_GHOST
|
|
waitbgfadeout
|
|
monbg_static ANIM_ATTACKER
|
|
createvisualtask AnimTask_GhostGetOut, 2
|
|
waitbgfadein
|
|
loopsewithpan SE_M_PSYBEAM, SOUND_PAN_TARGET, 20, 3
|
|
waitforvisualfinish
|
|
clearmonbg_static ANIM_ATTACKER
|
|
delay 2
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_TARGET, delay=-1, initial_blend_y=0, target_blend_y=6, color=RGB(21, 22, 26)
|
|
createsprite gSprayWaterDropletSpriteTemplate, ANIM_TARGET, 5, 0, 1
|
|
createsprite gSprayWaterDropletSpriteTemplate, ANIM_TARGET, 5, 1, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 5, 1
|
|
createvisualtask AnimTask_StretchTargetUp, 3
|
|
waitforvisualfinish
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_TARGET, delay=-1, initial_blend_y=6, target_blend_y=0, color=RGB(21, 22, 26)
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimGeneral_SilphScoped::
|
|
monbg ANIM_ATTACKER
|
|
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_MINIMIZE, SOUND_PAN_ATTACKER, 48
|
|
createvisualtask AnimTask_TransformMon, 3, SPECIES_GFX_CHANGE_GHOST_UNVEIL
|
|
waitsound
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
gBattleAnimGeneral_SafariRockThrow::
|
|
createvisualtask AnimTask_SetAttackerTargetLeftPos, 2, 0
|
|
waitforvisualfinish
|
|
delay 0
|
|
waitplaysewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER, 22
|
|
createsprite sSafariRockSpriteTemplate, ANIM_TARGET, 3, -17, 14, 8, 0
|
|
delay 50
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
delay 0
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-4, y=-20, relative_to=1, animation=2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimGeneral_SafariReaction::
|
|
createvisualtask AnimTask_SafariGetReaction, 2
|
|
waitforvisualfinish
|
|
jumpreteq B_MSG_MON_WATCHING, SafariReaction_WatchingCarefully
|
|
jumpreteq B_MSG_MON_ANGRY, SafariReaction_Angry
|
|
jumpreteq B_MSG_MON_EATING, SafariReaction_Eating
|
|
end
|
|
|
|
SafariReaction_WatchingCarefully:
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_RotateMonToSideAndRestore, 2, 16, 96, 0, 2
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_RotateMonToSideAndRestore, 2, 16, -96, 0, 2
|
|
end
|
|
|
|
SafariReaction_Angry:
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_TARGET, 2, 1, 20, -20
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
delay 12
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_TARGET, 2, 1, -20, -20
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_TARGET
|
|
end
|
|
|
|
SafariReaction_Eating:
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_RotateMonToSideAndRestore, 2, 8, 136, 0, 2
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_RotateMonToSideAndRestore, 2, 8, 136, 0, 2
|
|
end
|
|
|
|
@@@@@@@@@@@@@@@@@@@@@@@ GEN 4 @@@@@@@@@@@@@@@@@@@@@@@
|
|
gBattleAnimMove_Roost::
|
|
monbg ANIM_ATTACKER
|
|
splitbgprio_all
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gFallingFeatherSpriteTemplate, ANIM_ATTACKER, 0, 0, -16, 64, 2, 104, 11304, 32, 1
|
|
delay 6
|
|
createsprite gFallingFeatherSpriteTemplate, ANIM_ATTACKER, 0, 0, -16, 32, 2, 104, 11304, 32, 1
|
|
createsprite gFallingFeatherSpriteTemplate, ANIM_ATTACKER, 0, 0, -16, 0, 2, 104, 11304, 32, 1
|
|
delay 6
|
|
createsprite gFallingFeatherSpriteTemplate, ANIM_ATTACKER, 0, 0, -16, 224, 2, 104, 11304, 32, 1
|
|
createsprite gFallingFeatherSpriteTemplate, ANIM_ATTACKER, 0, 0, -16, 128, 2, 104, 11304, 32, 1
|
|
delay 6
|
|
createsprite gFallingFeatherSpriteTemplate, ANIM_ATTACKER, 0, 0, -16, 192, 2, 104, 11304, 32, 1
|
|
createsprite gFallingFeatherSpriteTemplate, ANIM_ATTACKER, 0, 0, -16, 160, 2, 104, 11304, 32, 1
|
|
delay 6
|
|
createsprite gFallingFeatherSpriteTemplate, ANIM_ATTACKER, 0, 0, -16, 96, 2, 104, 11304, 32, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Gravity::
|
|
fadetobg BG_COSMIC
|
|
waitbgfadein
|
|
createvisualtask AnimTask_SetAnimTargetToAttackerOpposite, 1
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeAndSinkMon, 5, ANIM_ATTACKER, 2, 0, 96, 30
|
|
createvisualtask AnimTask_ShakeAndSinkMon, 5, ANIM_DEF_PARTNER, 2, 0, 96, 30
|
|
createvisualtask AnimTask_ShakeAndSinkMon, 5, ANIM_ATK_PARTNER, 2, 0, 96, 30
|
|
createvisualtask AnimTask_ShakeAndSinkMon, 5, ANIM_TARGET, 2, 0, 96, 30
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 3, 0, 1, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATK_PARTNER, 3, 0, 1, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 3, 0, 1, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 1, 1
|
|
setarg 7, -1
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_MiracleEye::
|
|
monbg ANIM_DEF_PARTNER
|
|
call SetPsychicBackground
|
|
playsewithpan SE_M_CONFUSE_RAY, SOUND_PAN_TARGET
|
|
createsprite gOpeningEyeSpriteTemplate, ANIM_ATTACKER, 5, 0, 0, 1, 0
|
|
createsprite gWhiteHaloSpriteTemplate, ANIM_ATTACKER, 5
|
|
delay 40
|
|
playsewithpan SE_M_LEER, SOUND_PAN_TARGET
|
|
blend_color_cycle selector=F_PAL_BG, delay=1, num_blends=2, initial_blend_y=0, target_blend_y=10, color=RGB_BLACK
|
|
call MindReaderEyeSpikeEffect
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_WakeUpSlap::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
createsprite gKarateChopSpriteTemplate, ANIM_ATTACKER, 2, -16, 0, 0, 0, 10, 1, 3, 0
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 6, 2
|
|
waitforvisualfinish
|
|
createsprite gSmellingSaltExclamationSpriteTemplate, ANIM_TARGET, 2, 1, 8, 3
|
|
loopsewithpan SE_M_SWAGGER2, +63, 16, 3
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_HammerArm::
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
createsprite gIceHammerPunchStompTemplate, ANIM_TARGET, 3, 0, -32, 15
|
|
delay 19
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_SquishTarget, 2
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_GyroBall::
|
|
loopsewithpan SE_M_HARDEN, SOUND_PAN_ATTACKER, 28, 2
|
|
metallic_shine permanent=0
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 2, 4
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 0, 0, 4
|
|
delay 3
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -32, 0, 0, 3
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 0
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 4, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 1
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 7
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_HealingWish::
|
|
setalpha 0, 16
|
|
createvisualtask AnimTask_AlphaFadeIn, 3, 0, 16, 16, 0, 1
|
|
playsewithpan SE_M_MOONLIGHT, 0
|
|
delay 30
|
|
createsprite gMoonlightSparkleSpriteTemplate, ANIM_ATTACKER, 40, -12, 0
|
|
delay 30
|
|
createsprite gMoonlightSparkleSpriteTemplate, ANIM_ATTACKER, 40, -24, 0
|
|
delay 30
|
|
createsprite gMoonlightSparkleSpriteTemplate, ANIM_ATTACKER, 40, 21, 0
|
|
delay 30
|
|
createsprite gMoonlightSparkleSpriteTemplate, ANIM_ATTACKER, 40, 0, 0
|
|
delay 30
|
|
createsprite gMoonlightSparkleSpriteTemplate, ANIM_ATTACKER, 40, 10, 0
|
|
delay 20
|
|
createvisualtask AnimTask_MoonlightEndFade, 2
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Brine::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DIVE, -64
|
|
waitforvisualfinish
|
|
delay 16
|
|
createvisualtask AnimTask_BrineRain, 5
|
|
playsewithpan SE_M_SURF, +63
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_NaturalGift::
|
|
monbg ANIM_ATTACKER
|
|
splitbgprio ANIM_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=16, color=RGB(27, 31, 18)
|
|
playsewithpan SE_M_MEGA_KICK, -64
|
|
call GrantingStarsEffect
|
|
waitforvisualfinish
|
|
delay 1
|
|
createvisualtask AnimTask_DragonDanceWaver, 5
|
|
playsewithpan SE_M_TELEPORT, -64
|
|
delay 8
|
|
createvisualtask AnimTask_BlendPalInAndOutByTag, 5, ANIM_TAG_HOLLOW_ORB, RGB(0, 0, 19), 14, 0, 3
|
|
call CreateDragonDanceOrbs
|
|
delay 30
|
|
playsewithpan SE_M_TELEPORT, -64
|
|
delay 30
|
|
playsewithpan SE_M_TELEPORT, -64
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_Feint::
|
|
createsprite gFeintSwipeSpriteTemplate, ANIM_ATTACKER, 10, -32, 0, 15
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
waitforvisualfinish
|
|
delay 5
|
|
createsprite gFeintZoomSpriteTemplate, ANIM_ATTACKER, 10, 0, 0
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Pluck::
|
|
playsewithpan SE_M_POISON_POWDER, SOUND_PAN_ATTACKER
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 40, x=-10, y=-5, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gPluckParticleSpriteTemplate, ANIM_ATTACKER, 40, 3, 0, 20, 2, 1
|
|
createsprite gPluckParticleSpriteTemplate, ANIM_ATTACKER, 40, 7, 1, 20, 1, 1
|
|
createsprite gPluckParticleSpriteTemplate, ANIM_ATTACKER, 40, -3, 5, 25, 2, -1
|
|
createsprite gPluckParticleSpriteTemplate, ANIM_ATTACKER, 40, 4, -4, 30, 3, -1
|
|
delay 30
|
|
playsewithpan SE_M_POISON_POWDER, SOUND_PAN_ATTACKER
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 40, x=5, y=10, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gPluckParticleSpriteTemplate, ANIM_ATTACKER, 40, 3, -4, 20, 1, 1
|
|
createsprite gPluckParticleSpriteTemplate, ANIM_ATTACKER, 40, 7, -6, 20, 0, 1
|
|
createsprite gPluckParticleSpriteTemplate, ANIM_ATTACKER, 40, -3, -9, 25, 1, -1
|
|
createsprite gPluckParticleSpriteTemplate, ANIM_ATTACKER, 40, 4, -4, 30, 2, -1
|
|
delay 30
|
|
playsewithpan SE_M_POISON_POWDER, SOUND_PAN_ATTACKER
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 40, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gPluckParticleSpriteTemplate, ANIM_ATTACKER, 40, -3, -4, 20, 1, 1
|
|
createsprite gPluckParticleSpriteTemplate, ANIM_ATTACKER, 40, 7, -6, 25, 0, 1
|
|
createsprite gPluckParticleSpriteTemplate, ANIM_ATTACKER, 40, -4, -10, 25, 1, 1
|
|
createsprite gPluckParticleSpriteTemplate, ANIM_ATTACKER, 40, 4, -4, 25, 1, 2
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Tailwind::
|
|
playsewithpan SE_M_GUST, SOUND_PAN_ATTACKER
|
|
call SetHighSpeedBg
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 24, 6, 4, 4
|
|
createvisualtask AnimTask_TraceMonBlended, 2, 0, 4, 7, 10
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 10, 2304, 96, 1
|
|
delay 12
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 90, 2048, 96, 1
|
|
delay 12
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 50, 2560, 96, 1
|
|
delay 12
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 20, 2304, 96, 1
|
|
delay 12
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 70, 1984, 96, 1
|
|
delay 12
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 0, 2816, 96, 1
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 60, 2560, 96, 1
|
|
waitforvisualfinish
|
|
stopsound
|
|
call UnsetHighSpeedBg
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimGeneral_Tailwind::
|
|
playsewithpan SE_M_GUST, SOUND_PAN_ATTACKER
|
|
call SetHighSpeedBg
|
|
setalpha 12, 8
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 10, 2304, 96, 1
|
|
delay 12
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 90, 2048, 96, 1
|
|
delay 12
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 50, 2560, 96, 1
|
|
delay 12
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 20, 2304, 96, 1
|
|
delay 12
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 70, 1984, 96, 1
|
|
delay 12
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 0, 2816, 96, 1
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 60, 2560, 96, 1
|
|
waitforvisualfinish
|
|
stopsound
|
|
call UnsetHighSpeedBg
|
|
blendoff
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_Acupressure::
|
|
playsewithpan SE_M_METRONOME, SOUND_PAN_ATTACKER
|
|
createsprite gAcupressureSpriteTemplate, ANIM_ATTACKER, 40, 0, -40, 40
|
|
waitforvisualfinish
|
|
call ElectricityEffect
|
|
end
|
|
|
|
gBattleAnimMove_MetalBurst::
|
|
loopsewithpan SE_M_TRI_ATTACK, -64, 18, 3
|
|
set_grayscale_pal battler=ANIM_ATTACKER
|
|
createvisualtask AnimTask_DefenseCurlDeformMon, 5
|
|
waitforvisualfinish
|
|
setarg 7, -1
|
|
playsewithpan SE_M_REFLECT, -64
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 0
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 32
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 64
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 96
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 128
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 160
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 20, 192
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 224
|
|
waitforvisualfinish
|
|
set_original_pal battler=ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_UTurn::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 8, 8
|
|
invisible ANIM_ATTACKER
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gUTurnBallSpriteTemplate, ANIM_TARGET, 2, 0, 0, 21
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
createsprite gUTurnBallBackSpriteTemplate, ANIM_ATTACKER, 3, 4, 0, -16, 36
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_CloseCombat::
|
|
monbg ANIM_DEF_PARTNER
|
|
call SetHighSpeedBg
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_VITAL_THROW2, +63
|
|
delay 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_MEGA_KICK2, +63
|
|
delay 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_VITAL_THROW2, +63
|
|
delay 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_MEGA_KICK2, +63
|
|
delay 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_VITAL_THROW2, +63
|
|
delay 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_MEGA_KICK2, +63
|
|
delay 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_VITAL_THROW2, +63
|
|
delay 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_MEGA_KICK2, +63
|
|
delay 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_VITAL_THROW2, +63
|
|
delay 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_MEGA_KICK2, +63
|
|
delay 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_VITAL_THROW2, +63
|
|
delay 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 2, 0, 7, 1
|
|
playsewithpan SE_M_MEGA_KICK2, +63
|
|
delay 1
|
|
call UnsetHighSpeedBg
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
delay 1
|
|
setarg 7, 4096
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_Payback::
|
|
monbg ANIM_TARGET
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
delay 0
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 4, 0, 30, 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=24, y=8, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=-24, y=-16, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=8, y=4, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=-16, y=19, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=18, y=-18, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_Assurance::
|
|
monbg ANIM_TARGET
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
delay 0
|
|
setalpha 12, 8
|
|
createsprite gPalmSpriteTemplate, ANIM_TARGET, 3, 0, 0, 8, 1, 0
|
|
playsewithpan SE_M_VITAL_THROW2, -64
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
delay 0
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_Embargo::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
loopsewithpan SE_M_POISON_POWDER, +63, 18, 10
|
|
call EmbargoOrbs1
|
|
call EmbargoOrbs1
|
|
call EmbargoOrbs1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 4, 0, 10, 1
|
|
playsewithpan SE_M_NIGHTMARE, +63
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
EmbargoOrbs1:
|
|
createsprite gPowerOrbs_Float, ANIM_ATTACKER, 2, 0, -20, 85, 80, 0
|
|
delay 12
|
|
createsprite gPowerOrbs_Float, ANIM_ATTACKER, 2, 0, -10, 170, 80, 0
|
|
delay 12
|
|
createsprite gPowerOrbs_Float, ANIM_ATTACKER, 2, 0, -15, 0, 80, 0
|
|
delay 12
|
|
return
|
|
|
|
gBattleAnimMove_Fling::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gBlackBallSpriteTemplate, ANIM_TARGET, 2, 20, 0, 0, 0, 35, -25
|
|
playsewithpan SE_M_SWAGGER, -64
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_VITAL_THROW, +63
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_PsychoShift::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_MEGA_KICK, -64
|
|
create_dragon_dance_orb_sprite ANIM_ATTACKER, 2, angle=0/256
|
|
delay 30
|
|
waitforvisualfinish
|
|
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 1, 0
|
|
playsewithpan SE_M_SUPERSONIC, -64
|
|
delay 14
|
|
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 1, 0
|
|
playsewithpan SE_M_SUPERSONIC, -64
|
|
delay 14
|
|
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 1, 0
|
|
playsewithpan SE_M_SUPERSONIC, -64
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
end
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_TrumpCard::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_TARGET
|
|
createsprite gTrumpCardSpriteTemplate, ANIM_ATTACKER, 40, 40, 0, 0, 32
|
|
delay 2
|
|
createsprite gTrumpCardSpriteTemplate, ANIM_ATTACKER, 40, 40, 0, 1, 32
|
|
delay 2
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_TARGET
|
|
createsprite gTrumpCardSpriteTemplate, ANIM_ATTACKER, 40, 40, 0, 0, 32
|
|
delay 2
|
|
createsprite gTrumpCardSpriteTemplate, ANIM_ATTACKER, 40, 40, 0, 2, 32
|
|
delay 2
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_TARGET
|
|
createsprite gTrumpCardSpriteTemplate, ANIM_ATTACKER, 40, 40, 0, 2, 32
|
|
delay 2
|
|
createsprite gTrumpCardSpriteTemplate, ANIM_ATTACKER, 40, 40, 0, 2, 32
|
|
delay 2
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_TARGET
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
createsprite gCuttingSliceSpriteTemplate, ANIM_ATTACKER, 2, 40, -32, 0
|
|
createsprite gTrumpCardSpriteTemplate, ANIM_ATTACKER, 40, 40, 0, 1, 32
|
|
delay 2
|
|
createsprite gTrumpCardSpriteTemplate, ANIM_ATTACKER, 40, 40, 0, 1, 32
|
|
delay 3
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 10, 1
|
|
createsprite gTrumpCardParticleSpriteTempalte, ANIM_ATTACKER, 40, 0, 0, 1, 12, -5, -4, 0
|
|
createsprite gTrumpCardParticleSpriteTempalte, ANIM_ATTACKER, 40, 0, 0, 0, 13, 5, 4, 1
|
|
createsprite gTrumpCardParticleSpriteTempalte, ANIM_ATTACKER, 40, 0, 0, 1, 8, -3, 0, 2
|
|
createsprite gTrumpCardParticleSpriteTempalte, ANIM_ATTACKER, 40, 0, 0, 2, 12, -5, 4, 3
|
|
delay 2
|
|
createsprite gTrumpCardParticleSpriteTempalte, ANIM_ATTACKER, 40, 0, 0, 1, 10, 1, -4, 4
|
|
createsprite gTrumpCardParticleSpriteTempalte, ANIM_ATTACKER, 40, 0, 0, 0, 13, 5, 6, 1
|
|
createsprite gTrumpCardParticleSpriteTempalte, ANIM_ATTACKER, 40, 0, 0, 1, 12, -2, 1, 3
|
|
createsprite gTrumpCardParticleSpriteTempalte, ANIM_ATTACKER, 40, 0, 0, 2, 13, -2, 1, 2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_HealBlock::
|
|
monbg ANIM_TARGET
|
|
createsoundtask SoundTask_PlaySeChangingVolume, SE_M_ABSORB_2, SOUND_PAN_TARGET, 256, -16, 0, 2
|
|
createspriteontargets_onpos gHealingBlueStarSpriteTemplate, ANIM_TARGET, 2, 2, 0, -5, ANIM_TARGET, 0
|
|
delay 7
|
|
createspriteontargets_onpos gHealingBlueStarSpriteTemplate, ANIM_TARGET, 2, 2, -15, 10, ANIM_TARGET, 0
|
|
delay 7
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_DEF_SIDE, 4, 2, 12, 0, RGB_BLACK
|
|
createspriteontargets_onpos gHealingBlueStarSpriteTemplate, ANIM_TARGET, 2, 2, 0, -5, ANIM_TARGET, 0
|
|
delay 7
|
|
createspriteontargets_onpos gHealingBlueStarSpriteTemplate, ANIM_TARGET, 2, 2, -15, 10, ANIM_TARGET, 0
|
|
delay 7
|
|
createspriteontargets_onpos gHealingBlueStarSpriteTemplate, ANIM_TARGET, 2, 2, -15, -15, ANIM_TARGET, 0
|
|
delay 7
|
|
createspriteontargets_onpos gHealingBlueStarSpriteTemplate, ANIM_TARGET, 2, 2, 10, -5, ANIM_TARGET, 0
|
|
delay 7
|
|
waitforvisualfinish
|
|
delay 11
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_DEF_SIDE, 4, 2, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_WringOut::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gWringOutHandSpriteTemplate, ANIM_TARGET, 40, 0, 0, 48, 3, 32, FALSE
|
|
delay 3
|
|
createsprite gWringOutHandSpriteTemplate, ANIM_TARGET, 40, 0, 0, 48, 3, 32, TRUE
|
|
delay 3
|
|
createsprite gWringOutHandSpriteTemplate, ANIM_TARGET, 40, 0, 0, 48, 3, 32, TRUE
|
|
delay 3
|
|
createsprite gWringOutHandSpriteTemplate, ANIM_TARGET, 40, 0, 0, 48, 3, 32, TRUE
|
|
delay 3
|
|
createsprite gWringOutHandSpriteTemplate, ANIM_TARGET, 40, 0, 0, 48, 3, 32, TRUE
|
|
delay 3
|
|
createsprite gWringOutHandSpriteTemplate, ANIM_TARGET, 40, 0, 0, 48, 3, 32, TRUE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_PowerTrick::
|
|
loopsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET 10 3
|
|
createvisualtask AnimTask_UproarDistortion 2, 0
|
|
createsprite gPowerTrickSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 0, SOUND_PAN_TARGET, 0
|
|
delay 16
|
|
createvisualtask AnimTask_UproarDistortion 2, 0
|
|
delay 16
|
|
createvisualtask AnimTask_UproarDistortion 2, 0
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_GastroAcid::
|
|
monbg ANIM_DEF_PARTNER
|
|
createsprite gGreenPoisonBubble, ANIM_TARGET, 2, 20, 0, 40, 1, 0, 0, FALSE
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
createsprite gGreenPoisonBubble, ANIM_TARGET, 2, 20, 0, 40, 1, 24, 0, FALSE
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
createsprite gGreenPoisonBubble, ANIM_TARGET, 2, 20, 0, 40, 1, -24, 0, FALSE
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 2, 0, 10, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(30, 0, 31)
|
|
createsprite gGreenPoisonDrip, ANIM_TARGET, 2, 0, -22, 0, 15, 55, FALSE
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gGreenPoisonDrip, ANIM_TARGET, 2, -26, -24, 0, 15, 55, FALSE
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gGreenPoisonDrip, ANIM_TARGET, 2, 15, -27, 0, 15, 50, FALSE
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gGreenPoisonDrip, ANIM_TARGET, 2, -15, -17, 0, 10, 45, FALSE
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gGreenPoisonDrip, ANIM_TARGET, 2, 27, -22, 0, 15, 50, FALSE
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_LuckyChant::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
createsprite gLuckyChantBigStarsSpriteTemplate, ANIM_ATTACKER, 2, 0, -18, 8, 140
|
|
createsprite gLuckyChantSmallStarsSpriteTemplate, 2, 16, -18, 8, 100
|
|
createsprite gLuckyChantSmallStarsSpriteTemplate, 2, -16, -18, 8, 100
|
|
delay 15
|
|
createsprite gLuckyChantBigStarsSpriteTemplate ANIM_ATTACKER, 2, 0, -18, 8, 140
|
|
createsprite gLuckyChantSmallStarsSpriteTemplate, ANIM_ATTACKER, 2, 32, -18, 8, 100
|
|
createsprite gLuckyChantSmallStarsSpriteTemplate, ANIM_ATTACKER, 2, -32, -18, 8, 100
|
|
delay 15
|
|
createsprite gLuckyChantBigStarsSpriteTemplate ANIM_ATTACKER, 2, 0, -18, 8, 140
|
|
createsprite gLuckyChantSmallStarsSpriteTemplate, ANIM_ATTACKER, 2, 24, -18, 8, 100
|
|
createsprite gLuckyChantSmallStarsSpriteTemplate, ANIM_ATTACKER, 2, -18, -18, 8, 100
|
|
delay 30
|
|
createsprite gLuckyChantSmallStarsSpriteTemplate, ANIM_ATTACKER, 2, 16, -18, 0, 100
|
|
createsprite gLuckyChantSmallStarsSpriteTemplate, ANIM_ATTACKER, 2, -16, -18, 0, 100
|
|
delay 30
|
|
createsprite gLuckyChantSmallStarsSpriteTemplate, ANIM_ATTACKER, 2, 20, -16, 14, 80
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
unloadspritegfx ANIM_TAG_GOLD_STARS
|
|
unloadspritepal ANIM_TAG_GOLD_STARS
|
|
end
|
|
|
|
gBattleAnimMove_MeFirst::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ORBS, 0, 12, 12, RGB(15, 29, 31)
|
|
setalpha 11, 5
|
|
monbg_static ANIM_DEF_PARTNER
|
|
splitbgprio_all
|
|
createsprite gThoughtBubbleSpriteTemplate, ANIM_ATTACKER, 11, 0, 100
|
|
playsewithpan SE_M_METRONOME, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
createsprite gMetronomeFingerSpriteTemplate, ANIM_ATTACKER, 12, 0
|
|
delay 24
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER, 22, 3
|
|
waitforvisualfinish
|
|
panse SE_M_MINIMIZE, SOUND_PAN_TARGET, SOUND_PAN_ATTACKER, -3, 0
|
|
shrink_target_copy unk0=128, unk1=24
|
|
delay 15
|
|
create_mimic_orb_sprite ANIM_TARGET, 2, initial_x=-12, initial_y=24
|
|
delay 10
|
|
setarg 7, -1
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
clearmonbg_static ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Copycat::
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=8, num_blends=1, initial_blend_y=0, target_blend_y=12, color=RGB_WHITE
|
|
createvisualtask AnimTask_StockpileDeformMon, 5
|
|
call StockpileAbsorb
|
|
call StockpileAbsorb
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_ATTACKER, delay=0, initial_blend_y=12, target_blend_y=0, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
playsewithpan SE_M_SUPERSONIC, -64
|
|
delay 14
|
|
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
playsewithpan SE_M_SUPERSONIC, -64
|
|
delay 14
|
|
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
playsewithpan SE_M_SUPERSONIC, -64
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_PowerSwap::
|
|
playsewithpan SE_M_DOUBLE_TEAM, 0
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 0, 0, 42, -32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 0, 42, -32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 0, 42, -32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 0, 42, -32
|
|
delay 2
|
|
playsewithpan SE_M_DOUBLE_TEAM, 0
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 0, 1, 42, 32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 1, 42, 32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 1, 42, 32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 1, 42, 32
|
|
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DOUBLE_TEAM, 0
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 0, 0, 42, -32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 0, 42, -32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 0, 42, -32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 0, 42, -32
|
|
delay 2
|
|
playsewithpan SE_M_DOUBLE_TEAM, 0
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 0, 1, 42, 32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 1, 42, 32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 1, 42, 32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 1, 42, 32
|
|
delay 2
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_GuardSwap::
|
|
playsewithpan SE_M_DOUBLE_TEAM, 0
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 2, 0, 42, -32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 3, 0, 42, -32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 3, 0, 42, -32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 3, 0, 42, -32
|
|
delay 2
|
|
playsewithpan SE_M_DOUBLE_TEAM, 0
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 2, 1, 42, 32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 3, 1, 42, 32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 3, 1, 42, 32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 3, 1, 42, 32
|
|
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DOUBLE_TEAM, 0
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 2, 0, 42, -32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 3, 0, 42, -32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 3, 0, 42, -32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 3, 0, 42, -32
|
|
delay 2
|
|
playsewithpan SE_M_DOUBLE_TEAM, 0
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 2, 1, 42, 32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 3, 1, 42, 32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 3, 1, 42, 32
|
|
delay 2
|
|
createsprite gPowerSwapGuardSwapSpriteTemplate, ANIM_TARGET, 3, 0, 0, 3, 1, 42, 32
|
|
delay 2
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Punishment::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan 155, SOUND_PAN_TARGET
|
|
createsprite gPunishmentSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 1, 0
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
waitforvisualfinish
|
|
delay 1
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createsprite gPunishmentImpactSpriteTemplate, ANIM_TARGET, 2, 0, 0, 1, 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_LastResort::
|
|
fadetobg BG_COSMIC
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 2, 0, 128, 0, -1
|
|
waitbgfadein
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
complex_palette_blend selector=F_PAL_ATTACKER, delay=4, num_blends=2, color1=RGB_WHITE, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 2, 4
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=0, initial_blend_y=16, target_blend_y=16, color=RGB_WHITE
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 0, 0, 4
|
|
delay 3
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 132, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, -32, 0, 0, 3
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 1
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 4, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=16, target_blend_y=0, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 1
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_TARGET, 2, 1, 0, 7
|
|
waitforvisualfinish
|
|
call UnsetHighSpeedBg
|
|
end
|
|
|
|
gBattleAnimMove_WorrySeed::
|
|
playsewithpan SE_M_POISON_POWDER, SOUND_PAN_ATTACKER
|
|
createsprite gWorrySeedSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 32, -32
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SAND_ATTACK, SOUND_PAN_TARGET
|
|
createsprite gSmallCloudTemplate, ANIM_ATTACKER, 3, -2, -1, 0, -1, -1
|
|
createsprite gSmallCloudTemplate, ANIM_ATTACKER, 3, 3, 1, 1, 2, -1
|
|
createsprite gSmallCloudTemplate, ANIM_ATTACKER, 3, -2, 1, 2, 1, -2
|
|
createsprite gSmallCloudTemplate, ANIM_ATTACKER, 3, 3, -2, 1, -1, -2
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SuckerPunch::
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 0, 0, 4
|
|
createsprite gSuckerPunchSpriteTemplate, ANIM_TARGET, 2, -18, 5, 40, 8, 160, 0
|
|
delay 4
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-8, y=8, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 6, 384, ANIM_TARGET, 2
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 4
|
|
end
|
|
|
|
gBattleAnimMove_ToxicSpikes::
|
|
monbg ANIM_DEF_PARTNER
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET, 28
|
|
createsprite gToxicSpikesSpriteTemplate, ANIM_TARGET, 2, 20, 0, 0, 24, 30
|
|
delay 10
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET, 28
|
|
createsprite gToxicSpikesSpriteTemplate, ANIM_TARGET, 2, 20, 0, -24, 24, 30
|
|
delay 10
|
|
waitplaysewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET, 28
|
|
createsprite gToxicSpikesSpriteTemplate, ANIM_TARGET, 2, 20, 0, 24, 24, 30
|
|
delay 40
|
|
call PoisonBubblesEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_HeartSwap::
|
|
monbg ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 0, 8, RGB(31, 24, 26)
|
|
createvisualtask AnimTask_HeartSwap, 3, ANIM_TARGET
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_TARGET, RGB_WHITE, 12, 3, 1
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER, 10, 8
|
|
delay 16
|
|
createvisualtask AnimTask_HeartSwap, 3, ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB_WHITE, 12, 3, 1
|
|
waitforvisualfinish
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 2, -15, 0, 0, 0, 32, 60
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_TARGET, 2, -15, 0, 0, 0, 32, 60
|
|
delay 8
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 2, 12, -5, 0, 0, 32, 60
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_TARGET, 2, 12, -5, 0, 0, 32, 60
|
|
delay 4
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB(31, 25, 27), 12, 3, 1
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -3, -3, 16, ANIM_ATTACKER, 0
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_TARGET, RGB(31, 25, 27), 12, 3, 1
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -3, -3, 16, ANIM_TARGET, 0
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 160, -32
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -256, -40
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 128, -16
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 8, 0, RGB(31, 24, 26)
|
|
createsprite gRedHeartCharmSpriteTemplate, ANIM_ATTACKER, 3, 0, 20
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
createsprite gRedHeartCharmSpriteTemplate, ANIM_ATTACKER, 3, -20, 20
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
createsprite gRedHeartCharmSpriteTemplate, ANIM_ATTACKER, 3, 20, 20
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_AquaRing::
|
|
gBattleAnimGeneral_AquaRingHeal::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_GUARD_RING, 0, 14, 14, RGB_BLUE
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 23, 1
|
|
delay 5
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 10, 10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -15, 0, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 20, 10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 0, -10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -10, 15, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 25, 20, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -20, 20, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
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, FALSE
|
|
delay 4
|
|
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 0, FALSE
|
|
delay 4
|
|
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 0, FALSE
|
|
waitforvisualfinish
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=10, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_MagnetRise::
|
|
delay 0
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_BATTLERS), delay=0, num_blends=1, initial_blend_y=5, target_blend_y=5, color=RGB(31, 31, 20)
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_WindUpLunge, 5, ANIM_ATTACKER, -12, 4, 10, 10, 12, 6
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
delay 4
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_BATTLERS), delay=0, num_blends=1, initial_blend_y=0, target_blend_y=0, color=RGB(31, 31, 20)
|
|
delay 20
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_BATTLERS), delay=0, num_blends=1, initial_blend_y=7, target_blend_y=7, color=RGB(31, 31, 20)
|
|
waitforvisualfinish
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_BATTLERS), delay=0, num_blends=1, initial_blend_y=0, target_blend_y=0, color=RGB(31, 31, 20)
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_FlareBlitz::
|
|
monbg ANIM_TARGET
|
|
splitbgprio_foes ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 2
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 6
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 10
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 12, 4, 1, 4
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 24, 0, 0, 6
|
|
waitforvisualfinish
|
|
call SetImpactBackground
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 22, 1
|
|
createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_TARGET, RGB_RED, 12, 1, 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, 192, 176, 40
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=24, y=8, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_TARGET, RGB_RED, 12, 1, 1
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, -192, 240, 40
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=-24, y=-16, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_TARGET, RGB_RED, 12, 1, 1
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, 192, -160, 40
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=8, y=4, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_TARGET, RGB_RED, 12, 1, 1
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, -192, -112, 40
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=-16, y=19, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_TARGET, RGB_RED, 12, 1, 1
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, 160, 48, 40
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=18, y=-18, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_TARGET, RGB_RED, 12, 1, 1
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, -224, -32, 40
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, 112, -128, 40
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 0, RGB_BLACK
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 9
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
delay 2
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_ForcePalm::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
createsprite gKarateChopSpriteTemplate, ANIM_ATTACKER, 2, -16, 0, 0, 0, 10, 1, 3, 0
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gForcePalmSpriteTemplate, ANIM_ATTACKER 3, 0, 0, 1, 2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 6, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_AuraSphere::
|
|
monbg ANIM_ATK_PARTNER
|
|
splitbgprio ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
call SetAuraSphereBG
|
|
playsewithpan SE_M_SKY_UPPERCUT, 0
|
|
delay 60
|
|
createsprite gAuraSphereBlast, ANIM_TARGET, 3, 0
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
delay 16
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 8, 0, 16, 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
call UnsetHighSpeedBg
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
delay 1
|
|
end
|
|
|
|
SetAuraSphereBG:
|
|
fadetobg BG_AURA_SPHERE
|
|
goto SetHighSpeedBgFade
|
|
|
|
gBattleAnimMove_RockPolish::
|
|
setalpha 12, 8
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_BG, delay=3, initial_blend_y=0, target_blend_y=12, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER, 10, 7
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, -10, 3
|
|
delay 1
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, 24, -19
|
|
delay 1
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, -28, -15
|
|
delay 2
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, -6, -30
|
|
delay 1
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, -20, 6
|
|
delay 1
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, 28, 2
|
|
delay 2
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, -14, -25
|
|
delay 1
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, 9, -2
|
|
delay 2
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, -1, 0
|
|
delay 1
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, 21, 4
|
|
delay 2
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, 28, 20
|
|
delay 2
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, -7, 24
|
|
delay 2
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, -11, 1
|
|
delay 2
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, 12, -18
|
|
delay 2
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, -21, -14
|
|
delay 1
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, -29, 7
|
|
delay 2
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, 15, 28
|
|
delay 1
|
|
createsprite gRockPolishStreakSpriteTemplate, ANIM_ATTACKER, 2, -21, -16
|
|
delay 2
|
|
waitforvisualfinish
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
createsprite gRockPolishSparkleSpriteTemplate, ANIM_ATTACKER, 2, -20, 9
|
|
createsprite gRockPolishSparkleSpriteTemplate, ANIM_ATTACKER, 2, -10, -15
|
|
createsprite gRockPolishSparkleSpriteTemplate, ANIM_ATTACKER, 2, 1, 17
|
|
delay 1
|
|
createsprite gRockPolishSparkleSpriteTemplate, ANIM_ATTACKER, 2, -23, -16
|
|
createsprite gRockPolishSparkleSpriteTemplate, ANIM_ATTACKER, 2, 10, -6
|
|
delay 1
|
|
createsprite gRockPolishSparkleSpriteTemplate, ANIM_ATTACKER, 2, -16, -7
|
|
delay 1
|
|
createsprite gRockPolishSparkleSpriteTemplate, ANIM_ATTACKER, 2, 22, -7
|
|
delay 1
|
|
createsprite gRockPolishSparkleSpriteTemplate, ANIM_ATTACKER, 2, -19, 11
|
|
delay 1
|
|
createsprite gRockPolishSparkleSpriteTemplate, ANIM_ATTACKER, 2, 12, 12
|
|
delay 1
|
|
createsprite gRockPolishSparkleSpriteTemplate, ANIM_ATTACKER, 2, 0, -17
|
|
waitforvisualfinish
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_BG, delay=3, initial_blend_y=12, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_PoisonJab::
|
|
setalpha 12, 8
|
|
createsprite gPoisonJabProjectileSpriteTemplate, ANIM_TARGET, 2, 3, -31, 10
|
|
delay 2
|
|
createsprite gPoisonJabProjectileSpriteTemplate, ANIM_TARGET, 2, -18, -25, 10
|
|
delay 2
|
|
createsprite gPoisonJabProjectileSpriteTemplate, ANIM_TARGET, 2, 27, 17, 10
|
|
delay 2
|
|
createsprite gPoisonJabProjectileSpriteTemplate, ANIM_TARGET, 2, -26, 18, 10
|
|
delay 2
|
|
createsprite gPoisonJabProjectileSpriteTemplate, ANIM_TARGET, 2, 10, 30, 10
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-7, y=4, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gPoisonJabProjectileSpriteTemplate, ANIM_TARGET, 2, -17, -27, 10
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-4, y=-6, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gPoisonJabProjectileSpriteTemplate, ANIM_TARGET, 2, 2, 31, 10
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 3, 8192, 6, ANIM_TARGET
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_TARGET, RGB(16, 0, 16), 12, 0, 1
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=6, y=4, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gPoisonJabProjectileSpriteTemplate, ANIM_TARGET, 2, 15, -27, 10
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-6, y=8, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gPoisonJabProjectileSpriteTemplate, ANIM_TARGET, 2, -31, -2, 10
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=12, y=6, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gPoisonJabProjectileSpriteTemplate, ANIM_TARGET, 2, -26, -18, 10
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-6, y=-8, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=8, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-8, y=0, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-7, y=-5, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
call PoisonBubblesEffect
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_DarkPulse::
|
|
monbg ANIM_TARGET
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
loopsewithpan SE_M_PSYBEAM, SOUND_PAN_TARGET, 20, 3
|
|
createvisualtask AnimTask_SwayMon, ANIM_TARGET, 0, 6, 2048, 8, ANIM_TARGET
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=4, initial_blend_y=0, target_blend_y=12, color=RGB(30, 10, 13)
|
|
call DarkPulseParticle
|
|
call DarkPulseParticle
|
|
call DarkPulseParticle
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_TARGET
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
DarkPulseParticle:
|
|
createsprite gDarkPulseSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
createsprite gDarkPulseSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
createsprite gDarkPulseSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
createsprite gDarkPulseSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
createsprite gDarkPulseSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
createsprite gDarkPulseSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
createsprite gDarkPulseSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
createsprite gDarkPulseSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16
|
|
return
|
|
|
|
gBattleAnimMove_NightSlash::
|
|
createvisualtask AnimTask_BlendNightSlash, 2, ANIM_TARGET, 2, 0, 8, 1
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_BG, delay=3, initial_blend_y=0, target_blend_y=12, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gNightSlashLeftSpriteTemplate, ANIM_TARGET, 2, 1, -8, 0
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gNightSlashLeftSpriteTemplate, ANIM_TARGET, 2, 1, 8, 0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 8, 1
|
|
delay 40
|
|
createsprite gNightSlashRightSpriteTemplate, ANIM_TARGET, 2, 1, -8, 0
|
|
createsprite gNightSlashRightSpriteTemplate, ANIM_TARGET, 2, 1, 8, 0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 18, 1
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_BG, delay=3, initial_blend_y=12, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_AquaTail::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 23, 1
|
|
delay 5
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 10, 10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -16, 0, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 20, 10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 0, -10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -10, 15, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 25, 20, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -20, 20, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 12, 0, 25, 0
|
|
waitforvisualfinish
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 6
|
|
delay 4
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_TARGET
|
|
createsprite gAquaTailKnockOffSpriteTemplate, ANIM_ATTACKER, 2, -16, -16
|
|
delay 8
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=5, num_blends=1, color1=RGB_WHITE, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
createsprite gAquaTailHitSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -12, 10, 0, 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 5
|
|
delay 3
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 0, 3, 6, 1
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 6
|
|
delay 10
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_SeedBomb::
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
delay 5
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
delay 5
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 30, 1
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 6, 5, 1, 0
|
|
delay 6
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, -16, -15, 1, 0
|
|
delay 6
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 16, -5, 1, 0
|
|
delay 6
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, -12, 18, 1, 0
|
|
delay 6
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 0, 5, 1, 0
|
|
delay 6
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 6, 5, 1, 0
|
|
delay 6
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, -16, -15, 1, 0
|
|
delay 6
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 16, -5, 1, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, -12, 18, 1, 0
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 0, 5, 1, 0
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_AirSlash::
|
|
call SetSkyBg
|
|
createsprite gSlashSliceSpriteTemplate, ANIM_TARGET, 2, 1, -8, 0
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gSlashSliceSpriteTemplate, ANIM_TARGET, 2, 1, 8, 0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 18, 1
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
call UnsetSkyBg
|
|
end
|
|
|
|
gBattleAnimMove_XScissor::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 24, 6, 1, 5
|
|
createvisualtask AnimTask_TraceMonBlended, 2, 0, 4, 7, 3
|
|
createsprite gCuttingSliceSpriteTemplate, ANIM_ATTACKER, 2, 40, -32, 0
|
|
createsprite gCuttingSliceSpriteTemplate, ANIM_ATTACKER, 2, 40, -32, 1
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 10, 1
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_BugBuzz::
|
|
monbg ANIM_DEF_PARTNER
|
|
call SetBugBg
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
playsewithpan SE_M_UPROAR, SOUND_PAN_ATTACKER
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 29, -12, 0
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -12, -29, 1
|
|
delay 16
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
playsewithpan SE_M_UPROAR, SOUND_PAN_ATTACKER
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 12, -29, 1
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -29, -12, 0
|
|
delay 16
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
playsewithpan SE_M_UPROAR, SOUND_PAN_ATTACKER
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 24, -24, 1
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, -24, 0
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
call UnsetBugBg
|
|
end
|
|
|
|
gBattleAnimMove_DragonPulse::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=7, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_PSYBEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 3, 4, 0, 15
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
createvisualtask AnimTask_SwayMon, ANIM_TARGET, 0, 6, 2048, 4, ANIM_TARGET
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(30, 10, 13)
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
waitforvisualfinish
|
|
delay 1
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=7, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
DragonPulseParticle:
|
|
createsprite gDragonPulseSpriteTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 13, 0
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimMove_DragonRush::
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 6
|
|
delay 4
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_TARGET
|
|
createsprite gDragonRushSpriteTemplate, ANIM_ATTACKER, 3, -16, -16
|
|
delay 8
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=5, num_blends=1, color1=RGB_WHITE, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 5, 1
|
|
waitforvisualfinish
|
|
playsewithpan 131, SOUND_PAN_TARGET
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 20, 24, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 5, 0, -20, 24, 14, 1
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 0, 5, 20, -24, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, -5, 0, 20, 24, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 30, 18, 8, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 30, -18, 8, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, -30, 18, 8, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, -30, -18, 8, 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 7, 1
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_PowerGem:: @ Copy of Hidden Power with background blackened
|
|
simple_palette_blend unused_subpriority_offset=5, selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=7, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
waitforvisualfinish
|
|
delay 30
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB_WHITE, 12, 5, 1
|
|
delay 4
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
createsprite gPowerGemOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 0
|
|
createsprite gPowerGemOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 42
|
|
createsprite gPowerGemOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 84
|
|
createsprite gPowerGemOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 126
|
|
createsprite gPowerGemOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 168
|
|
createsprite gPowerGemOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 210
|
|
delay 52
|
|
setarg 7, -1
|
|
playsewithpan SE_M_REFLECT, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
createsprite gPowerGemOrbScatterSpriteTemplate, ANIM_TARGET, 2, 0
|
|
createsprite gPowerGemOrbScatterSpriteTemplate, ANIM_TARGET, 2, 32
|
|
createsprite gPowerGemOrbScatterSpriteTemplate, ANIM_TARGET, 2, 64
|
|
createsprite gPowerGemOrbScatterSpriteTemplate, ANIM_TARGET, 2, 96
|
|
createsprite gPowerGemOrbScatterSpriteTemplate, ANIM_TARGET, 2, 128
|
|
createsprite gPowerGemOrbScatterSpriteTemplate, ANIM_TARGET, 2, 160
|
|
createsprite gPowerGemOrbScatterSpriteTemplate, ANIM_TARGET, 2, 192
|
|
createsprite gPowerGemOrbScatterSpriteTemplate, ANIM_TARGET, 2, 224
|
|
simple_palette_blend unused_subpriority_offset=5, selector=F_PAL_BG, delay=1, initial_blend_y=7, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_DrainPunch::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_VITAL_THROW2, -64
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 3, 0, 0, 8, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 15, 1
|
|
delay 20
|
|
call GigaDrainAbsorbEffect
|
|
waitforvisualfinish
|
|
delay 15
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_VacuumWave::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=8, y=-8, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 3, 8, 0, 8, 1, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 0, RGB_WHITE, 3
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_FocusBlast::
|
|
monbg ANIM_ATK_PARTNER
|
|
splitbgprio ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
call SetFocusBlastBG
|
|
createsprite gSuperpowerOrbSpriteTemplate, ANIM_TARGET, 2, 0
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 8, 0, 16, 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
call UnsetHighSpeedBg
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
delay 1
|
|
end
|
|
|
|
SetFocusBlastBG:
|
|
fadetobg BG_FOCUS_BLAST
|
|
goto SetHighSpeedBgFade
|
|
|
|
gBattleAnimMove_EnergyBall::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=8, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
delay 15
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_MIST, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 5, 5, 0, 5
|
|
createsprite gEnergyBallSpriteTemplate, ANIM_TARGET, 2, 12, 4, 8
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SAND_ATTACK, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 8, 1
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=8, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_BraveBird::
|
|
call SetSkyBg
|
|
monbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 0, 0, 16, RGB_WHITE
|
|
delay 4
|
|
attacker_fade_to_invisible priority=5, step_delay=0
|
|
waitforvisualfinish
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, 238, SOUND_PAN_ATTACKER
|
|
createsprite gSkyAttackBirdSpriteTemplate, ANIM_TARGET, 2
|
|
delay 14
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 10, 0, 18, 1
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 141, SOUND_PAN_TARGET
|
|
delay 20
|
|
attacker_fade_from_invisible priority=5, step_delay=1
|
|
delay 2
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 0, 15, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
call UnsetSkyBg
|
|
end
|
|
|
|
gBattleAnimMove_EarthPower::
|
|
createvisualtask AnimTask_HorizontalShake, 3, ANIM_TARGET, 10, 50
|
|
playsewithpan SE_M_EARTHQUAKE, SOUND_PAN_TARGET
|
|
delay 32
|
|
fadetobg BG_FISSURE
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_PositionFissureBgOnBattler, 5, ANIM_TARGET, 5, -1
|
|
waitbgfadein
|
|
loopsewithpan 145, SOUND_PAN_TARGET 11, 3
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 3, 25, 1
|
|
call CreateDragonRageFirePlumes
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_TARGET, 66, 0, 0, 4
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, -1
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_Switcheroo::
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
call SwapItems
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_GigaImpact::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_IsContest, 2
|
|
jumprettrue SetGigaImpactContestsBG
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpretfalse SetGigaImpactOpponentBG
|
|
goto SetGigaImpactPlayerBG
|
|
SetGigaImpactOpponentBG:
|
|
fadetobg BG_GIGA_IMPACT_OPPONENT
|
|
goto GigaImpactContinuity
|
|
SetGigaImpactPlayerBG:
|
|
fadetobg BG_GIGA_IMPACT_PLAYER
|
|
goto GigaImpactContinuity
|
|
SetGigaImpactContestsBG:
|
|
fadetobg BG_GIGA_IMPACT_CONTESTS
|
|
goto GigaImpactContinuity
|
|
GigaImpactContinuity:
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 6, 1, ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
delay 11
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 26, 0, 0, 5
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -16, 0, 0, 4
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
waitforvisualfinish
|
|
delay 2
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 5
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 6
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
restorebg
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_NastyPlot::
|
|
fadetobg BG_DARK
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_FadeScreenToWhite, 5
|
|
waitbgfadein
|
|
delay 8
|
|
createsprite gQuestionMarkSpriteTemplate, ANIM_ATTACKER, 20, 0
|
|
playsewithpan SE_M_METRONOME, SOUND_PAN_ATTACKER
|
|
delay 54
|
|
loopsewithpan SE_M_METRONOME, SOUND_PAN_ATTACKER, 16, 3
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_BulletPunch::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 3, -8, 0, 8, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-8, y=0, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 3, -16, 8, 8, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-16, y=8, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 3, 8, -16, 8, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-16, y=8, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, 8, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=16, y=8, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 8, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 3, 24, 0, 8, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=24, y=0, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 3, 24, 16, 8, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=24, y=16, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 3, -24, 16, 8, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-24, y=16, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 3, -24, -8, 8, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-24, y=-8, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 3, -24, 8, 8, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-24, y=8, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 2
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 9, 0, 8, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Avalanche::
|
|
monbg ANIM_DEF_PARTNER
|
|
shake_mon_or_platform velocity=7, shake_timer=1, shake_duration=11, type=SHAKE_BG_Y
|
|
createsprite gAvalancheSpriteTemplate, ANIM_TARGET, 2, -5, 1, -5, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAvalancheSpriteTemplate, ANIM_TARGET, 2, 5, 0, 6, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAvalancheSpriteTemplate, ANIM_TARGET, 2, 19, 1, 10, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAvalancheSpriteTemplate ANIM_TARGET, 2, -17, 2, -20, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 5, 50, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 0, 5, 50, 1
|
|
delay 2
|
|
call SnowSlide1
|
|
call SnowSlide1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
SnowSlide1:
|
|
createsprite gAvalancheSpriteTemplate, ANIM_TARGET, 2, -20, 0, -10, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAvalancheSpriteTemplate, ANIM_TARGET, 2, 28, 1, 10, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAvalancheSpriteTemplate, ANIM_TARGET, 2, -10, 1, -5, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAvalancheSpriteTemplate, ANIM_TARGET, 2, 10, 0, 6, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAvalancheSpriteTemplate, ANIM_TARGET, 2, 24, 1, 10, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAvalancheSpriteTemplate, ANIM_TARGET, 2, -32, 2, -10, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAvalancheSpriteTemplate, ANIM_TARGET, 2, -20, 0, -10, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAvalancheSpriteTemplate, ANIM_TARGET, 2, 30, 2, 10, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_IceShard::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gIceShardSpriteTemplate, ANIM_ATTACKER, 2, 3, 0, 30
|
|
delay 1
|
|
createsprite gIceShardSpriteTemplate, ANIM_ATTACKER, 2, 3, 0, -20
|
|
delay 1
|
|
createsprite gIceShardSpriteTemplate, ANIM_ATTACKER, 2, 3, 0, 30
|
|
delay 1
|
|
createsprite gIceShardSpriteTemplate, ANIM_ATTACKER, 2, 3, 0, -20
|
|
delay 1
|
|
createsprite gIceShardSpriteTemplate, ANIM_ATTACKER, 2, 3, 0, 30
|
|
delay 4
|
|
simple_palette_blend selector=F_PAL_TARGET, delay=-31, initial_blend_y=0, target_blend_y=7, color=RGB(0, 20, 31)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 25, 1
|
|
call IceCrystalEffectShort
|
|
simple_palette_blend selector=F_PAL_TARGET, delay=5, initial_blend_y=7, target_blend_y=0, color=RGB(0, 20, 31)
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_ShadowClaw::
|
|
fadetobg BG_GHOST
|
|
waitbgfadein
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gHorizontalLungeSpriteTemplate ANIM_ATTACKER, 2, 6, 4
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 18, 1
|
|
call CreateClawSlashes1
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
delay 12
|
|
call CreateClawSlashes2
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_ThunderFang::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=16, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -48
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_ATTACKER, 2, 0, 16
|
|
delay 1
|
|
call CreateBite
|
|
delay 1
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
delay 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 15, 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
delay 1
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=16, target_blend_y=0, color=RGB_BLACK
|
|
delay 20
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_IceFang::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=7, color=RGB_BLACK
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 9, RGB(12, 26, 31)
|
|
delay 20
|
|
playsewithpan SE_M_STRING_SHOT, SOUND_PAN_TARGET
|
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 0
|
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 64
|
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 128
|
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 192
|
|
delay 5
|
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 32
|
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 96
|
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 160
|
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 224
|
|
call CreateBite
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 4, 7, 1
|
|
delay 15
|
|
call IceCrystalEffectShort
|
|
delay 5
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 9, 0, RGB(12, 26, 31)
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=0, initial_blend_y=7, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_FireFang::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 9, RGB_RED
|
|
createsprite gFireSpiralInwardSpriteTemplate, ANIM_TARGET, 1, 0
|
|
createsprite gFireSpiralInwardSpriteTemplate, ANIM_TARGET, 1, 64
|
|
createsprite gFireSpiralInwardSpriteTemplate, ANIM_TARGET, 1, 128
|
|
createsprite gFireSpiralInwardSpriteTemplate, ANIM_TARGET, 1, 196
|
|
call CreateBite
|
|
delay 10
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 4, 7, 1
|
|
call FireSpreadEffect
|
|
delay 4
|
|
playsewithpan SE_M_FIRE_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 0, 9, 0, RGB_RED
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_ShadowSneak::
|
|
monbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 7, RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_FAINT_ATTACK, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 1, 3
|
|
attacker_fade_to_invisible step_delay=1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
invisible ANIM_ATTACKER
|
|
delay 1
|
|
createvisualtask AnimTask_DestinyBondWhiteShadow, 5, 0, 48
|
|
delay 48
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=15, color=RGB_BLACK
|
|
createsprite gShadowSneakImpactSpriteTemplate, ANIM_TARGET, 2, -10, -10, 0
|
|
call ShadowSneakMovement
|
|
createsprite gShadowSneakImpactSpriteTemplate, ANIM_TARGET, 2, 10, 20, 0
|
|
call ShadowSneakMovement
|
|
createsprite gShadowSneakImpactSpriteTemplate, ANIM_TARGET, 2, -5, 10, 0
|
|
call ShadowSneakMovement
|
|
createsprite gShadowSneakImpactSpriteTemplate, ANIM_TARGET, 2, 17, -12, 0
|
|
call ShadowSneakMovement
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 7, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
ShadowSneakMovement:
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimMove_MudBomb::
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
createsprite gMudBombToss, ANIM_TARGET, 2, 20, 0, 0, 0, 35, -25
|
|
delay 5
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
createsprite gMudBombToss, ANIM_TARGET, 2, 20, 0, 0, 0, 35, -25
|
|
delay 5
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
createsprite gMudBombToss, ANIM_TARGET, 2, 20, 0, 0, 0, 35, -25
|
|
delay 5
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
createsprite gMudBombToss, ANIM_TARGET, 2, 20, 0, 0, 0, 35, -25
|
|
delay 11
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 5, 1
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, 42, 27, 20
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, 42, 27, 20
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, -27, 44, 20
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, 39, -28, 20
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, -42, -42, 20
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 5, 1
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, 0, 40, 20
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, -8, -44, 20
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, -46, -28, 20
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, 46, 9, 20
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 5, 1
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, 42, 0, 20
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, -43, -12, 20
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, 16, -46, 20
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, -16, 44, 20
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 5, 1
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, 0, 40, 20
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, -8, -44, 20
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, -46, -28, 20
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, 46, 9, 20
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 5, 1
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, 42, 0, 20
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, -43, -12, 20
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, 16, -46, 20
|
|
createsprite gMudBombSplash, ANIM_TARGET, 2, -16, 44, 20
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_PsychoCut::
|
|
monbg ANIM_ATK_PARTNER
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_CROSS_IMPACT, 0, 9, 9, RGB_PURPLE
|
|
createvisualtask AnimTask_SwayMon, ANIM_ATTACKER, 0, 6, 2048, 2, ANIM_ATTACKER
|
|
createsprite gPsychoCutSpiralSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 0
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 1, F_PAL_BG, 2, 0, 4, RGB_BLACK
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 1, F_PAL_ATTACKER, 2, 0, 10, RGB(20, 12, 23)
|
|
delay 30
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
waitforvisualfinish
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
createsprite gPsychoCutSpriteTemplate, ANIM_TARGET, 2, 20, 0, -8, 0, 20
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 7, 0, 9, 1
|
|
create_cross_impact_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=1, duration=20
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 1, F_PAL_BG, 2, 4, 0, RGB_BLACK
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 1, F_PAL_ATTACKER, 2, 10, 0, RGB(20, 12, 23)
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_ZenHeadbutt::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=4, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gZenHeadbuttSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
delay 18
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 2
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 1, 0
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 2
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 1, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 2, 0, 4, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 1, 2
|
|
createsprite gAquaTailHitSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=4, initial_blend_y=4, target_blend_y=0, color=RGB_BLACK
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_MirrorShot::
|
|
loopsewithpan SE_M_HARDEN, SOUND_PAN_ATTACKER, 28, 2
|
|
metallic_shine permanent=1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 0, 10, RGB_WHITEALPHA
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_IMPACT, 0, 12, 12, RGB(21, 21, 21)
|
|
waitforvisualfinish
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 10, 0, RGB_WHITEALPHA
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 5, 14
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_FlashCannon::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 13, 8
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 60, 2, 12
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite gFlashCannonGrayChargeTemplate, ANIM_ATTACKER, 2, 0
|
|
delay 25
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 10
|
|
delay 6
|
|
loopsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER, 6, 5
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_PAY_DAY, SOUND_PAN_ATTACKER
|
|
createsprite gFlashCannonBallMovementTemplate, ANIM_TARGET, 2, 0, 0, 21
|
|
clearmonbg ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_LEER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_Flash, 2
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 16, 0, RGB_RED
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 15, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_RockClimb::
|
|
delay 8
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER, 38, 3
|
|
waitforvisualfinish
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_Rollout, 2, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, 0, 1, 30, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-15, y=8, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-5, y=-12, relative_to=ANIM_TARGET, animation=1
|
|
delay 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=-32, relative_to=ANIM_TARGET, animation=1
|
|
delay 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=5, y=-52, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, -25, 16, 1, 4
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 0, 3, 6, 1
|
|
delay 30
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 6
|
|
delay 4
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 6
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Defog::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER
|
|
createsprite gLusterPurgeCircleSpriteTemplate, ANIM_ATTACKER, 41, 0, 0, 0, 0
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 0, 16, RGB_WHITEALPHA
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_WHITE_CIRCLE_OF_LIGHT, 2, 0, 16, -1
|
|
waitforvisualfinish
|
|
waitforvisualfinish
|
|
delay 16
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 16, 0, RGB_WHITEALPHA
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_TrickRoom::
|
|
call InitRoomAnimation
|
|
gBattleAnimGeneral_TrickRoom::
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_TARGET
|
|
fadetobg BG_TRICK_ROOM
|
|
waitbgfadein
|
|
delay 64
|
|
restorebg
|
|
waitbgfadein
|
|
blendoff
|
|
end
|
|
InitRoomAnimation:
|
|
setalpha 8, 8
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -6, -6, 15, ANIM_TARGET, 1
|
|
return
|
|
|
|
gBattleAnimMove_DracoMeteor::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB(1, 2, 11)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_WATER_GUN, 0, 10, 10, RGB_PURPLE @;Purple
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
waitforvisualfinish
|
|
playsewithpan SE_FALL, SOUND_PAN_ATTACKER
|
|
@setblends 2060
|
|
call DracoMeteor1
|
|
delay 7
|
|
call DracoMeteor2
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 4, 2
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=40, y=32@; For Meteor 1
|
|
createvisualtask AnimTask_HorizontalShake, 5, 5, 2, 1
|
|
delay 7
|
|
call DracoMeteor3
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 4, 2
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=-8, y=32@; For Meteor 2
|
|
delay 7
|
|
call DracoMeteor4
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 4, 2
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=21, y=32@; For Meteor 3
|
|
delay 7
|
|
call DracoMeteor1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 4, 2
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=-8, y=32@; For Meteor 4
|
|
createvisualtask AnimTask_HorizontalShake, 5, 5, 2, 1
|
|
delay 7
|
|
call DracoMeteor2
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 4, 2
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=40, y=32@; For Meteor 1
|
|
delay 7
|
|
call DracoMeteor3
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 4, 2
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=21, y=32@; For Meteor 3
|
|
delay 15
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 4, 2
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=21, y=32@; For Meteor 3
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 2, 1
|
|
delay 7
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB(1, 2, 11)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
DracoMeteor1:
|
|
createsprite gDracoMeteorRocksSpriteTemplate, ANIM_ATTACKER, 3, -48, -64, 40, 32, 25
|
|
delay 2
|
|
createsprite gDracoMeteorTailSpriteTemplate, ANIM_ATTACKER, 3, -48, -64, 40, 32, 25
|
|
delay 2
|
|
createsprite gDracoMeteorTailSpriteTemplate, ANIM_ATTACKER, 3, -48, -64, 40, 32, 25
|
|
return
|
|
DracoMeteor2:
|
|
createsprite gDracoMeteorRocksSpriteTemplate, ANIM_ATTACKER, 3, -112, -64, -8, 32, 25
|
|
delay 2
|
|
createsprite gDracoMeteorTailSpriteTemplate, ANIM_ATTACKER, 3, -112, -64, -8, 32, 25
|
|
delay 2
|
|
createsprite gDracoMeteorTailSpriteTemplate, ANIM_ATTACKER, 3, -112, -64, -8, 32, 25
|
|
return
|
|
DracoMeteor3:
|
|
createsprite gDracoMeteorRocksSpriteTemplate, ANIM_ATTACKER, 3, -80, -64, 24, 32, 25
|
|
delay 2
|
|
createsprite gDracoMeteorTailSpriteTemplate, ANIM_ATTACKER, 3, -80, -64, 24, 32, 25
|
|
delay 2
|
|
createsprite gDracoMeteorTailSpriteTemplate, ANIM_ATTACKER, 3, -80, -64, 24, 32, 25
|
|
return
|
|
DracoMeteor4:
|
|
createsprite gDracoMeteorRocksSpriteTemplate, ANIM_ATTACKER, 3, -80, -64, -8, 32, 25
|
|
delay 2
|
|
createsprite gDracoMeteorTailSpriteTemplate, ANIM_ATTACKER, 3, -80, -64, -8, 32, 25
|
|
delay 2
|
|
createsprite gDracoMeteorTailSpriteTemplate, ANIM_ATTACKER, 3, -80, -64, -8, 32, 25
|
|
return
|
|
|
|
gBattleAnimMove_Discharge::
|
|
delay 0
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=5, target_blend_y=5, color=RGB(31, 31, 20)
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=0, target_blend_y=0, color=RGB(31, 31, 20)
|
|
delay 10
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=5, target_blend_y=5, color=RGB(31, 31, 20)
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
waitbgfadein
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER
|
|
createsprite gLusterPurgeCircleSpriteTemplate, ANIM_ATTACKER, 41, 0, 0, 0, 0
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 0, 16, RGB_WHITEALPHA
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_WHITE_CIRCLE_OF_LIGHT, 2, 0, 16, RGB_WHITEALPHA
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_IMPACT, 0, 12, 12, RGB(0, 0, 23)
|
|
waitforvisualfinish
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_ATK_PARTNER, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_ATK_PARTNER, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_ATK_PARTNER, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_ATK_PARTNER, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_ATK_PARTNER, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 16, 0, RGB_WHITEALPHA
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 5, 14
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_DEF_PARTNER, 5, 14
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_ATK_PARTNER, 5, 14
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
call DischargeElectrify
|
|
waitforvisualfinish
|
|
end
|
|
DischargeElectrify:
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 5, 0, 5, 0, ANIM_TARGET
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 5, 0, 5, 0, ANIM_DEF_PARTNER
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 5, 0, 5, 0, ANIM_ATK_PARTNER
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -5, 10, 5, 1, ANIM_TARGET
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -5, 10, 5, 1, ANIM_DEF_PARTNER
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -5, 10, 5, 1, ANIM_ATK_PARTNER
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 15, 20, 5, 2, ANIM_TARGET
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 15, 20, 5, 2, ANIM_DEF_PARTNER
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 15, 20, 5, 2, ANIM_ATK_PARTNER
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -15, -10, 5, 0, ANIM_TARGET
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -15, -10, 5, 0, ANIM_DEF_PARTNER
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -15, -10, 5, 0, ANIM_ATK_PARTNER
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 25, 0, 5, 1, ANIM_TARGET
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 25, 0, 5, 1, ANIM_DEF_PARTNER
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 25, 0, 5, 1, ANIM_ATK_PARTNER
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -8, 8, 5, 2, ANIM_TARGET
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -8, 8, 5, 2, ANIM_DEF_PARTNER
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -8, 8, 5, 2, ANIM_ATK_PARTNER
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 2, -8, 5, 0, ANIM_TARGET
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 2, -8, 5, 0, ANIM_DEF_PARTNER
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 2, -8, 5, 0, ANIM_ATK_PARTNER
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -20, 15, 5, 1, ANIM_TARGET
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -20, 15, 5, 1, ANIM_DEF_PARTNER
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -20, 15, 5, 1, ANIM_ATK_PARTNER
|
|
return
|
|
|
|
gBattleAnimMove_LavaPlume::
|
|
loopsewithpan 152, SOUND_PAN_ATTACKER, 9, 2
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_RED
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 32, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 32, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATK_PARTNER, 1, 0, 32, 1
|
|
waitforvisualfinish
|
|
createsprite gLavaPlumeSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
createsprite gLavaPlumeSpriteTemplate, ANIM_ATTACKER, 2, 32
|
|
createsprite gLavaPlumeSpriteTemplate, ANIM_ATTACKER, 2, 64
|
|
createsprite gLavaPlumeSpriteTemplate, ANIM_ATTACKER, 2, 96
|
|
createsprite gLavaPlumeSpriteTemplate, ANIM_ATTACKER, 2, 128
|
|
createsprite gLavaPlumeSpriteTemplate, ANIM_ATTACKER, 2, 160
|
|
createsprite gLavaPlumeSpriteTemplate, ANIM_ATTACKER, 2, 192
|
|
createsprite gLavaPlumeSpriteTemplate, ANIM_ATTACKER, 2, 224
|
|
playsewithpan SE_M_SACRED_FIRE, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_LeafStorm::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_foes ANIM_TARGET
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=12, color=RGB(13, 31, 12)
|
|
waitforvisualfinish
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -12, 15, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 8, 15, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -16, 19, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 12, 19, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -20, 23, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 16, 23, 0, 0
|
|
delay 3
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 5, 0, 50, 1
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -24, 27, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 20, 27, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -24, 27, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 20, 27, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -20, 23, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 16, 23, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -16, 19, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 12, 19, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -12, 15, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 8, 15, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -8, 11, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 8, 15, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -16, 19, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 12, 19, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -20, 23, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 16, 23, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -24, 27, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 20, 27, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -24, 27, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 20, 27, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -20, 23, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 16, 23, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -16, 19, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 12, 19, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -12, 15, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 8, 15, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -16, 19, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 12, 19, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -20, 23, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 16, 23, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 14, -12, 0, -24, 27, 0, 0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm, ANIM_ATTACKER, 2, 26, 8, 12, 20, 27, 0, 0
|
|
delay 3
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm2, ANIM_TARGET, 2, 1, 1, 0, -36, 10
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm2, ANIM_TARGET, 2, 1, 1, 24, -12, 10
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm2, ANIM_TARGET, 2, 1, 1, 24, 12, 10
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm2, ANIM_TARGET, 2, 1, 1, 0, 36, 10
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm2, ANIM_TARGET, 2, 1, 1, -24, 12, 10
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm2, ANIM_TARGET, 2, 1, 1, -24, -12, 10
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm2, ANIM_TARGET, 2, 1, 1, 36, 0, 10
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm2, ANIM_TARGET, 2, 1, 1, 12, -24, 10
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm2, ANIM_TARGET, 2, 1, 1, 12, 24, 10
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm2, ANIM_TARGET, 2, 1, 1, -36, 0, 10
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm2, ANIM_TARGET, 2, 1, 1, -12, 24, 10
|
|
createsprite gBattleAnimSpriteTemplate_LeafStorm2, ANIM_TARGET, 2, 1, 1, -12, -24, 10
|
|
waitforvisualfinish
|
|
blendoff
|
|
delay 0
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=12, target_blend_y=0, color=RGB(13, 31, 12)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_PowerWhip::
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 10
|
|
delay 6
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET
|
|
createsprite gSpinningVineSpriteTemplate, ANIM_ATTACKER, 2, -42, -25, 0, 0, 25
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpretfalse PowerWhipOnOpponent
|
|
goto PowerWhipOnPlayer
|
|
PowerWhipOnOpponent:
|
|
fadetobg BG_IMPACT_OPPONENT
|
|
goto PowerWhipContinue
|
|
PowerWhipOnPlayer:
|
|
fadetobg BG_IMPACT_PLAYER
|
|
goto PowerWhipContinue
|
|
PowerWhipContinue:
|
|
waitbgfadeout
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 5, 1
|
|
playsewithpan SE_BANG, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
delay 20
|
|
restorebg
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_RockWrecker::
|
|
fadetobg BG_ROCK_WRECKER
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -4096, 0, 0, -1
|
|
waitbgfadein
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 46, 1
|
|
delay 6
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
call ContinentalCrushStockpileRocks
|
|
createsprite gContinentalCrushGrowingRockSpriteTemplate, ANIM_ATTACKER, 41, 0, 0, 0, 0
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
call ContinentalCrushStockpileRocks
|
|
delay 10
|
|
loopsewithpan SE_M_ROCK_THROW, SOUND_PAN_ATTACKER, 10, 3
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
createsprite gReallyBigRockBlastRockSpriteTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 25, 257
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 131, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_ROCK_THROW SOUND_PAN_TARGET
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 130, 0, 0, 20, 24, 14, 2
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 8, 0, 40, 1
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 130, 5, 0, -20, 24, 14, 1
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 130, 0, 5, 20, -18, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 130, -5, 0, -20, -18, 14, 2
|
|
call OpposingExplosion2
|
|
waitforvisualfinish
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_CrossPoison::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=1, color1=RGB_WHITE, blend_y1=10, color2=RGB_BLACK, blend_y2=10
|
|
create_cross_impact_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=1, duration=20
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 7, 0, 9, 1
|
|
waitforvisualfinish
|
|
call PoisonBubblesEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_GunkShot::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
call SetGunkShotBG
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 40, 1
|
|
delay 6
|
|
panse SE_M_HYDRO_PUMP, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
createvisualtask AnimTask_StartSinAnimTimer, 5, 100
|
|
call GunkShotParticles
|
|
call GunkShotParticles
|
|
call GunkShotParticles
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 27, 1
|
|
loopsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET, 3, 15
|
|
call GunkShotImpact
|
|
call GunkShotParticles
|
|
call GunkShotParticles
|
|
call GunkShotImpact
|
|
call GunkShotParticles
|
|
call GunkShotParticles
|
|
call GunkShotImpact
|
|
call GunkShotParticles
|
|
call GunkShotParticles
|
|
call GunkShotImpact
|
|
call GunkShotParticles
|
|
call GunkShotParticles
|
|
call GunkShotImpact
|
|
delay 1
|
|
delay 1
|
|
call GunkShotImpact
|
|
call PoisonBubblesEffect
|
|
waitforvisualfinish
|
|
call UnsetHighSpeedBg
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
GunkShotParticles:
|
|
createsprite gGunkShoParticlesSpriteTemplate, ANIM_ATTACKER, 3, 10, 10, 0, 16
|
|
createsprite gGunkShoParticlesSpriteTemplate, ANIM_ATTACKER, 3, 10, 10, 0, -16
|
|
delay 1
|
|
createsprite gGunkShoParticlesSpriteTemplate, ANIM_ATTACKER, 3, 10, 10, 0, 16
|
|
createsprite gGunkShoParticlesSpriteTemplate, ANIM_ATTACKER, 3, 10, 10, 0, -16
|
|
delay 1
|
|
return
|
|
GunkShotImpact:
|
|
createsprite gGunkShotImpactSpriteTemplate, ANIM_TARGET, 4, 0, 15, 1, 1
|
|
createsprite gGunkShotImpactSpriteTemplate, ANIM_TARGET, 4, 0, -15, 1, 1
|
|
return
|
|
SetGunkShotBG:
|
|
fadetobg BG_GUNK_SHOT
|
|
goto SetHighSpeedBgFade
|
|
|
|
|
|
gBattleAnimMove_IronHead::
|
|
loopsewithpan SE_M_HARDEN, SOUND_PAN_ATTACKER, 28, 2
|
|
metallic_shine permanent=1
|
|
waitforvisualfinish
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 2
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 2, 0, 4, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 7, 1
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 2
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=1, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
set_original_pal battler=ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_MagnetBomb::
|
|
delay 0
|
|
playsewithpan 119, 192
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
playsewithpan 119, 192
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
playsewithpan 152, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
waitforvisualfinish
|
|
delay 30
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB(19, 31, 31), 12, 5, 1
|
|
delay 4
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
playsewithpan 217, SOUND_PAN_ATTACKER
|
|
createsprite gHiddenPowerOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 0
|
|
createsprite gHiddenPowerOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 42
|
|
createsprite gHiddenPowerOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 84
|
|
createsprite gHiddenPowerOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 126
|
|
createsprite gHiddenPowerOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 168
|
|
createsprite gHiddenPowerOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 210
|
|
delay 52
|
|
setarg 7, -1
|
|
playsewithpan 207, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 0
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 32
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 64
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 96
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 128
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 160
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 192
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 224
|
|
playsewithpan 177, 63
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, 8, 8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, -8, -8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, 8, -8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, -8, 8, 1, 0
|
|
waitforvisualfinish
|
|
playsewithpan 177, 63
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, 8, 8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, -8, -8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, 8, -8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, -8, 8, 1, 0
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_StoneEdge::
|
|
playsewithpan SE_M_ROCK_THROW SOUND_PAN_TARGET
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 28, 528, 30, 13, 50, 1
|
|
delay 2
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 32, 480, 20, 16, -46, 1
|
|
delay 2
|
|
loopsewithpan 131, SOUND_PAN_TARGET 24, 3
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 33, 576, 20, 8, 42, 1
|
|
delay 2
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 31, 400, 25, 11, -42, 1
|
|
delay 2
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 28, 512, 25, 16, 46, 1
|
|
delay 2
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 30, 15, 49, 1
|
|
delay 2
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 28, 528, 30, 13, 50, 1
|
|
delay 2
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 32, 480, 20, 16, -46, 1
|
|
delay 2
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 33, 576, 20, 8, 42, 1
|
|
delay 2
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 31, 400, 25, 11, -42, 1
|
|
delay 2
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 28, 512, 25, 16, 46, 1
|
|
delay 2
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 30, 15, 49, 1
|
|
delay 2
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 28, 528, 30, 13, 50, 1
|
|
delay 2
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 32, 480, 20, 16, -46, 1
|
|
delay 2
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 33, 576, 20, 8, 42, 1
|
|
delay 2
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 31, 400, 25, 11, -42, 1
|
|
delay 2
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 28, 512, 25, 16, 46, 1
|
|
delay 2
|
|
createsprite gStoneEdgeSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 30, 15, 49, 1
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-32, y=-16, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 3, 0, 12, 1
|
|
delay 4
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=32, y=20, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Captivate::
|
|
createvisualtask AnimTask_RockMonBackAndForth, 5, ANIM_ATTACKER, 2, 0
|
|
createsprite gMagentaHeartSpriteTemplate, ANIM_ATTACKER, 3, 0, 20
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
createsprite gMagentaHeartSpriteTemplate, ANIM_ATTACKER, 3, -20, 20
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
createsprite gMagentaHeartSpriteTemplate, ANIM_ATTACKER, 3, 20, 20
|
|
playsewithpan 228, SOUND_PAN_ATTACKER
|
|
call GrantingStarsEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_StealthRock::
|
|
monbg ANIM_DEF_PARTNER
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET, 28
|
|
createsprite gStealthRockSpriteTemplate, ANIM_TARGET, 2, 20, 0, 0, 24, 30
|
|
delay 10
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET, 28
|
|
createsprite gStealthRockSpriteTemplate, ANIM_TARGET, 2, 20, 0, -24, 24, 30
|
|
delay 10
|
|
waitplaysewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET, 28
|
|
createsprite gStealthRockSpriteTemplate, ANIM_TARGET, 2, 20, 0, 24, 24, 30
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_GrassKnot::
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 0, 0, 4
|
|
createsprite gGrassKnotSpriteTemplate, ANIM_TARGET, 2, -18, 19, 40, 8, 160, 0
|
|
delay 4
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-8, y=8, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 6, 384, ANIM_TARGET, 2
|
|
playsewithpan SE_M_VITAL_THROW2 SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 4
|
|
end
|
|
|
|
gBattleAnimMove_Chatter::
|
|
monbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
createvisualtask SoundTask_PlayDoubleCry, 2, ANIM_ATTACKER, DOUBLE_CRY_GROWL
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 29, -12, 0
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -12, -29, 1
|
|
delay 16
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
createvisualtask SoundTask_PlayDoubleCry, 2, ANIM_ATTACKER, DOUBLE_CRY_GROWL
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 12, -29, 1
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -29, -12, 0
|
|
delay 16
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
createvisualtask SoundTask_PlayDoubleCry, 2, ANIM_ATTACKER, DOUBLE_CRY_GROWL
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 24, -24, 1
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, -24, 0
|
|
waitforvisualfinish
|
|
createsprite gChatterSingNotesTemplate, ANIM_TARGET, 2, -10, -10, 0
|
|
delay 4
|
|
createsprite gChatterSingNotesTemplate, ANIM_TARGET, 2, 10, 20, 0
|
|
delay 4
|
|
createsprite gChatterSingNotesTemplate, ANIM_TARGET, 2, -5, 10, 0
|
|
delay 4
|
|
createsprite gChatterSingNotesTemplate, ANIM_TARGET, 2, 17, -12, 0
|
|
delay 4
|
|
createsprite gChatterSingNotesTemplate, ANIM_TARGET, 2, -15, 15, 0
|
|
delay 4
|
|
createsprite gChatterSingNotesTemplate, ANIM_TARGET, 2, 0, 0, 0
|
|
delay 4
|
|
createsprite gChatterSingNotesTemplate, ANIM_TARGET, 2, 20, 2, 0
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_Judgment::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_GUST, 0, 14, 14, RGB_BLACK
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_HANDS_AND_FEET, 0, 10, 10, RGB_BLACK
|
|
monbg ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 15, RGB_WHITE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 83, 1
|
|
createsprite gJudgmentBlackChargeTemplate, ANIM_TARGET, 1, 1, ANIM_TARGET
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_TARGET
|
|
call JudgmentInwardSpikes
|
|
delay 5
|
|
call JudgmentInwardSpikes2
|
|
delay 5
|
|
call JudgmentInwardSpikes
|
|
delay 5
|
|
call JudgmentInwardSpikes2
|
|
delay 5
|
|
call JudgmentInwardSpikes
|
|
delay 5
|
|
call JudgmentInwardSpikes2
|
|
delay 5
|
|
call JudgmentInwardSpikes2
|
|
delay 47
|
|
call JudgmentOutwardSpikes
|
|
delay 5
|
|
call JudgmentOutwardSpikes2
|
|
delay 5
|
|
call JudgmentOutwardSpikes
|
|
delay 5
|
|
call JudgmentOutwardSpikes2
|
|
delay 5
|
|
call JudgmentOutwardSpikes
|
|
delay 5
|
|
call JudgmentOutwardSpikes2
|
|
delay 5
|
|
call JudgmentOutwardSpikes
|
|
delay 5
|
|
call JudgmentOutwardSpikes2
|
|
delay 5
|
|
call JudgmentOutwardSpikes
|
|
delay 5
|
|
call JudgmentOutwardSpikes2
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 15, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
JudgmentOutwardSpikes:
|
|
createsprite gJudgmentGrayOutwardSpikesTemplate, ANIM_TARGET, 2, 1, 1, 0, -112, 16 @up
|
|
createsprite gJudgmentGrayOutwardSpikesTemplate, ANIM_TARGET, 2, 1, 1, 95, -99, 16 @upper right
|
|
createsprite gJudgmentGrayOutwardSpikesTemplate, ANIM_TARGET, 2, 1, 1, 115, 0, 16 @right
|
|
createsprite gJudgmentGrayOutwardSpikesTemplate, ANIM_TARGET, 2, 1, 1, 79, 55, 16 @lower right
|
|
createsprite gJudgmentGrayOutwardSpikesTemplate, ANIM_TARGET, 2, 1, 1, 0, 83, 16 @down
|
|
createsprite gJudgmentGrayOutwardSpikesTemplate, ANIM_TARGET, 2, 1, 1, -80, 67, 16 @lower left
|
|
createsprite gJudgmentGrayOutwardSpikesTemplate, ANIM_TARGET, 2, 1, 1, -160, 0, 16 @left
|
|
createsprite gJudgmentGrayOutwardSpikesTemplate, ANIM_TARGET, 2, 1, 1, -86, -108, 16 @upper left
|
|
playsewithpan SE_M_MIST, SOUND_PAN_ATTACKER
|
|
return
|
|
JudgmentOutwardSpikes2:
|
|
createsprite gJudgmentGrayOutwardSpikesTemplate, ANIM_TARGET, 2, 1, 1, 45, -99, 16 @between up and upper right
|
|
createsprite gJudgmentGrayOutwardSpikesTemplate, ANIM_TARGET, 2, 1, 1, 223, -99, 16 @between right and upper right
|
|
createsprite gJudgmentGrayOutwardSpikesTemplate, ANIM_TARGET, 2, 1, 1, 159, 55, 16 @between right and lower right
|
|
createsprite gJudgmentGrayOutwardSpikesTemplate, ANIM_TARGET, 2, 1, 1, 31, 55, 16 @between lower right and down
|
|
createsprite gJudgmentGrayOutwardSpikesTemplate, ANIM_TARGET, 2, 1, 1, -32, 67, 16 @between lower left and down
|
|
createsprite gJudgmentGrayOutwardSpikesTemplate, ANIM_TARGET, 2, 1, 1, -160, 67, 16 @between left and lower left
|
|
createsprite gJudgmentGrayOutwardSpikesTemplate, ANIM_TARGET, 2, 1, 1, -214, -86, 16 @between left and upper left
|
|
createsprite gJudgmentGrayOutwardSpikesTemplate, ANIM_TARGET, 2, 1, 1, -38, -108, 16 @between up and upper left
|
|
playsewithpan SE_M_MIST, SOUND_PAN_ATTACKER
|
|
return
|
|
JudgmentInwardSpikes:
|
|
createsprite gJudgmentGrayInwardOrbsTemplate, ANIM_TARGET, 2, 1, 0, 0, -112, 16 @up
|
|
createsprite gJudgmentGrayInwardOrbsTemplate, ANIM_TARGET, 2, 1, 0, 95, -99, 16 @upper right
|
|
createsprite gJudgmentGrayInwardOrbsTemplate, ANIM_TARGET, 2, 1, 0, 115, 0, 16 @right
|
|
createsprite gJudgmentGrayInwardOrbsTemplate, ANIM_TARGET, 2, 1, 0, 79, 55, 16 @lower right
|
|
createsprite gJudgmentGrayInwardOrbsTemplate, ANIM_TARGET, 2, 1, 0, 0, 83, 16 @down
|
|
createsprite gJudgmentGrayInwardOrbsTemplate, ANIM_TARGET, 2, 1, 0, -80, 67, 16 @lower left
|
|
createsprite gJudgmentGrayInwardOrbsTemplate, ANIM_TARGET, 2, 1, 0, -160, 0, 16 @left
|
|
createsprite gJudgmentGrayInwardOrbsTemplate, ANIM_TARGET, 2, 1, 0, -86, -108, 16 @upper left
|
|
return
|
|
JudgmentInwardSpikes2:
|
|
createsprite gJudgmentGrayInwardOrbsTemplate, ANIM_TARGET, 2, 1, 0, 45, -99, 16 @between up and upper right
|
|
createsprite gJudgmentGrayInwardOrbsTemplate, ANIM_TARGET, 2, 1, 0, 223, -99, 16 @between right and upper right
|
|
createsprite gJudgmentGrayInwardOrbsTemplate, ANIM_TARGET, 2, 1, 0, 159, 55, 16 @between right and lower right
|
|
createsprite gJudgmentGrayInwardOrbsTemplate, ANIM_TARGET, 2, 1, 0, 31, 55, 16 @between lower right and down
|
|
createsprite gJudgmentGrayInwardOrbsTemplate, ANIM_TARGET, 2, 1, 0, -32, 67, 16 @between lower left and down
|
|
createsprite gJudgmentGrayInwardOrbsTemplate, ANIM_TARGET, 2, 1, 0, -160, 67, 16 @between left and lower left
|
|
createsprite gJudgmentGrayInwardOrbsTemplate, ANIM_TARGET, 2, 1, 0, -214, -86, 16 @between left and upper left
|
|
createsprite gJudgmentGrayInwardOrbsTemplate, ANIM_TARGET, 2, 1, 0, -38, -108, 16 @between up and upper left
|
|
return
|
|
|
|
gBattleAnimMove_BugBite::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
delay 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 5, 1
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_BITE, SOUND_PAN_TARGET
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 20, 24, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 5, 0, -20, 24, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 0, 5, 20, -24, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, -5, 0, -20, -24, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 30, 18, 8, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 30, -18, 8, 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 7, 1
|
|
delay 8
|
|
playsewithpan SE_M_BITE, SOUND_PAN_TARGET
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 10, 5, 30, 29, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 15, 5, -10, 29, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 10, 10, 30, -19, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 5, 5, -30, -19, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 10, 0, 40, 23, 8, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 10, 5, 40, -13, 8, 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 7, 1
|
|
delay 8
|
|
playsewithpan SE_M_BITE, SOUND_PAN_TARGET
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, -10, -5, 10, 19, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, -5, -5, -30, 19, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, -10, 0, 10, -29, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, -15, -5, -30, -29, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, -10, -10, 20, 13, 8, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, -10, -5, 20, -23, 8, 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 7, 1
|
|
delay 8
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_ChargeBeam::
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=4, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 20, 0, 2
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
createsprite gGrowingShockWaveOrbSpriteTemplate, ANIM_ATTACKER, 2
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 11, RGB(31, 31, 22)
|
|
delay 50
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 1, 16, 0, 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 4, 50, 1
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 50, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 11, 0, RGB(31, 31, 22)
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 11, RGB(31, 31, 22)
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 11, 0, RGB(31, 31, 22)
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=4, initial_blend_y=4, target_blend_y=0, color=RGB_BLACK
|
|
blendoff
|
|
end
|
|
|
|
SparkBeam:
|
|
createsprite gSparkBeamSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
delay 1
|
|
createsprite gSparkBeamSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_WoodHammer::
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 12, 4, 2, 4
|
|
createsprite gWoodHammerHammerSpriteTemplate, ANIM_TARGET, 2
|
|
delay 60
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 3, 0, 12, 4
|
|
delay 18
|
|
createvisualtask AnimTask_SquishTarget, 2
|
|
delay 6
|
|
call WoodHammerImpact
|
|
waitforvisualfinish
|
|
end
|
|
|
|
WoodHammerImpact:
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gWoodHammerSmallSpriteTemplate, ANIM_TARGET, 2, 0, 0, 20, 24, 14, 1
|
|
createsprite gWoodHammerSmallSpriteTemplate, ANIM_TARGET, 2, 5, 0, -20, 24, 14, 0
|
|
createsprite gWoodHammerSmallSpriteTemplate, ANIM_TARGET, 2, 0, 5, 20, -24, 14, 1
|
|
createsprite gWoodHammerSmallSpriteTemplate, ANIM_TARGET, 2, -5, 0, -20, -24, 14, 0
|
|
createsprite gWoodHammerSmallSpriteTemplate, ANIM_TARGET, 2, 0, 0, 20, 24, 20, 2
|
|
createsprite gWoodHammerSmallSpriteTemplate, ANIM_TARGET, 2, 5, 0, -20, 24, 20, 2
|
|
createsprite gWoodHammerSmallSpriteTemplate, ANIM_TARGET, 2, 0, 5, 20, -24, 20, 2
|
|
createsprite gWoodHammerSmallSpriteTemplate, ANIM_TARGET, 2, -5, 0, -20, -24, 20, 2
|
|
return
|
|
|
|
gBattleAnimMove_AquaJet::
|
|
createvisualtask AnimTask_AttackerStretchAndDisappear, 2
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 1
|
|
createvisualtask AnimTask_SetAttackerInvisibleWaitForSignal, 2
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gDiveWaterSplashSpriteTemplate, ANIM_TARGET, 3, 1
|
|
call DiveAttackWaterDroplets
|
|
call DiveAttackWaterDroplets
|
|
call DiveAttackWaterDroplets
|
|
call DiveAttackWaterDroplets
|
|
call DiveAttackWaterDroplets
|
|
delay 12
|
|
call RisingWaterHitEffect
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ExtremeSpeedMonReappear, 2
|
|
setarg 7, 4096
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
setarg 7, 4096
|
|
end
|
|
|
|
gBattleAnimMove_AttackOrder::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
playsewithpan SE_M_SWEET_SCENT, SOUND_PAN_TARGET
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 120, 70, 5, 70, 30
|
|
delay 1
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 120, 55, 6, 60, 25
|
|
delay 1
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 120, 60, 7, 60, 30
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 120, 55, 10, 60, 30
|
|
delay 3
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 100, 50, 4, 50, 26
|
|
delay 1
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 105, 25, 8, 60, 20
|
|
delay 1
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 120, 40, 10, 48, 30
|
|
delay 3
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 120, 30, 6, 45, 25
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 120, 35, 10, 60, 30
|
|
delay 3
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 105, 20, 8, 40, 0
|
|
delay 3
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 20, 255, 15, 32, 0
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 110, 10, 8, 32, 20
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-32, y=-16, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 3, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 3, 0, 12, 1
|
|
delay 4
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=32, y=20, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_DefendOrder::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
playsewithpan SE_M_SWEET_SCENT, SOUND_PAN_TARGET
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 120, 70, 5, 70, 30
|
|
delay 1
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 115, 55, 6, 60, 25
|
|
delay 1
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 115, 60, 7, 60, 30
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 115, 55, 10, 60, 30
|
|
delay 3
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 100, 50, 4, 50, 26
|
|
delay 1
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 105, 25, 8, 60, 20
|
|
delay 1
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 115, 40, 10, 48, 30
|
|
delay 3
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 120, 30, 6, 45, 25
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 115, 35, 10, 60, 30
|
|
delay 3
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 105, 20, 8, 40, 0
|
|
delay 3
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 20, 255, 15, 32, 0
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_TARGET, 2, 110, 10, 8, 32, 20
|
|
waitforvisualfinish
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
delay 1
|
|
goto BideSetUp
|
|
|
|
gBattleAnimMove_HealOrder::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
playsewithpan SE_M_SWEET_SCENT, SOUND_PAN_TARGET
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_ATTACKER, 2, 120, 70, 5, 70, 30
|
|
delay 1
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_ATTACKER, 2, 115, 55, 6, 60, 25
|
|
delay 1
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_ATTACKER, 2, 115, 60, 7, 60, 30
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_ATTACKER, 2, 115, 55, 10, 60, 30
|
|
delay 3
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_ATTACKER, 2, 100, 50, 4, 50, 26
|
|
delay 1
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_ATTACKER, 2, 105, 25, 8, 60, 20
|
|
delay 1
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_ATTACKER, 2, 115, 40, 10, 48, 30
|
|
delay 3
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_ATTACKER, 2, 120, 30, 6, 45, 25
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_ATTACKER, 2, 115, 35, 10, 60, 30
|
|
delay 3
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_ATTACKER, 2, 105, 20, 8, 40, 0
|
|
delay 3
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_ATTACKER, 2, 20, 255, 15, 32, 0
|
|
createsprite gAttackOrderParticleSpriteTemplate, ANIM_ATTACKER, 2, 110, 10, 8, 32, 20
|
|
waitforvisualfinish
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
delay 1
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_HeadSmash::
|
|
createvisualtask AnimTask_SkullBashPosition, 2, 0
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
playse SE_BANG
|
|
call SetImpactBackground
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 2, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 10, 0, 40, 1
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 4, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -12, 32, 3, 4
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 8, 31, 2, 2
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -4, 28, 2, 3
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 12, 30, 4, 3
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_SkullBashPosition, 2, 1
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_DoubleHit::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 8
|
|
waitforvisualfinish
|
|
@ why does the anim hit twice?
|
|
@ that just means the anim plays 4 times
|
|
@ which doesn't make sense
|
|
@ I don't know, but I'm not gonna argue with it
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 8
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_RoarOfTime::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 16, RGB_BLACK
|
|
delay 32
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 12, 8
|
|
loopsewithpan 133, SOUND_PAN_ATTACKER 13 3
|
|
call RecoverAbsorbEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 16, RGB_WHITEALPHA
|
|
createvisualtask SoundTask_PlayDoubleCry, 2, ANIM_ATTACKER, DOUBLE_CRY_GROWL
|
|
delay 32
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 10, 0, 20, 1
|
|
playsewithpan 170, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 1
|
|
delay 6
|
|
playsewithpan 170, SOUND_PAN_TARGET
|
|
createsprite gRoarOfTimeBombTemplate, ANIM_ATTACKER, 3, 24, -24, 1, 1
|
|
delay 6
|
|
playsewithpan 170, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, 1, 1
|
|
delay 6
|
|
playsewithpan 170, SOUND_PAN_TARGET
|
|
createsprite gRoarOfTimeBombTemplate, ANIM_ATTACKER, 3, -24, -12, 1, 1
|
|
delay 6
|
|
playsewithpan 170, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, 1, 1
|
|
delay 6
|
|
playsewithpan 170, SOUND_PAN_TARGET
|
|
createsprite gRoarOfTimeBombTemplate, ANIM_ATTACKER, 3, -24, 24, 1, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 0, RGB_WHITEALPHA
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SpacialRend::
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 16, RGB_BLACK
|
|
loopsewithpan 133, SOUND_PAN_ATTACKER 13 2
|
|
createsprite gSpacialRendBladesTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
delay 2
|
|
createsprite gSpacialRendBladesTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
delay 2
|
|
createsprite gSpacialRendBladesTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
delay 2
|
|
createsprite gSpacialRendBladesTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
waitforvisualfinish
|
|
fadetobgfromset BG_SPACIAL_REND_OPPONENT BG_SPACIAL_REND_PLAYER BG_SPACIAL_REND_OPPONENT
|
|
waitbgfadein
|
|
loopsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET, 3, 5
|
|
createsprite gSpacialRendBladesTemplate2, ANIM_TARGET, 1, 0, 10, SOUND_PAN_ATTACKER, 176, 40
|
|
createsprite gSpacialRendBladesTemplate2, ANIM_TARGET, 1, 0, 10, -192, 240, 40
|
|
createsprite gSpacialRendBladesTemplate2, ANIM_TARGET, 1, 0, 10, SOUND_PAN_ATTACKER, -160, 40
|
|
createsprite gSpacialRendBladesTemplate2, ANIM_TARGET, 1, 0, 10, -192, -112, 40
|
|
createsprite gSpacialRendBladesTemplate2, ANIM_TARGET, 1, 0, 10, 160, 48, 40
|
|
createsprite gSpacialRendBladesTemplate2, ANIM_TARGET, 1, 0, 10, -224, -32, 40
|
|
createsprite gSpacialRendBladesTemplate2, ANIM_TARGET, 1, 0, 10, 112, -128, 40
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 15, 1
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 0, RGB_BLACK
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_LunarDance::
|
|
setalpha 0, 16
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=16, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gMoonSpriteTemplate, ANIM_ATTACKER, 2, 120, 56
|
|
createvisualtask AnimTask_AlphaFadeIn, 3, 0, 16, 16, 0, 1
|
|
playsewithpan 211, 0
|
|
delay 30
|
|
createsprite gMoonlightSparkleSpriteTemplate, ANIM_ATTACKER, 40, -12, 0
|
|
delay 30
|
|
createsprite gMoonlightSparkleSpriteTemplate, ANIM_ATTACKER, 40, -18, 0
|
|
delay 30
|
|
createsprite gMoonlightSparkleSpriteTemplate, ANIM_ATTACKER, 40, 21, 0
|
|
delay 30
|
|
createsprite gMoonlightSparkleSpriteTemplate, ANIM_ATTACKER, 40, 0, 0
|
|
delay 30
|
|
createsprite gMoonlightSparkleSpriteTemplate, ANIM_ATTACKER, 40, 10, 0
|
|
delay 20
|
|
createvisualtask AnimTask_MoonlightEndFade, 2
|
|
createvisualtask AnimTask_DragonDanceWaver, 5
|
|
playsewithpan 203, SOUND_PAN_ATTACKER
|
|
delay 8
|
|
createvisualtask AnimTask_BlendPalInAndOutByTag, 5, ANIM_TAG_HOLLOW_ORB, RGB(0, 0, 19), 14, 0, 3
|
|
call CreateDragonDanceOrbs
|
|
delay 30
|
|
playsewithpan 203, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
playsewithpan 203, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_CrushGrip::
|
|
setalpha 15, 0
|
|
createsprite gCrushGripHandTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 25, 257
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_CompressTargetHorizontally, 2
|
|
createsprite gCrushGripExplosionTemplate, ANIM_TARGET, 0, 0, 0, 1, 1
|
|
delay 3
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gCrushGripExplosionTemplate, ANIM_TARGET, 0, 24, -24, 1, 1
|
|
delay 3
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gCrushGripExplosionTemplate, ANIM_TARGET, 0, -16, 16, 1, 1
|
|
delay 3
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gCrushGripExplosionTemplate, ANIM_TARGET, 0, -24, -12, 1, 1
|
|
delay 3
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gCrushGripExplosionTemplate, ANIM_TARGET, 0, 16, 16, 1, 1
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_MagmaStorm::
|
|
fadetobg BG_MAGMA_STORM @Add new bg
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_MoveSeismicTossBg, 3
|
|
playsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_TARGET
|
|
loopsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_TARGET, 5, 8
|
|
createvisualtask AnimTask_SeismicTossBgAccelerateDownAtEnd, 3
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 47, 1
|
|
blend_color_cycle selector=(F_PAL_ATTACKER | F_PAL_TARGET), delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(22, 9, 7)
|
|
call FireSpinEffect
|
|
call FireSpinEffect
|
|
call FireSpinEffect
|
|
call FireSpinEffect
|
|
call FireSpinEffect
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, 4095
|
|
waitbgfadein
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_DarkVoid::
|
|
fadetobg BG_DARK_VOID
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, -96, 1, -1
|
|
waitbgfadein
|
|
createvisualtask AnimTask_DestinyBondWhiteShadow, 5, 0, 48
|
|
loopsewithpan SE_M_CONFUSE_RAY, SOUND_PAN_ATTACKER, 5, 2
|
|
delay 48
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -768, 21, 0, 112 @Last is duration
|
|
createsprite gSlideMonToOffsetPartnerSpriteTemplate, ANIM_ATTACKER, 2, ANIM_DEF_PARTNER, -768, 21, 0, 112 @Last is duration
|
|
delay 64
|
|
invisible ANIM_TARGET
|
|
invisible ANIM_DEF_PARTNER
|
|
createsprite gDarkVoidPurpleStarsTemplate, ANIM_ATTACKER, 2, 0, 0, ANIM_TARGET, 0, 32, 60
|
|
createsprite gDarkVoidPurpleStarsTemplate, ANIM_ATTACKER, 2, 0, 0, ANIM_DEF_PARTNER, 0, 32, 60
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 16
|
|
createsprite gSlideMonToOriginalPosPartnerSpriteTemplate, ANIM_ATTACKER, 2, ANIM_DEF_PARTNER, 0, 16
|
|
delay 32
|
|
call UnsetPsychicBg
|
|
visible ANIM_TARGET
|
|
visible ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_SeedFlare::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 14, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_WHITE
|
|
waitforvisualfinish
|
|
playsewithpan 133, SOUND_PAN_ATTACKER
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, 40, 40, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, -40, -40, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, 0, 40, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, 0, -40, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, 40, -20, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, 40, 20, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, -40, -20, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenChargeTemplate, ANIM_ATTACKER 2, 0
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, -40, 20, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, -20, 30, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, 20, -30, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, -20, -30, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, 20, 30, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, -40, 0, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, 40, 0, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, 40, 40, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, -40, -40, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, 0, 40, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, 0, -40, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, 40, -20, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, 40, 20, 16
|
|
delay 2
|
|
createsprite gSeedFlareGreenCirclesTemplate, ANIM_ATTACKER, 2, -40, -20, 16
|
|
delay 30
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 40, 1
|
|
createsprite gSeedFlareGreenWavesTemplate, ANIM_ATTACKER, 40, 10, 2304, 96, 1
|
|
call CreateRazorLeafCutters
|
|
delay 2
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createsprite gSeedFlareGreenWavesTemplate, ANIM_ATTACKER, 40, 90, 2048, 96, 1
|
|
delay 8
|
|
createsprite gSeedFlareGreenWavesTemplate, ANIM_ATTACKER, 40, 50, 2560, 96, 1
|
|
call CreateRazorLeafCutters
|
|
delay 2
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createsprite gSeedFlareGreenWavesTemplate, ANIM_ATTACKER, 40, 20, 2304, 96, 1
|
|
delay 8
|
|
createsprite gSeedFlareGreenWavesTemplate, ANIM_ATTACKER, 40, 70, 1984, 96, 1
|
|
call CreateRazorLeafCutters
|
|
delay 2
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
delay 8
|
|
createsprite gSeedFlareGreenWavesTemplate, ANIM_ATTACKER, 40, 0, 2816, 96, 1
|
|
delay 10
|
|
createsprite gSeedFlareGreenWavesTemplate, ANIM_ATTACKER, 40, 60, 2560, 96, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_OminousWind::
|
|
panse SE_M_GUST, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET 2, 0
|
|
playsewithpan 228, 0
|
|
delay 0
|
|
monbg ANIM_DEF_PARTNER
|
|
@bankBG_over_partnerBG
|
|
delay 0
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 10, ANIM_TARGET, 0, 0, 0, RGB_BLACK
|
|
delay 0
|
|
createvisualtask AnimTask_GetAttackerSide, 2
|
|
jumpargeq 7, 1, OminousWindFadeToBg
|
|
fadetobg BG_GHOST
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, RGB(0, 16, 1), 0, 0, -1
|
|
goto OminousWindHit
|
|
OminousWindFadeToBg:
|
|
fadetobg BG_GHOST
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -1535, 0, 0, -1
|
|
goto OminousWindHit
|
|
OminousWindHit:
|
|
delay 0
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 4, 4, RGB_BLACK
|
|
waitbgfadein
|
|
createsprite gSilverWindBigSparkSpriteTemplate, ANIM_TARGET, 66, -32, 16, 0, 6, 2, 3, 1
|
|
createsprite gSilverWindBigSparkSpriteTemplate, ANIM_TARGET, 66, -8, 18, 64, 3, 2, 2, 1
|
|
createsprite gSilverWindBigSparkSpriteTemplate, ANIM_ATTACKER, 120, -24, 18, 90, 5, 1, 2, 1
|
|
createsprite gSilverWindBigSparkSpriteTemplate, ANIM_ATTACKER, 120, -40, 14, 128, 4, 1, 2, 1
|
|
delay 0
|
|
createsprite gSilverWindMediumSparkSpriteTemplate, ANIM_TARGET, 66, -32, 16, 0, 6, 2, 3, 1
|
|
createsprite gSilverWindMediumSparkSpriteTemplate, ANIM_TARGET, 66, -8, 18, 64, 3, 2, 2, 1
|
|
createsprite gSilverWindMediumSparkSpriteTemplate, ANIM_ATTACKER, 120, -24, 18, 90, 5, 1, 2, 1
|
|
createsprite gSilverWindMediumSparkSpriteTemplate, ANIM_ATTACKER, 120, -40, 14, 128, 4, 1, 2, 1
|
|
delay 0
|
|
createsprite gSilverWindSmallSparkSpriteTemplate, ANIM_TARGET, 66, -32, 16, 0, 6, 2, 3, 1
|
|
createsprite gSilverWindSmallSparkSpriteTemplate, ANIM_TARGET, 66, -8, 18, 64, 3, 2, 2, 1
|
|
createsprite gSilverWindSmallSparkSpriteTemplate, ANIM_ATTACKER, 120, -24, 18, 90, 5, 1, 2, 1
|
|
createsprite gSilverWindSmallSparkSpriteTemplate, ANIM_ATTACKER, 120, -40, 14, 128, 4, 1, 2, 1
|
|
delay 6
|
|
createsprite gSilverWindBigSparkSpriteTemplate, ANIM_TARGET, 66, -4, 16, 0, 6, 1, 2, 1
|
|
createsprite gSilverWindBigSparkSpriteTemplate, ANIM_TARGET, 66, -16, 12, 192, 5, 2, 3, 1
|
|
delay 0
|
|
createsprite gSilverWindMediumSparkSpriteTemplate, ANIM_TARGET, 66, -4, 16, 0, 6, 1, 2, 1
|
|
createsprite gSilverWindMediumSparkSpriteTemplate, ANIM_TARGET, 66, -16, 12, 192, 5, 2, 3, 1
|
|
delay 0
|
|
createsprite gSilverWindSmallSparkSpriteTemplate, ANIM_TARGET, 66, -4, 16, 0, 6, 1, 2, 1
|
|
createsprite gSilverWindSmallSparkSpriteTemplate, ANIM_TARGET, 66, -16, 12, 192, 5, 2, 3, 1
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_GUST2, SOUND_PAN_TARGET
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
delay 0
|
|
restorebg
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 10, ANIM_TARGET, 0, 4, 0, RGB_BLACK
|
|
setarg 7, -1
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_ShadowForce::
|
|
choosetwoturnanim ShadowForcePrep ShadowForceAttack
|
|
ShadowForceWaitEnd:
|
|
waitforvisualfinish
|
|
end
|
|
ShadowForcePrep:
|
|
monbg ANIM_ATTACKER
|
|
playsewithpan SE_M_FAINT_ATTACK, SOUND_PAN_ATTACKER
|
|
simple_palette_blend selector=F_PAL_BG, delay=3, initial_blend_y=0, target_blend_y=16, color=RGB_BLACK
|
|
set_grayscale_pal battler=ANIM_TARGET
|
|
set_grayscale_pal battler=ANIM_ATTACKER
|
|
set_grayscale_pal battler=ANIM_ATK_PARTNER
|
|
set_grayscale_pal battler=ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 1, 3
|
|
attacker_fade_to_invisible step_delay=1
|
|
delay 80
|
|
simple_palette_blend selector=F_PAL_BG, delay=3, initial_blend_y=16, target_blend_y=0, color=RGB_BLACK
|
|
set_original_pal battler=ANIM_TARGET
|
|
set_original_pal battler=ANIM_ATTACKER
|
|
set_original_pal battler=ANIM_ATK_PARTNER
|
|
set_original_pal battler=ANIM_DEF_PARTNER
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
invisible ANIM_ATTACKER
|
|
delay 1
|
|
goto ShadowForceWaitEnd
|
|
ShadowForceAttack:
|
|
monbg ANIM_ATTACKER
|
|
splitbgprio ANIM_ATTACKER
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
call ShadowForceBg
|
|
waitbgfadein
|
|
delay 10
|
|
playsewithpan SOUND_PAN_ATTACKER, 192
|
|
createvisualtask AnimTask_NightShadeClone, 5, 85
|
|
delay 70
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 12, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=13, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 1
|
|
call UnsetPsychicBg
|
|
waitbgfadein
|
|
goto ShadowForceWaitEnd
|
|
ShadowForceBg:
|
|
fadetobg BG_DARK
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_FadeScreenToWhite, 5
|
|
waitbgfadein
|
|
return
|
|
|
|
@@@@@@@@@@@@@@@@@@@@@@@ GEN 5 @@@@@@@@@@@@@@@@@@@@@@@
|
|
gBattleAnimMove_HoneClaws::
|
|
call HoneClawsAnim
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SWIPE, 0, 6, 6, RGB_BLACK
|
|
call HoneClawsAnim
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SWIPE, 0, 10, 10, RGB_BLACK
|
|
call HoneClawsAnim
|
|
end
|
|
HoneClawsAnim:
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 2, 2
|
|
delay 4
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET
|
|
createsprite gFurySwipesSpriteTemplate, ANIM_TARGET, 2, 16, 0, 1
|
|
delay 10
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_TARGET, 2, 2, 2
|
|
delay 4
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET
|
|
createsprite gFurySwipesSpriteTemplate, ANIM_TARGET, 2, -16, 0, 0
|
|
delay 10
|
|
return
|
|
|
|
gBattleAnimMove_WideGuard::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_RockMonBackAndForth, 5, ANIM_ATTACKER, 3, 0
|
|
waitplaysewithpan SE_M_PSYBEAM2, SOUND_PAN_ATTACKER, 16
|
|
createsprite gWideGuardBlueConversionTemplate, ANIM_ATTACKER, 2, -24, -24
|
|
delay 3
|
|
createsprite gWideGuardBlueConversionTemplate, ANIM_ATTACKER, 2, -8, -24
|
|
delay 3
|
|
createsprite gWideGuardBlueConversionTemplate, ANIM_ATTACKER, 2, 8, -24
|
|
delay 3
|
|
createsprite gWideGuardBlueConversionTemplate, ANIM_ATTACKER, 2, 24, -24
|
|
delay 3
|
|
createsprite gWideGuardBlueConversionTemplate, ANIM_ATTACKER, 2, -24, -8
|
|
delay 3
|
|
createsprite gWideGuardBlueConversionTemplate, ANIM_ATTACKER, 2, -8, -8
|
|
delay 3
|
|
createsprite gWideGuardBlueConversionTemplate, ANIM_ATTACKER, 2, 8, -8
|
|
delay 3
|
|
createsprite gWideGuardBlueConversionTemplate, ANIM_ATTACKER, 2, 24, -8
|
|
delay 3
|
|
createsprite gWideGuardBlueConversionTemplate, ANIM_ATTACKER, 2, -24, 8
|
|
delay 3
|
|
createsprite gWideGuardBlueConversionTemplate, ANIM_ATTACKER, 2, -8, 8
|
|
delay 3
|
|
createsprite gWideGuardBlueConversionTemplate, ANIM_ATTACKER, 2, 8, 8
|
|
delay 3
|
|
createsprite gWideGuardBlueConversionTemplate, ANIM_ATTACKER, 2, 24, 8
|
|
delay 3
|
|
createsprite gWideGuardBlueConversionTemplate, ANIM_ATTACKER, 2, -24, 24
|
|
delay 3
|
|
createsprite gWideGuardBlueConversionTemplate, ANIM_ATTACKER, 2, -8, 24
|
|
delay 3
|
|
createsprite gWideGuardBlueConversionTemplate, ANIM_ATTACKER, 2, 8, 24
|
|
delay 3
|
|
createsprite gWideGuardBlueConversionTemplate, ANIM_ATTACKER, 2, 24, 24
|
|
delay 20
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ConversionAlphaBlend, 5
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_GuardSplit::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
loopsewithpan SE_M_LOCK_ON, SOUND_PAN_ATTACKER, 24, 3
|
|
call GuardSplitLaunch
|
|
call GuardSplitLaunch
|
|
call GuardSplitLaunch
|
|
call GuardSplitLaunch
|
|
call GuardSplitLaunch
|
|
call GuardSplitLaunch
|
|
call GuardSplitLaunch
|
|
call GuardSplitLaunch
|
|
call GuardSplitLaunch
|
|
call GuardSplitLaunch
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
GuardSplitLaunch:
|
|
createsprite gGuardSwapOrbs1Template, ANIM_TARGET, 2, -12, 0
|
|
createsprite gGuardSwapOrbs2Template, ANIM_TARGET, 0, 0, 0, 0, 0, 30, 0
|
|
delay 5
|
|
return
|
|
|
|
gBattleAnimMove_PowerSplit::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
loopsewithpan SE_M_LOCK_ON, SOUND_PAN_ATTACKER, 24, 3
|
|
call PowerSplitLaunch
|
|
call PowerSplitLaunch
|
|
call PowerSplitLaunch
|
|
call PowerSplitLaunch
|
|
call PowerSplitLaunch
|
|
call PowerSplitLaunch
|
|
call PowerSplitLaunch
|
|
call PowerSplitLaunch
|
|
call PowerSplitLaunch
|
|
call PowerSplitLaunch
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
PowerSplitLaunch:
|
|
createsprite gPowerSplitOrbs1Template, ANIM_TARGET, 2, -12, 0
|
|
createsprite gPowerSplitOrbs2Template, ANIM_TARGET, 0, 0, 0, 0, 0, 30, 0
|
|
delay 5
|
|
return
|
|
|
|
gBattleAnimMove_WonderRoom::
|
|
call InitRoomAnimation
|
|
gBattleAnimGeneral_WonderRoom::
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_TARGET
|
|
fadetobg BG_WONDER_ROOM
|
|
waitbgfadein
|
|
delay 64
|
|
restorebg
|
|
waitbgfadein
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Psyshock::
|
|
monbg ANIM_TARGET
|
|
setalpha 8, 8
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 10, 1
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=8, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
delay 10
|
|
call PsyshockConverge
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
PsyshockConverge:
|
|
createsprite gPsyshockOrbSpriteTemplate, ANIM_TARGET, 2, 40, 40, 16
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gPsyshockOrbSpriteTemplate, ANIM_TARGET, 2, -40, -40, 16
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gPsyshockOrbSpriteTemplate, ANIM_TARGET, 2, 0, 40, 16
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gPsyshockOrbSpriteTemplate, ANIM_TARGET, 2, 0, -40, 16
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gPsyshockOrbSpriteTemplate, ANIM_TARGET, 2, 40, -20, 16
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gPsyshockOrbSpriteTemplate, ANIM_TARGET, 2, 40, 20, 16
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gPsyshockOrbSpriteTemplate, ANIM_TARGET, 2, -40, -20, 16
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gPsyshockOrbSpriteTemplate, ANIM_TARGET, 2, -40, 20, 16
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gPsyshockOrbSpriteTemplate, ANIM_TARGET, 2, -20, 30, 16
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gPsyshockOrbSpriteTemplate, ANIM_TARGET, 2, 20, -30, 16
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gPsyshockOrbSpriteTemplate, ANIM_TARGET, 2, -20, -30, 16
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gPsyshockOrbSpriteTemplate, ANIM_TARGET, 2, 20, 30, 16
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gPsyshockOrbSpriteTemplate, ANIM_TARGET, 2, -40, 0, 16
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gPsyshockOrbSpriteTemplate, ANIM_TARGET, 2, 40, 0, 16
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 6
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 15, 1
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_TARGET, RGB_WHITE, 12, 0, 1
|
|
createsprite gPsyshockSmokeSpriteTemplate, ANIM_TARGET, 2, 8, 8, 1, 0
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gPsyshockSmokeSpriteTemplate, ANIM_TARGET, 2, -8, -8, 1, 0
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gPsyshockSmokeSpriteTemplate, ANIM_TARGET, 2, 8, -8, 1, 0
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gPsyshockSmokeSpriteTemplate, ANIM_TARGET, 2, -8, 8, 1, 0
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_Venoshock::
|
|
createsprite gToxicBubbleSpriteTemplate, ANIM_TARGET, 2, -24, 16, 1, 1
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
delay 5
|
|
createsprite gToxicBubbleSpriteTemplate, ANIM_TARGET, 2, -16, 16, 1, 1
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
delay 5
|
|
createsprite gToxicBubbleSpriteTemplate, ANIM_TARGET, 2, -8, 16, 1, 1
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
delay 5
|
|
createsprite gToxicBubbleSpriteTemplate, ANIM_TARGET, 2, 0, 16, 1, 1
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
delay 5
|
|
createsprite gToxicBubbleSpriteTemplate, ANIM_TARGET, 2, 8, 16, 1, 1
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
delay 5
|
|
createsprite gToxicBubbleSpriteTemplate, ANIM_TARGET, 2, 16, 16, 1, 1
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
delay 5
|
|
createsprite gToxicBubbleSpriteTemplate, ANIM_TARGET, 2, 24, 16, 1, 1
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
delay 5
|
|
waitforvisualfinish
|
|
delay 15
|
|
end
|
|
|
|
gBattleAnimMove_Autotomize::
|
|
setalpha 12, 8
|
|
monbg ANIM_ATK_PARTNER
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 24, 6, 4, 4
|
|
createvisualtask AnimTask_TraceMonBlended 2, 0, 4, 7, 10
|
|
playsewithpan SE_ELEVATOR, SOUND_PAN_ATTACKER
|
|
createsprite gAutotomizeMetalShardsTemplate, ANIM_ATTACKER, 2, 0, 0
|
|
createsprite gAutotomizeMetalShardsTemplate, ANIM_ATTACKER, 2, 0, 1
|
|
delay 12
|
|
createsprite gAutotomizeMetalShardsTemplate, ANIM_ATTACKER, 2, 0, 2
|
|
createsprite gAutotomizeMetalShardsTemplate, ANIM_ATTACKER, 2, 0, 3
|
|
delay 12
|
|
createsprite gAutotomizeMetalShardsTemplate, ANIM_ATTACKER, 2, 0, 0
|
|
createsprite gAutotomizeMetalShardsTemplate, ANIM_ATTACKER, 2, 0, 1
|
|
delay 12
|
|
createsprite gAutotomizeMetalShardsTemplate, ANIM_ATTACKER, 2, 0, 2
|
|
createsprite gAutotomizeMetalShardsTemplate, ANIM_ATTACKER, 2, 0, 3
|
|
delay 24
|
|
waitforvisualfinish
|
|
stopsound
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_RagePowder::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
loopsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET, 18, 10
|
|
call RagePowderSprinkle
|
|
call RagePowderSprinkle
|
|
call RagePowderSprinkle
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_RED
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
RagePowderSprinkle:
|
|
createsprite gRagePowderRedPowderTemplate, ANIM_ATTACKER, 2, 0, -20, 85, 80, 0
|
|
delay 12
|
|
createsprite gRagePowderRedPowderTemplate, ANIM_ATTACKER, 2, 0, -10, 170, 80, 0
|
|
delay 12
|
|
createsprite gRagePowderRedPowderTemplate, ANIM_ATTACKER, 2, 0, -15, 0, 80, 0
|
|
delay 12
|
|
return
|
|
|
|
gBattleAnimMove_Telekinesis::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 9, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 0, 9, RGB_WHITE
|
|
delay 18
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
createsprite gSpinningSparkleSpriteTemplate, ANIM_ATTACKER, 13, 20, -20
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_SUPERSONIC, SOUND_PAN_TARGET, 10, 3
|
|
createvisualtask AnimTask_SwayMon, 5, 1, 24, 208, 1, ANIM_TARGET
|
|
waitforvisualfinish
|
|
delay 10
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 9, 0, RGB_BLACK
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 9, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_MagicRoom::
|
|
call InitRoomAnimation
|
|
gBattleAnimGeneral_MagicRoom::
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_TARGET
|
|
fadetobg BG_MAGIC_ROOM
|
|
waitbgfadein
|
|
delay 64
|
|
restorebg
|
|
waitbgfadein
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_SmackDown::
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gRockBlastRockSpriteTemplate, ANIM_TARGET, 2, 20, 0, 0, 0, 21, -25
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_SmokescreenImpact, 8, 1024, 6402
|
|
fadetobg BG_IN_AIR
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_SeismicTossBgAccelerateDownAtEnd, 3
|
|
goto SeismicTossWeak
|
|
|
|
gBattleAnimMove_StormThrow::
|
|
call StormThorwAnim
|
|
call StormThorwAnim
|
|
call StormThorwAnim
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 0, 0, 4
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
delay 1
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 10, 3072, ANIM_TARGET, 2
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 7
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 4
|
|
waitforvisualfinish
|
|
end
|
|
StormThorwAnim:
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 0, 0, 4
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 7
|
|
delay 8
|
|
return
|
|
|
|
gBattleAnimMove_FlameBurst::
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
create_dragon_breath_fire_sprite ANIM_TARGET, 2, initial_x=0, initial_y=0, target_x=0, target_y=0, duration=20
|
|
delay 18
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 16, 1
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 0, 0, 1, 0
|
|
call FlameBurstSpread
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 3
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 14, -14, 1, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
FlameBurstSpread:
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 0, 192, 76, 70
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 0, -192, 76, 70
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 0, 20, 140, 70
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 0, -20, 140, 70
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 0, 192, -160, 70
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 0, -192, -160, 70
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 0, 82, -112, 70
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 0, -82, -112, 70
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 0, 160, -52, 70
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 0, -160, -52, 70
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 0, 224, -32, 70
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 0, -224, -32, 70
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 0, 112, -128, 70
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 0, -112, -128, 70
|
|
return
|
|
|
|
|
|
gBattleAnimMove_SludgeWave::
|
|
panse SE_M_WHIRLPOOL, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
create_surf_wave palette=ANIM_SURF_PAL_SLUDGE_WAVE
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_QuiverDance::
|
|
monbg ANIM_ATTACKER
|
|
call SetBugBg
|
|
createvisualtask AnimTask_DragonDanceWaver, 5
|
|
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
|
delay 8
|
|
createvisualtask AnimTask_BlendPalInAndOutByTag, 5, ANIM_TAG_HOLLOW_ORB, RGB_GREEN, 14, 0, 3
|
|
call CreateDragonDanceOrbs
|
|
delay 30
|
|
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
call UnsetBugBg
|
|
end
|
|
|
|
gBattleAnimMove_HeavySlam::
|
|
loopsewithpan SE_M_HARDEN, SOUND_PAN_ATTACKER, 28, 2
|
|
metallic_shine permanent=0
|
|
waitforvisualfinish
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 6, 1, ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
delay 11
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 26, 0, 0, 5
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
loopsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET, 10, 2
|
|
delay 1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -28, 0, 0, 3
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
waitforvisualfinish
|
|
delay 10
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 6
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 6
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Synchronoise::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_foes ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK @Darken
|
|
waitforvisualfinish
|
|
panse SE_M_SCREECH, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
createsprite gSynchronoiseVioletRingTemplate, ANIM_ATTACKER, 0, 45, 0, 0, 0, 0, 0, 1
|
|
delay 1
|
|
createsprite gSynchronoiseBlueRingTemplate, ANIM_ATTACKER, 0, 45, 0, 0, 0, 0, 0, 1
|
|
delay 1
|
|
createsprite gSynchronoiseYellowRingTemplate, ANIM_ATTACKER, 0, 45, 0, 0, 0, 0, 0, 1
|
|
delay 37
|
|
panse SE_M_SCREECH, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
createsprite gSynchronoiseBlueRingTemplate, ANIM_ATTACKER, 0, 45, 0, 0, 0, 0, 0, 1
|
|
delay 1
|
|
createsprite gSynchronoiseVioletRingTemplate, ANIM_ATTACKER, 0, 45, 0, 0, 0, 0, 0, 1
|
|
delay 1
|
|
createsprite gSynchronoiseYellowRingTemplate, ANIM_ATTACKER, 0, 45, 0, 0, 0, 0, 0, 1
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET, 3, 5
|
|
createsprite gSynchronoiseAeroWheelTemplate, ANIM_TARGET, 1, 0, -17, SOUND_PAN_ATTACKER, 176, 40
|
|
createsprite gSynchronoiseAeroWheelTemplate, ANIM_TARGET, 1, 0, -17, -192, 240, 40
|
|
createsprite gSynchronoiseAeroWheelTemplate, ANIM_TARGET, 1, 0, -17, SOUND_PAN_ATTACKER, -160, 40
|
|
createsprite gSynchronoiseAeroWheelTemplate, ANIM_TARGET, 1, 0, -17, -192, -112, 40
|
|
createsprite gSynchronoiseAeroWheelTemplate, ANIM_TARGET, 1, 0, -17, 160, 48, 40
|
|
createsprite gSynchronoiseAeroWheelTemplate, ANIM_TARGET, 1, 0, -17, -224, -32, 40
|
|
createsprite gSynchronoiseAeroWheelTemplate, ANIM_TARGET, 1, 0, -17, 112, -128, 40
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK @Darken
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_ElectroBall::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite gGrowingChargeOrb2SpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
delay 25
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
loopsewithpan SE_M_CHARGE, 12, 6, 5
|
|
waitforvisualfinish
|
|
createsprite gElectroBallCannonBallTemplate, ANIM_TARGET, 2, 16, 16, 8
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SAND_ATTACK, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 8, 1
|
|
call ElectricityEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Soak::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gWaterGunProjectileSpriteTemplate, ANIM_ATTACKER, 2, 20, 0, 0, 0, 40, -25
|
|
playsewithpan SE_M_BUBBLE, 192
|
|
delay 2
|
|
createsprite gWaterGunProjectileSpriteTemplate, ANIM_ATTACKER, 2, 20, 0, 5, 0, 40, -25
|
|
playsewithpan SE_M_BUBBLE, 192
|
|
delay 2
|
|
createsprite gWaterGunProjectileSpriteTemplate, ANIM_ATTACKER, 2, 20, 0, -5, 0, 40, -25
|
|
playsewithpan SE_M_BUBBLE, 192
|
|
delay 30
|
|
playsewithpan SE_M_WATERFALL, 63
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 4, 0, 17, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=1, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB_BLUE
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 1
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 0
|
|
delay 2
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 3, 5, 0, 1, 1
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 5, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 5, 0
|
|
delay 2
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 3, -5, 0, 1, 1
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, -5, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, -5, 0
|
|
delay 2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_FlameCharge::
|
|
monbg ANIM_TARGET
|
|
loopsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER, 32, 6
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 12, 6, 6, 3
|
|
call FlameChargeSwirl
|
|
delay 9
|
|
call FlameChargeSwirl
|
|
delay 9
|
|
call FlameChargeSwirl
|
|
delay 9
|
|
call FlameChargeSwirl
|
|
delay 9
|
|
call FlameChargeSwirl
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 24, 0, 0, 5
|
|
delay 3
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 6, 0, 8, 1
|
|
call FireSpreadEffect
|
|
playsewithpan SE_M_FIRE_PUNCH, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 8
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 7
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
FlameChargeSwirl:
|
|
createsprite gFlameChargeEmberTemplate, ANIM_ATTACKER, 2, 0, -24, 8, 140
|
|
return
|
|
|
|
gBattleAnimMove_Coil::
|
|
call CreateConstrictBinding
|
|
createvisualtask AnimTask_ShakeMon2, 131, ANIM_TARGET, 4, 0, 5, 1
|
|
createvisualtask AnimTask_StretchTargetUp, 3
|
|
playsewithpan SE_M_BIND, SOUND_PAN_TARGET
|
|
setarg 7, -1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_LowSweep::
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 0, 0, 4
|
|
createsprite gSlidingKickSpriteTemplate, ANIM_TARGET, 2, -24, 14, 40, 8, 160, 0
|
|
delay 4
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-8, y=8, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 4
|
|
end
|
|
|
|
gBattleAnimMove_AcidSpray::
|
|
monbg ANIM_TARGET
|
|
createsprite gAcidPoisonBubbleSpriteTemplate, ANIM_TARGET, 2, 20, 0, 40, 1, 0, -20, FALSE
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 33
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 2, 0, 10, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(30, 0, 31)
|
|
playsewithpan SE_M_DIVE, SOUND_PAN_ATTACKER
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, 10, 15, 55, FALSE
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, -20, 15, 55, FALSE
|
|
delay 3
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, 5, 15, 55, FALSE
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, -10, 15, 55, FALSE
|
|
delay 3
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, 30, 15, 55, FALSE
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, -30, 15, 55, FALSE
|
|
delay 3
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, 2, 15, 55, FALSE
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, -5, 15, 55, FALSE
|
|
delay 3
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, 20, 15, 55, FALSE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_FoulPlay::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4
|
|
delay 6
|
|
createsprite gFoulPlayImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 1, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_VITAL_THROW SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 3, 10, 0, RGB_BLACK
|
|
createsprite gFoulPlayRingTemplate, ANIM_ATTACKER, 3, 0, 0, 256, 0
|
|
delay 8
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 3, 10, 0, RGB_BLACK
|
|
createsprite gFoulPlayRingTemplate, ANIM_ATTACKER, 3, 0, 0, 256, 0
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_SimpleBeam::
|
|
setalpha 8, 8
|
|
monbg ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_BUBBLE_BEAM, SOUND_PAN_ATTACKER
|
|
call SimpleBeamsRegular
|
|
call SimpleBeamsRegular
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 9, RGB_WHITE
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 6, 2048, 4, ANIM_TARGET
|
|
call SimpleBeamWithRings
|
|
call SimpleBeamWithRings
|
|
call SimpleBeamWithRings
|
|
call SimpleBeamWithRings
|
|
call SimpleBeamWithRings
|
|
createsprite gSimpleBeamBrownRingTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 0, 31, 8
|
|
delay 2
|
|
createsprite gSimpleBeamPinkRingTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 0, 31, 8
|
|
delay 2
|
|
stopsound
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 9, 0, RGB_WHITE
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
SimpleBeamsRegular:
|
|
createsprite gSimpleBeamBrownTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 13, 0
|
|
delay 2
|
|
createsprite gSimpleBeamPinkTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 13, 0
|
|
delay 2
|
|
return
|
|
SimpleBeamWithRings:
|
|
createsprite gSimpleBeamBrownTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 13, 0
|
|
createsprite gSimpleBeamBrownRingTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 0, 31, 8
|
|
delay 2
|
|
createsprite gSimpleBeamPinkTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 13, 0
|
|
createsprite gSimpleBeamPinkRingTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 0, 31, 8
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_Entrainment::
|
|
createvisualtask AnimTask_TeeterDanceMovement, 5
|
|
playsewithpan SE_M_TEETER_DANCE, SOUND_PAN_ATTACKER
|
|
delay 24
|
|
playsewithpan SE_M_TEETER_DANCE, SOUND_PAN_ATTACKER
|
|
delay 24
|
|
playsewithpan SE_M_TEETER_DANCE, SOUND_PAN_ATTACKER
|
|
delay 24
|
|
playsewithpan SE_M_TEETER_DANCE, SOUND_PAN_ATTACKER
|
|
delay 24
|
|
playsewithpan SE_M_TEETER_DANCE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 31, 1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_AfterYou::
|
|
createvisualtask AnimTask_SwayMon, 5, 1, 15, 1536, 2, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gAfterYouGreenRageTemplate, ANIM_ATTACKER, 2, 0, -20, -32
|
|
createsprite gAfterYouGreenRageTemplate, ANIM_ATTACKER, 2, 0, -5, -27
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
createsprite gAfterYouGreenRageTemplate, ANIM_ATTACKER, 2, 0, 20, -32
|
|
createsprite gAfterYouGreenRageTemplate, ANIM_ATTACKER, 2, 0, 35, -27
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Round::
|
|
createvisualtask AnimTask_MusicNotesRainbowBlend, 2
|
|
waitforvisualfinish
|
|
monbg ANIM_TARGET
|
|
createvisualtask SoundTask_PlayCryHighPitch, 2, ANIM_ATTACKER, 255
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 7, 0, 12
|
|
delay 5
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 6, 1, 12
|
|
delay 5
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 1, 2, 12
|
|
delay 5
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 2, 3, 12
|
|
delay 20
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 13, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
createvisualtask AnimTask_MusicNotesClearRainbowBlend, 2
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_EchoedVoice::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_foes ANIM_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 2, 0, 8, 1
|
|
call MetalSoundPlayNote
|
|
call MetalSoundPlayNote
|
|
call MetalSoundPlayNote
|
|
call MetalSoundPlayNote
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
delay 0
|
|
waitforvisualfinish
|
|
end
|
|
MetalSoundPlayNote:
|
|
panse SE_M_UPROAR, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
createsprite gMetalSoundSpriteTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 30, 0
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_ChipAway::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 9, RGB_WHITE
|
|
waitforvisualfinish
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 24, 6, 1, 5
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2 SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 9, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_ClearSmog::
|
|
monbg ANIM_TARGET
|
|
splitbgprio_all
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_MIST_CLOUD, 0, 6, 6, RGB(26, 0, 26)
|
|
loopsewithpan SE_M_MIST, SOUND_PAN_TARGET, 17, 10
|
|
call ClearSmogCloud
|
|
call ClearSmogCloud
|
|
call ClearSmogCloud
|
|
call ClearSmogCloud
|
|
call ClearSmogCloud
|
|
call ClearSmogCloud
|
|
call ClearSmogCloud
|
|
delay 120
|
|
loopsewithpan SE_M_TOXIC, SOUND_PAN_TARGET, 18, 2
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB_WHITE
|
|
delay 10
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 15, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
ClearSmogCloud:
|
|
createsprite gMistCloudSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 48, 240, 1, 0
|
|
delay 7
|
|
return
|
|
|
|
gBattleAnimMove_StoredPower::
|
|
call SetPsychicBackground
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_SpitUpDeformMon, 5
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 8, 2
|
|
delay 45
|
|
playsewithpan SE_M_SPIT_UP, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 0, 12
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 32, 12
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 64, 12
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 96, 12
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 128, 12
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 160, 12
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 192, 12
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 224, 12
|
|
delay 10
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, 0, 1, 8, 1, 0
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=-12, y=10, relative_to=1, animation=1
|
|
delay 5
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=12, y=-10, relative_to=1, animation=1
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_QuickGuard::
|
|
setalpha 12, 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=10, color=RGB_WHITE
|
|
delay 16
|
|
monbg ANIM_ATTACKER
|
|
createsprite gQuickGuardArmImpactTemplate, ANIM_TARGET, 3, 14, 0, 8, ANIM_ATTACKER, 0
|
|
createsprite gQuickGuardArmImpactTemplate, ANIM_TARGET, 3, -14, 0, 8, ANIM_ATTACKER, 0
|
|
delay 1
|
|
createsprite gQuickGuardArmImpactTemplate, ANIM_TARGET, 3, 14, 0, 8, ANIM_ATTACKER, 0
|
|
createsprite gQuickGuardArmImpactTemplate, ANIM_TARGET, 3, -14, 0, 8, ANIM_ATTACKER, 0
|
|
delay 1
|
|
createsprite gQuickGuardArmImpactTemplate, ANIM_TARGET, 3, 14, 0, 8, ANIM_ATTACKER, 0
|
|
createsprite gQuickGuardArmImpactTemplate, ANIM_TARGET, 3, -14, 0, 8, ANIM_ATTACKER, 0
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
createsprite gSpinningSparkleSpriteTemplate, ANIM_ATTACKER, 13, 0, -29 @up
|
|
createsprite gSpinningSparkleSpriteTemplate, ANIM_ATTACKER, 13, 22, -20 @upper right
|
|
createsprite gSpinningSparkleSpriteTemplate, ANIM_ATTACKER, 13, 29, 0 @right
|
|
createsprite gSpinningSparkleSpriteTemplate, ANIM_ATTACKER, 13, -23, -20 @upper left
|
|
createsprite gSpinningSparkleSpriteTemplate, ANIM_ATTACKER, 13, -30, 0 @left
|
|
createsprite gSpinningSparkleSpriteTemplate, ANIM_ATTACKER, 13, 0, 28 @down
|
|
createsprite gSpinningSparkleSpriteTemplate, ANIM_ATTACKER, 13, 22, 19 @lower left
|
|
createsprite gSpinningSparkleSpriteTemplate, ANIM_ATTACKER, 13, -22, 19 @lower right
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
gBattleAnimMove_AllySwitch::
|
|
call SetPsychicBackground
|
|
createvisualtask AnimTask_AllySwitchAttacker, 2
|
|
createvisualtask AnimTask_AllySwitchPartner, 2
|
|
call DoubleTeamAnimRet
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_Scald::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 40, 1
|
|
delay 6
|
|
panse SE_M_HYDRO_PUMP, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
createvisualtask AnimTask_StartSinAnimTimer, 5, 100
|
|
call ScaldBeams
|
|
call ScaldBeams
|
|
call ScaldBeams
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_RED
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 37, 1
|
|
call ScaldHitSplats
|
|
call ScaldBeams
|
|
call ScaldBeams
|
|
call ScaldHitSplats
|
|
call ScaldBeams
|
|
call ScaldBeams
|
|
call ScaldHitSplats
|
|
call ScaldBeams
|
|
call ScaldBeams
|
|
call ScaldHitSplats
|
|
call ScaldBeams
|
|
call ScaldBeams
|
|
call ScaldHitSplats
|
|
delay 2
|
|
call ScaldHitSplats
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
ScaldBeams:
|
|
createsprite gHydroPumpOrbSpriteTemplate, ANIM_ATTACKER, 3, 10, 10, 0, 0
|
|
delay 1
|
|
createsprite gHydroPumpOrbSpriteTemplate, ANIM_ATTACKER, 3, 10, 10, 0, 0
|
|
delay 1
|
|
return
|
|
|
|
ScaldHitSplats:
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, ANIM_TARGET, 1
|
|
return
|
|
|
|
gBattleAnimMove_ShellSmash::
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
createsprite gShellSmashRightShellSpriteTemplate, ANIM_ATTACKER, 2, -41, 0, 2, 819, 0, 10, 30
|
|
createsprite gShellSmashLeftShellSpriteTemplate, ANIM_ATTACKER, 2, 32, 0, 6, -819, 0, 10, 30
|
|
delay 10
|
|
invisible ANIM_ATTACKER
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 5, 1
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_ATTACKER
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
visible ANIM_ATTACKER
|
|
createsprite gShellSmashPurpleRocksSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 20, 24, 14, 2
|
|
createsprite gShellSmashPurpleRocksSpriteTemplate, ANIM_ATTACKER, 2, 5, 0, -20, 24, 14, 1
|
|
createsprite gShellSmashPurpleRocksSpriteTemplate, ANIM_ATTACKER, 2, 0, 5, 20, -24, 14, 2
|
|
createsprite gShellSmashPurpleRocksSpriteTemplate, ANIM_ATTACKER, 2, -5, 0, -20, -24, 14, 2
|
|
createsprite gShellSmashPurpleRocksSpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 30, 18, 8, 2
|
|
createsprite gShellSmashPurpleRocksSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 30, -18, 8, 2
|
|
createsprite gShellSmashPurpleRocksSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, -30, 18, 8, 2
|
|
createsprite gShellSmashPurpleRocksSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, -30, -18, 8, 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 7, 1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_HealPulse::
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_TARGET
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB(13, 31, 12), 8
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=-16, initial_y=32, velocity_y=-3
|
|
delay 3
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=16, initial_y=32, velocity_y=-3, unused3=-1
|
|
delay 3
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB(13, 31, 12), 8
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=32, initial_y=32, velocity_y=-3
|
|
delay 3
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=-32, initial_y=32, velocity_y=-3
|
|
delay 3
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB(13, 31, 12), 8
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=0, initial_y=32, velocity_y=-3
|
|
delay 3
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=-8, initial_y=32, velocity_y=-3
|
|
delay 3
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB(13, 31, 12), 8
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=-8, initial_y=32, velocity_y=-3
|
|
delay 3
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=24, initial_y=32, velocity_y=-3
|
|
delay 3
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=-24, initial_y=32, velocity_y=-3
|
|
waitforvisualfinish
|
|
waitsound
|
|
call HealingEffect2
|
|
end
|
|
|
|
gBattleAnimMove_Hex::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 16, RGB(10, 2, 19) @;Deep purple
|
|
waitforvisualfinish
|
|
monbg ANIM_TARGET
|
|
splitbgprio_all
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
waitbgfadein
|
|
createvisualtask AnimTask_PurpleFlamesOnTarget, 3
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 2, 0, 37, 1
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_TARGET
|
|
delay 32
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(10, 2, 19)@;Deep purple
|
|
createsprite gCurseGhostSpriteTemplate, ANIM_TARGET, 4
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 16, 0, RGB(10, 2, 19) @;Deep purple
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SkyDrop::
|
|
choosetwoturnanim SkyDropSetup SkyDropUnleash
|
|
end
|
|
SkyDropSetup:
|
|
invisible ANIM_ATTACKER
|
|
delay 0
|
|
playsewithpan SE_M_STRING_SHOT, SOUND_PAN_ATTACKER
|
|
createsprite gSkyDropFlyBallTemplate, ANIM_TARGET, 0, 0, 0, 0, 0, 30, 0
|
|
waitforvisualfinish
|
|
invisible ANIM_TARGET
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
createsprite gSkyDropTargetFlyingTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
end
|
|
SkyDropUnleash:
|
|
visible ANIM_TARGET
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
createsprite gBounceBallLandSpriteTemplate, ANIM_TARGET, 3
|
|
delay 7
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 11, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_ShiftGear::
|
|
monbg ANIM_ATTACKER
|
|
playsewithpan SE_ESCALATOR, SOUND_PAN_ATTACKER
|
|
createsprite gShiftGearGearsTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, -13, 8, 101, 10
|
|
createsprite gShiftGearGearsTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 14, -8, 101, 10
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
gBattleAnimMove_CircleThrow::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 12, 4, 1, 2
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 0, 0, 4
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gCircleThrowRingTemplate, ANIM_ATTACKER, 3, 0, 0, 256, 0
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -24, 0, 0, 4
|
|
createsprite gCircleThrowRingTemplate, ANIM_ATTACKER, 3, 0, 0, 256, 0
|
|
waitforvisualfinish
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 7
|
|
delay 11
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 10
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Incinerate::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
delay 1
|
|
createsprite gIncinerateSpriteTemplate, ANIM_TARGET, 2, 6, 20, 0, -16, 24, 20
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 3, 3072, 8, ANIM_TARGET
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 3, 3072, 8, ANIM_DEF_PARTNER
|
|
delay 3
|
|
createsprite gIncinerateSpriteTemplate, ANIM_TARGET, 2, 6, 20, 0, -16, 24, 20
|
|
delay 3
|
|
createsprite gIncinerateSpriteTemplate, ANIM_TARGET, 2, 6, 20, 0, -16, 24, 20
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
createsprite gIncinerateSpriteTemplate, ANIM_TARGET, 2, 6, 20, 0, -16, 24, 20
|
|
delay 3
|
|
createsprite gIncinerateSpriteTemplate, ANIM_TARGET, 2, 6, 20, 0, -16, 24, 20
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
createsprite gIncinerateSpriteTemplate, ANIM_TARGET, 2, 6, 20, 0, -16, 24, 20
|
|
delay 3
|
|
createsprite gIncinerateSpriteTemplate, ANIM_TARGET, 2, 6, 20, 0, -16, 24, 20
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
createsprite gIncinerateSpriteTemplate, ANIM_TARGET, 2, 6, 20, 0, -16, 24, 20
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 8, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 5, 0, 8, 1
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_TARGET, RGB_RED, 12, 1, 1
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_DEF_PARTNER, RGB_RED, 12, 1, 1
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 3, 0, 0, 9
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Quash::
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createsprite gQuashArmHitTemplate, ANIM_TARGET, 3, 0, -32, 15
|
|
delay 19
|
|
playsewithpan SE_M_MINIMIZE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_SquishTarget, 2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_Acrobatics::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
createsprite gFlyBallUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
waitforvisualfinish
|
|
call SetSkyBg
|
|
call AcrobaticsSlashes
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
visible ANIM_ATTACKER
|
|
call UnsetSkyBg
|
|
end
|
|
|
|
AcrobaticsSlashes:
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 40, 1
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -10, 3
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, 24, -19
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -28, -15
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -6, -30
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -20, 6
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, 28, 2
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -14, -25
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, 9, -2
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -1, 0
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, 21, 4
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, 28, 20
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -7, 24
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -11, 1
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, 12, -18
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -21, -14
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -29, 7
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, 15, 28
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -21, -16
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_ReflectType::
|
|
monbg ANIM_TARGET
|
|
setalpha 8, 8
|
|
playsewithpan SE_M_STRING_SHOT2, SOUND_PAN_TARGET
|
|
createsprite gReflectTypeBlueStringTemplate, ANIM_TARGET, 2, 0, 10
|
|
delay 4
|
|
createsprite gReflectTypeVioletStringTemplate, ANIM_TARGET, 2, 0, -2
|
|
delay 4
|
|
createsprite gReflectTypeWhiteStringTemplate, ANIM_TARGET, 2, 0, 22
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
delay 31
|
|
monbg ANIM_ATTACKER
|
|
playsewithpan SE_M_MILK_DRINK, SOUND_PAN_ATTACKER
|
|
createsprite gReflectTypeWhiteRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gReflectTypePinkRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gReflectTypeVioletRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gReflectTypeBlueRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gReflectTypeWhiteRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gReflectTypePinkRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gReflectTypeVioletRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gReflectTypeBlueRingTemplate, ANIM_ATTACKER, 2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Retaliate::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 9, 8
|
|
createvisualtask AnimTask_AttackerPunchWithTrace, 2, 28968, 10
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 16, RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
createsprite gGuillotineSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
createsprite gGuillotineSpriteTemplate, ANIM_ATTACKER, 2, 1
|
|
delay 56
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 16, RGB(29, 1, 1)
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 15, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 0, RGB(29, 1, 1)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_FinalGambit::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK @Darken
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 10, 1
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=8, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SAND_ATTACK, SOUND_PAN_ATTACKER
|
|
createsprite gFinalGambitBlueYawnTemplate, ANIM_ATTACKER, 2, 0, 0, 37
|
|
delay 4
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 15, 1
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -4, -4, 15, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
monbg ANIM_TARGET
|
|
delay 1
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gFinalGambitExplosionTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 15, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Bestow::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
panse SE_M_METRONOME, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
createvisualtask AnimTask_CreateBestowItem, 2, 20, 0, 0, 0, 40, -25
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_ITEM_BAG @;The generated item sprite uses this tag
|
|
unloadspritepal ANIM_TAG_ITEM_BAG @;The generated item sprite uses this tag
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_Inferno::
|
|
call SetImpactBackground
|
|
loopsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_TARGET, 40, 4
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 94, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 0, 9, RGB_RED
|
|
call InfernoAnim
|
|
call InfernoAnim
|
|
call InfernoAnim
|
|
call InfernoAnim
|
|
call InfernoAnim
|
|
call InfernoAnim
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 9, 0, RGB_RED
|
|
restorebg
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
end
|
|
InfernoAnim:
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 28, 528, 30, 13, 50, 1
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 30, 15, -25, 1
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 32, 480, 20, 16, -46, 1
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 28, 512, 25, 16, 23, 1
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 33, 576, 20, 8, 42, 1
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 31, 400, 25, 11, -21, 1
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 31, 400, 25, 11, -42, 1
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 33, 576, 20, 8, 21, 1
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 28, 512, 25, 16, 46, 1
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 32, 480, 20, 16, -23, 1
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 30, 15, -50, 1
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 28, 528, 30, 13, 25, 1
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_WaterPledge::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
|
|
@left fountain
|
|
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 40, 1
|
|
delay 6
|
|
panse SE_M_HYDRO_PUMP, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 2, -16, 0, ANIM_TARGET, 1
|
|
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 2, -16, 0, ANIM_TARGET, 1
|
|
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
|
|
@middle fountain (also continues left fountain)
|
|
|
|
panse SE_M_HYDRO_PUMP, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_BLUE
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 37, 1
|
|
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, ANIM_TARGET, 1
|
|
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, ANIM_TARGET, 1
|
|
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
|
|
@right fountain (also continues middle and left fountains)
|
|
|
|
panse SE_M_HYDRO_PUMP, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 2, 16, 0, ANIM_TARGET, 1
|
|
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 2, 16, 0, ANIM_TARGET, 1
|
|
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gWaterPledgeOrbSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_FirePledge::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
|
|
@left fountain
|
|
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 40, 1
|
|
delay 6
|
|
panse SE_M_FLAMETHROWER, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
|
|
@middle fountain (also continues left fountain)
|
|
|
|
panse SE_M_FLAMETHROWER, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_RED
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 37, 1
|
|
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
|
|
@right fountain (also continues middle and left fountains)
|
|
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gFirePledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_GrassPledge::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 40, 1
|
|
delay 6
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET
|
|
createsprite gVineWhipSpriteTemplate, ANIM_TARGET, 2, -16, 0
|
|
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
|
|
@middle fountain (also continues left fountain)
|
|
|
|
call GrassPledgeMiddleFountain
|
|
|
|
@right fountain (also continues middle and left fountains)
|
|
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET
|
|
createsprite gVineWhipSpriteTemplate, ANIM_TARGET, 2, 16, 0
|
|
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 24, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
GrassPledgeMiddleFountain:
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET
|
|
createsprite gVineWhipSpriteTemplate, ANIM_TARGET, 2, 0, 0
|
|
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_GREEN
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 37, 1
|
|
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, 0, 10, -40, 2
|
|
createsprite gGrassPledgeSpriteTemplate, ANIM_TARGET, 3, -24, 10, -40, 2
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimMove_VoltSwitch::
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_ATTACKER
|
|
createsprite gVoltSwitchSpriteTemplate, ANIM_TARGET, 3, 0, 0, 0, 0, 32, 20
|
|
delay 30
|
|
createvisualtask AnimTask_ShakeMon2 2, ANIM_TARGET, 3, 0, 8, 1
|
|
call VoltSwitchElectricFlashes
|
|
delay 2
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_ATTACKER
|
|
createsprite gVoltSwitchSpriteTemplate ANIM_TARGET, 3, 0, 0, 0, 0, 32, -20
|
|
delay 4
|
|
call VoltSwitchElectricFlashes
|
|
delay 18
|
|
createvisualtask AnimTask_ShakeMon2 2, ANIM_TARGET, 3, 0, 8, 1
|
|
call VoltSwitchElectricFlashes
|
|
delay 6
|
|
call VoltSwitchElectricFlashes
|
|
waitforvisualfinish
|
|
end
|
|
|
|
VoltSwitchElectricFlashes:
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_TARGET
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 5, 0, 5, 0
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -5, 10, 5, 1
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 15, 20, 5, 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -15, -10, 5, 0
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 25, 0, 5, 1
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -8, 8, 5, 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 2, -8, 5, 0
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -20, 15, 5, 1
|
|
return
|
|
|
|
gBattleAnimMove_StruggleBug::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 9, RGB(31, 16, 2)
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_FlailMovement, 2, ANIM_ATTACKER
|
|
createsprite gMovementWavesSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 2
|
|
createsprite gMovementWavesSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 2
|
|
loopsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER, 8, 2
|
|
waitforvisualfinish
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, FALSE, 1, 30, 1, 0
|
|
createvisualtask AnimTask_ShakeTargetPartnerBasedOnMovePowerOrDmg, 2, FALSE, 1, 30, 1, 0
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 9, 0, RGB(31, 16, 2)
|
|
delay 5
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=1
|
|
delay 5
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Bulldoze::
|
|
createvisualtask AnimTask_Splash, 2, ANIM_ATTACKER, 3
|
|
delay 8
|
|
goto gBattleAnimMove_Earthquake
|
|
|
|
gBattleAnimMove_FrostBreath::
|
|
fadetobg BG_ICE
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 768, 0, 0, -1
|
|
waitbgfadein
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 40, 1
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_TARGET, 2, ANIM_ATTACKER, 15, 0, 0, 4
|
|
waitforvisualfinish
|
|
createsprite gFrostBreathBlueBreathTemplate, ANIM_TARGET, 2, 30, 15, 0, 10, 10
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_SMALL_EMBER
|
|
unloadspritepal ANIM_TAG_SMALL_EMBER
|
|
loopsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET, 11, 3
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 3, 25, 1
|
|
createsprite gFrostBreathBlueRageTemplate, ANIM_TARGET, 66, 1, 5, 0
|
|
delay 1
|
|
createsprite gFrostBreathBlueRageTemplate, ANIM_TARGET, 66, 1, -10, -15
|
|
delay 1
|
|
createsprite gFrostBreathBlueRageTemplate, ANIM_TARGET, 2, 1, 0, 25
|
|
delay 1
|
|
createsprite gFrostBreathBlueRageTemplate, ANIM_TARGET, 66, 1, 15, 5
|
|
delay 1
|
|
createsprite gFrostBreathBlueRageTemplate, ANIM_TARGET, 66, 1, -25, 0
|
|
delay 1
|
|
createsprite gFrostBreathBlueRageTemplate, ANIM_TARGET, 2, 1, 30, 30
|
|
delay 1
|
|
createsprite gFrostBreathBlueRageTemplate, ANIM_TARGET, 2, 1, -27, 25
|
|
delay 1
|
|
createsprite gFrostBreathBlueRageTemplate, ANIM_TARGET, 66, 1, 0, 8
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_TARGET, 66, 0, 0, 4
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_DragonTail::
|
|
monbg ANIM_TARGET
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SLAM_HIT, 2, 13, 13, RGB(14, 5, 23)
|
|
waitforvisualfinish
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_ATTACKER
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 3, 0, 4
|
|
delay 1
|
|
createsprite gSlamHitSpriteTemplate, ANIM_ATTACKER, 2, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -12, 10, 0, 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 5
|
|
call TailWhackDown
|
|
delay 3
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 0, 3, 6, 1
|
|
waitforvisualfinish
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 6
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
TailWhackDown:
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-10, y=-8, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -12, 27, 2, 3
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 8, 28, 3, 4
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -4, 30, 2, 3
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 12, 25, 4, 4
|
|
return
|
|
|
|
gBattleAnimMove_WorkUp::
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -28, 26, 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 2
|
|
delay 5
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -23, 10, 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 23, 10, 2
|
|
delay 5
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -18, 26, 3
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 18, 26, 3
|
|
delay 14
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB(31, 2, 4)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -13, 26, 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 13, 26, 2
|
|
delay 5
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -8, 10, 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 8, 10, 2
|
|
delay 5
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -3, 26, 3
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 3, 26, 3
|
|
delay 14
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -2, 26, 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 2, 26, 2
|
|
delay 5
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -7, 10, 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 7, 10, 2
|
|
delay 5
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 26, 3
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 12, 26, 3
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Electroweb::
|
|
monbg ANIM_DEF_PARTNER
|
|
delay 0
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SPIDER_WEB, 0, 6, 6, RGB(31, 30, 1)
|
|
simple_palette_blend unused_subpriority_offset=5, selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=9, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
splitbgprio ANIM_TARGET
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_STRING_SHOT2, SOUND_PAN_TARGET
|
|
createsprite gSpiderWebSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, TRUE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
delay 1
|
|
simple_palette_blend unused_subpriority_offset=5, selector=F_PAL_BG, delay=2, initial_blend_y=9, target_blend_y=0, color=RGB_BLACK
|
|
call ElectricityEffect_OnTargets
|
|
gBattleAnimMove_ElectrowebWait::
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_WildCharge::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite gGrowingShockWaveOrbSpriteTemplate, ANIM_ATTACKER, 2 @electric circle
|
|
delay 30
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_HARDEN, SOUND_PAN_ATTACKER, 28, 2
|
|
call ScreenFlash
|
|
waitforvisualfinish
|
|
call ScreenFlash
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 6, 1, 0
|
|
waitforvisualfinish
|
|
delay 11
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 26, 0, 0, 5
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 16, 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
call ElectricityEffect
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 5
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
ScreenFlash:
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB(30, 31, 1)
|
|
return
|
|
|
|
gBattleAnimMove_DrillRun::
|
|
setalpha 12, 8
|
|
fadetobg BG_FISSURE
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_PositionFissureBgOnBattler, 5, ANIM_TARGET, 5, -1
|
|
call CreateSharpDrill
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_DualChop::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4
|
|
delay 6
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
|
createsprite gKarateChopSpriteTemplate, ANIM_ATTACKER, 2, -32, 0, 0, 0, 10, 1, 3, 0 @left
|
|
createsprite gKarateChopSpriteTemplate, ANIM_ATTACKER, 2, 1301, 0, 0, 0, 10, 1, 3, 0 @right
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gDualChopImpactTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 6, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_HeartStamp::
|
|
monbg ANIM_TARGET
|
|
loopsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER, 12, 3
|
|
createsprite gHeartStampSpinningHeartTemplate, ANIM_TARGET, 0, 0, 0, 1, 30
|
|
delay 30
|
|
clearmonbg ANIM_TARGET
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 131, ANIM_TARGET, 4, 0, 5, 1
|
|
createvisualtask AnimTask_StretchTargetUp, 3
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_HornLeech::
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
createsprite gHornLeechHornTemplate, ANIM_TARGET, 2, 0, 0, 37
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
call GigaDrainAbsorbEffect
|
|
waitforvisualfinish
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SacredSword::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SWORDS_DANCE, SOUND_PAN_ATTACKER
|
|
createsprite gSwordsDanceBladeSpriteTemplate, ANIM_ATTACKER, 2, 0, 0
|
|
delay 22
|
|
flash_anim_tag_with_color tag=ANIM_TAG_SWORD, delay=2, num_blends=2, color1=RGB(18, 31, 31), blend_y1=16, color2=0, blend_y2=0
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 1
|
|
monbg ANIM_TARGET
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createsprite gSacredSwordBladesTemplate, ANIM_TARGET, 1, 0, 10, 0, -256, 10
|
|
createsprite gSacredSwordCutTemplate, ANIM_ATTACKER, 2, 40, -32, 0
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 10, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_RazorShell::
|
|
monbg ANIM_TARGET
|
|
createsprite gRazorShellTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 0, 25, 0
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
createsprite gCuttingSliceSpriteTemplate, ANIM_ATTACKER, 1, 40, -32, 0
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 10, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_HeatCrash::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_SUCCESS, SOUND_PAN_TARGET
|
|
createsprite gHeatCrashEruptionRockTemplate, ANIM_ATTACKER, 3, 0, -32, 15
|
|
delay 19
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=-8, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 4, 9, 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=10, y=-8, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 5, 1
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -12, 32, 3, 4
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 8, 31, 2, 2
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -4, 28, 2, 3
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 12, 30, 4, 3
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_LeafTornado::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
playsewithpan SE_M_GUST, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 47, 1
|
|
createsprite gEllipticalGustSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
createvisualtask AnimTask_AnimateGustTornadoPalette, 5, 1, 70
|
|
call LeafTornadoVortex
|
|
call LeafTornadoVortex
|
|
call LeafTornadoVortex
|
|
waitforvisualfinish
|
|
stopsound
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
LeafTornadoVortex:
|
|
createsprite gLeafTornadoVortexTemplate, ANIM_TARGET, 2, 0, 28, 528, 30, 13, 50, 1
|
|
delay 2
|
|
createsprite gLeafTornadoVortexTemplate, ANIM_TARGET, 2, 0, 32, 480, 20, 16, -46, 1
|
|
delay 2
|
|
createsprite gLeafTornadoVortexTemplate, ANIM_TARGET, 2, 0, 33, 576, 20, 8, 42, 1
|
|
delay 2
|
|
createsprite gLeafTornadoVortexTemplate, ANIM_TARGET, 2, 0, 31, 400, 25, 11, -42, 1
|
|
delay 2
|
|
createsprite gLeafTornadoVortexTemplate, ANIM_TARGET, 2, 0, 28, 512, 25, 16, 46, 1
|
|
delay 2
|
|
createsprite gLeafTornadoVortexTemplate, ANIM_TARGET, 2, 0, 33, 464, 30, 15, -50, 1
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_Steamroller::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 26, 0, 0, 5
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
loopsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET, 6, 3
|
|
delay 1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -28, 0, 0, 3
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 4, x=0, y=3, relative_to=ANIM_TARGET, animation=0
|
|
delay 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 4, x=10, y=6, relative_to=ANIM_TARGET, animation=0
|
|
delay 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
waitforvisualfinish
|
|
delay 10
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 6
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 6
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_CottonGuard::
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 12, 8
|
|
loopsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET 18 6
|
|
call CreateCottonSpores
|
|
call CottonSporesSpiralInward
|
|
call CottonSporesSpiralInward
|
|
call CottonSporesSpiralInward
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
CottonSporesSpiralInward:
|
|
createsprite gCottonGuardSporeTemplate, ANIM_ATTACKER, 2, 40, -10, 13
|
|
delay 3
|
|
createsprite gCottonGuardSporeTemplate, ANIM_ATTACKER, 2, -35, -10, 13
|
|
delay 3
|
|
createsprite gCottonGuardSporeTemplate, ANIM_ATTACKER, 2, 15, -40, 13
|
|
delay 3
|
|
createsprite gCottonGuardSporeTemplate, ANIM_ATTACKER, 2, -10, -32, 13
|
|
delay 3
|
|
createsprite gCottonGuardSporeTemplate, ANIM_ATTACKER, 2, 25, -20, 13
|
|
delay 3
|
|
createsprite gCottonGuardSporeTemplate, ANIM_ATTACKER, 2, -40, -20, 13
|
|
delay 3
|
|
createsprite gCottonGuardSporeTemplate, ANIM_ATTACKER, 2, 5, -40, 13
|
|
delay 3
|
|
return
|
|
|
|
gBattleAnimMove_NightDaze::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_ORB, SOUND_PAN_ATTACKER
|
|
createsprite gNightDazeVioletRingsTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
|
|
createsprite gNightDazeVioletCirclesTemplate, ANIM_TARGET, 2, 0
|
|
createsprite gNightDazeVioletCirclesTemplate, ANIM_TARGET, 2, 32
|
|
createsprite gNightDazeVioletCirclesTemplate, ANIM_TARGET, 2, 64
|
|
createsprite gNightDazeVioletCirclesTemplate, ANIM_TARGET, 2, 96
|
|
createsprite gNightDazeVioletCirclesTemplate, ANIM_TARGET, 2, 128
|
|
createsprite gNightDazeVioletCirclesTemplate, ANIM_TARGET, 2, 160
|
|
createsprite gNightDazeVioletCirclesTemplate, ANIM_TARGET, 2, 0
|
|
createsprite gNightDazeVioletCirclesTemplate, ANIM_TARGET, 2, 224
|
|
delay 1
|
|
createsprite gNightDazeVioletRingsTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
|
|
delay 1
|
|
createsprite gNightDazeVioletRingsTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
|
|
delay 15
|
|
createsprite gNightDazeVioletRingsTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
|
|
delay 1
|
|
createsprite gNightDazeVioletRingsTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
|
|
delay 1
|
|
createsprite gNightDazeVioletRingsTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 31, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 9, RGB(2, 0, 8)
|
|
delay 6
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 9, 0, RGB(2, 0, 8)
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Psystrike::
|
|
monbg ANIM_TARGET
|
|
setalpha 8, 8
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 10, 1
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=8, color=RGB_RED
|
|
waitforvisualfinish
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
loopsewithpan SE_M_SUPERSONIC, SOUND_PAN_TARGET, 10, 3
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 15, 1
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -9, -9, 15, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_TailSlap::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
choosetwoturnanim TailSlapRight TailSlapLeft
|
|
TailSlapContinue:
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
TailSlapRight:
|
|
createsprite gTailSlapTemplate, ANIM_ATTACKER, 2, -8, 0, 1, 0
|
|
goto TailSlapContinue
|
|
TailSlapLeft:
|
|
createsprite gTailSlapTemplate, ANIM_ATTACKER, 2, 8, 0, 1, 0
|
|
goto TailSlapContinue
|
|
|
|
gBattleAnimMove_Hurricane::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
fadetobg BG_HURRICANE
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 4096, 0, 1, -1
|
|
waitbgfadein
|
|
playsewithpan SE_M_GUST, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 64, 1
|
|
call HurricaneGust
|
|
delay 10
|
|
call HurricaneGust
|
|
delay 10
|
|
call HurricaneGust
|
|
delay 10
|
|
call HurricaneGust
|
|
delay 10
|
|
call HurricaneGust
|
|
delay 10
|
|
call HurricaneGust
|
|
waitforvisualfinish
|
|
stopsound
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
HurricaneGust:
|
|
createsprite gEllipticalGustSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
createvisualtask AnimTask_AnimateGustTornadoPalette, 5, 1, 70
|
|
return
|
|
HurricaneGustCentered:
|
|
createsprite gEllipticalGustCenteredSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
createvisualtask AnimTask_AnimateGustTornadoPalette, 5, 1, 70
|
|
return
|
|
|
|
gBattleAnimMove_HeadCharge::
|
|
fadetobgfromset BG_GIGA_IMPACT_OPPONENT, BG_GIGA_IMPACT_PLAYER, BG_GIGA_IMPACT_OPPONENT
|
|
waitbgfadein
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 2
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 2, 0, 4, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 2
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadeout
|
|
end
|
|
|
|
gBattleAnimMove_GearGrind::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_ESCALATOR, SOUND_PAN_ATTACKER
|
|
createsprite gGearGrindTemplate, ANIM_ATTACKER, 2, -32, -32, 0, 819, 819, 10
|
|
createsprite gGearGrindTemplate, ANIM_ATTACKER, 2, 32, 32, 0, -819, -819, 10
|
|
delay 10
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-8, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 5, 2
|
|
waitforvisualfinish
|
|
createsprite gGearGrindTemplate, ANIM_ATTACKER, 2, 32, -32, 0, -819, 819, 10
|
|
createsprite gGearGrindTemplate, ANIM_ATTACKER, 2, -32, 32, 0, 819, -819, 10
|
|
delay 10
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=8, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 8, 4, 2
|
|
waitforvisualfinish
|
|
stopsound
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_SearingShot::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ELECTRIC_ORBS, 0, 12, 12, RGB(30, 17, 3) @Orange
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_WARM_ROCK, 0, 11, 11, RGB(30, 13, 0) @Orange
|
|
monbg ANIM_ATTACKER
|
|
setalpha 8, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 16, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 60, 2, 12
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 9, RGB_RED
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite gSearingShotRedChargeTemplate, ANIM_ATTACKER, 2, 0
|
|
delay 25
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_ATTACKER
|
|
createsprite gSearingShotEruptionRockTemplate, ANIM_ATTACKER, 2, 1, 0, 30, 25, -20
|
|
createsprite gSearingShotEruptionRockTemplate, ANIM_ATTACKER, 2, 1, 32, 30, 25, -20
|
|
createsprite gSearingShotEruptionRockTemplate, ANIM_ATTACKER, 2, 1, 64, 30, 25, -20
|
|
delay 2
|
|
createsprite gSearingShotEruptionRockTemplate, ANIM_ATTACKER, 2, 1, 96, 30, 25, -20
|
|
createsprite gSearingShotEruptionRockTemplate, ANIM_ATTACKER, 2, 1, 128, 30, 25, -20
|
|
delay 2
|
|
createsprite gSearingShotEruptionRockTemplate, ANIM_ATTACKER, 66, 1, 160, 30, 25, -20
|
|
createsprite gSearingShotEruptionRockTemplate, ANIM_ATTACKER, 66, 1, 160, 30, 25, -20
|
|
delay 2
|
|
createsprite gSearingShotEruptionRockTemplate, ANIM_ATTACKER, 66, 1, 224, 30, 25, -20
|
|
delay 15
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_ATTACKER
|
|
createsprite gSearingShotEruptionRockTemplate, ANIM_ATTACKER, 2, 1, 0, 30, 25, 0
|
|
delay 2
|
|
createsprite gSearingShotEruptionRockTemplate, ANIM_ATTACKER, 2, 1, 32, 30, 25, 0
|
|
createsprite gSearingShotEruptionRockTemplate, ANIM_ATTACKER, 2, 1, 64, 30, 25, 0
|
|
createsprite gSearingShotEruptionRockTemplate, ANIM_ATTACKER, 2, 1, 96, 30, 25, 0
|
|
delay 2
|
|
createsprite gSearingShotEruptionRockTemplate, ANIM_ATTACKER, 2, 1, 128, 30, 25, 0
|
|
delay 2
|
|
createsprite gSearingShotEruptionRockTemplate, ANIM_ATTACKER, 66, 1, 160, 30, 25, 0
|
|
createsprite gSearingShotEruptionRockTemplate, ANIM_ATTACKER, 66, 1, 160, 30, 25, 0
|
|
delay 2
|
|
createsprite gSearingShotEruptionRockTemplate, ANIM_ATTACKER, 66, 1, 224, 30, 25, 0
|
|
delay 21
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 9, 0, RGB_RED
|
|
clearmonbg ANIM_ATTACKER
|
|
fadetobg BG_FIRE
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 2560, 0, 1, -1
|
|
waitbgfadein
|
|
delay 30
|
|
monbg ANIM_ATK_PARTNER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ADJACENT, 2, 0, 9, RGB_RED
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 27, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 3, 0, 27, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATK_PARTNER, 3, 0, 27, 1
|
|
playsewithpan SE_M_FIRE_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gSearingShotEruptionImpactTemplate, ANIM_TARGET, 3, -5, -5, 1, 30, ANIM_TARGET
|
|
createsprite gSearingShotEruptionImpactTemplate, ANIM_TARGET, 3, 5, 10, 1, 30, ANIM_TARGET
|
|
createsprite gSearingShotEruptionImpactTemplate, ANIM_TARGET, 3, -5, -5, 1, 30, ANIM_DEF_PARTNER
|
|
createsprite gSearingShotEruptionImpactTemplate, ANIM_TARGET, 3, 5, 10, 1, 30, ANIM_DEF_PARTNER
|
|
createsprite gSearingShotEruptionImpactTemplate, ANIM_TARGET, 3, -5, -5, 1, 30, ANIM_ATK_PARTNER
|
|
createsprite gSearingShotEruptionImpactTemplate, ANIM_TARGET, 3, 5, 10, 1, 30, ANIM_ATK_PARTNER
|
|
delay 30
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ADJACENT, 2, 9, 0, RGB_RED
|
|
delay 30
|
|
call UnsetPsychicBg
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 0, RGB_BLACK
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_TechnoBlast::
|
|
createvisualtask AnimTask_TechnoBlast, 5
|
|
jumpargeq 0, TYPE_FIRE, TechnoBlastFire
|
|
jumpargeq 0, TYPE_WATER, TechnoBlastWater
|
|
jumpargeq 0, TYPE_ELECTRIC, TechnoBlastElectric
|
|
jumpargeq 0, TYPE_ICE, TechnoBlastIce
|
|
TechnoBlastNormal:
|
|
monbg ANIM_ATTACKER
|
|
setalpha 14, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER, 14, 8
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 40, 40, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, -40, -40, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 0, 40, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 0, -40, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 40, -20, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 40, 20, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, -40, -20, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteChargeTemplate, ANIM_ATTACKER, 2, 0
|
|
call TechnoBlastWhiteCircles
|
|
call TechnoBlastWhiteCircles
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 40, 40, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, -40, -40, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 0, 40, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 0, -40, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 40, -20, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 40, 20, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, -40, -20, 16
|
|
delay 2
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastWhiteBlastTemplate, ANIM_TARGET, 3, 10, 0, 0, 0, 30, 0
|
|
createsprite gTechnoBlastWhiteSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 0
|
|
createsprite gTechnoBlastWhiteSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 64, 40, 1
|
|
createsprite gTechnoBlastWhiteSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 128, 40, 0
|
|
createsprite gTechnoBlastWhiteSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 2
|
|
createsprite gTechnoBlastWhiteSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 32, 40, 0
|
|
createsprite gTechnoBlastWhiteSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 96, 40, 1
|
|
createsprite gTechnoBlastWhiteSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 160, 40, 0
|
|
createsprite gTechnoBlastWhiteSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 224, 40, 2
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_EMBER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 5, 1
|
|
createsprite gTechnoBlastWhiteSmokeTemplate, ANIM_TARGET, 2, 8, 8, 1, 0
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteSmokeTemplate, ANIM_TARGET, 2, -8, -8, 1, 0
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteSmokeTemplate, ANIM_TARGET, 2, 8, -8, 1, 0
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteSmokeTemplate, ANIM_TARGET, 2, -8, 8, 1, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
TechnoBlastWhiteCircles:
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, -40, 20, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, -20, 30, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 20, -30, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, -20, -30, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 20, 30, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, -40, 0, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 40, 0, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 40, 40, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, -40, -40, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 0, 40, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 0, -40, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 40, -20, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, 40, 20, 16
|
|
delay 2
|
|
createsprite gTechnoBlastWhiteCircleTemplate, ANIM_ATTACKER, 2, -40, -20, 16
|
|
delay 2
|
|
return
|
|
|
|
TechnoBlastElectric:
|
|
monbg ANIM_ATTACKER
|
|
setalpha 14, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER, 14, 8
|
|
createsprite gGrowingChargeOrbSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
call TechnoBlastCharging1
|
|
delay 15
|
|
call TechnoBlastCharging2
|
|
delay 15
|
|
call TechnoBlastCharging1
|
|
delay 15
|
|
call TechnoBlastCharging2
|
|
delay 15
|
|
call TechnoBlastCharging1
|
|
delay 15
|
|
call TechnoBlastCharging2
|
|
delay 15
|
|
call TechnoBlastCharging1
|
|
delay 15
|
|
call TechnoBlastCharging2
|
|
delay 15
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastYellowBlastTemplate, ANIM_TARGET, 3, 10, 0, 0, 0, 30, 0
|
|
createsprite gTechnoBlastYellowSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 0
|
|
createsprite gTechnoBlastYellowSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 64, 40, 1
|
|
createsprite gTechnoBlastYellowSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 128, 40, 0
|
|
createsprite gTechnoBlastYellowSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 2
|
|
createsprite gTechnoBlastYellowSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 32, 40, 0
|
|
createsprite gTechnoBlastYellowSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 96, 40, 1
|
|
createsprite gTechnoBlastYellowSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 160, 40, 0
|
|
createsprite gTechnoBlastYellowSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 224, 40, 2
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_EMBER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 5, 1
|
|
createsprite gTechnoBlastYellowSmokeTemplate, ANIM_TARGET, 2, 8, 8, 1, 0
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 5, 0, 5, 0
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -5, 10, 5, 1
|
|
delay 2
|
|
createsprite gTechnoBlastYellowSmokeTemplate, ANIM_TARGET, 2, -8, -8, 1, 0
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 15, 20, 5, 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -15, -10, 5, 0
|
|
delay 2
|
|
createsprite gTechnoBlastYellowSmokeTemplate, ANIM_TARGET, 2, 8, -8, 1, 0
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 25, 0, 5, 1
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -8, 8, 5, 2
|
|
delay 2
|
|
createsprite gTechnoBlastYellowSmokeTemplate, ANIM_TARGET, 2, -8, 8, 1, 0
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 2, -8, 5, 0
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -20, 15, 5, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
TechnoBlastCharging1:
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
return
|
|
TechnoBlastCharging2:
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
return
|
|
|
|
TechnoBlastWater:
|
|
monbg ANIM_ATTACKER
|
|
setalpha 14, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB(1, 0, 0)
|
|
waitforvisualfinish
|
|
createsprite gTechnoBlastBlueChargeTemplate, ANIM_ATTACKER, 2, 0
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 10, 10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, -15, 0, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 20, 10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 0, -10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, -10, 15, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 25, 20, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, -20, 20, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 12, 0, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 10, 10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, -15, 0, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 20, 10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 0, -10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, -10, 15, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 25, 20, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, -20, 20, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 12, 0, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 10, 10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, -15, 0, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 20, 10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 0, -10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, -10, 15, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 25, 20, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, -20, 20, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 12, 0, 25, 0
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastBlueBlastTemplate, ANIM_TARGET, 3, 10, 0, 0, 0, 30, 0
|
|
createsprite gTechnoBlastBlueSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 0
|
|
createsprite gTechnoBlastBlueSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 64, 40, 1
|
|
createsprite gTechnoBlastBlueSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 128, 40, 0
|
|
createsprite gTechnoBlastBlueSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 2
|
|
createsprite gTechnoBlastBlueSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 32, 40, 0
|
|
createsprite gTechnoBlastBlueSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 96, 40, 1
|
|
createsprite gTechnoBlastBlueSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 160, 40, 0
|
|
createsprite gTechnoBlastBlueSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 224, 40, 2
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_EMBER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 5, 1
|
|
createsprite gTechnoBlastBlueSmokeTemplate, ANIM_TARGET, 2, 8, 8, 1, 0
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 10, 10, 25, 1
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, -15, 0, 25, 1
|
|
delay 2
|
|
createsprite gTechnoBlastBlueSmokeTemplate, ANIM_TARGET, 2, -8, -8, 1, 0
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 20, 10, 25, 1
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 0, -10, 25, 1
|
|
delay 2
|
|
createsprite gTechnoBlastBlueSmokeTemplate, ANIM_TARGET, 2, 8, -8, 1, 0
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, -10, 15, 25, 1
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 25, 20, 25, 1
|
|
delay 2
|
|
createsprite gTechnoBlastBlueSmokeTemplate, ANIM_TARGET, 2, -8, 8, 1, 0
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, -20, 20, 25, 1
|
|
createsprite gTechnoBlastBlueBubbleTemplate, ANIM_ATTACKER, 2, 12, 0, 25, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
TechnoBlastFire:
|
|
monbg ANIM_ATTACKER
|
|
setalpha 14, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gTechnoBlastRedChargeTemplate, ANIM_ATTACKER, 2, 0
|
|
delay 5
|
|
call TechnoBlastFireSpiral
|
|
call TechnoBlastFireSpiral
|
|
call TechnoBlastFireSpiral
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastRedBlastTemplate, ANIM_TARGET, 3, 10, 0, 0, 0, 30, 0
|
|
createsprite gTechnoBlastRedSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 0
|
|
createsprite gTechnoBlastRedSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 64, 40, 1
|
|
createsprite gTechnoBlastRedSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 128, 40, 0
|
|
createsprite gTechnoBlastRedSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 2
|
|
createsprite gTechnoBlastRedSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 32, 40, 0
|
|
createsprite gTechnoBlastRedSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 96, 40, 1
|
|
createsprite gTechnoBlastRedSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 160, 40, 0
|
|
createsprite gTechnoBlastRedSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 224, 40, 2
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_EMBER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 5, 1
|
|
createsprite gTechnoBlastRedSmokeTemplate, ANIM_TARGET, 2, 8, 8, 1, 0
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, 192, 176, 40
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, -192, 240, 40
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, 192, -160, 40
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, -192, -112, 40
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, 160, 48, 40
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, -224, -32, 40
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, 112, -128, 40
|
|
delay 2
|
|
createsprite gTechnoBlastRedSmokeTemplate, ANIM_TARGET, 2, -8, -8, 1, 0
|
|
delay 2
|
|
createsprite gTechnoBlastRedSmokeTemplate, ANIM_TARGET, 2, 8, -8, 1, 0
|
|
delay 2
|
|
createsprite gTechnoBlastRedSmokeTemplate, ANIM_TARGET, 2, -8, 8, 1, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
TechnoBlastFireSpiral:
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
return
|
|
|
|
TechnoBlastIce:
|
|
monbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gTechnoBlastIceChargeTemplate, ANIM_ATTACKER, 2, 0
|
|
delay 5
|
|
call TechnoBlastIceChargeParticles
|
|
call TechnoBlastIceChargeParticles
|
|
call TechnoBlastIceChargeParticles
|
|
createsprite gTechnoBlastIceCrystalsTemplate, ANIM_ATTACKER, 2, -10, -10, 0, 2
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gTechnoBlastIceCrystalsTemplate, ANIM_ATTACKER, 2, 10, 20, 0, 2
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gTechnoBlastIceCrystalsTemplate, ANIM_ATTACKER, 2, -5, 10, 0, 2
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gTechnoBlastIceCrystalsTemplate, ANIM_ATTACKER, 2, 17, -12, 0, 2
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite gTechnoBlastIceBlastTemplate, ANIM_TARGET, 3, 10, 0, 0, 0, 30, 0
|
|
createsprite gTechnoBlastIceSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 0
|
|
createsprite gTechnoBlastIceSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 64, 40, 1
|
|
createsprite gTechnoBlastIceSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 128, 40, 0
|
|
createsprite gTechnoBlastIceSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 2
|
|
createsprite gTechnoBlastIceSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 32, 40, 0
|
|
createsprite gTechnoBlastIceSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 96, 40, 1
|
|
createsprite gTechnoBlastIceSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 160, 40, 0
|
|
createsprite gTechnoBlastIceSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 224, 40, 2
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_EMBER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 5, 1
|
|
createsprite gTechnoBlastIceSmokeTemplate, ANIM_TARGET, 2, 8, 8, 1, 0
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, -10, -10, 0
|
|
delay 2
|
|
createsprite gTechnoBlastIceSmokeTemplate, ANIM_TARGET, 2, -8, -8, 1, 0
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 10, 20, 0
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, -5, 10, 0
|
|
delay 2
|
|
createsprite gTechnoBlastIceSmokeTemplate, ANIM_TARGET, 2, 8, -8, 1, 0
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 17, -12, 0
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, -15, 15, 0
|
|
delay 2
|
|
createsprite gTechnoBlastIceSmokeTemplate, ANIM_TARGET, 2, -8, 8, 1, 0
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 0, 0, 0
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, 20, 2, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
TechnoBlastIceChargeParticles:
|
|
createsprite gTechnoBlastIceCrystalsTemplate, ANIM_ATTACKER, 2, -10, -10, 0, 2
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gTechnoBlastIceCrystalsTemplate, ANIM_ATTACKER, 2, 10, 20, 0, 2
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gTechnoBlastIceCrystalsTemplate, ANIM_ATTACKER, 2, -5, 10, 0, 2
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gTechnoBlastIceCrystalsTemplate, ANIM_ATTACKER, 2, 17, -12, 0, 2
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gTechnoBlastIceCrystalsTemplate, ANIM_ATTACKER, 2, -15, 15, 0, 2
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gTechnoBlastIceCrystalsTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gTechnoBlastIceCrystalsTemplate, ANIM_ATTACKER, 2, 20, 2, 0, 2
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimMove_RelicSong::
|
|
monbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_MusicNotesRainbowBlend, 2
|
|
waitforvisualfinish
|
|
createvisualtask SoundTask_PlayCryWithEcho, 2, FALSE
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 29, -12, 0
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -12, -29, 1
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 7, 0, 12
|
|
delay 5
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 6, 1, 12
|
|
delay 5
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 12, -29, 1
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -29, -12, 0
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 1, 2, 12
|
|
delay 5
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 2, 3, 12
|
|
delay 5
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 24, -24, 1
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, -24, 0
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 3, 0, 12
|
|
delay 5
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 2, 1, 12
|
|
delay 5
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 29, -12, 0
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -12, -29, 1
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 5, 2, 12
|
|
delay 5
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 6, 3, 12
|
|
delay 5
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 12, -29, 1
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -29, -12, 0
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 2, 0, 12
|
|
delay 5
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 2, 1, 12
|
|
delay 5
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 24, -24, 1
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, -24, 0
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 1, 2, 12
|
|
delay 5
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 5, 3, 12
|
|
delay 5
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 29, -12, 0
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -12, -29, 1
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-32, y=-16, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 3, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_DEF_PARTNER, 3, 0, 12, 1
|
|
delay 5
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=32, y=20, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_MusicNotesClearRainbowBlend, 2
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SecretSword::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SWORDS_DANCE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 16, RGB_BLACK
|
|
createsprite gSwordsDanceBladeSpriteTemplate, ANIM_ATTACKER, 2, 0, 0
|
|
delay 22
|
|
flash_anim_tag_with_color tag=ANIM_TAG_SWORD, delay=2, num_blends=2, color1=RGB(18, 31, 31), blend_y1=16, color2=0, blend_y2=0
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 1
|
|
monbg ANIM_TARGET
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createsprite gSecretSwordBladesTemplate, ANIM_TARGET, 1, 0, 10, 0, -256, 10
|
|
createsprite gCuttingSliceSpriteTemplate, ANIM_ATTACKER, 2, 40, -32, 0
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 10, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 16, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Glaciate::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
fadetobg BG_ICE
|
|
waitbgfadeout
|
|
playsewithpan SE_M_SAND_ATTACK, SOUND_PAN_TARGET
|
|
createsprite gGlaciateSmokeTemplate, ANIM_TARGET, 4, 0, -12, 104, 0, 75
|
|
createsprite gGlaciateSmokeTemplate, ANIM_TARGET, 4, 0, -12, 72, 1, 75
|
|
createsprite gGlaciateSmokeTemplate, ANIM_TARGET, 4, 0, -6, 56, 1, 75
|
|
createsprite gGlaciateSmokeTemplate, ANIM_TARGET, 4, 0, -6, 88, 0, 75
|
|
createsprite gGlaciateSmokeTemplate, ANIM_TARGET, 4, 0, 0, 56, 0, 75
|
|
createsprite gGlaciateSmokeTemplate, ANIM_TARGET, 4, 0, 0, 88, 1, 75
|
|
createsprite gGlaciateSmokeTemplate, ANIM_TARGET, 4, 0, 6, 72, 0, 75
|
|
createsprite gGlaciateSmokeTemplate, ANIM_TARGET, 4, 0, 6, 104, 1, 75
|
|
createsprite gGlaciateSmokeTemplate, ANIM_TARGET, 4, 0, 12, 72, 0, 75
|
|
createsprite gGlaciateSmokeTemplate, ANIM_TARGET, 4, 0, 12, 56, 1, 75
|
|
createsprite gGlaciateSmokeTemplate, ANIM_TARGET, 4, 0, 18, 80, 0, 75
|
|
createsprite gGlaciateSmokeTemplate, ANIM_TARGET, 4, 0, 18, 72, 1, 75
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_DEF_SIDE, 2, 0, 10, RGB_WHITE
|
|
call IceCrystalEffectLong
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_DEF_SIDE, 2, 10, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_BoltStrike::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 16, RGB_BLACK
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 9, RGB(30, 31, 1)
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 64, 0, 2
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
createsprite gGrowingShockWaveOrbSpriteTemplate, ANIM_ATTACKER, 2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 2, 4
|
|
delay 10
|
|
fadetobg BG_BOLT_STRIKE
|
|
waitbgfadeout
|
|
waitforvisualfinish
|
|
monbg ANIM_TARGET
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 26, 0, 0, 5
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 9, RGB(30, 31, 1)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 32, 1
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
call ElectricityEffect
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 5
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 9, 0, RGB(30, 31, 1)
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
call ElectricityEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 9, 0, RGB(30, 31, 1)
|
|
call UnsetPsychicBg
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 0, RGB_BLACK
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_BlueFlare::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 16, RGB_BLACK
|
|
loopsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER, 7, 9
|
|
createsprite gBlueFlareFlameJabTemplate, ANIM_TARGET, 2, 1, 0, 0, -32, 16
|
|
delay 2
|
|
createsprite gBlueFlareFlameJabTemplate, ANIM_TARGET, 2, 1, 0, 22, -22, 16
|
|
delay 2
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 0, 9, RGB_RED
|
|
createsprite gBlueFlareFlameJabTemplate, ANIM_TARGET, 2, 1, 0, 30, 0, 16
|
|
delay 2
|
|
createsprite gBlueFlareFlameJabTemplate, ANIM_TARGET, 2, 1, 0, 20, 20, 16
|
|
delay 2
|
|
createsprite gBlueFlareFlameJabTemplate, ANIM_TARGET, 2, 1, 0, 0, 28, 16
|
|
delay 2
|
|
createsprite gBlueFlareFlameJabTemplate, ANIM_TARGET, 2, 1, 0, -19, 19, 16
|
|
delay 2
|
|
createsprite gBlueFlareFlameJabTemplate, ANIM_TARGET, 2, 1, 0, -27, 0, 16
|
|
delay 2
|
|
createsprite gBlueFlareFlameJabTemplate, ANIM_TARGET, 2, 1, 0, -18, -18, 16
|
|
delay 2
|
|
createsprite gBlueFlareFlameJabTemplate, ANIM_TARGET, 2, 1, 0, 0, -25, 16
|
|
delay 2
|
|
createsprite gBlueFlareFlameJabTemplate, ANIM_TARGET, 2, 1, 0, 17, -17, 16
|
|
delay 2
|
|
createsprite gBlueFlareFlameJabTemplate, ANIM_TARGET, 2, 1, 0, 23, 0, 16
|
|
delay 2
|
|
createsprite gBlueFlareFlameJabTemplate, ANIM_TARGET, 2, 1, 0, 16, 16, 16
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_TARGET
|
|
call BlueFlareFireSpin
|
|
call BlueFlareFireSpin
|
|
call BlueFlareFireSpin
|
|
fadetobg BG_FIRE_2
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 4096, 0, 0, -1
|
|
waitbgfadein
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
call BlueFlareFlameSpreadEffect
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 0, RGB_BLACK
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 9, 0, RGB_RED
|
|
call UnsetPsychicBg
|
|
waitforvisualfinish
|
|
end
|
|
BlueFlareFireSpin:
|
|
createsprite gBlueFlareFlameSwirlTemplate, ANIM_TARGET, 2, 0, 28, 528, 30, 13, 50, 1
|
|
delay 2
|
|
createsprite gBlueFlareFlameSwirlTemplate, ANIM_TARGET, 2, 0, 32, 480, 20, 16, -46, 1
|
|
delay 2
|
|
createsprite gBlueFlareFlameSwirlTemplate, ANIM_TARGET, 2, 0, 33, 576, 20, 8, 42, 1
|
|
delay 2
|
|
createsprite gBlueFlareFlameSwirlTemplate, ANIM_TARGET, 2, 0, 31, 400, 25, 11, -42, 1
|
|
delay 2
|
|
createsprite gBlueFlareFlameSwirlTemplate, ANIM_TARGET, 2, 0, 28, 512, 25, 16, 46, 1
|
|
delay 2
|
|
createsprite gBlueFlareFlameSwirlTemplate, ANIM_TARGET, 2, 0, 33, 464, 30, 15, -50, 1
|
|
delay 2
|
|
return
|
|
BlueFlareFlameSpreadEffect:
|
|
createsprite gBlueFlareBurnTemplate, ANIM_TARGET, 1, 0, 10, 0, 176, 40
|
|
createsprite gBlueFlareBurnTemplate, ANIM_TARGET, 1, 0, 10, -192, 240, 40
|
|
createsprite gBlueFlareBurnTemplate, ANIM_TARGET, 1, 0, 10, 0, -160, 40
|
|
createsprite gBlueFlareBurnTemplate, ANIM_TARGET, 1, 0, 10, -192, -112, 40
|
|
createsprite gBlueFlareBurnTemplate, ANIM_TARGET, 1, 0, 10, 160, 48, 40
|
|
createsprite gBlueFlareBurnTemplate, ANIM_TARGET, 1, 0, 10, -224, -32, 40
|
|
createsprite gBlueFlareBurnTemplate, ANIM_TARGET, 1, 0, 10, 112, -128, 40
|
|
return
|
|
|
|
gBattleAnimMove_FieryDance::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB(30, 5, 5)
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 64, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 0, 9, RGB_RED
|
|
call FireSpinEffect
|
|
call FireSpinEffect
|
|
call FireSpinEffect
|
|
playsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_TARGET
|
|
call FireSpinEffect
|
|
call FireSpinEffect
|
|
call FireSpinEffect
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 9, 0, RGB_RED
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB(30, 5, 5)
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_FreezeShock::
|
|
choosetwoturnanim FreezeShockCharge FreezeShockAttack
|
|
FreezeShockCharge:
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_ATTACKER, 2, 16
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 0, 15, RGB_WHITE
|
|
createsprite gFreezeShockCircleTemplate, ANIM_ATTACKER, 2 @electric circle
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 15, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
end
|
|
FreezeShockAttack:
|
|
loopsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET, 5, 5
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 16, RGB_BLACK
|
|
monbg ANIM_TARGET
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_ATTACKER
|
|
createsprite gFreezeShockIceBallTemplate, ANIM_TARGET, 3, 10, 0, 0, 0, 30, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 64, 40, 1
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 128, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 2
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 32, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 96, 40, 1
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 160, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 224, 40, 2
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 5, 1
|
|
delay 15
|
|
waitplaysewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET, 19
|
|
call ElectricityEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_IceBurn::
|
|
choosetwoturnanim IceBurnCharge, IceBurnUnleash
|
|
waitforvisualfinish
|
|
end
|
|
IceBurnCharge:
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET, 4, 3
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 8, 0, RGB_BLACK
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_ATTACKER, 2, 16
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 0, 15, RGB_WHITE
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 15, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
IceBurnUnleash:
|
|
monbg ANIM_TARGET
|
|
fadetobg BG_ICE
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 9, RGB_WHITE
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, -10, -10, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
createsprite gIceBurnSmokeTemplate, ANIM_TARGET, 4, 0, -12, 104, 0, 75
|
|
createsprite gIceBurnSmokeTemplate, ANIM_TARGET, 4, 0, -12, 72, 1, 75
|
|
createsprite gIceBurnSmokeTemplate, ANIM_TARGET, 4, 0, -6, 56, 1, 75
|
|
createsprite gIceBurnSmokeTemplate, ANIM_TARGET, 4, 0, -6, 88, 0, 75
|
|
createsprite gIceBurnSmokeTemplate, ANIM_TARGET, 4, 0, 0, 56, 0, 75
|
|
createsprite gIceBurnSmokeTemplate, ANIM_TARGET, 4, 0, 0, 88, 1, 75
|
|
createsprite gIceBurnSmokeTemplate, ANIM_TARGET, 4, 0, 6, 72, 0, 75
|
|
createsprite gIceBurnSmokeTemplate, ANIM_TARGET, 4, 0, 6, 104, 1, 75
|
|
createsprite gIceBurnSmokeTemplate, ANIM_TARGET, 4, 0, 12, 72, 0, 75
|
|
createsprite gIceBurnSmokeTemplate, ANIM_TARGET, 4, 0, 12, 56, 1, 75
|
|
createsprite gIceBurnSmokeTemplate, ANIM_TARGET, 4, 0, 18, 80, 0, 75
|
|
createsprite gIceBurnSmokeTemplate, ANIM_TARGET, 4, 0, 18, 72, 1, 75
|
|
call FireSpreadEffect
|
|
playsewithpan SE_M_FIRE_PUNCH, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 10, 20, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, -5, 10, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 17, -12, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, -15, 15, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 0, 0, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, 20, 2, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 9, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
restorebg
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_Snarl::
|
|
monbg ANIM_DEF_PARTNER
|
|
fadetobg BG_DARK
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
playsewithpan SE_M_UPROAR, SOUND_PAN_ATTACKER
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 29, -12, 0
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -12, -29, 1
|
|
delay 16
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
playsewithpan SE_M_UPROAR, SOUND_PAN_ATTACKER
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 12, -29, 1
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -29, -12, 0
|
|
delay 16
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
playsewithpan SE_M_UPROAR, SOUND_PAN_ATTACKER
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 24, -24, 1
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, -24, 0
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-32, y=-16, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 3, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_DEF_PARTNER, 3, 0, 12, 1
|
|
delay 4
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=32, y=20, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_IcicleCrash::
|
|
fadetobg BG_ICE
|
|
waitbgfadein
|
|
monbg ANIM_DEF_PARTNER
|
|
createsprite gIcicleCrashSpearTemplate, ANIM_TARGET, 2, -5, 0, -5, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gIcicleCrashSpearTemplate, ANIM_TARGET, 2, 5, 0, 6, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gIcicleCrashSpearTemplate, ANIM_TARGET, 2, 19, 0, 10, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gIcicleCrashSpearTemplate, ANIM_TARGET, 2, -23, 0, -10, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 5, 50, 1
|
|
delay 2
|
|
call LaunchIcicleCrashSpear
|
|
call LaunchIcicleCrashSpear
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
restorebg
|
|
waitbgfadeout
|
|
end
|
|
LaunchIcicleCrashSpear:
|
|
createsprite gIcicleCrashSpearTemplate, ANIM_TARGET, 2, -20, 0, -10, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gIcicleCrashSpearTemplate, ANIM_TARGET, 2, 28, 0, 10, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gIcicleCrashSpearTemplate, ANIM_TARGET, 2, -10, 0, -5, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gIcicleCrashSpearTemplate, ANIM_TARGET, 2, 10, 0, 6, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gIcicleCrashSpearTemplate, ANIM_TARGET, 2, 24, 0, 10, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gIcicleCrashSpearTemplate, ANIM_TARGET, 2, -32, 0, -10, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gIcicleCrashSpearTemplate, ANIM_TARGET, 2, -20, 0, -10, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gIcicleCrashSpearTemplate, ANIM_TARGET, 2, 30, 0, 10, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_VCreate::
|
|
monbg ANIM_ATK_PARTNER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK @Darken
|
|
createsprite gVCreateRedOrbTemplate, ANIM_ATTACKER, 2, 0, 17, 0, 1
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gVCreateRedRingTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 9, RGB_RED
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET
|
|
call VCreateFlames
|
|
call VCreateFlames
|
|
call VCreateFlames
|
|
call VCreateFlames
|
|
call VCreateFlames
|
|
call VCreateFlames
|
|
call VCreateFlames
|
|
call VCreateFlames
|
|
call VCreateFlames
|
|
call VCreateFlames
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_SMALL_EMBER
|
|
unloadspritepal ANIM_TAG_SMALL_EMBER
|
|
unloadspritegfx ANIM_TAG_THIN_RING
|
|
unloadspritepal ANIM_TAG_THIN_RING
|
|
unloadspritegfx ANIM_TAG_JAGGED_MUSIC_NOTE
|
|
unloadspritepal ANIM_TAG_JAGGED_MUSIC_NOTE
|
|
unloadspritegfx ANIM_TAG_ECLIPSING_ORB
|
|
unloadspritepal ANIM_TAG_ECLIPSING_ORB
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
fadetobg BG_FIRE @Mr. DS Fire
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 2560, 0, 1, -1
|
|
waitbgfadein
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_WindUpLunge, 5, ANIM_ATTACKER, -24, 8, 23, 10, 40, 10
|
|
delay 35
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 5, 50, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 9, RGB_RED
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 24, -24, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, 1, 1
|
|
waitforvisualfinish
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4
|
|
create_claw_slash_sprite ANIM_TARGET, 2, x=-10, y=-10, animation=0
|
|
create_claw_slash_sprite ANIM_TARGET, 2, x=10, y=-10, animation=1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 9, 0, RGB_RED
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 9, 0, RGB_RED
|
|
delay 2
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 5
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
call UnsetPsychicBg
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 0, RGB_WHITEALPHA
|
|
waitforvisualfinish
|
|
end
|
|
VCreateFlames:
|
|
createsprite gVCreateFlameTemplate, ANIM_TARGET, 2, 0, 1, 22, -22, 16 @upperright
|
|
createsprite gVCreateFlameTemplate, ANIM_TARGET, 2, 0, 1, -18, -18, 16 @upperleft
|
|
delay 3
|
|
return
|
|
|
|
gBattleAnimMove_FusionFlare::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SMALL_BUBBLES, 0, 13, 13, RGB(27, 10, 0) @Reddish Orange
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
call FusionFlareBuff
|
|
delay 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_RED
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 8, 1, 0
|
|
delay 8
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
createsprite gFusionFlareRedBallUpTemplate, ANIM_ATTACKER, 2
|
|
delay 32
|
|
createsprite gFusionFlareRedBallTemplate, ANIM_ATTACKER, 3, 0, -96, 47
|
|
createsprite gFusionFlareRedBubblesTemplate, ANIM_ATTACKER, 66, 100, 100, 8, 1, 20, 40, 0
|
|
createsprite gFusionFlareRedBubblesTemplate, ANIM_ATTACKER, 66, 20, 100, 16, 2, 10, 35, 1
|
|
createsprite gFusionFlareRedBubblesTemplate, ANIM_ATTACKER, 66, 200, 80, 8, 1, 40, 20, 0
|
|
createsprite gFusionFlareRedBubblesTemplate, ANIM_ATTACKER, 66, 80, 60, 10, 3, 20, 50, 0
|
|
createsprite gFusionFlareRedBubblesTemplate, ANIM_ATTACKER, 66, 140, 100, 16, 1, 20, 30, 1
|
|
delay 41
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_RED
|
|
delay 5
|
|
createsprite gFusionFlareRedRingTemplate, ANIM_ATTACKER, 3, 1, 1, 1, 1, 31, 8
|
|
createsprite gFusionFlareRedBubblesTemplate, ANIM_ATTACKER, 66, 100, 100, 8, 1, 20, 40, 0
|
|
createsprite gFusionFlareRedBubblesTemplate, ANIM_ATTACKER, 66, 20, 100, 16, 2, 10, 35, 1
|
|
createsprite gFusionFlareRedBubblesTemplate, ANIM_ATTACKER, 66, 200, 80, 8, 1, 40, 20, 0
|
|
createsprite gFusionFlareRedBubblesTemplate, ANIM_ATTACKER, 66, 80, 60, 10, 3, 20, 50, 0
|
|
createsprite gFusionFlareRedBubblesTemplate, ANIM_ATTACKER, 66, 140, 100, 16, 1, 20, 30, 1
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 2, 16
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
FusionFlareBuff:
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
|
|
gBattleAnimMove_FusionBolt::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SPARK, 0, 12, 12, RGB(0, 11, 30) @Blue Electricity
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_CIRCLE_OF_LIGHT, 0, 12, 12, RGB(0, 11, 30) @Blue Electricity
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ELECTRICITY, 0, 12, 12, RGB(0, 11, 30) @Blue Electricity
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 14, RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gVoltTackleOrbSlideSpriteTemplate, ANIM_ATTACKER, 1
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
invisible ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
delay 8
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 0
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 1
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 2
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 3
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createsprite gFusionBoltBallTemplate, ANIM_TARGET, 2, 16
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_ATTACKER
|
|
delay 8
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 10, 0, 18, 1
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gElectricPuffSpriteTemplate, ANIM_ATTACKER, 2, 1, 16, 16
|
|
delay 2
|
|
createsprite gElectricPuffSpriteTemplate, ANIM_ATTACKER, 2, 1, -16, -16
|
|
delay 8
|
|
createvisualtask AnimTask_VoltTackleAttackerReappear, 5
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 3, 0, 9, 1
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gElectricPuffSpriteTemplate, ANIM_ATTACKER, 2, 0, 16, 16
|
|
delay 2
|
|
createsprite gElectricPuffSpriteTemplate, ANIM_ATTACKER, 2, 0, -16, -16
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 14, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
|
|
@@@@@@@@@@@@@@@@@@@@@@@ GEN 6 @@@@@@@@@@@@@@@@@@@@@@@
|
|
gBattleAnimMove_FlyingPress::
|
|
setalpha 15, 0
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
createsprite gFlyBallUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
waitforvisualfinish
|
|
delay 15
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
createsprite gBounceBallLandSpriteTemplate, ANIM_TARGET, 3
|
|
delay 2
|
|
createvisualtask AnimTask_SquishTarget, 2
|
|
delay 5
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 0, 8, 8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 0, -8, -8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 0, 8, -8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 0, -8, 8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 0, 8, 8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 0, -8, -8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 0, 8, -8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 0, -8, 8, 1, 0
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_MatBlock::
|
|
monbg ANIM_ATK_PARTNER
|
|
splitbgprio ANIM_ATTACKER
|
|
setalpha 16, 0
|
|
delay 0
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
createsprite gMatBlockGreenConversionTemplate, ANIM_ATTACKER, 2, -8, 24
|
|
createsprite gMatBlockGreenConversionTemplate, ANIM_ATTACKER, 2, 8, 24
|
|
delay 3
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
createsprite gMatBlockGreenConversionTemplate, ANIM_ATTACKER, 2, -8, 8
|
|
createsprite gMatBlockGreenConversionTemplate, ANIM_ATTACKER, 2, 8, 8
|
|
delay 3
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
createsprite gMatBlockGreenConversionTemplate, ANIM_ATTACKER, 2, -8, -8
|
|
createsprite gMatBlockGreenConversionTemplate, ANIM_ATTACKER, 2, 8, -8
|
|
delay 3
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
createsprite gMatBlockGreenConversionTemplate, ANIM_ATTACKER, 2, -8, -24
|
|
createsprite gMatBlockGreenConversionTemplate, ANIM_ATTACKER, 2, 8, -24
|
|
delay 20
|
|
createvisualtask AnimTask_ConversionAlphaBlend, 5
|
|
waitforvisualfinish
|
|
delay 1
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Belch::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_SUCCESS, SOUND_PAN_ATTACKER
|
|
createsprite gBelchBerryTemplate, ANIM_ATTACKER, 2, 20, -8, -8, -8, 20, -32
|
|
delay 19
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 10, 0, 20, 1
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 24, -24, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, 24, 1, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Rototiller::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 16, RGB(12, 9, 4)
|
|
waitforvisualfinish
|
|
createsprite gDirtMoundSpriteTemplate, ANIM_ATTACKER, 1, 0, 0, 180
|
|
createsprite gDirtMoundSpriteTemplate, ANIM_ATTACKER, 1, 0, 1, 180
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 6, 4, 2, 4
|
|
call DigThrowDirt
|
|
call DigThrowDirt
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 6, 4, 2, 4
|
|
call DigThrowDirt
|
|
call DigThrowDirt
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 0, RGB(12, 9, 4)
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_StickyWeb::
|
|
monbg ANIM_DEF_PARTNER
|
|
delay 0
|
|
simple_palette_blend unused_subpriority_offset=5, selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=9, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
splitbgprio ANIM_TARGET
|
|
loopsewithpan SE_M_STRING_SHOT, SOUND_PAN_ATTACKER, 9, 6
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_STRING_SHOT2, SOUND_PAN_TARGET
|
|
createsprite gSpiderWebSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, TRUE
|
|
delay 50
|
|
playsewithpan SE_M_STRING_SHOT2, SOUND_PAN_TARGET
|
|
createsprite gSpiderWebSpriteTemplate, ANIM_ATTACKER, 2, -30, 30, TRUE
|
|
delay 50
|
|
playsewithpan SE_M_STRING_SHOT2, SOUND_PAN_TARGET
|
|
createsprite gSpiderWebSpriteTemplate, ANIM_ATTACKER, 2, 30, -30, TRUE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
delay 1
|
|
simple_palette_blend unused_subpriority_offset=5, selector=F_PAL_BG, delay=2, initial_blend_y=9, target_blend_y=0, color=RGB_BLACK
|
|
end
|
|
|
|
gBattleAnimMove_FellStinger::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
delay 0
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
create_linear_stinger_sprite ANIM_TARGET, 2, initial_x=20, initial_y=0, target_x=-8, target_y=0, duration=20
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 5, 1
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
delay 1
|
|
restorebg
|
|
waitbgfadein
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_PhantomForce::
|
|
choosetwoturnanim PhantomForcePrep PhantomForceAttack
|
|
PhantomForceWaitEnd:
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
PhantomForcePrep:
|
|
monbg ANIM_ATTACKER
|
|
fadetobg BG_GHOST
|
|
waitbgfadein
|
|
delay 0
|
|
playsewithpan SE_M_FAINT_ATTACK, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 1, 3
|
|
attacker_fade_to_invisible step_delay=1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
invisible ANIM_ATTACKER
|
|
delay 1
|
|
goto PhantomForceWaitEnd
|
|
PhantomForceAttack:
|
|
monbg ANIM_ATTACKER
|
|
splitbgprio ANIM_ATTACKER
|
|
fadetobg BG_GHOST
|
|
waitbgfadein
|
|
delay 1
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_IMPACT, 0, 12, 12, RGB(0, 0, 23)
|
|
setalpha 12, 8
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_PurpleFlamesOnTarget, 3
|
|
createvisualtask AnimTask_DestinyBondWhiteShadow, 5, 0, 48
|
|
delay 30
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_IMPACT, 0, 12, 12, RGB(0, 0, 23)
|
|
waitforvisualfinish
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_ATK_PARTNER, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_ATK_PARTNER, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
delay 3
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 12, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=13, color=RGB_PURPLE
|
|
waitforvisualfinish
|
|
delay 1
|
|
playsewithpan SOUND_PAN_ATTACKER, 192
|
|
createvisualtask AnimTask_NightShadeClone, 5, 10
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 1
|
|
goto PhantomForceWaitEnd
|
|
PhantomForceBg:
|
|
fadetobg BG_DARK
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_FadeScreenToWhite, 5
|
|
waitbgfadein
|
|
return
|
|
|
|
gBattleAnimMove_TrickOrTreat::
|
|
fadetobg BG_NIGHTMARE
|
|
waitbgfadein
|
|
delay 10
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 10, 1
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=8, color=RGB(10, 2, 19)
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_LEER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaryFace, 5
|
|
delay 13
|
|
waitforvisualfinish
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(10, 2, 19)@;Deep purple
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_TARGET
|
|
createsprite gCurseGhostSpriteTemplate, ANIM_TARGET, 2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 14, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_NobleRoar::
|
|
monbg ANIM_ATTACKER
|
|
splitbgprio ANIM_ATTACKER
|
|
setalpha 8, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=8, color=RGB(4, 0, 0)
|
|
waitforvisualfinish
|
|
createvisualtask SoundTask_PlayCryHighPitch, 2, ANIM_ATTACKER, 2
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -5, -5, 10, ANIM_ATTACKER, 1
|
|
call RoarEffect
|
|
delay 10
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 9, 1
|
|
delay 10
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=8, target_blend_y=0, color=RGB(4, 0, 0)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
waitforvisualfinish
|
|
delay 20
|
|
end
|
|
|
|
gBattleAnimMove_IonDeluge::
|
|
loopsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER, 10, 12
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 0, 4, RGB_YELLOW
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_CreateIons, 2, 0, 3, 120
|
|
createvisualtask AnimTask_CreateIons, 2, 0, 3, 120
|
|
delay 120
|
|
delay 30
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 4, 0, RGB_YELLOW
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_ParabolicCharge::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=6, color=RGB(18, 16, 3)
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 3, 20, 20
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
createsprite gGrowingShockWaveOrbSpriteTemplate, ANIM_ATTACKER, 2
|
|
delay 30
|
|
jumpifdoublebattle ParabolicChargeDouble
|
|
createvisualtask AnimTask_ShockWaveProgressingBolt, 5, ANIM_TARGET
|
|
delay 12
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShockWaveLightning, 5, ANIM_TARGET
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 6, 18, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 5, F_PAL_TARGET, 0, 16, 16, RGB_BLACK
|
|
delay 4
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 5, F_PAL_TARGET, 0, 0, 0, RGB_BLACK
|
|
ParabolicChargeHeal:
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_CIRCLE_OF_LIGHT
|
|
unloadspritepal ANIM_TAG_CIRCLE_OF_LIGHT
|
|
unloadspritegfx ANIM_TAG_ELECTRIC_ORBS
|
|
unloadspritepal ANIM_TAG_ELECTRIC_ORBS
|
|
unloadspritegfx ANIM_TAG_SPARK
|
|
unloadspritepal ANIM_TAG_SPARK
|
|
unloadspritegfx ANIM_TAG_LIGHTNING
|
|
unloadspritepal ANIM_TAG_LIGHTNING
|
|
clearmonbg ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
call HealingEffect
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=6, target_blend_y=0, color=RGB(18, 16, 3)
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
ParabolicChargeDouble:
|
|
createvisualtask AnimTask_ShockWaveProgressingBolt, 5, ANIM_TARGET
|
|
createvisualtask AnimTask_ShockWaveProgressingBolt, 5, ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_ShockWaveProgressingBolt, 5, ANIM_ATK_PARTNER
|
|
delay 12
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShockWaveLightning, 5, ANIM_TARGET
|
|
createvisualtask AnimTask_ShockWaveLightning, 5, ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_ShockWaveLightning, 5, ANIM_ATK_PARTNER
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 6, 18, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 0, 6, 18, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATK_PARTNER, 0, 6, 18, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 5, F_PAL_ADJACENT, 0, 16, 16, RGB_BLACK
|
|
delay 4
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 5, F_PAL_ADJACENT, 0, 0, 0, RGB_BLACK
|
|
goto ParabolicChargeHeal;
|
|
|
|
gBattleAnimMove_ForestsCurse::
|
|
monbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 16, RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 8, RGB(3, 23, 0)
|
|
createsprite gForestsCurseIngrainTemplate, ANIM_ATTACKER, 66, 100, 100, 8, 1, 20, 40, 0
|
|
createsprite gForestsCurseIngrainTemplate, ANIM_ATTACKER, 66, 20, 100, 16, 2, 10, 35, 1
|
|
createsprite gForestsCurseIngrainTemplate, ANIM_ATTACKER, 66, 200, 80, 8, 1, 40, 20, 0
|
|
createsprite gForestsCurseIngrainTemplate, ANIM_ATTACKER, 66, 80, 60, 10, 3, 20, 50, 0
|
|
createsprite gForestsCurseIngrainTemplate, ANIM_ATTACKER, 66, 140, 100, 16, 1, 20, 30, 1
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_ATTACKER
|
|
createsprite gForestsCurseIngrainTemplate, ANIM_ATTACKER, 66, 100, 100, 8, 1, 20, 40, 0
|
|
createsprite gForestsCurseIngrainTemplate, ANIM_ATTACKER, 66, 20, 100, 16, 2, 10, 35, 1
|
|
createsprite gForestsCurseIngrainTemplate, ANIM_ATTACKER, 66, 200, 80, 8, 1, 40, 20, 0
|
|
createsprite gForestsCurseIngrainTemplate, ANIM_ATTACKER, 66, 80, 60, 10, 3, 20, 50, 0
|
|
createsprite gForestsCurseIngrainTemplate, ANIM_ATTACKER, 66, 140, 100, 16, 1, 20, 30, 1
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_ATTACKER
|
|
createsprite gForestsCurseIngrainTemplate, ANIM_ATTACKER, 66, 100, 100, 8, 1, 20, 40, 0
|
|
createsprite gForestsCurseIngrainTemplate, ANIM_ATTACKER, 66, 20, 100, 16, 2, 10, 35, 1
|
|
createsprite gForestsCurseIngrainTemplate, ANIM_ATTACKER, 66, 200, 80, 8, 1, 40, 20, 0
|
|
createsprite gForestsCurseIngrainTemplate, ANIM_ATTACKER, 66, 80, 60, 10, 3, 20, 50, 0
|
|
createsprite gForestsCurseIngrainTemplate, ANIM_ATTACKER, 66, 140, 100, 16, 1, 20, 30, 1
|
|
waitforvisualfinish
|
|
createsprite gCurseGhostSpriteTemplate, ANIM_TARGET, 2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 14, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 8, 0, RGB(3, 23, 0)
|
|
delay 3
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
gBattleAnimMove_PetalBlizzard::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
playsewithpan SE_M_TWISTER, SOUND_PAN_TARGET
|
|
create_twister_leaf_sprite ANIM_TARGET, 2, duration=120, distance_y=70, wave_period=5, wave_amplitude=70, speed_up_on_frame=30
|
|
delay 1
|
|
create_twister_leaf_sprite ANIM_TARGET, 2, duration=115, distance_y=55, wave_period=6, wave_amplitude=60, speed_up_on_frame=25
|
|
delay 1
|
|
create_twister_leaf_sprite ANIM_TARGET, 2, duration=115, distance_y=60, wave_period=7, wave_amplitude=60, speed_up_on_frame=30
|
|
createsprite gPetalBlizzardTwister1Template, ANIM_TARGET, 2, 115, 55, 10, 60, 30
|
|
delay 3
|
|
createsprite gPetalBlizzardTwister1Template, ANIM_TARGET, 2, 100, 50, 4, 50, 26
|
|
delay 1
|
|
createsprite gPetalBlizzardTwister1Template, ANIM_TARGET, 2, 105, 25, 8, 60, 20
|
|
delay 1
|
|
createsprite gPetalBlizzardTwister1Template, ANIM_TARGET, 2, 115, 40, 10, 48, 30
|
|
delay 3
|
|
createsprite gPetalBlizzardTwister1Template, ANIM_TARGET, 2, 120, 30, 6, 45, 25
|
|
create_twister_leaf_sprite ANIM_TARGET, 2, duration=115, distance_y=35, wave_period=10, wave_amplitude=60, speed_up_on_frame=30
|
|
delay 3
|
|
createsprite gPetalBlizzardTwister2Template, ANIM_TARGET, 2, 105, 20, 8, 40, 0
|
|
delay 3
|
|
create_twister_leaf_sprite ANIM_TARGET, 2, duration=20, distance_y=255, wave_period=15, wave_amplitude=32, speed_up_on_frame=0
|
|
create_twister_leaf_sprite ANIM_TARGET, 2, duration=110, distance_y=10, wave_period=8, wave_amplitude=32, speed_up_on_frame=20
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-32, y=-16, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 3, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_DEF_PARTNER, 3, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATK_PARTNER, 3, 0, 12, 1
|
|
delay 4
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=32, y=20, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_FreezeDry::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=7, color=RGB_BLACK
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 9, RGB(12, 26, 31)
|
|
delay 20
|
|
playsewithpan SE_M_STRING_SHOT, SOUND_PAN_TARGET
|
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 0
|
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 64
|
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 128
|
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 192
|
|
delay 5
|
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 32
|
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 96
|
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 160
|
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 224
|
|
delay 17
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 3, 1
|
|
waitforvisualfinish
|
|
delay 15
|
|
call IceCrystalEffectShort
|
|
delay 5
|
|
createvisualtask AnimTask_FrozenIceCube, 2
|
|
waitplaysewithpan SE_M_HAIL, SOUND_PAN_TARGET, 17
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 9, 0, RGB(12, 26, 31)
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=0, initial_blend_y=7, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_DisarmingVoice::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 8, RGB(29, 19, 27)
|
|
waitforvisualfinish
|
|
createvisualtask SoundTask_PlayDoubleCry, 2, ANIM_ATTACKER, DOUBLE_CRY_GROWL
|
|
call RoarEffect
|
|
delay 10
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 26, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 26, 1
|
|
waitforvisualfinish
|
|
createvisualtask SoundTask_WaitForCry, 5
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 8, 0, RGB(29, 19, 27)
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_PartingShot::
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
delay 0
|
|
createvisualtask SoundTask_PlayDoubleCry, 2, ANIM_ATTACKER, DOUBLE_CRY_GROWL
|
|
call RoarEffect
|
|
delay 10
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 9, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 9, 1
|
|
waitforvisualfinish
|
|
createvisualtask SoundTask_WaitForCry, 5
|
|
waitforvisualfinish
|
|
delay 1
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_TopsyTurvy::
|
|
setalpha 12, 8
|
|
simple_palette_blend unused_anim_battler=ANIM_TARGET, selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=4, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RotateVertically, 2, ANIM_TARGET, 768
|
|
simple_palette_blend unused_anim_battler=ANIM_TARGET, selector=F_PAL_TARGET, delay=5, initial_blend_y=0, target_blend_y=8, color=RGB(9, 0, 16)
|
|
playsewithpan SE_ROTATING_GATE, SOUND_PAN_TARGET
|
|
delay 116
|
|
simple_palette_blend unused_anim_battler=ANIM_TARGET, selector=F_PAL_TARGET, delay=5, initial_blend_y=8, target_blend_y=0, color=RGB(9, 0, 16)
|
|
playsewithpan SE_FALL, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
simple_palette_blend unused_anim_battler=ANIM_TARGET, selector=F_PAL_BG, delay=2, initial_blend_y=4, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_DrainingKiss::
|
|
loopsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER, 12, 3
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 12, 4096, 4, ANIM_ATTACKER
|
|
delay 15
|
|
createsprite gRedHeartProjectileSpriteTemplate, ANIM_TARGET, 3, 20, -8
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_TARGET
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 160, -32
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -256, -40
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 128, -16
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 416, -38
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -128, -22
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -384, -31
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 5, 1
|
|
waitforvisualfinish
|
|
delay 3
|
|
call MegaDrainAbsorbEffect
|
|
waitforvisualfinish
|
|
delay 15
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_CraftyShield::
|
|
monbg ANIM_ATK_PARTNER
|
|
splitbgprio ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 5, RGB(31, 13, 19)
|
|
setalpha 16, 0
|
|
delay 0
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
createsprite gCraftyShieldPinkConversionTemplate, ANIM_ATTACKER, 2, -24, -24
|
|
delay 3
|
|
createsprite gCraftyShieldPinkConversionTemplate, ANIM_ATTACKER, 2, -8, -24
|
|
delay 3
|
|
createsprite gCraftyShieldPinkConversionTemplate, ANIM_ATTACKER, 2, 8, -24
|
|
delay 3
|
|
createsprite gCraftyShieldPinkConversionTemplate, ANIM_ATTACKER, 2, 24, -24
|
|
delay 3
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
createsprite gCraftyShieldPinkConversionTemplate, ANIM_ATTACKER, 2, -24, -8
|
|
delay 3
|
|
createsprite gCraftyShieldPinkConversionTemplate, ANIM_ATTACKER, 2, -8, -8
|
|
delay 3
|
|
createsprite gCraftyShieldPinkConversionTemplate, ANIM_ATTACKER, 2, 8, -8
|
|
delay 3
|
|
createsprite gCraftyShieldPinkConversionTemplate, ANIM_ATTACKER, 2, 24, -8
|
|
delay 3
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
createsprite gCraftyShieldPinkConversionTemplate, ANIM_ATTACKER, 2, -24, 8
|
|
delay 3
|
|
createsprite gCraftyShieldPinkConversionTemplate, ANIM_ATTACKER, 2, -8, 8
|
|
delay 3
|
|
createsprite gCraftyShieldPinkConversionTemplate, ANIM_ATTACKER, 2, 8, 8
|
|
delay 3
|
|
createsprite gCraftyShieldPinkConversionTemplate, ANIM_ATTACKER, 2, 24, 8
|
|
delay 3
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
createsprite gCraftyShieldPinkConversionTemplate, ANIM_ATTACKER, 2, -24, 24
|
|
delay 3
|
|
createsprite gCraftyShieldPinkConversionTemplate, ANIM_ATTACKER, 2, -8, 24
|
|
delay 3
|
|
createsprite gCraftyShieldPinkConversionTemplate, ANIM_ATTACKER, 2, 8, 24
|
|
delay 3
|
|
createsprite gCraftyShieldPinkConversionTemplate, ANIM_ATTACKER, 2, 24, 24
|
|
delay 20
|
|
playsewithpan SE_M_BARRIER, SOUND_PAN_ATTACKER
|
|
flash_anim_tag_with_color tag=ANIM_TAG_CONVERSION, delay=1, num_blends=1, color1=RGB(31, 31, 13), blend_y1=12, color2=0, blend_y2=0
|
|
delay 6
|
|
createvisualtask AnimTask_ConversionAlphaBlend, 5
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 5, 0, RGB(31, 13, 19)
|
|
waitforvisualfinish
|
|
delay 1
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_FlowerShield::
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 8, RGB(29, 19, 27)
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
call CreatePetals
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 8, 0, RGB(29, 19, 27)
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_GrassyTerrain::
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
waitforvisualfinish
|
|
delay 30
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB(11, 26, 11), 12, 5, 1
|
|
delay 4
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
createsprite gGrassyTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 0
|
|
createsprite gGrassyTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 42
|
|
createsprite gGrassyTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 84
|
|
createsprite gGrassyTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 126
|
|
createsprite gGrassyTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 168
|
|
createsprite gGrassyTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 210
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 0, 4, RGB(11, 26, 11)
|
|
delay 52
|
|
setarg 7, -1
|
|
playsewithpan SE_M_HEAL_BELL, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
createsprite gGrassyTerrainStarTemplate, ANIM_TARGET, 2, 0
|
|
createsprite gGrassyTerrainStarTemplate, ANIM_TARGET, 2, 32
|
|
createsprite gGrassyTerrainStarTemplate, ANIM_TARGET, 2, 64
|
|
createsprite gGrassyTerrainStarTemplate, ANIM_TARGET, 2, 96
|
|
createsprite gGrassyTerrainStarTemplate, ANIM_TARGET, 2, 128
|
|
createsprite gGrassyTerrainStarTemplate, ANIM_TARGET, 2, 160
|
|
createsprite gGrassyTerrainStarTemplate, ANIM_TARGET, 2, 192
|
|
createsprite gGrassyTerrainStarTemplate, ANIM_TARGET, 2, 224
|
|
panse_adjustnone SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +1, 0
|
|
waitforvisualfinish
|
|
delay 4
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 4, 0, RGB(31, 24, 31)
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_MistyTerrain::
|
|
playsewithpan SE_M_HEAL_BELL, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
waitforvisualfinish
|
|
delay 30
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB(31, 24, 31), 12, 5, 1
|
|
delay 4
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
createsprite gMistyTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 0
|
|
createsprite gMistyTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 42
|
|
createsprite gMistyTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 84
|
|
createsprite gMistyTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 126
|
|
createsprite gMistyTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 168
|
|
createsprite gMistyTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 210
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 0, 7, RGB(31, 24, 31)
|
|
delay 52
|
|
setarg 7, -1
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
createsprite gMistyTerrainStarTemplate, ANIM_TARGET, 2, 0
|
|
createsprite gMistyTerrainStarTemplate, ANIM_TARGET, 2, 32
|
|
createsprite gMistyTerrainStarTemplate, ANIM_TARGET, 2, 64
|
|
playse SE_M_COSMIC_POWER
|
|
createsprite gMistyTerrainStarTemplate, ANIM_TARGET, 2, 96
|
|
createsprite gMistyTerrainStarTemplate, ANIM_TARGET, 2, 128
|
|
createsprite gMistyTerrainStarTemplate, ANIM_TARGET, 2, 160
|
|
createsprite gMistyTerrainStarTemplate, ANIM_TARGET, 2, 192
|
|
createsprite gMistyTerrainStarTemplate, ANIM_TARGET, 2, 224
|
|
waitforvisualfinish
|
|
delay 4
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 7, 0, RGB(31, 24, 31)
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Electrify::
|
|
monbg ANIM_ATTACKER
|
|
loopsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET 10 4
|
|
createsprite gElectrifyRingTemplate, ANIM_ATTACKER, 2
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
delay 4
|
|
createsprite gElectrifyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 4
|
|
createsprite gElectrifyRingTemplate, ANIM_ATTACKER, 2
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_ATTACKER
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 64, 40, 1
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 128, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 2
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 32, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 96, 40, 1
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 160, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 224, 40, 2
|
|
delay 10
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 11, RGB(27, 28, 0)
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 3, RGB(27, 28, 0)
|
|
delay 4
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 1
|
|
monbg ANIM_DEF_PARTNER
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET
|
|
createsprite gElectrifyYellowRingTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 0, 31, 8
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 6, 1
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 5, 0, 5, 0
|
|
delay 1
|
|
createsprite gElectrifyYellowRingTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 0, 31, 8
|
|
delay 1
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -5, 10, 5, 1
|
|
createsprite gElectrifyYellowRingTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 0, 31, 8
|
|
delay 1
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 15, 20, 5, 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -15, -10, 5, 0
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 25, 0, 5, 1
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -8, 8, 5, 2
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 2, -8, 5, 0
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -20, 15, 5, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 11, 0, RGB(27, 28, 0)
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 3, 0, RGB(27, 28, 0)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_PlayRough::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET, 10
|
|
waitplaysewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER, 20
|
|
waitplaysewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET, 30
|
|
waitplaysewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER, 40
|
|
waitplaysewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET, 50
|
|
waitplaysewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER, 60
|
|
waitplaysewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET, 70
|
|
waitplaysewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER, 80
|
|
waitplaysewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET, 90
|
|
createvisualtask AnimTask_TranslateMonElliptical, 2, 0, -18, 6, 6, 4
|
|
createvisualtask AnimTask_TranslateMonElliptical, 2, 1, 18, 6, 6, 4
|
|
createsprite gPinkHeartSpriteTemplate, ANIM_TARGET, 3, -256, -42
|
|
createsprite gPinkHeartSpriteTemplate, ANIM_TARGET, 3, 128, -14
|
|
createsprite gPinkHeartSpriteTemplate, ANIM_TARGET, 3, 416, -38
|
|
createsprite gPinkHeartSpriteTemplate, ANIM_TARGET, 3, -128, -22
|
|
delay 0
|
|
call SubmissionHit
|
|
playsewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, 160, -32
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, -256, -40
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, 128, -16
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, 416, -38
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, -128, -22
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, -384, -31
|
|
delay 0
|
|
call SubmissionHit
|
|
playsewithpan SE_M_DIVE, SOUND_PAN_TARGET
|
|
createsprite gPinkHeartSpriteTemplate, ANIM_TARGET, 3, -256, -42
|
|
createsprite gPinkHeartSpriteTemplate, ANIM_TARGET, 3, 128, -14
|
|
createsprite gPinkHeartSpriteTemplate, ANIM_TARGET, 3, 416, -38
|
|
createsprite gPinkHeartSpriteTemplate, ANIM_TARGET, 3, -128, -22
|
|
delay 0
|
|
playsewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, 160, -32
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, -256, -40
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, 128, -16
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, 416, -38
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, -128, -22
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, -384, -31
|
|
delay 0
|
|
call SubmissionHit
|
|
waitforvisualfinish
|
|
delay 13
|
|
stopsound
|
|
clearmonbg 3
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_FairyWind::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 8, RGB(29, 19, 27)
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_GUST, SOUND_PAN_TARGET
|
|
createsprite gFairyWindCloudTemplate, ANIM_TARGET, 3, 20, -10, 20, 0, 22, 20, 1
|
|
delay 5
|
|
createsprite gFairyWindCloudTemplate, ANIM_TARGET, 3, 20, -10, 20, 5, 22, -18, 1
|
|
delay 5
|
|
createsprite gFairyWindCloudTemplate, ANIM_TARGET, 3, 20, -10, 20, -10, 22, 15, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 18, 1
|
|
delay 5
|
|
createsprite gFairyWindCloudTemplate, ANIM_TARGET, 3, 20, -10, 20, 0, 22, -20, 1
|
|
delay 5
|
|
createsprite gFairyWindCloudTemplate, ANIM_TARGET, 3, 20, -10, 20, 0, 22, 12, 1
|
|
delay 5
|
|
waitforvisualfinish
|
|
stopsound
|
|
playsewithpan SE_M_GUST2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 8, 0, RGB(29, 19, 27)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Moonblast::
|
|
setalpha 0, 16
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=16, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gMoonSpriteTemplate, ANIM_ATTACKER, 2, 120, 56
|
|
createvisualtask AnimTask_AlphaFadeIn, 3, 0, 16, 16, 0, 1
|
|
panse SE_M_BARRIER, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 3, 0
|
|
delay 40
|
|
playsewithpan SE_M_STRING_SHOT, SOUND_PAN_ATTACKER
|
|
createsprite gMistBallSpriteTemplate, ANIM_ATTACKER, 5, 0, 0, 0, 0, 30, 0
|
|
delay 30
|
|
loopsewithpan SE_M_SUPERSONIC, SOUND_PAN_TARGET, 5, 4
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 10, 0
|
|
delay 4
|
|
createvisualtask AnimTask_MoonlightEndFade, 2
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Boomburst::
|
|
invert_screen_color scenery=1 | 4 | 8 | 16
|
|
createvisualtask SoundTask_PlayCryWithEcho, 5, FALSE
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -5, -5, 5, ANIM_ATTACKER, 0
|
|
createsprite gHyperVoiceRingSpriteTemplate, ANIM_ATTACKER, 0, 45, 0, 0, 0, 0, 0, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 6, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 6, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATK_PARTNER, 1, 0, 6, 1
|
|
createvisualtask SoundTask_WaitForCry, 2, 1, 0, 6, 1
|
|
delay 20
|
|
jumpifdoublebattle Boomburst_Doubles
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 1
|
|
delay 4
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 24, -24, 1, 1
|
|
delay 4
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, 1, 1
|
|
delay 4
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, 1, 1
|
|
delay 4
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, 1, 1
|
|
Boomburst_Last:
|
|
delay 4
|
|
invert_screen_color scenery=1 | 4 | 8 | 16
|
|
waitforvisualfinish
|
|
end
|
|
Boomburst_Doubles:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 1
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 2, 1
|
|
delay 4
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 24, -24, 1, 1
|
|
delay 4
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, 1, 1
|
|
delay 4
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, 1, 1
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, 2, 1
|
|
delay 4
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, 1, 1
|
|
goto Boomburst_Last
|
|
|
|
gBattleAnimMove_FairyLock::
|
|
setalpha 8, 8
|
|
monbg ANIM_ATK_PARTNER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 8, RGB(31, 24, 26)
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET, 6, 9
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 7
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 51
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 2
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 50
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 6
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 53
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 8, 0, RGB(31, 24, 26)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_KingsShield::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_PROTECT, 0, 12, 12, RGB(12, 12, 12) @Gray
|
|
goto gBattleAnimMove_Protect
|
|
|
|
gBattleAnimMove_PlayNice::
|
|
loopsewithpan SE_M_SANDSTORM, SOUND_PAN_ATTACKER, 12, 3
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 12, 4096, 4, ANIM_ATTACKER
|
|
delay 15
|
|
createsprite gRedHeartProjectileSpriteTemplate, ANIM_TARGET, 3, 20, -8
|
|
end
|
|
|
|
gBattleAnimMove_Confide::
|
|
createvisualtask AnimTask_Splash, 2, ANIM_ATTACKER, 3
|
|
createsprite gConfideBubbleTemplate, ANIM_ATTACKER, 11, 0, 100
|
|
playsewithpan SE_M_METRONOME, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_DiamondStorm::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 15, RGB(8, 4, 6)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ICE_CRYSTALS, 0, 13, 13, RGB(30, 14, 31) @Pink
|
|
waitforvisualfinish
|
|
panse SE_M_BLIZZARD, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, -10, 0, -10, 72, 1
|
|
createsprite gDiamondStormBlizzardTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0, 80, 0, 0, 1
|
|
delay 3
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, -15, 0, -15, 72, 1
|
|
createsprite gDiamondStormBlizzardTemplate, ANIM_ATTACKER, 40, 0, -10, 0, -10, 80, 0, 0, 1
|
|
delay 3
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, -5, 0, -5, 72, 1
|
|
createsprite gDiamondStormBlizzardTemplate, ANIM_ATTACKER, 40, 0, 10, 0, 10, 80, 0, 0, 1
|
|
delay 3
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, -10, 0, -10, 72, 1
|
|
createsprite gDiamondStormBlizzardTemplate, ANIM_ATTACKER, 40, 0, -20, 0, -20, 80, 0, 0, 1
|
|
delay 3
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, -20, 0, -20, 72, 1
|
|
createsprite gDiamondStormBlizzardTemplate, ANIM_ATTACKER, 40, 0, 15, 0, 15, 80, 0, 0, 1
|
|
delay 3
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, -15, 0, -15, 72, 1
|
|
createsprite gDiamondStormBlizzardTemplate, ANIM_ATTACKER, 40, 0, -20, 0, -20, 80, 0, 0, 1
|
|
delay 3
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, -25, 0, -25, 72, 1
|
|
createsprite gDiamondStormBlizzardTemplate, ANIM_ATTACKER, 40, 0, 20, 0, 20, 80, 0, 0, 1
|
|
delay 3
|
|
playsewithpan SE_M_TWISTER, SOUND_PAN_TARGET
|
|
createsprite gDiamondStormDiamondsTemplate, ANIM_TARGET, 2, 120, 70, 5, 70, 30
|
|
delay 1
|
|
createsprite gDiamondStormDiamondsTemplate, ANIM_TARGET, 2, 115, 55, 6, 60, 25
|
|
delay 1
|
|
createsprite gDiamondStormDiamondsTemplate, ANIM_TARGET, 2, 115, 60, 7, 60, 30
|
|
createsprite gDiamondStormDiamondsTemplate, ANIM_TARGET, 2, 115, 55, 10, 60, 30
|
|
delay 3
|
|
createsprite gDiamondStormDiamondsTemplate, ANIM_TARGET, 2, 100, 50, 4, 50, 26
|
|
delay 1
|
|
createsprite gDiamondStormDiamondsTemplate, ANIM_TARGET, 2, 105, 25, 8, 60, 20
|
|
delay 1
|
|
createsprite gDiamondStormDiamondsTemplate, ANIM_TARGET, 2, 115, 40, 10, 48, 30
|
|
delay 3
|
|
createsprite gDiamondStormDiamondsTemplate, ANIM_TARGET, 2, 120, 30, 6, 45, 25
|
|
createsprite gDiamondStormDiamondsTemplate, ANIM_TARGET, 2, 115, 35, 10, 60, 30
|
|
delay 3
|
|
createsprite gDiamondStormDiamondsTemplate, ANIM_TARGET, 2, 105, 20, 8, 40, 0
|
|
delay 3
|
|
createsprite gDiamondStormDiamondsTemplate, ANIM_TARGET, 2, 20, 255, 15, 32, 0
|
|
createsprite gDiamondStormDiamondsTemplate, ANIM_TARGET, 2, 110, 10, 8, 32, 20
|
|
waitforvisualfinish
|
|
@this is the buffet part
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-32, y=-16, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 3, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_DEF_PARTNER, 3, 0, 12, 1
|
|
delay 4
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=32, y=20, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 15, 0, RGB(8, 4, 6)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_SteamEruption::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 7, RGB(29, 1, 1)
|
|
delay 32
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
panse SE_M_HYDRO_PUMP, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
call SteamEruptionBreath
|
|
call SteamEruptionBreath
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 0, 9, RGB_RED
|
|
call SteamEruptionBreath
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 21, 1
|
|
call SteamEruptionBreath
|
|
call SteamEruptionBreath
|
|
call SteamEruptionBreath
|
|
call SteamEruptionBreath
|
|
call SteamEruptionBreath
|
|
call SteamEruptionBreath
|
|
call SteamEruptionBreath
|
|
call SteamEruptionBreath
|
|
call SteamEruptionBreath
|
|
call SteamEruptionBreath
|
|
call SteamEruptionBreath
|
|
call SteamEruptionBreath
|
|
call SteamEruptionBreath
|
|
call SteamEruptionBreath
|
|
call SteamEruptionBreath
|
|
call SteamEruptionBreath
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 9, 0, RGB_RED
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 7, 0, RGB(29, 1, 1)
|
|
waitforvisualfinish
|
|
end
|
|
SteamEruptionBreath:
|
|
createsprite gSteamEruptionBreathTemplate, ANIM_TARGET, 2, 0, 5, 0, 5, 20
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_HyperspaceHole::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 16, RGB_WHITE
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_FAINT_ATTACK, SOUND_PAN_ATTACKER
|
|
invisible ANIM_ATTACKER
|
|
delay 1
|
|
visible ANIM_ATTACKER
|
|
delay 1
|
|
invisible ANIM_ATTACKER
|
|
delay 1
|
|
visible ANIM_ATTACKER
|
|
delay 1
|
|
invisible ANIM_ATTACKER
|
|
waitsound
|
|
createvisualtask AnimTask_DestinyBondWhiteShadow, 5, 0, 48
|
|
delay 23
|
|
createvisualtask AnimTask_IsTargetSameSide, 2
|
|
createvisualtask AnimTask_SnatchOpposingMonMove, 2
|
|
delay 25
|
|
visible ANIM_ATTACKER
|
|
invisible ANIM_ATTACKER
|
|
delay 5
|
|
createsprite gHyperspaceHoleImpactTemplate, ANIM_TARGET, 2, -10, -10, 0
|
|
call HyperspaceHoleMovement
|
|
createsprite gHyperspaceHoleImpactTemplate, ANIM_TARGET, 2, 10, 20, 0
|
|
call HyperspaceHoleMovement
|
|
createsprite gHyperspaceHoleImpactTemplate, ANIM_TARGET, 2, -5, 10, 0
|
|
call HyperspaceHoleMovement
|
|
createsprite gHyperspaceHoleImpactTemplate, ANIM_TARGET, 2, 17, -12, 0
|
|
call HyperspaceHoleMovement
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
delay 1
|
|
invisible ANIM_ATTACKER
|
|
delay 1
|
|
visible ANIM_ATTACKER
|
|
delay 1
|
|
invisible ANIM_ATTACKER
|
|
delay 1
|
|
visible ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
end
|
|
HyperspaceHoleMovement:
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 15, 1
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimMove_WaterShuriken::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
createsprite gWaterShurikenStarTemplate, ANIM_TARGET, 2, 0, 0, 20
|
|
delay 8
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 8, 1
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
createsprite gWaterShurikenRingTemplate, ANIM_TARGET, 2, 0, 0, 20, 15
|
|
delay 5
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
createsprite gWaterShurikenRingTemplate, ANIM_TARGET, 2, 0, 0, 20, 15
|
|
delay 5
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
createsprite gWaterShurikenRingTemplate, ANIM_TARGET, 2, 0, 0, 20, 15
|
|
delay 12
|
|
playsewithpan SE_M_SAND_ATTACK, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 4, 1
|
|
createsprite gWaterShurikenImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 1, 2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_MysticalFire::
|
|
call SetPsychicBackground
|
|
setalpha 8, 8
|
|
playse 177
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 10, 1
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=8, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
waitsound
|
|
blendoff
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, -1, 0
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, 0, 1
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, -1, -1
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, 2, 1
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, 1, -1
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, -1, 1
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, 1, -2
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, 3, 1
|
|
playse 140
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_SpikyShield::
|
|
monbg ANIM_ATK_PARTNER
|
|
splitbgprio ANIM_ATTACKER
|
|
waitplaysewithpan SE_M_REFLECT, SOUND_PAN_ATTACKER, 16
|
|
createsprite gProtectSpriteTemplate, ANIM_ATTACKER, 2, 24, 0, 90
|
|
delay 15
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 0, 1, 0, -32, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 0, 1, 22, -22, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 0, 1, 30, 0, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 0, 1, 20, 20, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 0, 1, 0, 28, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 0, 1, -19, 19, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 0, 1, -27, 0, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 0, 1, -18, -18, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 0, 1, 0, -25, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 0, 1, 17, -17, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 0, 1, 23, 0, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 0, 1, 16, 16, 16
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_AromaticMist::
|
|
playsewithpan SE_M_SWEET_SCENT, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 8, RGB(29, 19, 27)
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 100, 0, 100
|
|
delay 25
|
|
setpan 0
|
|
call SweetScentEffect
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 55, 0
|
|
setpan SOUND_PAN_TARGET
|
|
blend_color_cycle selector=F_PAL_DEF_SIDE, delay=1, num_blends=5, initial_blend_y=5, target_blend_y=13, color=RGB(31, 21, 21)
|
|
call SweetScentEffect
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 8, 0, RGB(29, 19, 27)
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_EerieImpulse::
|
|
monbg ANIM_DEF_PARTNER
|
|
waitplaysewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET 19
|
|
delay 4
|
|
createsprite gEerieImpulseRingTemplate, ANIM_ATTACKER, 0, 45, 0, 0, 0, 0, 0, 1
|
|
delay 11
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 1
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 2
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 32, 30, 0, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 32, 30, 0, 40, 1
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 32, 30, 0, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 32, 30, 0, 40, 2
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 48, 30, 0, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 48, 30, 0, 40, 1
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 48, 30, 0, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 48, 30, 0, 40, 2
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gEerieImpulseImpactTemplate, ANIM_ATTACKER, 2, 0, -5, 1, 0, 32, 16
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 5, 0, 5, 0
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -5, 10, 5, 1
|
|
delay 7
|
|
createsprite gEerieImpulseImpactTemplate, ANIM_ATTACKER, 2, -15, 10, 1, 0, 32, 16
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 15, 20, 5, 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -15, -10, 5, 0
|
|
delay 7
|
|
createsprite gEerieImpulseImpactTemplate, ANIM_ATTACKER, 2, -15, -15, 1, 0, 32, 16
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 25, 0, 5, 1
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -8, 8, 5, 2
|
|
delay 7
|
|
createsprite gEerieImpulseImpactTemplate, ANIM_ATTACKER, 2, 10, -5, 1, 0, 32, 16
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 2, -8, 5, 0
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -20, 15, 5, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_VenomDrench::
|
|
monbg ANIM_DEF_PARTNER
|
|
createsprite gVenomDrenchAcidTemplate, ANIM_TARGET, 2, -5, 1, -5, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gVenomDrenchAcidTemplate, ANIM_TARGET, 2, 5, 0, 6, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gVenomDrenchAcidTemplate, ANIM_TARGET, 2, 19, 1, 10, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gVenomDrenchAcidTemplate, ANIM_TARGET, 2, -23, 2, -10, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 2
|
|
call AcidDrench
|
|
call AcidDrench
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
AcidDrench:
|
|
createsprite gVenomDrenchAcidTemplate, ANIM_TARGET, 2, -20, 0, -10, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gVenomDrenchAcidTemplate, ANIM_TARGET, 2, 28, 1, 10, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gVenomDrenchAcidTemplate, ANIM_TARGET, 2, -10, 1, -5, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gVenomDrenchAcidTemplate, ANIM_TARGET, 2, 10, 0, 6, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gVenomDrenchAcidTemplate, ANIM_TARGET, 2, 24, 1, 10, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gVenomDrenchAcidTemplate, ANIM_TARGET, 2, -32, 2, -10, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gVenomDrenchAcidTemplate, ANIM_TARGET, 2, -20, 0, -10, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gVenomDrenchAcidTemplate, ANIM_TARGET, 2, 30, 2, 10, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_Powder::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
loopsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET, 18, 10
|
|
call POWDER_SPORE
|
|
call POWDER_SPORE
|
|
call POWDER_SPORE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
POWDER_SPORE:
|
|
createsprite gPowderBlackSporeTemplate, ANIM_ATTACKER, 2, 0, -20, 85, 80, 0
|
|
delay 12
|
|
createsprite gPowderBlackSporeTemplate, ANIM_ATTACKER, 2, 0, -10, 170, 80, 0
|
|
delay 12
|
|
createsprite gPowderBlackSporeTemplate, ANIM_ATTACKER, 2, 0, -15, 0, 80, 0
|
|
delay 12
|
|
return
|
|
|
|
gBattleAnimMove_Geomancy::
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 8, 8
|
|
choosetwoturnanim GeomancyChargeUp GeomancyUnleash
|
|
GeomancyChargeUp:
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_COSMIC_POWER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 95, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 5, RGB_RED
|
|
call GeomancyRingBuff
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 5, RGB(0, 22, 0)
|
|
call GeomancyRingBuff
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 5, RGB(0, 3, 31)
|
|
call GeomancyRingBuff
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 8, 0, RGB_BLACK
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 5, 0, RGB(0, 3, 31)
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
end
|
|
GeomancyRingBuff:
|
|
createsprite gGeomancyRedCellVortexTemplate, ANIM_ATTACKER, 2, 0, 28, 528, 30, 13, 50, 0
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gGeomancyGreenCellVortexTemplate, ANIM_ATTACKER, 2, 0, 32, 480, 20, 16, -46, 0
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gGeomancyBlueCellVortexTemplate, ANIM_ATTACKER, 2, 0, 33, 576, 20, 8, 42, 0
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
delay 2
|
|
createsprite gGeomancyRedCellVortexTemplate, ANIM_ATTACKER, 2, 0, 31, 400, 25, 11, -42, 0
|
|
delay 2
|
|
createsprite gGeomancyGreenCellVortexTemplate, ANIM_ATTACKER, 2, 0, 28, 512, 25, 16, 46, 0
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gGeomancyBlueCellVortexTemplate, ANIM_ATTACKER, 2, 0, 33, 464, 30, 15, -50, 0
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gGeomancyRedCellVortexTemplate, ANIM_ATTACKER, 2, 0, 28, 528, 30, 13, 50, 0
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 2
|
|
createsprite gGeomancyGreenCellVortexTemplate, ANIM_ATTACKER, 2, 0, 32, 480, 20, 16, -46, 0
|
|
delay 2
|
|
createsprite gGeomancyBlueCellVortexTemplate, ANIM_ATTACKER, 2, 0, 33, 576, 20, 8, 42, 0
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gGeomancyRedCellVortexTemplate, ANIM_ATTACKER, 2, 0, 31, 400, 25, 11, -42, 0
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gGeomancyGreenCellVortexTemplate, ANIM_ATTACKER, 2, 0, 28, 512, 25, 16, 46, 0
|
|
delay 2
|
|
return
|
|
GeomancyUnleash:
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 16, RGB(15, 6, 9)
|
|
playsewithpan SE_M_MILK_DRINK, SOUND_PAN_ATTACKER
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
delay 1
|
|
createsprite gGeomancyRingTemplate, ANIM_ATTACKER, 2
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 16, RGB(1, 8, 19)
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 37, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 5, RGB_RED
|
|
createsprite gGeomancyRedCellRaiseTemplate, ANIM_ATTACKER, 2, 20, 32, -48, 50, 1
|
|
createsprite gGeomancyGreenCellRaiseTemplate, ANIM_ATTACKER, 2, 0, 32, -38, 25, 1
|
|
createsprite gGeomancyBlueCellRaiseTemplate, ANIM_ATTACKER, 2, 32, 32, -28, 40, 1
|
|
createsprite gGeomancyRedCellRaiseTemplate, ANIM_ATTACKER, 2, -20, 32, -48, 50, 1
|
|
createsprite gGeomancyGreenCellRaiseTemplate, ANIM_ATTACKER, 2, 20, 32, -28, 60, 1
|
|
createsprite gGeomancyBlueCellRaiseTemplate, ANIM_ATTACKER, 2, 0, 32, -28, 30, 1
|
|
call GeomancyRageBuff
|
|
call GeomancyRageBuff
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 0, RGB(1, 8, 19)
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 5, 0, RGB_RED
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
end
|
|
GeomancyRageBuff:
|
|
createsprite gGeomancyYellowRageTemplate, ANIM_TARGET, 66, 0, 5, 0
|
|
delay 1
|
|
createsprite gGeomancyYellowRageTemplate, ANIM_TARGET, 66, 0, -10, -15
|
|
delay 1
|
|
createsprite gGeomancyYellowRageTemplate, ANIM_TARGET, 2, 0, 0, 25
|
|
delay 1
|
|
createsprite gGeomancyYellowRageTemplate, ANIM_TARGET, 66, 0, 15, 5
|
|
delay 1
|
|
createsprite gGeomancyYellowRageTemplate, ANIM_TARGET, 66, 0, -25, 0
|
|
delay 1
|
|
createsprite gGeomancyYellowRageTemplate, ANIM_TARGET, 2, 0, 30, 30
|
|
delay 1
|
|
createsprite gGeomancyYellowRageTemplate, ANIM_TARGET, 2, 0, -27, 25
|
|
delay 1
|
|
createsprite gGeomancyYellowRageTemplate, ANIM_TARGET, 66, 0, 0, 8
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_MagneticFlux::
|
|
createvisualtask AnimTask_BlendBattleAnimPal 10, (F_PAL_TARGET | F_PAL_ATK_SIDE), 2, 0, 9, RGB(27, 1, 9)
|
|
loopsewithpan SE_M_TRI_ATTACK, SOUND_PAN_ATTACKER, 18, 3
|
|
createvisualtask AnimTask_DefenseCurlDeformMon, 5
|
|
call MagneticFluxSparks1
|
|
delay 10
|
|
call MagneticFluxSparks2
|
|
delay 10
|
|
call MagneticFluxSparks1
|
|
delay 10
|
|
createsprite gMagneticFluxUproarTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
|
|
call MagneticFluxSparks2
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal 10, (F_PAL_TARGET | F_PAL_ATK_SIDE), 2, 9, 0, RGB(27, 1, 9)
|
|
waitforvisualfinish
|
|
end
|
|
MagneticFluxSparks1:
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
return
|
|
MagneticFluxSparks2:
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
return
|
|
|
|
gBattleAnimMove_HappyHour::
|
|
monbg ANIM_ATTACKER
|
|
loopsewithpan SE_M_PAY_DAY, SOUND_PAN_TARGET, 8, 10
|
|
createsprite gHappyHourCoinShowerTemplate, ANIM_TARGET, 2, -5, 0, -5, 1
|
|
delay 2
|
|
createsprite gHappyHourCoinShowerTemplate, ANIM_TARGET, 2, 5, 0, 6, 1
|
|
delay 2
|
|
createsprite gHappyHourCoinShowerTemplate, ANIM_TARGET, 2, 19, 0, 10, 1
|
|
delay 2
|
|
createsprite gHappyHourCoinShowerTemplate, ANIM_TARGET, 2, -23, 0, -10, 1
|
|
delay 2
|
|
call CoinShower
|
|
call CoinShower
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
CoinShower:
|
|
createsprite gHappyHourCoinShowerTemplate, ANIM_TARGET, 2, -20, 0, -10, 1
|
|
delay 2
|
|
createsprite gHappyHourCoinShowerTemplate, ANIM_TARGET, 2, 28, 0, 10, 1
|
|
delay 2
|
|
createsprite gHappyHourCoinShowerTemplate, ANIM_TARGET, 2, -10, 0, -5, 1
|
|
delay 2
|
|
createsprite gHappyHourCoinShowerTemplate, ANIM_TARGET, 2, 10, 0, 6, 1
|
|
delay 2
|
|
createsprite gHappyHourCoinShowerTemplate, ANIM_TARGET, 2, 24, 0, 10, 1
|
|
delay 2
|
|
createsprite gHappyHourCoinShowerTemplate, ANIM_TARGET, 2, -32, 0, -10, 1
|
|
delay 2
|
|
createsprite gHappyHourCoinShowerTemplate, ANIM_TARGET, 2, -20, 0, -10, 1
|
|
delay 2
|
|
createsprite gHappyHourCoinShowerTemplate, ANIM_TARGET, 2, 30, 0, 10, 1
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_ElectricTerrain::
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
waitforvisualfinish
|
|
delay 30
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB(27, 27, 0), 12, 5, 1
|
|
delay 4
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
createsprite gElectricTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 0
|
|
createsprite gElectricTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 42
|
|
createsprite gElectricTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 84
|
|
createsprite gElectricTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 126
|
|
createsprite gElectricTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 168
|
|
createsprite gElectricTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 210
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 0, 4, RGB(28, 28, 0)
|
|
delay 52
|
|
setarg 7, -1
|
|
playsewithpan SE_M_REFLECT, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
createsprite gElectricTerrainFlyingBallTemplate, ANIM_TARGET, 2, 0
|
|
createsprite gElectricTerrainFlyingBallTemplate, ANIM_TARGET, 2, 32
|
|
createsprite gElectricTerrainFlyingBallTemplate, ANIM_TARGET, 2, 64
|
|
createsprite gElectricTerrainFlyingBallTemplate, ANIM_TARGET, 2, 96
|
|
createsprite gElectricTerrainFlyingBallTemplate, ANIM_TARGET, 2, 128
|
|
createsprite gElectricTerrainFlyingBallTemplate, ANIM_TARGET, 2, 160
|
|
createsprite gElectricTerrainFlyingBallTemplate, ANIM_TARGET, 2, 192
|
|
createsprite gElectricTerrainFlyingBallTemplate, ANIM_TARGET, 2, 224
|
|
loopsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET, 22, 3
|
|
waitforvisualfinish
|
|
delay 2
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 4, 0, RGB(28, 28, 0)
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_DazzlingGleam::
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=13, color=RGB(31, 25, 25)
|
|
loopsewithpan SE_M_HEAL_BELL, SOUND_PAN_ATTACKER, 16, 3
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 2, 12, -5, 0, 0, 32, 60
|
|
waitforvisualfinish
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=3, initial_blend_y=0, target_blend_y=16, color=RGB_WHITE
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_IMPACT, 0, 12, 12, RGB(31, 28, 28)
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 21, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 0, 3, 21, 1
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_HYPER_BEAM, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_HYPER_BEAM, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_HYPER_BEAM, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_HYPER_BEAM, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_HYPER_BEAM, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_HYPER_BEAM, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=0, initial_blend_y=13, target_blend_y=0, color=RGB(31, 25, 25)
|
|
waitforvisualfinish
|
|
clearmonbg 0
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Celebrate::
|
|
createsprite gCelebrateBagTemplate, ANIM_ATTACKER, 2, 0
|
|
playsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
delay 18
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
delay 71
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER 22 3
|
|
end
|
|
|
|
gBattleAnimMove_HoldHands::
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 12, 6, 6, 3
|
|
createsprite gHoldHandsHeartTemplate, ANIM_ATTACKER, 2, 0, -24, 8, 140
|
|
delay 8
|
|
createsprite gHoldHandsHeartTemplate, ANIM_ATTACKER, 2, 0, -24, 8, 140
|
|
delay 8
|
|
createsprite gHoldHandsHeartTemplate, ANIM_ATTACKER, 2, 0, -24, 8, 140
|
|
delay 8
|
|
createsprite gHoldHandsHeartTemplate, ANIM_ATTACKER, 2, 0, -24, 8, 140
|
|
delay 8
|
|
createsprite gHoldHandsHeartTemplate, ANIM_ATTACKER, 2, 0, -24, 8, 140
|
|
delay 8
|
|
createsprite gHoldHandsHeartTemplate, ANIM_ATTACKER, 2, 0, -24, 8, 140
|
|
delay 8
|
|
createsprite gHoldHandsHeartTemplate, ANIM_ATTACKER, 2, 0, -24, 8, 140
|
|
delay 8
|
|
createsprite gHoldHandsHeartTemplate, ANIM_ATTACKER, 2, 0, -24, 8, 140
|
|
delay 8
|
|
createsprite gHoldHandsHeartTemplate, ANIM_ATTACKER, 2, 0, -24, 8, 140
|
|
delay 8
|
|
createsprite gHoldHandsHeartTemplate, ANIM_ATTACKER, 2, 0, -24, 8, 140
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_HelpingHandAttackerMovement, 5
|
|
createsprite gHelpingHandClapSpriteTemplate, ANIM_ATTACKER, 40, 0
|
|
createsprite gHelpingHandClapSpriteTemplate, ANIM_ATTACKER, 40, 1
|
|
delay 19
|
|
playsewithpan SE_M_ENCORE, 0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATK_PARTNER, 2, 0, 5, 1
|
|
delay 14
|
|
playsewithpan SE_M_ENCORE, 0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATK_PARTNER, 2, 0, 5, 1
|
|
delay 20
|
|
playsewithpan SE_M_ENCORE, 0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATK_PARTNER, 3, 0, 10, 1
|
|
createvisualtask AnimTask_BlendMonInAndOut, 2, ANIM_ATK_PARTNER, RGB_YELLOW, 12, 1, 1
|
|
end
|
|
|
|
gBattleAnimMove_BabyDollEyes::
|
|
setalpha 8, 8
|
|
monbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 10, RGB_WHITE
|
|
waitforvisualfinish
|
|
createsprite gOpeningEyeSpriteTemplate, ANIM_ATTACKER, 5, 0, 0, 1, 0
|
|
delay 32
|
|
playsewithpan SE_M_LEER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -5, -5, 10, ANIM_ATTACKER, 1
|
|
waitforvisualfinish
|
|
delay 10
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 9, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 9, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 10, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Nuzzle::
|
|
createvisualtask AnimTask_RockMonBackAndForth, 5, ANIM_ATTACKER, 2, 0
|
|
createsprite gMagentaHeartSpriteTemplate, ANIM_ATTACKER, 3, 0, 20
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
createsprite gMagentaHeartSpriteTemplate, ANIM_ATTACKER, 3, -20, 20
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
createsprite gMagentaHeartSpriteTemplate, ANIM_ATTACKER, 3, 20, 20
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
call ElectricityEffectNoSound
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_HoldBack::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
createsprite gHoldBackSwipeTemplate, ANIM_TARGET, 2, 0, 0, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 10, 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gHoldBackRingTemplate, ANIM_ATTACKER, 3, 0, 0, 256, 0
|
|
createsprite gHoldBackStarsTemplate, ANIM_TARGET, 3, -16, -8, 160, -32
|
|
createsprite gHoldBackStarsTemplate, ANIM_TARGET, 3, -16, -8, -256, -40
|
|
createsprite gHoldBackStarsTemplate, ANIM_TARGET, 3, -16, -8, 128, -16
|
|
createsprite gHoldBackStarsTemplate, ANIM_TARGET, 3, -16, -8, 416, -38
|
|
createsprite gHoldBackStarsTemplate, ANIM_TARGET, 3, -16, -8, -128, -22
|
|
createsprite gHoldBackStarsTemplate, ANIM_TARGET, 3, -16, -8, -384, -31
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Infestation::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 9, RGB(0, 25, 28)
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 79, 1
|
|
loopsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER, 0, 79
|
|
call InfestationVortex
|
|
call InfestationVortex
|
|
call InfestationVortex
|
|
call InfestationVortex
|
|
call InfestationVortex
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 9, 0, RGB(0, 25, 28)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
InfestationVortex:
|
|
createsprite gInfestationBubbleTemplate, ANIM_TARGET, 2, 0, 28, 528, 30, 13, 50, 1
|
|
delay 1
|
|
createsprite gInfestationBubbleTemplate, ANIM_TARGET, 2, 0, 32, 480, 20, 16, -46, 1
|
|
delay 1
|
|
createsprite gInfestationBubbleTemplate, ANIM_TARGET, 2, 0, 33, 576, 20, 8, 42, 1
|
|
delay 1
|
|
createsprite gInfestationBubbleTemplate, ANIM_TARGET, 2, 0, 31, 400, 25, 11, -42, 1
|
|
delay 1
|
|
createsprite gInfestationBubbleTemplate, ANIM_TARGET, 2, 0, 28, 512, 25, 16, 46, 1
|
|
delay 1
|
|
createsprite gInfestationBubbleTemplate, ANIM_TARGET, 2, 0, 33, 464, 30, 15, -50, 1
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_PowerUpPunch::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_GrowAndShrink, 2
|
|
playsewithpan SE_M_METRONOME, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_OblivionWing::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_HYDRO_PUMP, 0, 12, 12, RGB(31, 4, 10) @Pinkish Red
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ROUND_SHADOW, 0, 13, 13, RGB(31, 4, 10) @Pinkish Red
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
createsprite gFlyBallUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 14, RGB_BLACK @Black
|
|
waitforvisualfinish
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_HYPER_BEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 1, 15, 0, 5
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 40, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=4, initial_blend_y=0, target_blend_y=12, color=RGB(31, 4, 10)@Pinkish Red
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
delay 15
|
|
visible ANIM_ATTACKER
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 14, 0, RGB_BLACK @From black
|
|
waitforvisualfinish
|
|
end
|
|
OblivionWingBeam:
|
|
createsprite gOblivionWingBeamTemplate, ANIM_TARGET, 2, 0, -90, 0, 20, 21, 0
|
|
delay 2
|
|
createsprite gOblivionWingBeamTemplate, ANIM_TARGET, 2, 0, -90, 0, 20, 21, 0
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_ThousandArrows::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 14, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gThousandArrowsGreenChargeTemplate, ANIM_ATTACKER, 2, 0
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 24
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 24
|
|
call ThousandArrowsHexes
|
|
call ThousandArrowsHexes
|
|
call ThousandArrowsHexes
|
|
call ThousandArrowsHexes
|
|
call ThousandArrowsHexes
|
|
call ThousandArrowsHexes
|
|
call ThousandArrowsHexes
|
|
createsprite gThousandArrowsGreenDischargeTemplate, ANIM_ATTACKER, 2, 0, 16, 16
|
|
delay 2
|
|
createsprite gThousandArrowsGreenDischargeTemplate, ANIM_ATTACKER, 2, 0, -16, -16
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 48
|
|
createvisualtask AnimTask_HorizontalShake, 5, (MAX_BATTLERS_COUNT + 1), 10, 50
|
|
createvisualtask AnimTask_HorizontalShake, 5, MAX_BATTLERS_COUNT, 10, 50
|
|
call ThousandArrowsDown
|
|
call ThousandArrowsDown
|
|
call ThousandArrowsDown
|
|
call ThousandArrowsDown
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_WHITEALPHA
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
end
|
|
ThousandArrowsHexes:
|
|
createsprite gThousandArrowsGreenHexTemplate, ANIM_TARGET, 2, 0, -4, -16
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gThousandArrowsGreenHexTemplate, ANIM_TARGET, 2, 0, 4109, -16
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gThousandArrowsGreenHexTemplate, ANIM_TARGET, 2, 0, 4, -12
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gThousandArrowsGreenHexTemplate, ANIM_TARGET, 2, 0, -16, -16
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
return
|
|
ThousandArrowsDown:
|
|
createsprite gThousandArrowsGreenArrowTemplate, ANIM_TARGET, 2, 1, 220, 60
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gThousandArrowsGreenArrowTemplate, ANIM_TARGET, 2, 1, 60, 100
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gThousandArrowsGreenArrowTemplate, ANIM_TARGET, 2, 1, 140, 55
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gThousandArrowsGreenArrowTemplate, ANIM_TARGET, 2, 1, 180, 50
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gThousandArrowsGreenArrowTemplate, ANIM_TARGET, 2, 1, 20, 90
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gThousandArrowsGreenArrowTemplate, ANIM_TARGET, 2, 1, 90, 90
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gThousandArrowsGreenArrowTemplate, ANIM_TARGET, 2, 1, 160, 60
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gThousandArrowsGreenArrowTemplate, ANIM_TARGET, 2, 1, 30, 90
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gThousandArrowsGreenArrowTemplate, ANIM_TARGET, 2, 1, 120, 60
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gThousandArrowsGreenArrowTemplate, ANIM_TARGET, 2, 1, 200, 40
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
return
|
|
|
|
gBattleAnimMove_ThousandWaves::
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 8, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gThousandWavesGreenWheelTemplate, ANIM_ATTACKER, 2, 0
|
|
createsprite gThousandWavesGreenWheelTemplate, ANIM_ATTACKER, 2, 43
|
|
createsprite gThousandWavesGreenWheelTemplate, ANIM_ATTACKER, 2, 85
|
|
createsprite gThousandWavesGreenWheelTemplate, ANIM_ATTACKER, 2, 128
|
|
createsprite gThousandWavesGreenWheelTemplate, ANIM_ATTACKER, 2, 170
|
|
createsprite gThousandWavesGreenWheelTemplate, ANIM_ATTACKER, 2, 213
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER @I placed this one here, because it ruins the teleport animation
|
|
loopsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET, 3, 21
|
|
call ThousandWavesRecover
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, 40, -10, 13
|
|
delay 3
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, -35, 8, 13
|
|
delay 3
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, -35, -10, 13
|
|
delay 3
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, 40, 8, 13
|
|
delay 3
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, 15, -40, 13
|
|
delay 3
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, -10, -32, 13
|
|
delay 3
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, 5, 39, 13
|
|
delay 3
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, 25, -20, 13
|
|
delay 3
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, -40, -20, 13
|
|
delay 3
|
|
createvisualtask AnimTask_AttackerStretchAndDisappear, 2
|
|
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, 5, -40, 13
|
|
waitforvisualfinish
|
|
panse SE_M_HYPER_BEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
delay 4
|
|
createvisualtask AnimTask_MoveHeatWaveTargets, 5
|
|
delay 12
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
createsprite gThousandWavesGreenWaveTemplate, ANIM_ATTACKER, 40, 10, 2304, 96, 1
|
|
delay 2
|
|
createsprite gThousandWavesGreenWaveTemplate, ANIM_ATTACKER, 40, 90, 2048, 96, 1
|
|
delay 2
|
|
createsprite gThousandWavesGreenWaveTemplate, ANIM_ATTACKER, 40, 50, 2560, 96, 1
|
|
delay 2
|
|
createsprite gThousandWavesGreenWaveTemplate, ANIM_ATTACKER, 40, 20, 2304, 96, 1
|
|
delay 2
|
|
call ThousandWavesRotatingImpact
|
|
call ThousandWavesRotatingImpact
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ExtremeSpeedMonReappear, 2
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_WHITEALPHA
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
ThousandWavesRecover:
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, 40, 40, 16
|
|
delay 2
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, -40, -40, 16
|
|
delay 2
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, 0, 40, 16
|
|
delay 2
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, 0, -40, 16
|
|
delay 2
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, 40, -20, 16
|
|
delay 2
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, 40, 20, 16
|
|
delay 2
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, -40, -20, 16
|
|
delay 2
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, -40, 20, 16
|
|
delay 2
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, -20, 30, 16
|
|
delay 2
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, 20, -30, 16
|
|
delay 2
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, -20, -30, 16
|
|
delay 2
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, 20, 30, 16
|
|
delay 2
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, -40, 0, 16
|
|
delay 2
|
|
createsprite gThousandWavesGreenRecoverTemplate, ANIM_ATTACKER, 2, 40, 0, 16
|
|
delay 2
|
|
return
|
|
ThousandWavesRotatingImpact:
|
|
createsprite gThousandWavesRotatingImpactTemplate, ANIM_TARGET, 2, 35, 28, 384, 50, 8, 50, 1 @1
|
|
createsprite gThousandWavesGreenWaveTemplate, ANIM_ATTACKER, 40, 70, 1984, 96, 1
|
|
delay 2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gThousandWavesPoundImpactTemplate, ANIM_TARGET, 2, 1, 0, 0, 3
|
|
createsprite gThousandWavesRotatingImpactTemplate, ANIM_TARGET, 2, 35, 32, 240, 40, 11, -46, 1 @2
|
|
createsprite gThousandWavesGreenWaveTemplate, ANIM_ATTACKER, 40, 0, 2816, 96, 1
|
|
delay 2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gThousandWavesPoundImpactTemplate, ANIM_TARGET, 2, 1, 5, -12, 3
|
|
createsprite gThousandWavesRotatingImpactTemplate, ANIM_TARGET, 2, 35, 33, 416, 40, 4, 42, 1 @3
|
|
createsprite gThousandWavesGreenWaveTemplate, ANIM_ATTACKER, 40, 60, 2560, 96, 1
|
|
delay 2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gThousandWavesPoundImpactTemplate, ANIM_TARGET, 2, 1, -6, 9, 3
|
|
createsprite gThousandWavesRotatingImpactTemplate, ANIM_TARGET, 2, 35, 31, 288, 45, 6, -42, 1 @4
|
|
createsprite gThousandWavesGreenWaveTemplate, ANIM_ATTACKER, 40, 10, 2304, 96, 1
|
|
delay 2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gThousandWavesPoundImpactTemplate, ANIM_TARGET, 2, 1, -6, -12, 3
|
|
createsprite gThousandWavesRotatingImpactTemplate, ANIM_TARGET, 2, 35, 28, 448, 45, 11, 46, 1 @5
|
|
createsprite gThousandWavesGreenWaveTemplate, ANIM_ATTACKER, 40, 90, 2048, 96, 1
|
|
delay 2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gThousandWavesPoundImpactTemplate, ANIM_TARGET, 2, 1, 5, 9, 3
|
|
createsprite gThousandWavesRotatingImpactTemplate, ANIM_TARGET, 2, 35, 33, 464, 50, 10, -50, 1 @6
|
|
createsprite gThousandWavesGreenWaveTemplate, ANIM_ATTACKER, 40, 50, 2560, 96, 1
|
|
delay 2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gThousandWavesPoundImpactTemplate, ANIM_TARGET, 2, 1, -6, 0, 3
|
|
return
|
|
|
|
gBattleAnimMove_LandsWrath::
|
|
monbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 14, RGB_BLACK
|
|
waitforvisualfinish
|
|
call LandsWrathVortex
|
|
call LandsWrathVortex
|
|
call LandsWrathVortex
|
|
call LandsWrathVortex
|
|
waitforvisualfinish
|
|
fadetobg BG_FISSURE
|
|
waitbgfadeout
|
|
playsewithpan SE_M_EARTHQUAKE, 0
|
|
createvisualtask AnimTask_HorizontalShake, 5, (MAX_BATTLERS_COUNT + 1), 10, 50
|
|
createvisualtask AnimTask_HorizontalShake, 5, MAX_BATTLERS_COUNT, 10, 50
|
|
createvisualtask AnimTask_PositionFissureBgOnBattler, 5, ANIM_TARGET, 5, -1
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 0, RGB_BLACK
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
LandsWrathVortex:
|
|
playsewithpan SE_M_SACRED_FIRE2 SOUND_PAN_TARGET
|
|
createsprite gLandsWrathVortexTemplate, ANIM_TARGET, 2, 0, 28, 384, 50, 8, 50, 0
|
|
delay 2
|
|
createsprite gLandsWrathVortexTemplate, ANIM_TARGET, 2, 0, 32, 240, 40, 11, -46, 0
|
|
delay 2
|
|
createsprite gLandsWrathVortexTemplate, ANIM_TARGET, 2, 0, 33, 416, 40, 4, 42, 0
|
|
delay 2
|
|
createsprite gLandsWrathVortexTemplate, ANIM_TARGET, 2, 0, 31, 288, 45, 6, -42, 0
|
|
delay 2
|
|
createsprite gLandsWrathVortexTemplate, ANIM_TARGET, 2, 0, 28, 448, 45, 11, 46, 0
|
|
delay 2
|
|
createsprite gLandsWrathVortexTemplate, ANIM_TARGET, 2, 0, 33, 464, 50, 10, -50, 0
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_LightOfRuin::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ELECTRIC_ORBS, 0, 12, 12, RGB(30, 14, 27) @Pink
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 20, 0, 2
|
|
panse SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 15, RGB(31, 24, 26)
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 4, 50, 1
|
|
flash_anim_tag_with_color tag=ANIM_TAG_ORBS, delay=1, num_blends=12, color1=RGB_RED, blend_y1=16, color2=0, blend_y2=0
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 50, 1
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
call LightOfRuinBeam
|
|
delay 32
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gLightOfRuinPinkDischargeTemplate, ANIM_ATTACKER, 2, 1, 16, 16
|
|
delay 2
|
|
createsprite gLightOfRuinPinkDischargeTemplate, ANIM_ATTACKER, 2, 1, -16, -16
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 11, 1
|
|
createsprite gLightOfRuinPinkExplosionTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 1
|
|
delay 16
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BATTLERS_2, 1, 0, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
LightOfRuinBeam:
|
|
createsprite gLightOfRuinPinkOrbsTemplate, ANIM_TARGET, 2
|
|
createsprite gLightOfRuinPinkOrbsTemplate, ANIM_TARGET, 2
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_OriginPulse::
|
|
setalpha 8, 8
|
|
fadetobg BG_WATER
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 1024, 0, 1, -1
|
|
waitbgfadein
|
|
createsprite gOriginPulseRingTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
delay 16
|
|
createsprite gOriginPulseRingTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
|
|
delay 16
|
|
createsprite gOriginPulseRingTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
|
|
playsewithpan SE_INTRO_BLAST, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gOriginPulseOrbTemplate, ANIM_ATTACKER, 2, 0
|
|
createsprite gOriginPulseOrbTemplate, ANIM_ATTACKER, 2, 43
|
|
createsprite gOriginPulseOrbTemplate, ANIM_ATTACKER, 2, 85
|
|
createsprite gOriginPulseOrbTemplate, ANIM_ATTACKER, 2, 128
|
|
createsprite gOriginPulseOrbTemplate, ANIM_ATTACKER, 2, 170
|
|
createsprite gOriginPulseOrbTemplate, ANIM_ATTACKER, 2, 213
|
|
delay 53
|
|
createsprite gOriginPulseRingTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
|
|
delay 16
|
|
createsprite gOriginPulseRingTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
|
|
waitforvisualfinish
|
|
delay 47
|
|
createsprite gOriginPulseOrbInwardTemplate, ANIM_TARGET, 2, 1, 0, 0, -112, 16 @up
|
|
createsprite gOriginPulseOrbInwardTemplate, ANIM_TARGET, 2, 1, 0, 95, -99, 16 @upper right
|
|
createsprite gOriginPulseOrbInwardTemplate, ANIM_TARGET, 2, 1, 0, 115, 0, 16 @right
|
|
createsprite gOriginPulseOrbInwardTemplate, ANIM_TARGET, 2, 1, 0, 79, 55, 16 @lower right
|
|
createsprite gOriginPulseOrbInwardTemplate, ANIM_TARGET, 2, 1, 0, 0, 83, 16 @down
|
|
createsprite gOriginPulseOrbInwardTemplate, ANIM_TARGET, 2, 1, 0, -80, 67, 16 @lower left
|
|
createsprite gOriginPulseOrbInwardTemplate, ANIM_TARGET, 2, 1, 0, -160, 0, 16 @left
|
|
createsprite gOriginPulseOrbInwardTemplate, ANIM_TARGET, 2, 1, 0, -86, -108, 16 @upper left
|
|
delay 5
|
|
createsprite gOriginPulseOrbInwardTemplate, ANIM_TARGET, 2, 1, 0, 45, -99, 16 @between up and upper right
|
|
createsprite gOriginPulseOrbInwardTemplate, ANIM_TARGET, 2, 1, 0, 223, -99, 16 @between right and upper right
|
|
createsprite gOriginPulseOrbInwardTemplate, ANIM_TARGET, 2, 1, 0, 159, 55, 16 @between right and lower right
|
|
createsprite gOriginPulseOrbInwardTemplate, ANIM_TARGET, 2, 1, 0, 31, 55, 16 @between lower right and down
|
|
createsprite gOriginPulseOrbInwardTemplate, ANIM_TARGET, 2, 1, 0, -32, 67, 16 @between lower left and down
|
|
createsprite gOriginPulseOrbInwardTemplate, ANIM_TARGET, 2, 1, 0, -160, 67, 16 @between left and lower left
|
|
createsprite gOriginPulseOrbInwardTemplate, ANIM_TARGET, 2, 1, 0, -214, -86, 16 @between left and upper left
|
|
createsprite gOriginPulseOrbInwardTemplate, ANIM_TARGET, 2, 1, 0, -38, -108, 16 @between up and upper left
|
|
waitforvisualfinish
|
|
createvisualtaskontargets AnimTask_ShakeMon2, 5, 0, ANIM_TARGET, 2, 0, 18, 1
|
|
monbg ANIM_DEF_PARTNER
|
|
createsprite gOriginPulseBasicSplatTemplate, ANIM_TARGET, 3, -80, -16, 1, 1
|
|
stopsound
|
|
playsewithpan SE_M_HYDRO_PUMP, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
createsprite gOriginPulseBlueImpactTemplate, ANIM_TARGET, 3, 1, 1
|
|
delay 5
|
|
createsprite gOriginPulseBasicSplatTemplate, ANIM_TARGET, 3, 0, 0, 1, 1
|
|
delay 5
|
|
createsprite gOriginPulseBlueImpactTemplate, ANIM_TARGET, 3, 1, 1
|
|
delay 5
|
|
createsprite gOriginPulseBasicSplatTemplate, ANIM_TARGET, 3, -64, 20, 1, 1
|
|
delay 5
|
|
createsprite gOriginPulseBlueImpactTemplate, ANIM_TARGET, 3, 1, 1
|
|
delay 5
|
|
createsprite gOriginPulseBasicSplatTemplate, ANIM_TARGET, 3, -32, 5, 1, 1
|
|
waitsound
|
|
call UnsetPsychicBg
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_PrecipiceBlades::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_LARGE_SPIKE, 0, 10, 10, RGB(31, 12, 5) @Blood orange
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
fadetobg 21
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_PositionFissureBgOnBattler, 5, ANIM_TARGET, 5, -1
|
|
createvisualtask AnimTask_HorizontalShake, 5, (MAX_BATTLERS_COUNT + 1), 10, 5
|
|
createvisualtask AnimTask_HorizontalShake, 5, MAX_BATTLERS_COUNT, 10, 5
|
|
playsewithpan SE_M_EARTHQUAKE, 0
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpargeq 7, ANIM_TARGET, PrecipiceBladesOpponent
|
|
PrecipiceBladesPlayer:
|
|
createsprite gPrecipiceBladesSpikeTemplate, ANIM_ATTACKER, 3, ANIM_ATTACKER, -45, 5, 145, 0
|
|
delay 10
|
|
createsprite gPrecipiceBladesSpikeTemplate, ANIM_ATTACKER, 3, ANIM_ATTACKER, 10, 7, 135, 0
|
|
delay 10
|
|
createsprite gPrecipiceBladesSpikeTemplate, ANIM_ATTACKER, 4, ANIM_ATTACKER, -30, 15, 125, 0
|
|
delay 5
|
|
createsprite gPrecipiceBladesSpikeTemplate, ANIM_ATTACKER, 5, ANIM_ATTACKER, -10, 17, 120, 0
|
|
PrecipiceBladesContinue:
|
|
delay 16
|
|
createsprite gPrecipiceBladesPlumeTemplate, ANIM_TARGET, 2, -15, 18, ANIM_TARGET
|
|
createsprite gPrecipiceBladesPlumeTemplate, ANIM_TARGET, 2, -15, 18, ANIM_DEF_PARTNER
|
|
delay 32
|
|
createsprite gPrecipiceBladesPlumeTemplate, ANIM_TARGET, 2, 15, 18, ANIM_TARGET
|
|
createsprite gPrecipiceBladesPlumeTemplate, ANIM_TARGET, 2, 15, 18, ANIM_DEF_PARTNER
|
|
delay 32
|
|
stopsound
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET
|
|
createsprite gPrecipiceBladesLargeSpikeTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, -25, 40, 0
|
|
createsprite gPrecipiceBladesLargeSpikeTemplate, ANIM_TARGET, 2, ANIM_DEF_PARTNER, 0, -25, 40, 0
|
|
delay 6
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, -20, 0, 6, 1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_TARGET, 2, ANIM_DEF_PARTNER, -20, 0, 6, 1
|
|
delay 34
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 6
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_TARGET, 2, ANIM_DEF_PARTNER, 0, 6
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
PrecipiceBladesOpponent:
|
|
createsprite gPrecipiceBladesSpikeTemplate, ANIM_ATTACKER, 67, ANIM_ATTACKER, 35, -5, 145, 0
|
|
delay 10
|
|
createsprite gPrecipiceBladesSpikeTemplate, ANIM_ATTACKER, 67, ANIM_ATTACKER, -20, -7, 135, 0
|
|
delay 10
|
|
createsprite gPrecipiceBladesSpikeTemplate, ANIM_ATTACKER, 68, ANIM_ATTACKER, 20, -15, 125, 0
|
|
delay 5
|
|
createsprite gPrecipiceBladesSpikeTemplate, ANIM_ATTACKER, 69, ANIM_ATTACKER, 0, -17, 120, 0
|
|
goto PrecipiceBladesContinue
|
|
|
|
gBattleAnimMove_DragonAscent::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_IMPACT, 0, 11, 11, RGB(16, 31, 16)
|
|
fadetobg BG_COSMIC
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 2, 0, 128, 0, -1
|
|
waitbgfadein
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
invisible ANIM_ATTACKER
|
|
createsprite gDragonAscentFlyUpTemplate, ANIM_ATTACKER, 2, 0, 0, 1024, 36, 21, 1, ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_ATTACKER | F_PAL_BG | F_PAL_ANIM_1 | F_PAL_ANIM_2), 4, 0, 14, RGB(21, 31, 27)
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -7304, -784, 1, -1
|
|
delay 2
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_ATTACKER | F_PAL_BG | F_PAL_ANIM_1 | F_PAL_ANIM_2), 0, 14, 0, RGB(21, 31, 27)
|
|
waitforvisualfinish
|
|
delay 1
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gDragonAscentDrakeTemplate, ANIM_ATTACKER, 2, 5
|
|
delay 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -32, 0, 0, 3
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 6, 0, 12, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_ATTACKER | F_PAL_BG | F_PAL_ANIM_1 | F_PAL_ANIM_2), 2, 16, 0, RGB(26, 31, 0)
|
|
waitforvisualfinish
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 7
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_HyperspaceFury::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 10, RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_ATTACKER
|
|
createsprite gHyperspaceFuryRingTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
delay 5
|
|
createsprite gHyperspaceFuryRingTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
delay 5
|
|
createsprite gHyperspaceFuryRingTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
delay 5
|
|
createsprite gHyperspaceFuryRingTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
delay 5
|
|
createsprite gHyperspaceFuryRingTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
delay 21
|
|
invisible ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
fadetobg BG_HYPERSPACE_FURY
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_SetPsychicBackground, 5
|
|
waitbgfadein
|
|
loopsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET, 2, 16
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 32, 1
|
|
createsprite gHyperspaceFuryHandTemplate, ANIM_TARGET, 2, 1, 0, 0, -32, 16
|
|
call HyperspaceFuryRandomImpact
|
|
delay 2
|
|
createsprite gHyperspaceFuryHandTemplate, ANIM_TARGET, 2, 1, 0, 22, -22, 16
|
|
call HyperspaceFuryRandomImpact
|
|
delay 2
|
|
createsprite gHyperspaceFuryHandTemplate, ANIM_TARGET, 2, 1, 0, 30, 0, 16
|
|
call HyperspaceFuryRandomImpact
|
|
delay 2
|
|
createvisualtask AnimTask_IsTargetSameSide, 2
|
|
createvisualtask AnimTask_SnatchOpposingMonMove, 2
|
|
createsprite gHyperspaceFuryHandTemplate, ANIM_TARGET, 2, 1, 0, 20, 20, 16
|
|
call HyperspaceFuryRandomImpact
|
|
delay 2
|
|
createsprite gHyperspaceFuryHandTemplate, ANIM_TARGET, 2, 1, 0, 0, 28, 16
|
|
call HyperspaceFuryRandomImpact
|
|
delay 2
|
|
createsprite gHyperspaceFuryHandTemplate, ANIM_TARGET, 2, 1, 0, -19, 19, 16
|
|
call HyperspaceFuryRandomImpact
|
|
delay 2
|
|
createsprite gHyperspaceFuryHandTemplate, ANIM_TARGET, 2, 1, 0, -27, 0, 16
|
|
call HyperspaceFuryRandomImpact
|
|
delay 2
|
|
createsprite gHyperspaceFuryHandTemplate, ANIM_TARGET, 2, 1, 0, -18, -18, 16
|
|
call HyperspaceFuryRandomImpact
|
|
delay 2
|
|
createsprite gHyperspaceFuryHandTemplate, ANIM_TARGET, 2, 1, 0, 0, -25, 16
|
|
call HyperspaceFuryRandomImpact
|
|
delay 2
|
|
createsprite gHyperspaceFuryHandTemplate, ANIM_TARGET, 2, 1, 0, 17, -17, 16
|
|
call HyperspaceFuryRandomImpact
|
|
delay 2
|
|
createsprite gHyperspaceFuryHandTemplate, ANIM_TARGET, 2, 1, 0, 23, 0, 16
|
|
call HyperspaceFuryRandomImpact
|
|
delay 2
|
|
createsprite gHyperspaceFuryHandTemplate, ANIM_TARGET, 2, 1, 0, 16, 16, 16
|
|
call HyperspaceFuryRandomImpact
|
|
delay 7
|
|
createvisualtask SoundTask_PlayDoubleCry, 2, ANIM_ATTACKER, DOUBLE_CRY_GROWL
|
|
visible ANIM_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 0, 3, 32, 1
|
|
playsewithpan SE_M_FIRE_PUNCH, SOUND_PAN_TARGET
|
|
invisible ANIM_ATTACKER
|
|
call UnsetPsychicBg
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
delay 1
|
|
invisible ANIM_ATTACKER
|
|
delay 1
|
|
visible ANIM_ATTACKER
|
|
delay 1
|
|
invisible ANIM_ATTACKER
|
|
delay 1
|
|
visible ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 0, RGB_BLACK
|
|
end
|
|
HyperspaceFuryRandomImpact:
|
|
createsprite gHyperspaceFuryImpactTemplate, ANIM_TARGET, 3, 1, 1
|
|
return
|
|
|
|
@@@@@@@@@@@@@@@@@@@@@@@ GEN 7 @@@@@@@@@@@@@@@@@@@@@@@
|
|
gBattleAnimMove_ShoreUp::
|
|
playsewithpan SE_M_SANDSTORM, 0
|
|
createvisualtask AnimTask_LoadSandstormBackground, 5, 0
|
|
delay 16
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 10, 2304, 96, 0
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 90, 2048, 96, 0
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 50, 2560, 96, 0
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 20, 2304, 96, 0
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 70, 1984, 96, 0
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 0, 2816, 96, 0
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 60, 2560, 96, 0
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_FirstImpression::
|
|
createsprite gSprayWaterDropletSpriteTemplate, ANIM_TARGET, 5, 0, 1
|
|
playsewithpan SE_M_SKETCH, SOUND_PAN_TARGET
|
|
createsprite gSprayWaterDropletSpriteTemplate, ANIM_TARGET, 5, 1, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 5, 1
|
|
createvisualtask AnimTask_StretchTargetUp, 3
|
|
waitforvisualfinish
|
|
delay 25
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 6
|
|
waitforvisualfinish
|
|
monbg ANIM_TARGET @This is placed here on purpose (to not ruin astonishs animation)
|
|
delay 1
|
|
createsprite gFirstImpressionPoundTemplate, ANIM_ATTACKER, 4, -10, 0, 1, 0
|
|
loopsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET 10 2
|
|
delay 1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -28, 0, 0, 3
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
waitforvisualfinish
|
|
delay 10
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 6
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 6
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_BanefulBunker::
|
|
monbg ANIM_ATK_PARTNER
|
|
splitbgprio ANIM_ATTACKER
|
|
waitplaysewithpan SE_M_REFLECT, SOUND_PAN_ATTACKER 16
|
|
createsprite gProtectSpriteTemplate, ANIM_ATTACKER, 2, 24, 0, 90
|
|
createsprite gBanefulBunkerPoisonBubbleTemplate, ANIM_ATTACKER, 2, 10, 10, 25, 0
|
|
delay 4
|
|
createsprite gBanefulBunkerPoisonBubbleTemplate, ANIM_ATTACKER, 2, -15, 0, 25, 0
|
|
delay 4
|
|
createsprite gBanefulBunkerPoisonBubbleTemplate, ANIM_ATTACKER, 2, 20, 10, 25, 0
|
|
delay 4
|
|
createsprite gBanefulBunkerPoisonBubbleTemplate, ANIM_ATTACKER, 2, 0, -10, 25, 0
|
|
delay 4
|
|
createsprite gBanefulBunkerPoisonBubbleTemplate, ANIM_ATTACKER, 2, -10, 15, 25, 0
|
|
delay 4
|
|
createsprite gBanefulBunkerPoisonBubbleTemplate, ANIM_ATTACKER, 2, 25, 20, 25, 0
|
|
delay 4
|
|
createsprite gBanefulBunkerPoisonBubbleTemplate, ANIM_ATTACKER, 2, -20, 20, 25, 0
|
|
delay 4
|
|
createsprite gBanefulBunkerPoisonBubbleTemplate, ANIM_ATTACKER, 2, 12, 0, 25, 0
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_SpiritShackle::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_PURPLE_CHAIN, 0, 9, 9, RGB_BLACK
|
|
monbg ANIM_TARGET
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
createsprite gSpiritShackleArrowTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 15
|
|
delay 8
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 10, 1
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET, 6, 2
|
|
createsprite gChainBindingSpriteTemplate, ANIM_TARGET, 4, 0, 16, 0, 1
|
|
delay 7
|
|
createsprite gChainBindingSpriteTemplate, ANIM_TARGET, 2, 0, 8, 1, 1
|
|
delay 3
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 8, 1
|
|
delay 20
|
|
setarg 7, -1
|
|
playsewithpan SE_M_BIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_DarkestLariat::
|
|
fadetobg BG_DARK
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, 0, 0, -1
|
|
waitbgfadein
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET, 10
|
|
waitplaysewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER, 20
|
|
waitplaysewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET, 30
|
|
waitplaysewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER, 40
|
|
waitplaysewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET, 50
|
|
waitplaysewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER, 60
|
|
waitplaysewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET, 70
|
|
waitplaysewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER, 80
|
|
waitplaysewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET, 90
|
|
createvisualtask AnimTask_TranslateMonElliptical, 2, 0, -18, 6, 6, 4
|
|
createvisualtask AnimTask_TranslateMonElliptical, 2, 1, 18, 6, 6, 4
|
|
call DarkestLariatImpact
|
|
call DarkestLariatImpact
|
|
call DarkestLariatImpact
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
DarkestLariatImpact:
|
|
createsprite gDarkestLariatImpactTemplate, ANIM_ATTACKER, 3, 0, -12, 1, 1
|
|
delay 8
|
|
createsprite gDarkestLariatImpactTemplate, ANIM_ATTACKER, 3, -12, 8, 1, 1
|
|
delay 8
|
|
createsprite gDarkestLariatImpactTemplate, ANIM_ATTACKER, 3, 12, 0, 1, 1
|
|
delay 8
|
|
return
|
|
|
|
gBattleAnimMove_SparklingAria::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 14, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 14, RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gSparklingAriaBlueChargeTemplate, ANIM_ATTACKER, 2, 0
|
|
call SparklingAriaCharge
|
|
call SparklingAriaCharge
|
|
call SparklingAriaCharge
|
|
waitforvisualfinish
|
|
delay 30
|
|
playsewithpan SE_M_HYDRO_PUMP, SOUND_PAN_ATTACKER
|
|
call SparklingAriaRain
|
|
call SparklingAriaRain
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 14, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
end
|
|
SparklingAriaRain:
|
|
createsprite gSparklingAriaRainTemplate, ANIM_TARGET, 2, 1, 220, 60
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 3, 0, 6, 1
|
|
delay 2
|
|
createsprite gSparklingAriaBubbleRainTemplate, ANIM_TARGET, 2, 1, 60, 100
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 3, 0, 6, 1
|
|
delay 2
|
|
createsprite gSparklingAriaRainTemplate, ANIM_TARGET, 2, 1, 140, 55
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 3, 0, 6, 1
|
|
delay 2
|
|
createsprite gSparklingAriaRainTemplate, ANIM_TARGET, 2, 1, 180, 50
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 3, 0, 6, 1
|
|
delay 2
|
|
createsprite gSparklingAriaRainTemplate, ANIM_TARGET, 2, 1, 20, 90
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 3, 0, 6, 1
|
|
delay 2
|
|
createsprite gSparklingAriaBubbleRainTemplate, ANIM_TARGET, 2, 1, 90, 90
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 3, 0, 6, 1
|
|
delay 2
|
|
createsprite gSparklingAriaRainTemplate, ANIM_TARGET, 2, 1, 160, 60
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 3, 0, 6, 1
|
|
delay 2
|
|
createsprite gSparklingAriaRainTemplate, ANIM_TARGET, 2, 1, 30, 90
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 3, 0, 6, 1
|
|
delay 2
|
|
createsprite gSparklingAriaRainTemplate, ANIM_TARGET, 2, 1, 120, 60
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 3, 0, 6, 1
|
|
delay 2
|
|
createsprite gSparklingAriaBubbleRainTemplate, ANIM_TARGET, 2, 1, 200, 40
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 3, 0, 6, 1
|
|
delay 2
|
|
return
|
|
SparklingAriaCharge:
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSparklingAriaBubblesTemplate, ANIM_ATTACKER, 2, 10, 10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSparklingAriaBubblesTemplate, ANIM_ATTACKER, 2, -15, 0, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSparklingAriaBubblesTemplate, ANIM_ATTACKER, 2, 20, 10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSparklingAriaBubblesTemplate, ANIM_ATTACKER, 2, 0, -10, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSparklingAriaBubblesTemplate, ANIM_ATTACKER, 2, -10, 15, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSparklingAriaBubblesTemplate, ANIM_ATTACKER, 2, 25, 20, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSparklingAriaBubblesTemplate, ANIM_ATTACKER, 2, -20, 20, 25, 0
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSparklingAriaBubblesTemplate, ANIM_ATTACKER, 2, 12, 0, 25, 0
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimMove_IceHammer::
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
createsprite gIceHammerPunchStompTemplate, ANIM_TARGET, 3, 0, -32, 15
|
|
delay 19
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_SquishTarget, 2
|
|
createsprite gIceHammerSmokesTemplate, ANIM_TARGET, 4, 0, -12, 104, 0, 75
|
|
createsprite gIceHammerSmokesTemplate, ANIM_TARGET, 4, 0, -12, 72, 1, 75
|
|
createsprite gIceHammerSmokesTemplate, ANIM_TARGET, 4, 0, -6, 56, 1, 75
|
|
createsprite gIceHammerSmokesTemplate, ANIM_TARGET, 4, 0, -6, 88, 0, 75
|
|
createsprite gIceHammerSmokesTemplate, ANIM_TARGET, 4, 0, 0, 56, 0, 75
|
|
createsprite gIceHammerSmokesTemplate, ANIM_TARGET, 4, 0, 0, 88, 1, 75
|
|
createsprite gIceHammerSmokesTemplate, ANIM_TARGET, 4, 0, 6, 72, 0, 75
|
|
createsprite gIceHammerSmokesTemplate, ANIM_TARGET, 4, 0, 6, 104, 1, 75
|
|
createsprite gIceHammerSmokesTemplate, ANIM_TARGET, 4, 0, 12, 72, 0, 75
|
|
createsprite gIceHammerSmokesTemplate, ANIM_TARGET, 4, 0, 12, 56, 1, 75
|
|
createsprite gIceHammerSmokesTemplate, ANIM_TARGET, 4, 0, 18, 80, 0, 75
|
|
createsprite gIceHammerSmokesTemplate, ANIM_TARGET, 4, 0, 18, 72, 1, 75
|
|
call IceCrystalEffectShort
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_FloralHealing::
|
|
monbg ANIM_ATTACKER
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
call CIRCLES_LEAVES
|
|
call CIRCLES_LEAVES
|
|
waitforvisualfinish
|
|
panse SE_M_COMET_PUNCH, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
playsewithpan SE_M_TWISTER, 0
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 70, 1, 64
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFloralHealingWindLeavesTemplate, ANIM_ATTACKER, 2, 60, 0, 64
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 80, 1, 64
|
|
delay 2
|
|
createsprite gFloralHealingWindLeavesTemplate, ANIM_ATTACKER, 2, 58, 0, 120
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 100, 0, 120
|
|
delay 2
|
|
createsprite gFloralHealingWindLeavesTemplate, ANIM_ATTACKER, 2, 90, 0, 64
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 48, 0, 64 @2
|
|
delay 2
|
|
createsprite gFloralHealingWindLeavesTemplate, ANIM_ATTACKER, 2, 95, 1, 80
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 100, 0, 120
|
|
delay 2
|
|
createsprite gFloralHealingWindLeavesTemplate, ANIM_ATTACKER, 2, 75, 1, 64
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 85, 0, 120
|
|
delay 2
|
|
loopsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET, 18, 10
|
|
monbg ANIM_TARGET
|
|
call FloralHealingSpores
|
|
call FloralHealingSpores
|
|
call FloralHealingSpores
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_ABSORB_2, SOUND_PAN_ATTACKER
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 16, -15, 0, 1, 0, 32, 60, 1
|
|
delay 8
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 16, 12, -5, 1, 0, 32, 60, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
FloralHealingSpores:
|
|
createsprite gFloralHealingFlowerTemplate, ANIM_ATTACKER, 2, 0, -20, 85, 80, 0
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 70, 1, 64
|
|
delay 2
|
|
createsprite gFloralHealingWindLeavesTemplate, ANIM_ATTACKER, 2, 60, 0, 64
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 80, 1, 64
|
|
delay 2
|
|
createsprite gFloralHealingWindLeavesTemplate, ANIM_ATTACKER, 2, 58, 0, 120
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 100, 0, 120
|
|
delay 2
|
|
createsprite gFloralHealingWindLeavesTemplate, ANIM_ATTACKER, 2, 90, 0, 64
|
|
delay 3
|
|
createsprite gFloralHealingFlowerTemplate, ANIM_ATTACKER, 2, 0, -10, 170, 80, 0
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 48, 0, 64
|
|
delay 2
|
|
createsprite gFloralHealingWindLeavesTemplate, ANIM_ATTACKER, 2, 95, 1, 80
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 100, 0, 120
|
|
delay 2
|
|
createsprite gFloralHealingWindLeavesTemplate, ANIM_ATTACKER, 2, 75, 1, 64
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 85, 0, 120
|
|
delay 2
|
|
createsprite gFloralHealingWindLeavesTemplate, ANIM_ATTACKER, 2, 70, 1, 64
|
|
delay 3
|
|
createsprite gFloralHealingFlowerTemplate, ANIM_ATTACKER, 2, 0, -15, 0, 80, 0
|
|
createsprite gFloralHealingWindLeavesTemplate, ANIM_ATTACKER, 2, 60, 0, 64
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 80, 1, 64
|
|
delay 2
|
|
createsprite gFloralHealingWindLeavesTemplate, ANIM_ATTACKER, 2, 58, 0, 120
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 100, 0, 120
|
|
delay 2
|
|
createsprite gFloralHealingWindLeavesTemplate, ANIM_ATTACKER, 2, 90, 0, 64
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 48, 0, 64
|
|
delay 3
|
|
return
|
|
CIRCLES_LEAVES:
|
|
createsprite gFloralHealingOrbsTemplate, ANIM_TARGET, 2, 0, 28, 384, 50, 8, 50, 0
|
|
delay 2
|
|
createsprite gFloralHealingLeavesTemplate, ANIM_TARGET, 2, 0, 32, 240, 40, 11, -46, 0
|
|
delay 2
|
|
createsprite gFloralHealingOrbsTemplate, ANIM_TARGET, 2, 0, 33, 416, 40, 4, 42, 0
|
|
delay 2
|
|
createsprite gFloralHealingLeavesTemplate, ANIM_TARGET, 2, 0, 31, 288, 45, 6, -42, 0
|
|
delay 2
|
|
createsprite gFloralHealingOrbsTemplate, ANIM_TARGET, 2, 0, 28, 448, 45, 11, 46, 0
|
|
delay 2
|
|
createsprite gFloralHealingLeavesTemplate, ANIM_TARGET, 2, 0, 33, 464, 50, 10, -50, 0
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_HighHorsepower::
|
|
monbg ANIM_TARGET
|
|
delay 2
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 16, RGB_BLACK
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_TARGET
|
|
createsprite gHighHorsepowerHorseshoeTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 50
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 7, RGB_WHITE
|
|
delay 50
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
call SetImpactBackground
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 22, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 0, RGB_WHITE
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=8, color2=RGB_BLACK, blend_y2=0
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
delay 2
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_StrengthSap::
|
|
monbg ANIM_DEF_PARTNER
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gStrengthSapRedSmokeTemplate, ANIM_TARGET, 2, 8, 3, 1, 0
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, 70, 0, 6
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, 40, 40, 6
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, 10, -60, 6
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, -50, -40, 6
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, -40, 40, 6
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, 50, -50, 6
|
|
delay 2
|
|
createsprite gStrengthSapRedSmokeTemplate, ANIM_TARGET, 2, -8, -8, 1, 0
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, 50, -30, 6
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, 60, 10, 6
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, 0, 60, 6
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, 0, -40, 6
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, -60, 20, 6
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, -60, -30, 6
|
|
delay 2
|
|
createsprite gStrengthSapRedSmokeTemplate, ANIM_TARGET, 2, 8, -8, 1, 0
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, -50, 50, 6
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, -60, 20, 6
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, -40, -40, 6
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, 20, -60, 6
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, 50, -50, 6
|
|
createsprite gStrengthSapRedInwardTemplate, ANIM_ATTACKER, 4, 35, 40, 6
|
|
delay 2
|
|
createsprite gStrengthSapRedSmokeTemplate, ANIM_TARGET, 2, -8, 8, 1, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 3, RGB(29, 31, 1)
|
|
delay 5
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
createsprite gStrengthSapAbsorbTemplate, ANIM_ATTACKER, 3, 0, 5, 8, 26
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
createsprite gStrengthSapAbsorbTemplate, ANIM_ATTACKER, 3, 10, -5, -8, 26
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
createsprite gStrengthSapAbsorbTemplate, ANIM_ATTACKER, 3, -5, 15, 16, 33
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
createsprite gStrengthSapAbsorbTemplate, ANIM_ATTACKER, 3, 0, -15, -16, 36
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
createsprite gStrengthSapAbsorbTemplate, ANIM_ATTACKER, 3, 0, 5, 8, 26
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
createsprite gStrengthSapAbsorbTemplate, ANIM_ATTACKER, 3, 10, -5, -8, 26
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
createsprite gStrengthSapAbsorbTemplate, ANIM_ATTACKER, 3, -10, 20, 20, 39
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
createsprite gStrengthSapAbsorbTemplate, ANIM_ATTACKER, 3, 5, -18, -20, 35
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 3, 0, RGB(29, 31, 1)
|
|
loopsewithpan SE_M_HEAL_BELL, SOUND_PAN_ATTACKER, 16, 3
|
|
call GrantingStarsEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_SolarBlade::
|
|
choosetwoturnanim SolarBeamSetUp SolarBladeUnleash
|
|
SolarBladeUnleash:
|
|
monbg ANIM_ATTACKER
|
|
setalpha 13, 3
|
|
createvisualtask AnimTask_BlendBattleAnimPal 10, (F_PAL_BG | F_PAL_BATTLERS_2), 1, 0, 6, RGB_WHITE
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SWORDS_DANCE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 16, 6, 1, 4
|
|
createsprite gSwordsDanceBladeSpriteTemplate, ANIM_ATTACKER, 2, 0, 0
|
|
call SolarBladeSunRays
|
|
call SolarBladeSunRays
|
|
call SolarBladeSunRays
|
|
call SolarBladeSunRays
|
|
flash_anim_tag_with_color tag=ANIM_TAG_SWORD, delay=2, num_blends=2, color1=RGB(18, 31, 31), blend_y1=16, color2=0, blend_y2=0
|
|
waitforvisualfinish
|
|
call SetSolarBeamBg
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createsprite gSolarBladeImpactTemplate, ANIM_TARGET, 2, 0, 0, 1
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 12, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal 10, (F_PAL_BG | F_PAL_BATTLERS_2), 1, 6, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
end
|
|
SolarBladeSunRays:
|
|
createsprite gSunlightRaySpriteTemplate, ANIM_ATTACKER, 40
|
|
delay 6
|
|
return
|
|
|
|
gBattleAnimMove_Leafage::
|
|
monbg ANIM_DEF_PARTNER
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
call CreateRazorLeafCutters
|
|
create_razor_leaf_cutter_sprite ANIM_TARGET, 3, initial_x=20, initial_y=-10, target_x=20, target_y=0, duration=22, wave_amplitude=0, target_both=1
|
|
delay 20
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createsprite gLeafageImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 1, 2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_Spotlight::
|
|
createvisualtask AnimTask_CreateSpotlight, 2
|
|
createvisualtask AnimTask_HardwarePaletteFade, 2, 248, 3, 0, 10, 0
|
|
waitforvisualfinish
|
|
playsewithpan SE_CONTEST_ICON_CHANGE, SOUND_PAN_ATTACKER
|
|
createsprite gSpotlightSpriteTemplate, ANIM_TARGET, 2, 0, -8
|
|
delay 64
|
|
createvisualtask AnimTask_HardwarePaletteFade, 2, 248, 3, 10, 0, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RemoveSpotlight, 2
|
|
end
|
|
|
|
gBattleAnimMove_ToxicThread::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_STRING, 0, 10, 10, RGB(24, 1, 24) @Purple
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_WEB_THREAD, 0, 10, 10, RGB(24, 1, 24) @Purple
|
|
monbg ANIM_DEF_PARTNER
|
|
delay 0
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 9, RGB_BLACK
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_STRING_SHOT, SOUND_PAN_ATTACKER, 9, 6
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_STRING_SHOT2, SOUND_PAN_TARGET
|
|
createsprite gToxicThreadString, ANIM_TARGET, 2, 0, 10
|
|
delay 4
|
|
createsprite gToxicThreadString, ANIM_TARGET, 2, 0, -2
|
|
delay 4
|
|
createsprite gToxicThreadString, ANIM_TARGET, 2, 0, 22
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
delay 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 9, 0, RGB_BLACK
|
|
end
|
|
|
|
gBattleAnimMove_LaserFocus::
|
|
monbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gLaserFocusRedEyesTemplate, ANIM_ATTACKER, 5, 0, 0, 0, 0
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_LEER, SOUND_PAN_ATTACKER
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, 24, -12
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
gBattleAnimMove_GearUp::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 9, RGB(27, 28, 0)
|
|
createsprite gGearUpGearsTemplate, ANIM_ATTACKER, 2, 0, -24, 8, 140
|
|
playsewithpan SE_ROULETTE_BALL2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
delay 15
|
|
playsewithpan SE_ROULETTE_BALL2, SOUND_PAN_ATTACKER
|
|
createsprite gGearUpGearsTemplate, ANIM_ATTACKER, 2, 0, -24, 8, 140
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
delay 15
|
|
playsewithpan SE_ROULETTE_BALL2, SOUND_PAN_ATTACKER
|
|
createsprite gGearUpGearsTemplate, ANIM_ATTACKER, 2, 0, -24, 8, 140
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
delay 15
|
|
playsewithpan SE_ROULETTE_BALL2, SOUND_PAN_ATTACKER
|
|
call GearUpSparks
|
|
call GearUpSparks
|
|
call GearUpSparks
|
|
playsewithpan SE_ROULETTE_BALL2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 9, 0, RGB(27, 28, 0)
|
|
waitforvisualfinish
|
|
end
|
|
GearUpSparks:
|
|
playsewithpan SE_ROULETTE_BALL2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
delay 15
|
|
playsewithpan SE_ROULETTE_BALL2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
delay 15
|
|
return
|
|
|
|
gBattleAnimMove_ThroatChop::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
createsprite gKarateChopSpriteTemplate, ANIM_ATTACKER, 2, -16, 0, 0, 0, 10, 1, 3, 0
|
|
waitforvisualfinish
|
|
invert_screen_color scenery=257
|
|
createsprite gThroatChopRedImpactTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 2
|
|
delay 3
|
|
createsprite gThroatChopRedImpactTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 2
|
|
delay 3
|
|
createsprite gThroatChopRedImpactTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 2
|
|
delay 3
|
|
createsprite gThroatChopRedImpactTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 2
|
|
delay 3
|
|
createsprite gThroatChopRedImpactTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 2
|
|
delay 3
|
|
createsprite gThroatChopRedImpactTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 2
|
|
delay 3
|
|
createsprite gThroatChopRedImpactTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 2
|
|
delay 3
|
|
createsprite gThroatChopRedImpactTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 2
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 6, 1
|
|
waitforvisualfinish
|
|
invert_screen_color scenery=257
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_PollenPuff::
|
|
createvisualtask AnimTask_IsTargetSameSide, 5
|
|
jumpargeq 0, 1, PollenPuffAlly
|
|
PollenPuffOpponent:
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 8, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RockMonBackAndForth, 5, ANIM_ATTACKER, 2, 0
|
|
createsprite gPollenPuffPinkStarTemplate, ANIM_ATTACKER, 2, 10, 10, 25, 0
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
delay 13
|
|
createsprite gPollenPuffPinkStarTemplate, ANIM_ATTACKER, 2, -15, 0, 25, 0
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
delay 13
|
|
createsprite gPollenPuffPinkStarTemplate, ANIM_ATTACKER, 2, 10, 10, 25, 0
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
delay 13
|
|
createsprite gPollenPuffPinkStarTemplate, ANIM_ATTACKER, 2, -15, 0, 25, 0
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
clearmonbg ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
stopsound
|
|
monbg ANIM_TARGET
|
|
createsprite gPollenPuffPinkSparkleTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 160, 40, 0
|
|
createsprite gPollenPuffPinkSparkleTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 272, 40, 0
|
|
createsprite gPollenPuffPinkSparkleTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 176, 40, 0
|
|
createsprite gPollenPuffPinkSparkleTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 256, 40, 0
|
|
createsprite gPollenPuffYellowSparkleTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 144, 40, 0
|
|
createsprite gPollenPuffYellowSparkleTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 272, 40, 0
|
|
createsprite gPollenPuffYellowSparkleTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 176, 40, 0
|
|
createsprite gPollenPuffYellowSparkleTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 256, 40, 0
|
|
delay 1
|
|
playsewithpan SE_M_SAND_ATTACK, SOUND_PAN_TARGET
|
|
createsprite gPollenPuffSporeTemplate, ANIM_TARGET, 2, 10, 0, 0, 0, 25, -32
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
createsprite gPollenPuffImpactTemplates, ANIM_TARGET, 2, 1, 1, 0, -32, 16 @up
|
|
createsprite gPollenPuffImpactTemplates, ANIM_TARGET, 2, 1, 1, -18, -18, 16 @upperleft
|
|
createsprite gPollenPuffImpactTemplates, ANIM_TARGET, 2, 1, 1, 0, 28, 16 @down
|
|
delay 4
|
|
createsprite gPollenPuffImpactTemplates, ANIM_TARGET, 2, 1, 1, -27, 0, 16 @left
|
|
createsprite gPollenPuffImpactTemplates, ANIM_TARGET, 2, 1, 1, 20, 20, 16 @lowerright
|
|
createsprite gPollenPuffImpactTemplates, ANIM_TARGET, 2, 1, 1, -19, 19, 16 @lowerleft
|
|
delay 4
|
|
createsprite gPollenPuffImpactTemplates, ANIM_TARGET, 2, 1, 1, 30, 0, 16 @right
|
|
createsprite gPollenPuffImpactTemplates, ANIM_TARGET, 2, 1, 1, 22, -22, 16 @upperright
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 8, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
PollenPuffAlly:
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 8, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RockMonBackAndForth, 5, ANIM_ATTACKER, 2, 0
|
|
createsprite gPollenPuffPinkStarTemplate, ANIM_ATTACKER, 2, 10, 10, 25, 0
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
delay 13
|
|
createsprite gPollenPuffPinkStarTemplate, ANIM_ATTACKER, 2, -15, 0, 25, 0
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
delay 13
|
|
createsprite gPollenPuffPinkStarTemplate, ANIM_ATTACKER, 2, 10, 10, 25, 0
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
delay 13
|
|
createsprite gPollenPuffPinkStarTemplate, ANIM_ATTACKER, 2, -15, 0, 25, 0
|
|
playsewithpan SE_M_ABSORB_2, SOUND_PAN_ATTACKER
|
|
clearmonbg ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
stopsound
|
|
playsewithpan SE_M_SAND_ATTACK, SOUND_PAN_ATTACKER
|
|
monbg ANIM_TARGET
|
|
createsprite gPollenPuffPinkSparkleTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 160, 40, 0
|
|
createsprite gPollenPuffPinkSparkleTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 288, 40, 0
|
|
createsprite gPollenPuffPinkSparkleTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 144, 40, 0
|
|
createsprite gPollenPuffPinkSparkleTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 272, 40, 0
|
|
createsprite gPollenPuffYellowSparkleTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 160, 40, 0
|
|
createsprite gPollenPuffYellowSparkleTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 288, 40, 0
|
|
createsprite gPollenPuffYellowSparkleTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 144, 40, 0
|
|
createsprite gPollenPuffYellowSparkleTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 272, 40, 0
|
|
delay 1
|
|
createsprite gPollenPuffSporeTemplate, ANIM_TARGET, 2, 10, 0, 0, 0, 25, -32
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_SPARKLE_2 @stars
|
|
unloadspritepal ANIM_TAG_SPARKLE_2 @stars
|
|
playsewithpan SE_M_ABSORB_2, SOUND_PAN_ATTACKER
|
|
createsprite gPollenPuffHealTemplate, ANIM_ATTACKER, 2, 0, -5, 1, 0
|
|
delay 7
|
|
createsprite gPollenPuffHealTemplate, ANIM_ATTACKER, 2, -15, 10, 1, 0
|
|
delay 7
|
|
createsprite gPollenPuffHealTemplate, ANIM_ATTACKER, 2, -15, -15, 1, 0
|
|
delay 7
|
|
createsprite gPollenPuffHealTemplate, ANIM_ATTACKER, 2, 10, -5, 1, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 8, 1, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_AnchorShot::
|
|
playsewithpan SE_FALL SOUND_PAN_TARGET
|
|
monbg ANIM_TARGET
|
|
createsprite gAnchorShotAngledAnchorTemplate, ANIM_ATTACKER, 2, 0, 0, 53
|
|
waitforvisualfinish
|
|
createsprite gAnchorShotAnchorTemplate, ANIM_ATTACKER, 3, 0, -32, 15
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 15, 1
|
|
delay 37
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 15, 1
|
|
waitforvisualfinish
|
|
loopsewithpan SE_SHINY, SOUND_PAN_ATTACKER 28 2
|
|
createsprite gAnchorShotChainTemplate, ANIM_TARGET, 2, -16, -16
|
|
delay 4
|
|
createsprite gAnchorShotChainTemplate, ANIM_TARGET, 2, -16, 0
|
|
delay 4
|
|
createsprite gAnchorShotChainTemplate, ANIM_TARGET, 2, -16, 16
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_PsychicTerrain::
|
|
playsewithpan SE_M_HEAL_BELL, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
waitforvisualfinish
|
|
delay 30
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB(27, 0, 13), 12, 5, 1
|
|
delay 4
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
createsprite gPsychicTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 0
|
|
createsprite gPsychicTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 42
|
|
createsprite gPsychicTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 84
|
|
createsprite gPsychicTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 126
|
|
createsprite gPsychicTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 168
|
|
createsprite gPsychicTerrainOrbsTemplate, ANIM_ATTACKER, 2, 26, 210
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 0, 4, RGB(27, 0, 13)
|
|
delay 52
|
|
setarg 7, -1
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
createsprite gPsychicTerrainStarTemplate, ANIM_TARGET, 2, 0
|
|
createsprite gPsychicTerrainStarTemplate, ANIM_TARGET, 2, 32
|
|
createsprite gPsychicTerrainStarTemplate, ANIM_TARGET, 2, 64
|
|
createsprite gPsychicTerrainStarTemplate, ANIM_TARGET, 2, 96
|
|
createsprite gPsychicTerrainStarTemplate, ANIM_TARGET, 2, 128
|
|
createsprite gPsychicTerrainStarTemplate, ANIM_TARGET, 2, 160
|
|
createsprite gPsychicTerrainStarTemplate, ANIM_TARGET, 2, 192
|
|
createsprite gPsychicTerrainStarTemplate, ANIM_TARGET, 2, 224
|
|
loopsewithpan SE_M_SUPERSONIC, SOUND_PAN_TARGET, 10, 3
|
|
waitforvisualfinish
|
|
delay 4
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 4, 0, RGB(27, 0, 13)
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Lunge::
|
|
monbg ANIM_ATK_PARTNER
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 3, 0, 240, 0
|
|
loopsewithpan SE_M_PSYBEAM2, SOUND_PAN_ATTACKER, 14, 10
|
|
createsprite gLungeGreenChargeTemplate, ANIM_ATTACKER, 2
|
|
delay 110
|
|
delay 62
|
|
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
|
delay 21
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
invisible ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
createsprite gLungeGreenBubbleTemplate, ANIM_TARGET, 2, 10, 0, 0, 0, 25, -32
|
|
delay 15
|
|
monbg ANIM_DEF_PARTNER
|
|
delay 1
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 70, 0, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 40, 40, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 10, -60, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, -50, -40, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, -40, 40, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 50, -50, 6
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 11, 1
|
|
delay 2
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 50, -30, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 60, 10, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 0, 60, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 0, -40, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, -60, 20, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, -60, -30, 6
|
|
delay 2
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, -50, 50, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, -60, 20, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, -40, -40, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 20, -60, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 50, -50, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 35, 40, 6
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createsprite gLungeGreenImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 1, 2
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_FireLash::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_foes ANIM_TARGET
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 24, 0, 0, 6
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 8, 1
|
|
createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_TARGET, RGB_RED, 12, 1, 1
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET
|
|
createsprite gSlashSliceSpriteTemplate, ANIM_TARGET, 2, 1, -8, 0
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gSlashSliceSpriteTemplate, ANIM_TARGET, 2, 1, 8, 0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 18, 1
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
delay 7
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 9
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_PowerTrip::
|
|
monbg ANIM_DEF_PARTNER
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call PowerTripBuffUp
|
|
delay 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_BLACK
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call PowerTripBuffUp
|
|
delay 8
|
|
call PowerTripBuffUp
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createsprite gPowerTripImpactTemplate, ANIM_ATTACKER, 2, -11, 10, 1, 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 5
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createsprite gPowerTripImpactTemplate, ANIM_ATTACKER, 2, 0, -11, 1, 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 5
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createsprite gPowerTripImpactTemplate, ANIM_ATTACKER, 2, 10, 0, 1, 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
PowerTripBuffUp:
|
|
createsprite gPowerTripFocusEnergyTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 4
|
|
createsprite gPowerTripFocusEnergyTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
delay 4
|
|
createsprite gPowerTripFocusEnergyTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
delay 4
|
|
createsprite gPowerTripFocusEnergyTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 4
|
|
createsprite gPowerTripFocusEnergyTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
|
|
gBattleAnimMove_BurnUp::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 18
|
|
fadetobg BG_FIRE
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 2560, 0, 1, -1
|
|
waitbgfadein
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 5, RGB(28, 0, 0)
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_AllocBackupPalBuffer, 5
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_CopyPalUnfadedToBackup, 5, 0, 1
|
|
delay 1
|
|
createvisualtask AnimTask_CopyPalFadedToUnfaded, 5, 0
|
|
delay 1
|
|
loopsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER 9 2
|
|
createvisualtask AnimTask_CopyPalUnfadedToBackup, 5, 1, 0
|
|
delay 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 0, 13, RGB(28, 0, 0)
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 2, 0, 15, 1
|
|
waitforvisualfinish
|
|
delay 30
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
createsprite gBurnUpRedYawnTemplate, ANIM_TARGET, 0, 0, 0, 0, 0, 30, 0
|
|
delay 1
|
|
createvisualtask AnimTask_CopyPalFadedToUnfaded, 5, 1
|
|
delay 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 0, 0, 13, RGB(18, 18, 18)
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 3, 0, 15, 1
|
|
delay 15
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 12, RGB(28, 0, 0)
|
|
delay 1
|
|
createvisualtask AnimTask_CopyPalUnfadedFromBackup, 5, 0, 1
|
|
delay 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 5, 0, RGB(28, 0, 0)
|
|
delay 1
|
|
createvisualtask AnimTask_CopyPalUnfadedFromBackup, 5, 1, 0
|
|
delay 1
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 2, 0, 15, 1
|
|
call FireSpreadEffect
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 0, 13, 0, RGB(18, 18, 18)
|
|
delay 1
|
|
createvisualtask AnimTask_FreeBackupPalBuffer, 5
|
|
delay 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 12, 0, RGB(28, 0, 0)
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_SpeedSwap::
|
|
monbg ANIM_TARGET
|
|
panse SE_M_MINIMIZE, SOUND_PAN_TARGET, SOUND_PAN_ATTACKER, 253, 0
|
|
delay 15
|
|
createsprite gSpeedSwapCircleTemplate, ANIM_TARGET, 2, -12, 24
|
|
delay 5
|
|
createsprite gSpeedSwapRingTemplate, ANIM_ATTACKER, 40, 0, 0, 1, 0
|
|
createsprite gSpeedSwapOrbTemplate, ANIM_TARGET, 2, 1, 0, 0, -32, 16
|
|
createsprite gSpeedSwapOrbTemplate, ANIM_TARGET, 2, 1, 0, 22, -22, 16
|
|
createsprite gSpeedSwapOrbTemplate, ANIM_TARGET, 2, 1, 0, 30, 0, 16
|
|
createsprite gSpeedSwapOrbTemplate, ANIM_TARGET, 2, 1, 0, 20, 20, 16
|
|
createsprite gSpeedSwapOrbTemplate, ANIM_TARGET, 2, 1, 0, 0, 28, 16
|
|
createsprite gSpeedSwapOrbTemplate, ANIM_TARGET, 2, 1, 0, -19, 19, 16
|
|
createsprite gSpeedSwapOrbTemplate, ANIM_TARGET, 2, 1, 0, -27, 0, 16
|
|
createsprite gSpeedSwapOrbTemplate, ANIM_TARGET, 2, 1, 0, -18, -18, 16
|
|
waitforvisualfinish
|
|
panse SE_M_MINIMIZE, SOUND_PAN_TARGET, SOUND_PAN_ATTACKER, 253, 0
|
|
createsprite gSpeedSwapOrbMissileTemplate, ANIM_TARGET, 0, 0, 0, 0, 0, 30, 0
|
|
createsprite gSpeedSwapRingTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
createsprite gSpeedSwapOrbTemplate, ANIM_TARGET, 2, 0, 0, 0, -32, 16
|
|
createsprite gSpeedSwapOrbTemplate, ANIM_TARGET, 2, 0, 0, 22, -22, 16
|
|
createsprite gSpeedSwapOrbTemplate, ANIM_TARGET, 2, 0, 0, 30, 0, 16
|
|
createsprite gSpeedSwapOrbTemplate, ANIM_TARGET, 2, 0, 0, 20, 20, 16
|
|
createsprite gSpeedSwapOrbTemplate, ANIM_TARGET, 2, 0, 0, 0, 28, 16
|
|
createsprite gSpeedSwapOrbTemplate, ANIM_TARGET, 2, 0, 0, -19, 19, 16
|
|
createsprite gSpeedSwapOrbTemplate, ANIM_TARGET, 2, 0, 0, -27, 0, 16
|
|
createsprite gSpeedSwapOrbTemplate, ANIM_TARGET, 2, 0, 0, -18, -18, 16
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_SmartStrike::
|
|
createsprite gLockOnTargetSpriteTemplate, ANIM_ATTACKER, 40
|
|
createsprite gLockOnMoveTargetSpriteTemplate, ANIM_ATTACKER, 40, 1
|
|
createsprite gLockOnMoveTargetSpriteTemplate, ANIM_ATTACKER, 40, 2
|
|
createsprite gLockOnMoveTargetSpriteTemplate, ANIM_ATTACKER, 40, 3
|
|
createsprite gLockOnMoveTargetSpriteTemplate, ANIM_ATTACKER, 40, 4
|
|
delay 120
|
|
setarg 7, -1
|
|
waitforvisualfinish
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
call SonicBoomProjectile
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 10, 1
|
|
createsprite gSmartStrikeImpactTemplate, ANIM_TARGET, 4, 0, 0, 8, 1, 0
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
createsprite gSmartStrikeGemTemplate, ANIM_TARGET, 2, 1, 1, 0, -24, 10
|
|
createsprite gSmartStrikeGemTemplate, ANIM_TARGET, 2, 1, 1, 17, -17, 10
|
|
createsprite gSmartStrikeGemTemplate, ANIM_TARGET, 2, 1, 1, 24, 0, 10
|
|
createsprite gSmartStrikeGemTemplate, ANIM_TARGET, 2, 1, 1, 17, 17, 10
|
|
createsprite gSmartStrikeGemTemplate, ANIM_TARGET, 2, 1, 1, 0, 24, 10
|
|
createsprite gSmartStrikeGemTemplate, ANIM_TARGET, 2, 1, 1, -17, 17, 10
|
|
createsprite gSmartStrikeGemTemplate, ANIM_TARGET, 2, 1, 1, -24, 0, 10
|
|
createsprite gSmartStrikeGemTemplate, ANIM_TARGET, 2, 1, 1, -17, -17, 10
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
waitforvisualfinish
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Purify::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gPurifyWhiteBallTemplate, ANIM_ATTACKER, 2, 20, -8, -8, -8, 20, -32
|
|
delay 19
|
|
playsewithpan SE_M_SAND_ATTACK, SOUND_PAN_TARGET
|
|
createsprite gPurifySmokeTemplate, ANIM_TARGET, 4, 0, -12, 104, 0, 75
|
|
createsprite gPurifySmokeTemplate, ANIM_TARGET, 4, 0, -12, 72, 1, 75
|
|
createsprite gPurifySmokeTemplate, ANIM_TARGET, 4, 0, -6, 56, 1, 75
|
|
createsprite gPurifySmokeTemplate, ANIM_TARGET, 4, 0, -6, 88, 0, 75
|
|
createsprite gPurifySmokeTemplate, ANIM_TARGET, 4, 0, 0, 56, 0, 75
|
|
createsprite gPurifySmokeTemplate, ANIM_TARGET, 4, 0, 0, 88, 1, 75
|
|
createsprite gPurifySmokeTemplate, ANIM_TARGET, 4, 0, 6, 72, 0, 75
|
|
createsprite gPurifySmokeTemplate, ANIM_TARGET, 4, 0, 6, 104, 1, 75
|
|
createsprite gPurifySmokeTemplate, ANIM_TARGET, 4, 0, 12, 72, 0, 75
|
|
createsprite gPurifySmokeTemplate, ANIM_TARGET, 4, 0, 12, 56, 1, 75
|
|
createsprite gPurifySmokeTemplate, ANIM_TARGET, 4, 0, 18, 80, 0, 75
|
|
createsprite gPurifySmokeTemplate, ANIM_TARGET, 4, 0, 18, 72, 1, 75
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_RevelationDance::
|
|
monbg ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 15, RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_RockMonBackAndForth, 5, ANIM_ATTACKER, 2, 0
|
|
createsprite gRevelationDanceYellowOrbsTemplate, ANIM_ATTACKER, 2, 0, -24, 8, 140
|
|
createsprite gRevelationDanceYellowFlowerTemplate, ANIM_ATTACKER, 2, 16, -24, 8, 100
|
|
createsprite gRevelationDanceYellowFlowerTemplate, ANIM_ATTACKER, 2, -16, -24, 8, 100
|
|
delay 15
|
|
createsprite gRevelationDanceYellowOrbsTemplate, ANIM_ATTACKER, 2, 0, -24, 8, 140
|
|
createsprite gRevelationDanceYellowFlowerTemplate, ANIM_ATTACKER, 2, 32, -24, 8, 100
|
|
createsprite gRevelationDanceYellowFlowerTemplate, ANIM_ATTACKER, 2, -32, -24, 8, 100
|
|
delay 15
|
|
createsprite gRevelationDanceYellowOrbsTemplate, ANIM_ATTACKER, 2, 0, -24, 8, 140
|
|
createsprite gRevelationDanceYellowFlowerTemplate, ANIM_ATTACKER, 2, 24, -24, 8, 100
|
|
createsprite gRevelationDanceYellowFlowerTemplate, ANIM_ATTACKER, 2, -24, -24, 8, 100
|
|
delay 30
|
|
createsprite gRevelationDanceYellowFlowerTemplate, ANIM_ATTACKER, 2, 16, -24, 0, 100
|
|
createsprite gRevelationDanceYellowFlowerTemplate, ANIM_ATTACKER, 2, -16, -24, 0, 100
|
|
delay 30
|
|
createvisualtask AnimTask_RockMonBackAndForth, 5, ANIM_ATTACKER, 2, 0
|
|
createsprite gRevelationDanceYellowFlowerTemplate, ANIM_ATTACKER, 2, 20, -16, 14, 80
|
|
createsprite gRevelationDanceYellowFlowerTemplate, ANIM_ATTACKER, 2, -20, -14, 16, 80
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_FLOWER @particles
|
|
unloadspritepal ANIM_TAG_FLOWER @particles
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
createsprite gRevelationDanceYellowAirWaveTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 15
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createsprite gRevelationDanceYellowImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 1, 2
|
|
createsprite gRevelationDanceYellowRingTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 0, 31, 8
|
|
createsprite gRevelationDanceYellowDispersalTemplate, ANIM_TARGET, 1, 0, 10, 0, 176, 40
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_ATTACKER
|
|
createsprite gRevelationDanceYellowDispersalTemplate, ANIM_TARGET, 1, 0, 10, -192, 240, 40
|
|
createsprite gRevelationDanceYellowDispersalTemplate, ANIM_TARGET, 1, 0, 10, 0, -160, 40
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_ATTACKER
|
|
createsprite gRevelationDanceYellowDispersalTemplate, ANIM_TARGET, 1, 0, 10, -192, -112, 40
|
|
createsprite gRevelationDanceYellowDispersalTemplate, ANIM_TARGET, 1, 0, 10, 160, 48, 40
|
|
createsprite gRevelationDanceYellowDispersalTemplate, ANIM_TARGET, 1, 0, 10, -224, -32, 40
|
|
createsprite gRevelationDanceYellowDispersalTemplate, ANIM_TARGET, 1, 0, 10, 112, -128, 40
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 15, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_CoreEnforcer::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
fadetobg BG_COSMIC
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, -1024, 1, -1
|
|
waitbgfadein
|
|
loopsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER 13 10
|
|
createsprite gCoreEnforcerCircleChargeTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
createsprite gCoreEnforcerBlueRingTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, 0, 1, 0
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, 0, 1, 1
|
|
delay 5
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, 0, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, 0, 1, 1
|
|
delay 5
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, 0, 1, 0
|
|
delay 0
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, 0, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
waitforvisualfinish
|
|
createsprite gCoreEnforcerCircleChargeTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, 0, 1, 1
|
|
delay 0
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, 0, 1, 1
|
|
delay 5
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, 0, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, 0, 1, 1
|
|
delay 5
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, 0, 1, 0
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, 0, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
waitforvisualfinish
|
|
createsprite gCoreEnforcerCircleChargeTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
createsprite gCoreEnforcerYellowRingTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, 0, 1, 0
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, 0, 1, 1
|
|
delay 5
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, 0, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, 0, 1, 1
|
|
delay 5
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, 0, 1, 0
|
|
delay 0
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, 0, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
waitforvisualfinish
|
|
createsprite gCoreEnforcerCircleChargeTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, 0, 1, 1
|
|
delay 0
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, 0, 1, 1
|
|
delay 5
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, 0, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, 0, 1, 1
|
|
delay 5
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, 0, 1, 0
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, 0, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
waitforvisualfinish
|
|
createsprite gCoreEnforcerCircleChargeTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
createsprite gCoreEnforcerGreenRingTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, 0, 1, 0
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, 0, 1, 1
|
|
delay 5
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, 0, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, 0, 1, 1
|
|
delay 5
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, 0, 1, 0
|
|
delay 0
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, 0, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
waitforvisualfinish
|
|
createsprite gCoreEnforcerCircleChargeTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, 0, 1, 1
|
|
delay 0
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, 0, 1, 1
|
|
delay 5
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, 0, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, 0, 1, 1
|
|
delay 5
|
|
createsprite gCoreEnforcerBlueSparkTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, 0, 1, 0
|
|
createsprite gCoreEnforcerGreenChargeTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, 0, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
delay 5
|
|
createsprite gCoreEnforcerCircleChargeTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_SPARK_2 @yellow color
|
|
unloadspritepal ANIM_TAG_SPARK_2 @yellow color
|
|
unloadspritegfx ANIM_TAG_LEAF @green color
|
|
unloadspritepal ANIM_TAG_LEAF @green color
|
|
unloadspritegfx ANIM_TAG_RAZOR_LEAF @another green color
|
|
unloadspritepal ANIM_TAG_RAZOR_LEAF @another green color
|
|
unloadspritegfx ANIM_TAG_WATER_ORB @blue color
|
|
unloadspritepal ANIM_TAG_WATER_ORB @blue color
|
|
unloadspritegfx ANIM_TAG_THIN_RING @rings
|
|
unloadspritepal ANIM_TAG_THIN_RING @rings
|
|
unloadspritegfx ANIM_TAG_SHOCK_3 @circle from thunderbolt
|
|
unloadspritepal ANIM_TAG_SHOCK_3 @circle from thunderbolt
|
|
clearmonbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_IMPACT, 0, 13, 13, RGB(31, 28, 1) @Yellow
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ORBS, 0, 10, 10, RGB(1, 8, 29) @Royal Blue
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SNORE_Z, 0, 10, 10, RGB(8, 20, 1) @Green
|
|
delay 16
|
|
monbg ANIM_TARGET
|
|
createvisualtask AnimTask_CreateSmallSolarBeamOrbs, 5
|
|
panse SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 2, 0, 65, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_DEF_PARTNER, 2, 0, 65, 1
|
|
createsprite gCoreEnforcerBeamTemplate, ANIM_TARGET, 3, 15, 0, 20, 0
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, -11, -30, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, -6, -30, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, -1, -30, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, 5, -30, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerBeamTemplate, ANIM_TARGET, 3, 15, 0, 20, 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, 10, -30, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, 15, -30, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, 20, -30, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, 15, -25, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerBeamTemplate, ANIM_TARGET, 3, 15, 0, 20, 2
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, 12, -22, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, 9, -19, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, 6, -16, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, 3, -13, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerBeamTemplate, ANIM_TARGET, 3, 15, 0, 20, 3
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, 0, -10, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, -4, -7, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, -7, -4, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, -10, -1, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerBeamTemplate, ANIM_TARGET, 3, 15, 0, 20, 4
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, -13, 3, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, -8, 3, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, -3, 3, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, 2, 3, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerBeamTemplate, ANIM_TARGET, 3, 15, 0, 20, 5
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, 7, 3, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, 12, 3, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, 17, 3, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerImpactTemplate, ANIM_TARGET, 3, 22, 3, 1, 3
|
|
delay 1
|
|
createsprite gCoreEnforcerBeamTemplate, ANIM_TARGET, 3, 15, 0, 20, 6
|
|
delay 7
|
|
createsprite gCoreEnforcerSnoreTemplate, ANIM_ATTACKER, 2, 0, 0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 30, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 2, 0, 30, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATK_PARTNER, 2, 0, 30, 1
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gCoreEnforcerExplosionTemplate, ANIM_ATTACKER, 3, 0, 0, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gCoreEnforcerExplosionTemplate, ANIM_ATTACKER, 3, 24, -24, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gCoreEnforcerExplosionTemplate, ANIM_ATTACKER, 3, -16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gCoreEnforcerExplosionTemplate, ANIM_ATTACKER, 3, -24, -12, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gCoreEnforcerExplosionTemplate, ANIM_ATTACKER, 3, 16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gCoreEnforcerExplosionTemplate, ANIM_ATTACKER, 3, -24, 24, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_TropKick::
|
|
monbg ANIM_DEF_PARTNER
|
|
createsprite gTropKickGreenFootTemplate, ANIM_ATTACKER, 2, -16, 8, 0, 0, 10, 1, 1, 1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 6, 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 10
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, 192, 176, 40
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, -192, 240, 40
|
|
createsprite gTropKickFlowerTemplate, ANIM_TARGET, 1, 0, 10, 192, -160, 40
|
|
createsprite gTropKickFlowerTemplate, ANIM_TARGET, 1, 0, 10, -192, -112, 40
|
|
createsprite gTropKickFlowerTemplate, ANIM_TARGET, 1, 0, 10, 160, 48, 40
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, -224, -32, 40
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, 112, -128, 40
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_Instruct::
|
|
setalpha 12, 8
|
|
createsprite gMetronomeFingerSpriteTemplate, ANIM_ATTACKER, 12, 0
|
|
delay 24
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER, 22, 3
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_HardwarePaletteFade, 2, 248, 3, 0, 10, 0
|
|
waitforvisualfinish
|
|
createsprite gSpotlightSpriteTemplate, ANIM_TARGET, 2, 0, -8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 8, RGB(25, 13, 31)
|
|
delay 4
|
|
monbg ANIM_TARGET
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB(27, 27, 0), 12, 1, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 41, 1
|
|
playsewithpan SE_M_BIND, SOUND_PAN_TARGET
|
|
delay 26
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB(27, 27, 0), 12, 1, 1
|
|
playsewithpan SE_M_BIND, SOUND_PAN_TARGET
|
|
delay 26
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB(27, 27, 0), 12, 1, 1
|
|
playsewithpan SE_M_BIND, SOUND_PAN_TARGET
|
|
delay 29
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 8, 0, RGB(25, 13, 31)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimGeneral_BeakBlastSetUp::
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_RED
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
waitforvisualfinish
|
|
end
|
|
gBattleAnimMove_BeakBlast::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 9, RGB_RED
|
|
waitforvisualfinish
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 2
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 1
|
|
delay 2
|
|
loopsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET 4 8
|
|
createvisualtask AnimTask_DrillPeckHitSplats, 5
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 18, 1
|
|
waitforvisualfinish
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 2
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 6
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 9, 0, RGB_RED
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_ClangingScales::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_foes ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB(2, 0, 8)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_METAL_SOUND_WAVES, 0, 10, 10, RGB(13, 1, 25)
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 2, 0, 8, 1
|
|
call ClangingScalesMetalSound
|
|
call ClangingScalesMetalSound
|
|
call ClangingScalesMetalSound
|
|
call ClangingScalesMetalSound
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 15, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 0, 3, 15, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
delay 0
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB(2, 0, 8)
|
|
waitforvisualfinish
|
|
end
|
|
ClangingScalesMetalSound:
|
|
panse SE_M_SCREECH, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
createsprite gClangingScalesPurpleMetalSoundTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 30, 0, ANIM_TARGET
|
|
createsprite gClangingScalesPurpleMetalSoundTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 30, 0, ANIM_DEF_PARTNER
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_DragonHammer::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ROUND_SHADOW, 0, 12, 12, RGB(31, 11, 31) @Pinkish purple
|
|
fadetobg BG_COSMIC
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, -500, 0, -1
|
|
waitbgfadein
|
|
setalpha 15, 0
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 26, 0, 0, 5
|
|
delay 6
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
createsprite gBounceBallLandSpriteTemplate, ANIM_TARGET, 3
|
|
delay 2
|
|
createvisualtask AnimTask_SquishTarget, 2
|
|
delay 5
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, 8, 8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, -8, -8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, 8, -8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, -8, 8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, 8, 8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, -8, -8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, 8, -8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, -8, 8, 1, 0
|
|
delay 51
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 5
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_BrutalSwing::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
fadetobg BG_DARK
|
|
waitbgfadeout
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 6, 1, 0
|
|
waitforvisualfinish
|
|
delay 11
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 26, 0, 0, 5
|
|
delay 6
|
|
createsprite gBrutalSwingBasicImpactTemplate, ANIM_TARGET, 3, -32, -16, 1, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 21, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 0, 3, 21, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATK_PARTNER, 0, 3, 21, 1
|
|
delay 4
|
|
createsprite gBrutalSwingRandomImpactTemplate, ANIM_TARGET, 3, 1, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gBrutalSwingRandomImpactTemplate, ANIM_TARGET, 3, 1, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gBrutalSwingBasicImpactTemplate, ANIM_TARGET, 3, 32, 20, 1, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitsound
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 6
|
|
waitforvisualfinish
|
|
restorebg
|
|
blendoff
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_AuroraVeil::
|
|
fadetobg BG_AURORA
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 1024, 0, 0, -1
|
|
waitbgfadein
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 8, 8
|
|
playsewithpan SE_M_MILK_DRINK, SOUND_PAN_ATTACKER
|
|
createsprite gAuroraVeilRingTemplate, ANIM_ATTACKER, 2
|
|
delay 4
|
|
createsprite gAuroraVeilRingTemplate, ANIM_ATTACKER, 2
|
|
delay 4
|
|
createsprite gAuroraVeilRingTemplate, ANIM_ATTACKER, 2
|
|
waitforvisualfinish
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATK_SIDE, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=10, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimGeneral_ShellTrapSetUp::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
call FireSpreadEffect
|
|
delay 4
|
|
playsewithpan SE_M_FIRE_PUNCH, SOUND_PAN_TARGET
|
|
delay 21
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=10, relative_to=ANIM_TARGET, animation=2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=10, y=0, relative_to=ANIM_TARGET, animation=2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=10, y=10, relative_to=ANIM_TARGET, animation=2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
gBattleAnimMove_ShellTrap::
|
|
ShellTrapUnleash:
|
|
monbg ANIM_TARGET
|
|
waitplaysewithpan SE_M_REFLECT, SOUND_PAN_ATTACKER, 16
|
|
delay 6
|
|
createsprite gShellTrapYellowImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapYellowImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapYellowImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapYellowImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapYellowImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapYellowImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapYellowImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapYellowImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapYellowImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
createsprite gShellTrapRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 2
|
|
delay 5
|
|
waitforvisualfinish
|
|
call ShellTrapFireLaunch1
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0, 56, 4, 4, 1
|
|
delay 3
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, -10, 0, -10, 56, 4, 4, 1
|
|
delay 3
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, 10, 0, 10, 56, -4, 3, 1
|
|
delay 3
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, -20, 0, -20, 56, -4, 5, 1
|
|
delay 3
|
|
call ShellTrapFireLaunch2
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 3
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 3
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 3
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 3
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 3
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 3
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 3
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 3
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 3
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 3
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 3
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 3
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
ShellTrapFireLaunch1:
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0, 56, 4, 4, 1
|
|
delay 3
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, -10, 0, -10, 56, 4, 4, 1
|
|
delay 3
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, 10, 0, 10, 56, -4, 3, 1
|
|
delay 3
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, -20, 0, -20, 56, -4, 5, 1
|
|
delay 3
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, 15, 0, 15, 56, 4, 4, 1
|
|
delay 3
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, -20, 0, -20, 56, 4, 4, 1
|
|
delay 3
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, 20, 0, 20, 56, 4, 4, 1
|
|
delay 3
|
|
return
|
|
ShellTrapFireLaunch2:
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0, 56, 4, 4, 1
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, -10, 0, -10, 56, 4, 4, 1
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, 10, 0, 10, 56, -4, 3, 1
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, -20, 0, -20, 56, -4, 5, 1
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, 15, 0, 15, 56, 4, 4, 1
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, -20, 0, -20, 56, 4, 4, 1
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
createsprite gShellTrapFireHitsTemplate, ANIM_ATTACKER, 40, 0, 20, 0, 20, 56, 4, 4, 1
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
return
|
|
|
|
gBattleAnimMove_FleurCannon::
|
|
setalpha 12, 8
|
|
monbg ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 15, RGB(0, 2, 29)
|
|
waitforvisualfinish
|
|
panse SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 4, 50, 1
|
|
flash_anim_tag_with_color tag=ANIM_TAG_ORBS, delay=1, num_blends=12, color1=RGB_RED, blend_y1=16, color2=0, blend_y2=0
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 50, 1
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
call FleurCannonBeam
|
|
delay 32
|
|
createsprite gFleurCannonDischargeTemplate, ANIM_ATTACKER, 2, 1, 16, 16
|
|
delay 2
|
|
createsprite gFleurCannonDischargeTemplate, ANIM_ATTACKER, 2, 1, -16, -16
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 11, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 0, RGB(0, 2, 29)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
FleurCannonBeam:
|
|
createsprite gFleurCannonOrbTemplate, ANIM_TARGET, 2
|
|
createsprite gFleurCannonOrbTemplate, ANIM_TARGET, 2
|
|
delay 1
|
|
createsprite gFleurCannonOrbTemplate, ANIM_TARGET, 2
|
|
createsprite gFleurCannonOrbTemplate, ANIM_TARGET, 2
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_PsychicFangs::
|
|
monbg ANIM_TARGET
|
|
call SetPsychicBackground
|
|
setalpha 12, 8
|
|
choosetwoturnanim PsychicFangsNormal, PsychicFangsShatteredWall
|
|
PsychicFangsNormal:
|
|
call PsychicFangsCommon
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 8, 4, 2
|
|
PsychicFangsEnd:
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
PsychicFangsShatteredWall:
|
|
createsprite gBrickBreakWallSpriteTemplate, ANIM_ATTACKER, 3, ANIM_TARGET, 0, 0, 33, 10
|
|
call PsychicFangsCommon
|
|
call BreakScreens
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 8, 4, 2
|
|
delay 16
|
|
goto PsychicFangsEnd
|
|
|
|
PsychicFangsCommon:
|
|
call CreateCrunch1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-8, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 5, 2
|
|
delay 16
|
|
call CreateCrunch2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=8, y=0, relative_to=ANIM_TARGET, animation=1
|
|
return
|
|
|
|
gBattleAnimMove_StompingTantrum::
|
|
monbg ANIM_TARGET
|
|
createvisualtask AnimTask_Splash, 2, ANIM_ATTACKER, 3
|
|
delay 5
|
|
createvisualtask AnimTask_HorizontalShake, 5, (MAX_BATTLERS_COUNT + 1), 10, 5
|
|
createvisualtask AnimTask_HorizontalShake, 5, MAX_BATTLERS_COUNT, 10, 5
|
|
createsprite gStompingTantrumRockTemplate, ANIM_ATTACKER, 2, 0, 0
|
|
createsprite gStompingTantrumRockTemplate, ANIM_ATTACKER, 2, 0, 1
|
|
createsprite gStompingTantrumRockTemplate, ANIM_ATTACKER, 2, 0, 2
|
|
createsprite gStompingTantrumRockTemplate, ANIM_ATTACKER, 2, 0, 3
|
|
call StompingTantrumImpact
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 37
|
|
createsprite gStompingTantrumRockTemplate, ANIM_ATTACKER, 2, 0, 0
|
|
createsprite gStompingTantrumRockTemplate, ANIM_ATTACKER, 2, 0, 1
|
|
createsprite gStompingTantrumRockTemplate, ANIM_ATTACKER, 2, 0, 2
|
|
createsprite gStompingTantrumRockTemplate, ANIM_ATTACKER, 2, 0, 3
|
|
call StompingTantrumImpact
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 37
|
|
createsprite gStompingTantrumRockTemplate, ANIM_ATTACKER, 2, 0, 0
|
|
createsprite gStompingTantrumRockTemplate, ANIM_ATTACKER, 2, 0, 1
|
|
createsprite gStompingTantrumRockTemplate, ANIM_ATTACKER, 2, 0, 2
|
|
createsprite gStompingTantrumRockTemplate, ANIM_ATTACKER, 2, 0, 3
|
|
call StompingTantrumImpact
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
StompingTantrumImpact:
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=1
|
|
return
|
|
|
|
gBattleAnimMove_ShadowBone::
|
|
fadetobg BG_NIGHTMARE
|
|
waitbgfadein
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_BONEMERANG, SOUND_PAN_TARGET
|
|
createsprite gSpinningBoneSpriteTemplate, ANIM_ATTACKER, 2, -42, -25, 0, 0, 15
|
|
delay 12
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 5, 1
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_ATTACKER | F_PAL_TARGET, delay=5, num_blends=1, color1=0, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_NightmareClone, 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 40, 1
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
clearmonbg 3
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Accelerock::
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 24, 6, 1, 5
|
|
createvisualtask AnimTask_TraceMonBlended, 2, 0, 4, 7, 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 1, 3, 0, 5, 1
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 2, 5, 0, -20, 24, 14, 1
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 2, 0, 5, 20, -24, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 2, -5, 0, -20, -24, 14, 2
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 1, 3, 0, 5, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Liquidation::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
call RisingWaterHitEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_PrismaticLaser::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 14, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 16, RGB_BLACK
|
|
playsewithpan SE_ELEVATOR, SOUND_PAN_ATTACKER
|
|
createsprite gPrismaticLaserChargeTemplate, ANIM_ATTACKER, 2, 0
|
|
call PrismaticLaserInwardSpikes
|
|
playsewithpan SE_ELEVATOR, SOUND_PAN_ATTACKER
|
|
call PrismaticLaserInwardSpikes
|
|
playsewithpan SE_ELEVATOR, SOUND_PAN_ATTACKER
|
|
call PrismaticLaserInwardSpikes
|
|
playsewithpan SE_ELEVATOR, SOUND_PAN_ATTACKER
|
|
call PrismaticLaserInwardSpikes
|
|
playsewithpan SE_ELEVATOR, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
call PrismaticLaserOutwardSpikes
|
|
delay 5
|
|
call PrismaticLaserOutwardSpikes2
|
|
delay 5
|
|
call PrismaticLaserOutwardSpikes
|
|
delay 5
|
|
call PrismaticLaserOutwardSpikes2
|
|
delay 5
|
|
call PrismaticLaserOutwardSpikes
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_TEAL_ALERT
|
|
unloadspritepal ANIM_TAG_TEAL_ALERT
|
|
unloadspritegfx ANIM_TAG_GREEN_SPIKE
|
|
unloadspritepal ANIM_TAG_GREEN_SPIKE
|
|
unloadspritegfx ANIM_TAG_ICE_CHUNK
|
|
unloadspritepal ANIM_TAG_ICE_CHUNK
|
|
unloadspritegfx ANIM_TAG_CIRCLE_OF_LIGHT
|
|
unloadspritepal ANIM_TAG_CIRCLE_OF_LIGHT
|
|
delay 30
|
|
createvisualtask AnimTask_HorizontalShake, 5, (MAX_BATTLERS_COUNT + 1), 10, 50
|
|
createvisualtask AnimTask_HorizontalShake, 5, MAX_BATTLERS_COUNT, 10, 50
|
|
playsewithpan SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER
|
|
call PrismaticLaserRain
|
|
call PrismaticLaserRain
|
|
call PrismaticLaserRain
|
|
call PrismaticLaserRain
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
end
|
|
PrismaticLaserOutwardSpikes:
|
|
createsprite gPrismaticLaserRedOutwardTemplate, ANIM_TARGET, 2, 0, 1, 0, -112, 16 @up
|
|
createsprite gPrismaticLaserGreenOutwardTemplate, ANIM_TARGET, 2, 0, 1, 95, -99, 16 @upper right
|
|
createsprite gPrismaticLaserYellowOutwardTemplate, ANIM_TARGET, 2, 0, 1, 115, 0, 16 @right
|
|
createsprite gPrismaticLaserVioletOutwardTemplate, ANIM_TARGET, 2, 0, 1, 79, 55, 16 @lower right
|
|
createsprite gPrismaticLaserRedOutwardTemplate, ANIM_TARGET, 2, 0, 1, 0, 83, 16 @down
|
|
createsprite gPrismaticLaserGreenOutwardTemplate, ANIM_TARGET, 2, 0, 1, -80, 67, 16 @lower left
|
|
createsprite gPrismaticLaserYellowOutwardTemplate, ANIM_TARGET, 2, 0, 1, -160, 0, 16 @left
|
|
createsprite gPrismaticLaserVioletOutwardTemplate, ANIM_TARGET, 2, 0, 1, -86, -108, 16 @upper left
|
|
playsewithpan SE_M_MIST, SOUND_PAN_ATTACKER
|
|
return
|
|
PrismaticLaserOutwardSpikes2:
|
|
createsprite gPrismaticLaserVioletOutwardTemplate, ANIM_TARGET, 2, 0, 1, -32, 67, 16 @between lower left and down
|
|
createsprite gPrismaticLaserYellowOutwardTemplate, ANIM_TARGET, 2, 0, 1, 31, 55, 16 @between lower right and down
|
|
createsprite gPrismaticLaserYellowOutwardTemplate, ANIM_TARGET, 2, 0, 1, -38, -108, 16 @between up and upper left
|
|
createsprite gPrismaticLaserRedOutwardTemplate, ANIM_TARGET, 2, 0, 1, -160, 67, 16 @between left and lower left
|
|
createsprite gPrismaticLaserGreenOutwardTemplate, ANIM_TARGET, 2, 0, 1, -214, -86, 16 @between left and upper left
|
|
createsprite gPrismaticLaserVioletOutwardTemplate, ANIM_TARGET, 2, 0, 1, 45, -99, 16 @between up and upper right
|
|
createsprite gPrismaticLaserRedOutwardTemplate, ANIM_TARGET, 2, 0, 1, 223, -99, 16 @between right and upper right
|
|
createsprite gPrismaticLaserGreenOutwardTemplate, ANIM_TARGET, 2, 0, 1, 159, 55, 16 @between right and lower right
|
|
playsewithpan SE_M_MIST, SOUND_PAN_ATTACKER
|
|
return
|
|
PrismaticLaserInwardSpikes:
|
|
createsprite gPrismaticLaserRedInwardTemplate, ANIM_TARGET, 2, 0, 0, 0, -112, 16 @up
|
|
createsprite gPrismaticLaserVioletInwardTemplate, ANIM_TARGET, 2, 0, 0, -32, 67, 16 @between lower left and down
|
|
delay 1
|
|
createsprite gPrismaticLaserGreenInwardTemplate, ANIM_TARGET, 2, 0, 0, 95, -99, 16 @upper right
|
|
createsprite gPrismaticLaserYellowInwardTemplate, ANIM_TARGET, 2, 0, 0, 31, 55, 16 @between lower right and down
|
|
createsprite gPrismaticLaserYellowInwardTemplate, ANIM_TARGET, 2, 0, 0, -38, -108, 16 @between up and upper left
|
|
delay 1
|
|
createsprite gPrismaticLaserYellowInwardTemplate, ANIM_TARGET, 2, 0, 0, 115, 0, 16 @right
|
|
createsprite gPrismaticLaserRedInwardTemplate, ANIM_TARGET, 2, 0, 0, -160, 67, 16 @between left and lower left
|
|
delay 1
|
|
createsprite gPrismaticLaserVioletInwardTemplate, ANIM_TARGET, 2, 0, 0, 79, 55, 16 @lower right
|
|
createsprite gPrismaticLaserGreenInwardTemplate, ANIM_TARGET, 2, 0, 0, -214, -86, 16 @between left and upper left
|
|
delay 1
|
|
createsprite gPrismaticLaserRedInwardTemplate, ANIM_TARGET, 2, 0, 0, 0, 83, 16 @down
|
|
createsprite gPrismaticLaserVioletInwardTemplate, ANIM_TARGET, 2, 0, 0, 45, -99, 16 @between up and upper right
|
|
delay 1
|
|
createsprite gPrismaticLaserGreenInwardTemplate, ANIM_TARGET, 2, 0, 0, -80, 67, 16 @lower left
|
|
createsprite gPrismaticLaserRedInwardTemplate, ANIM_TARGET, 2, 0, 0, 223, -99, 16 @between right and upper right
|
|
delay 1
|
|
createsprite gPrismaticLaserYellowInwardTemplate, ANIM_TARGET, 2, 0, 0, -160, 0, 16 @left
|
|
createsprite gPrismaticLaserGreenInwardTemplate, ANIM_TARGET, 2, 0, 0, 159, 55, 16 @between right and lower right
|
|
delay 1
|
|
createsprite gPrismaticLaserVioletInwardTemplate, ANIM_TARGET, 2, 0, 0, -86, -108, 16 @upper left
|
|
delay 1
|
|
return
|
|
PrismaticLaserRain:
|
|
createsprite gPrismaticLaserYellowRainTemplate, ANIM_TARGET, 2, 35, 60, 4, ANIM_TARGET
|
|
delay 2
|
|
createsprite gPrismaticLaserGreenRainTemplate, ANIM_TARGET, 2, -30, 68, 4, ANIM_TARGET
|
|
delay 2
|
|
createsprite gPrismaticLaserRedRainTemplate, ANIM_TARGET, 2, 27, 55, 4, ANIM_TARGET
|
|
delay 2
|
|
createsprite gPrismaticLaserVioletRainTemplate, ANIM_TARGET, 2, -20, 50, 4, ANIM_TARGET
|
|
delay 2
|
|
createsprite gPrismaticLaserYellowRainTemplate, ANIM_TARGET, 2, 33, 58, 4, ANIM_TARGET
|
|
delay 2
|
|
createsprite gPrismaticLaserGreenRainTemplate, ANIM_TARGET, 2, -12, 58, 4, ANIM_TARGET
|
|
delay 2
|
|
createsprite gPrismaticLaserRedRainTemplate, ANIM_TARGET, 2, 19, 60, 4, ANIM_TARGET
|
|
delay 2
|
|
createsprite gPrismaticLaserVioletRainTemplate, ANIM_TARGET, 2, -38, 58, 4, ANIM_TARGET
|
|
delay 2
|
|
createsprite gPrismaticLaserYellowRainTemplate, ANIM_TARGET, 2, 5, 60, 4, ANIM_TARGET
|
|
delay 2
|
|
createsprite gPrismaticLaserGreenRainTemplate, ANIM_TARGET, 2, -23, 40, 4, ANIM_TARGET
|
|
return
|
|
|
|
gBattleAnimMove_SpectralThief::
|
|
choosetwoturnanim SpectralThiefUnleash SpectralThiefSteal
|
|
SpectralThiefUnleash:
|
|
fadetobg BG_GHOST
|
|
waitbgfadein
|
|
delay 5
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gSpectralThiefBlackSmokeTemplate, ANIM_TARGET, 2, 8, 8, 0, 0
|
|
invisible ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gSpectralThiefBlackSmokeTemplate, ANIM_TARGET, 2, -8, -8, 0, 0
|
|
delay 2
|
|
createsprite gSpectralThiefBlackSmokeTemplate, ANIM_TARGET, 2, 8, -8, 0, 0
|
|
delay 2
|
|
createsprite gSpectralThiefBlackSmokeTemplate, ANIM_TARGET, 2, -8, 8, 0, 0
|
|
delay 2
|
|
createsprite gSpectralThiefBlackSmokeTemplate, ANIM_TARGET, 2, 8, 8, 0, 0
|
|
delay 2
|
|
createsprite gSpectralThiefBlackSmokeTemplate, ANIM_TARGET, 2, -8, -8, 0, 0
|
|
delay 2
|
|
createsprite gSpectralThiefBlackSmokeTemplate, ANIM_TARGET, 2, 8, -8, 0, 0
|
|
delay 2
|
|
createsprite gSpectralThiefBlackSmokeTemplate, ANIM_TARGET, 2, -8, 8, 0, 0
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_DestinyBondWhiteShadow, 5, 0, 48
|
|
delay 48
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 2, 0, 24, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 2, 6, 1, 0, 12, RGB(29, 29, 29)
|
|
delay 24
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 2, 6, 1, 12, 0, RGB(29, 29, 29)
|
|
waitforvisualfinish
|
|
setalpha 0, 16
|
|
delay 1
|
|
monbg_static ANIM_TARGET
|
|
createvisualtask AnimTask_MoveTargetMementoShadow, 5
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg_static ANIM_TARGET
|
|
delay 1
|
|
blendoff
|
|
delay 1
|
|
setalpha 12, 8
|
|
monbg ANIM_TARGET
|
|
delay 1
|
|
createsprite gSpectralThiefThiefImpactTemplate, ANIM_TARGET, 2, -10, -10, 0
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 4
|
|
createsprite gSpectralThiefThiefImpactTemplate, ANIM_TARGET, 2, 10, 20, 0
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 4
|
|
createsprite gSpectralThiefThiefImpactTemplate, ANIM_TARGET, 2, -5, 10, 0
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 4
|
|
createsprite gSpectralThiefThiefImpactTemplate, ANIM_TARGET, 2, 17, -12, 0
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 4
|
|
createsprite gSpectralThiefThiefImpactTemplate, ANIM_TARGET, 2, -15, 15, 0
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 4
|
|
createsprite gSpectralThiefThiefImpactTemplate, ANIM_TARGET, 2, 0, 0, 0
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 4
|
|
createsprite gSpectralThiefThiefImpactTemplate, ANIM_TARGET, 2, 20, 2, 0
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
delay 2
|
|
restorebg
|
|
waitbgfadein
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
SpectralThiefSteal:
|
|
setalpha 11, 5
|
|
splitbgprio_all
|
|
panse SE_M_MINIMIZE, SOUND_PAN_TARGET, SOUND_PAN_ATTACKER, 253, 0
|
|
delay 15
|
|
createsprite gSpectralThiefBlackOrbsTemplate, ANIM_TARGET, 2, -12, 24
|
|
delay 11
|
|
setarg 7, -1
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call SpectralThiefBuffUp
|
|
delay 8
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call SpectralThiefBuffUp
|
|
delay 8
|
|
call SpectralThiefBuffUp
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
SpectralThiefBuffUp:
|
|
createsprite gSpectralThiefBlackBuffTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 4
|
|
createsprite gSpectralThiefBlackBuffTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
delay 4
|
|
createsprite gSpectralThiefBlackBuffTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
delay 4
|
|
createsprite gSpectralThiefBlackBuffTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 4
|
|
createsprite gSpectralThiefBlackBuffTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
|
|
gBattleAnimMove_SunsteelStrike::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
createsprite gSunsteelStrikeBlackFlyBallTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_ATK_PARTNER, 1, 20
|
|
delay 24
|
|
createsprite gSunsteelStrikeRocksTemplate, ANIM_ATTACKER, 2, 0, 0 @The rock particles mess up the fly animation
|
|
createsprite gSunsteelStrikeRocksTemplate, ANIM_ATTACKER, 2, 0, 1
|
|
createsprite gSunsteelStrikeRocksTemplate, ANIM_ATTACKER, 2, 0, 2
|
|
createsprite gSunsteelStrikeRocksTemplate, ANIM_ATTACKER, 2, 0, 3
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_ROUND_SHADOW @fly
|
|
unloadspritepal ANIM_TAG_ROUND_SHADOW @fly
|
|
unloadspritegfx ANIM_TAG_AIR_WAVE_2 @black color
|
|
unloadspritepal ANIM_TAG_AIR_WAVE_2 @black color
|
|
playsewithpan SE_ORB, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ATTACKER), 3, 0, 15, 0
|
|
waitforvisualfinish
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
stopsound
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createsprite gSunsteelStrikeSuperpowerTemplate, ANIM_TARGET, 2, 20
|
|
delay 20
|
|
createsprite gSunsteelStrikeRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 1, 0
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 8, 1
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_METEOR @superpower
|
|
unloadspritepal ANIM_TAG_METEOR @superpower
|
|
unloadspritegfx ANIM_TAG_GOLD_RING @beam
|
|
unloadspritepal ANIM_TAG_GOLD_RING @beam
|
|
unloadspritegfx ANIM_TAG_SMALL_RED_EYE @red color
|
|
unloadspritepal ANIM_TAG_SMALL_RED_EYE @red color
|
|
unloadspritegfx ANIM_TAG_IMPACT @hit
|
|
unloadspritepal ANIM_TAG_IMPACT @hit
|
|
call FireSpreadEffect
|
|
delay 4
|
|
playsewithpan SE_M_FIRE_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ATTACKER), 3, 15, 0, 0
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
SunsteelStrikeBeam:
|
|
createsprite gSunsteelStrikeYellowBeamTemplate, ANIM_TARGET, 2, 20
|
|
delay 1
|
|
createsprite gSunsteelStrikeRedBeamTemplate, ANIM_TARGET, 2, 20
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_MoongeistBeam::
|
|
setalpha 8, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 16, RGB_BLACK
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ELECTRIC_ORBS, 0, 15, 15, RGB_WHITE @White
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_CIRCLE_OF_LIGHT, 0, 15, 15, RGB(28, 31, 31) @Light Blue
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_TARGET
|
|
createsprite gMoonSpriteTemplate, ANIM_TARGET, 0, 32, 21
|
|
createvisualtask AnimTask_AlphaFadeIn, 3, 0, 16, 16, 0, 1
|
|
call MoongeistBeamCharge
|
|
call MoongeistBeamCharge
|
|
call MoongeistBeamCharge
|
|
call MoongeistBeamCharge
|
|
createsprite gGrowingChargeOrbSpriteTemplate, ANIM_ATTACKER, 2, 0 @;Charge circle
|
|
call MoongeistBeamCharge
|
|
delay 32
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_HYPER_BEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 1, 15, 0, 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 4, 50, 1
|
|
flash_anim_tag_with_color tag=ANIM_TAG_ORBS, delay=1, num_blends=12, color1=RGB_RED, blend_y1=16, color2=0, blend_y2=0
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 50, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 11, RGB(25, 25, 25)
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
call MoongeistBeamOrbs
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 11, 0, RGB(25, 25, 25)
|
|
delay 26
|
|
stopsound
|
|
createvisualtask AnimTask_MoonlightEndFade, 2
|
|
end
|
|
MoongeistBeamCharge:
|
|
createsprite gMoongeistBeamChargeTemplate, ANIM_ATTACKER, 0, 40, 0, 0, 0, 30, 10 @From right
|
|
createsprite gMoongeistBeamChargeTemplate, ANIM_ATTACKER, 0, -40, 0, 0, 0, 30, -10 @From left
|
|
createsprite gMoongeistBeamChargeTemplate, ANIM_ATTACKER, 0, -25, -40, 0, 0, 30, -20 @From top left
|
|
createsprite gMoongeistBeamChargeTemplate, ANIM_ATTACKER, 0, 25, -40, 0, 0, 30, 20 @From top right
|
|
createsprite gMoongeistBeamChargeTemplate, ANIM_ATTACKER, 0, 25, 20, 0, 0, 30, 20 @From bottom right
|
|
createsprite gMoongeistBeamChargeTemplate, ANIM_ATTACKER, 0, -25, 40, 0, 0, 30, -20 @From bottom left
|
|
delay 5
|
|
return
|
|
MoongeistBeamOrbs:
|
|
createsprite gMoongeistBeamBlueOrbsTemplate, ANIM_TARGET, 2
|
|
createsprite gMoongeistBeamPurpleOrbsTemplate, ANIM_TARGET, 2
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_TearfulLook::
|
|
monbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 5, RGB(0, 15, 31)
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_CONFUSE_RAY, SOUND_PAN_TARGET
|
|
createsprite gOpeningEyeSpriteTemplate, ANIM_ATTACKER, 5, 0, 0, 1, 0
|
|
delay 53
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER, 12, 2
|
|
delay 8
|
|
create_tear_drop_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, type=0
|
|
create_tear_drop_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, type=1
|
|
create_tear_drop_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, type=2
|
|
create_tear_drop_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, type=3
|
|
delay 8
|
|
create_tear_drop_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, type=0
|
|
create_tear_drop_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, type=1
|
|
create_tear_drop_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, type=2
|
|
create_tear_drop_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, type=3
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 5, 0, RGB(0, 15, 31)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_ZingZap::
|
|
monbg ANIM_TARGET
|
|
call ZingZapSparks1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 4, 0, 6, 1
|
|
delay 10
|
|
call ZingZapSparks2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 4, 0, 6, 1
|
|
delay 10
|
|
call ZingZapSparks1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 4, 0, 6, 1
|
|
delay 10
|
|
call ZingZapSparks2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 4, 0, 6, 1
|
|
delay 10
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 24, 6, 1, 5
|
|
delay 4
|
|
call ZingZapSparks1
|
|
invisible ANIM_ATTACKER
|
|
createsprite gZingZapYellowBallTemplate, ANIM_TARGET, 2, 0, 0, 15
|
|
delay 10
|
|
call ZingZapSparks2
|
|
delay 5
|
|
stopsound
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gZingZapRingTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 0, 31, 8
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 6, 1
|
|
call ElectricityEffect
|
|
visible ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
ZingZapSparks1:
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
return
|
|
ZingZapSparks2:
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
return
|
|
|
|
gBattleAnimMove_NaturesMadness::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 14, 8
|
|
delay 1
|
|
loopsewithpan SE_M_HEAL_BELL, SOUND_PAN_ATTACKER, 16, 3
|
|
createsprite gNaturesMadnessPinkStarsTemplate, ANIM_ATTACKER, 2, 10, 10, 25, 0
|
|
createsprite gNaturesMadnessCrystalsTemplate, ANIM_ATTACKER, 2, 10, 10, 25, 0
|
|
delay 4
|
|
createsprite gNaturesMadnessPinkRingTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
|
|
createsprite gNaturesMadnessPinkStarsTemplate, ANIM_ATTACKER, 2, -15, 0, 25, 0
|
|
createsprite gNaturesMadnessCrystalsTemplate, ANIM_ATTACKER, 2, -15, 0, 25, 0
|
|
delay 4
|
|
createsprite gNaturesMadnessPinkStarsTemplate, ANIM_ATTACKER, 2, 20, 10, 25, 0
|
|
createsprite gNaturesMadnessCrystalsTemplate, ANIM_ATTACKER, 2, 20, 10, 25, 0
|
|
delay 4
|
|
createsprite gNaturesMadnessPinkRingTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
|
|
createsprite gNaturesMadnessPinkStarsTemplate, ANIM_ATTACKER, 2, 0, -10, 25, 0
|
|
createsprite gNaturesMadnessCrystalsTemplate, ANIM_ATTACKER, 2, 0, -10, 25, 0
|
|
delay 4
|
|
createsprite gNaturesMadnessPinkStarsTemplate, ANIM_ATTACKER, 2, -10, 15, 25, 0
|
|
createsprite gNaturesMadnessCrystalsTemplate, ANIM_ATTACKER, 2, -10, 15, 25, 0
|
|
delay 4
|
|
createsprite gNaturesMadnessPinkRingTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
|
|
createsprite gNaturesMadnessPinkStarsTemplate, ANIM_ATTACKER, 2, 25, 20, 25, 0
|
|
createsprite gNaturesMadnessCrystalsTemplate, ANIM_ATTACKER, 2, 25, 20, 25, 0
|
|
delay 4
|
|
createsprite gNaturesMadnessPinkStarsTemplate, ANIM_ATTACKER, 2, -20, 20, 25, 0
|
|
createsprite gNaturesMadnessCrystalsTemplate, ANIM_ATTACKER, 2, -20, 20, 25, 0
|
|
delay 4
|
|
createsprite gNaturesMadnessPinkRingTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
|
|
createsprite gNaturesMadnessPinkStarsTemplate, ANIM_ATTACKER, 2, 12, 0, 25, 0
|
|
createsprite gNaturesMadnessCrystalsTemplate, ANIM_ATTACKER, 2, 12, 0, 25, 0
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 1
|
|
monbg ANIM_TARGET
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_SPARKLE_2
|
|
unloadspritepal ANIM_TAG_SPARKLE_2
|
|
createsprite gNaturesMadnessGrayRingTemplate, ANIM_ATTACKER, 40, 0, 0, 1, 0
|
|
playsewithpan SE_M_HEAL_BELL, SOUND_PAN_ATTACKER
|
|
delay 14
|
|
createsprite gNaturesMadnessGrayRingTemplate, ANIM_ATTACKER, 40, 0, 0, 1, 0
|
|
playsewithpan SE_M_HEAL_BELL, SOUND_PAN_ATTACKER
|
|
delay 14
|
|
createsprite gNaturesMadnessGrayRingTemplate, ANIM_ATTACKER, 40, 0, 0, 1, 0
|
|
playsewithpan SE_M_HEAL_BELL, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_ECLIPSING_ORB
|
|
unloadspritepal ANIM_TAG_ECLIPSING_ORB
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gNaturesMadnessPinkRingTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 0, 31, 8
|
|
createsprite gNaturesMadnessPinkStarsTemplate, ANIM_ATTACKER, 2, 10, 10, 25, 1
|
|
createsprite gNaturesMadnessPinkStarsTemplate, ANIM_ATTACKER, 2, -15, 0, 25, 1
|
|
createsprite gNaturesMadnessPinkStarsTemplate, ANIM_ATTACKER, 2, 20, 10, 25, 1
|
|
createsprite gNaturesMadnessPinkStarsTemplate, ANIM_ATTACKER, 2, 0, -10, 25, 1
|
|
createsprite gNaturesMadnessPinkStarsTemplate, ANIM_ATTACKER, 2, -10, 15, 25, 1
|
|
createsprite gNaturesMadnessPinkStarsTemplate, ANIM_ATTACKER, 2, 25, 20, 25, 1
|
|
createsprite gNaturesMadnessPinkStarsTemplate, ANIM_ATTACKER, 2, -20, 20, 25, 1
|
|
createsprite gNaturesMadnessPinkStarsTemplate, ANIM_ATTACKER, 2, 12, 0, 25, 1
|
|
createsprite gNaturesMadnessCrystalsTemplate, ANIM_ATTACKER, 2, 10, 10, 25, 1
|
|
createsprite gNaturesMadnessCrystalsTemplate, ANIM_ATTACKER, 2, -15, 0, 25, 1
|
|
createsprite gNaturesMadnessCrystalsTemplate, ANIM_ATTACKER, 2, 20, 10, 25, 1
|
|
createsprite gNaturesMadnessCrystalsTemplate, ANIM_ATTACKER, 2, 0, -10, 25, 1
|
|
createsprite gNaturesMadnessCrystalsTemplate, ANIM_ATTACKER, 2, -10, 15, 25, 1
|
|
createsprite gNaturesMadnessCrystalsTemplate, ANIM_ATTACKER, 2, 25, 20, 25, 1
|
|
createsprite gNaturesMadnessCrystalsTemplate, ANIM_ATTACKER, 2, -20, 20, 25, 1
|
|
createsprite gNaturesMadnessCrystalsTemplate, ANIM_ATTACKER, 2, 12, 0, 25, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_MultiAttack::
|
|
monbg ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call MultiAttackBuff
|
|
delay 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_WHITE
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call MultiAttackBuff
|
|
delay 8
|
|
call MultiAttackBuff
|
|
waitforvisualfinish
|
|
delay 15
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createsprite gCuttingSliceSpriteTemplate, ANIM_ATTACKER, 2, 40, -32, 0
|
|
createsprite gCuttingSliceSpriteTemplate, ANIM_ATTACKER, 2, 40, -48, 0
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 15, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
MultiAttackBuff:
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
|
|
gBattleAnimMove_MindBlown::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_FALL, SOUND_PAN_TARGET
|
|
createsprite gMindBlownHeadTemplate, ANIM_TARGET, 2, 0, 0, 37
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 15, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 2, 0, 15, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATK_PARTNER, 2, 0, 15, 1
|
|
delay 1
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gMindBlownBlueImpactTemplate, ANIM_TARGET, 3, 1, 0
|
|
createsprite gMindBlownPinkImpactTemplate, ANIM_TARGET, 3, 1, 0
|
|
call MindBlownBlueOrbs
|
|
delay 1
|
|
call MindBlownPinkOrbs
|
|
delay 1
|
|
call MindBlownBlueOrbs
|
|
delay 1
|
|
call MindBlownPinkOrbs
|
|
delay 1
|
|
call MindBlownBlueOrbs
|
|
delay 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
MindBlownBlueOrbs:
|
|
createsprite gMindBlownBlueOrbsTemplate, ANIM_TARGET, 2, 1, 1, 0, -112, 8 @up
|
|
createsprite gMindBlownBlueOrbsTemplate, ANIM_TARGET, 2, 1, 1, 95, -99, 8 @upper right
|
|
createsprite gMindBlownBlueOrbsTemplate, ANIM_TARGET, 2, 1, 1, 115, 0, 8 @right
|
|
createsprite gMindBlownBlueOrbsTemplate, ANIM_TARGET, 2, 1, 1, 79, 55, 8 @lower right
|
|
createsprite gMindBlownBlueOrbsTemplate, ANIM_TARGET, 2, 1, 1, 0, 83, 8 @down
|
|
createsprite gMindBlownBlueOrbsTemplate, ANIM_TARGET, 2, 1, 1, -80, 67, 8 @lower left
|
|
createsprite gMindBlownBlueOrbsTemplate, ANIM_TARGET, 2, 1, 1, -160, 0, 8 @left
|
|
createsprite gMindBlownBlueOrbsTemplate, ANIM_TARGET, 2, 1, 1, -86, -108, 8 @upper left
|
|
return
|
|
MindBlownPinkOrbs:
|
|
createsprite gMindBlownPinkOrbsTemplate, ANIM_TARGET, 2, 1, 1, 45, -99, 8 @between up and upper right
|
|
createsprite gMindBlownPinkOrbsTemplate, ANIM_TARGET, 2, 1, 1, 223, -99, 8 @between right and upper right
|
|
createsprite gMindBlownPinkOrbsTemplate, ANIM_TARGET, 2, 1, 1, 159, 55, 8 @between right and lower right
|
|
createsprite gMindBlownPinkOrbsTemplate, ANIM_TARGET, 2, 1, 1, 31, 55, 8 @between lower right and down
|
|
createsprite gMindBlownPinkOrbsTemplate, ANIM_TARGET, 2, 1, 1, -32, 67, 8 @between lower left and down
|
|
createsprite gMindBlownPinkOrbsTemplate, ANIM_TARGET, 2, 1, 1, -160, 67, 8 @between left and lower left
|
|
createsprite gMindBlownPinkOrbsTemplate, ANIM_TARGET, 2, 1, 1, -214, -86, 8 @between left and upper left
|
|
createsprite gMindBlownPinkOrbsTemplate, ANIM_TARGET, 2, 1, 1, -38, -108, 8 @between up and upper left
|
|
return
|
|
|
|
gBattleAnimMove_PlasmaFists::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 16, RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gPlasmaFistsChargeTemplate, ANIM_ATTACKER, 2, 0
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 3, 92, 1
|
|
call PlasmaFistSpark1
|
|
delay 10
|
|
call PlasmaFistSpark2
|
|
delay 10
|
|
call PlasmaFistSpark1
|
|
delay 10
|
|
call PlasmaFistSpark2
|
|
delay 10
|
|
call PlasmaFistSpark1
|
|
delay 10
|
|
call PlasmaFistSpark2
|
|
delay 10
|
|
call PlasmaFistSpark1
|
|
delay 10
|
|
call PlasmaFistSpark2
|
|
delay 10
|
|
call PlasmaFistSpark1
|
|
delay 10
|
|
call PlasmaFistSpark2
|
|
delay 10
|
|
call PlasmaFistSpark1
|
|
delay 10
|
|
call PlasmaFistSpark2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_ShockWaveProgressingBolt, 5, ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
monbg ANIM_TARGET
|
|
call PlasmaFistsImpact
|
|
waitforvisualfinish
|
|
call PlasmaFistsImpact
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
PlasmaFistSpark1:
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB(31, 31, 22)
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
return
|
|
PlasmaFistSpark2:
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
return
|
|
PlasmaFistsImpact:
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 4, 0, 0, 8, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
delay 1
|
|
invert_screen_color scenery=257
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -48
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_ATTACKER, 2, 0, 16
|
|
delay 1
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
invert_screen_color scenery=257
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 15, 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
return
|
|
|
|
gBattleAnimMove_PhotonGeyser::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
createsprite gPhotonGeyserChargeTemplate, ANIM_ATTACKER, 2, 0
|
|
call PhotonGeyserSparks1
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=-40, y=-40, duration=16
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=0, y=40, duration=16
|
|
delay 10
|
|
call PhotonGeyserSparks2
|
|
delay 10
|
|
call PhotonGeyserSparks1
|
|
delay 10
|
|
call PhotonGeyserSparks2
|
|
delay 10
|
|
call PhotonGeyserSparks1
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=0, y=-40, duration=16
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=40, y=20, duration=16
|
|
delay 10
|
|
call PhotonGeyserSparks2
|
|
delay 10
|
|
call PhotonGeyserSparks1
|
|
delay 10
|
|
call PhotonGeyserSparks2
|
|
delay 10
|
|
call PhotonGeyserSparks1
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=-40, y=0, duration=16
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=40, y=0, duration=16
|
|
delay 10
|
|
call PhotonGeyserSparks2
|
|
delay 10
|
|
call PhotonGeyserSparks1
|
|
delay 10
|
|
call PhotonGeyserSparks2
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 15, RGB_BLACK
|
|
clearmonbg ANIM_ATTACKER
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_ATTACKER
|
|
unloadspritegfx ANIM_TAG_ORBS @recover
|
|
unloadspritepal ANIM_TAG_ORBS @recover
|
|
unloadspritegfx ANIM_TAG_SHOCK_3 @charge
|
|
unloadspritepal ANIM_TAG_SHOCK_3 @charge
|
|
createsprite gPhotonGeyserWhiteRingTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, 31, 8
|
|
createsprite gPhotonGeyserZapBallTemplate, ANIM_TARGET, 3, 10, 0, 0, 0, 30, 0
|
|
createsprite gPhotonGeyserZapCannonSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 0
|
|
createsprite gPhotonGeyserZapCannonSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 64, 40, 1
|
|
createsprite gPhotonGeyserZapCannonSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 128, 40, 0
|
|
createsprite gPhotonGeyserZapCannonSparkTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 2
|
|
createsprite gPhotonGeyserZapCannonSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 32, 40, 0
|
|
createsprite gPhotonGeyserZapCannonSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 96, 40, 1
|
|
createsprite gPhotonGeyserZapCannonSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 160, 40, 0
|
|
createsprite gPhotonGeyserZapCannonSparkTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 224, 40, 2
|
|
waitforvisualfinish
|
|
monbg ANIM_TARGET
|
|
createsprite gPhotonGeyserYellowRingTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 0, 31, 8
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 5, 1
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
unloadspritegfx ANIM_TAG_YELLOW_BALL @confuse ray (for zap cannon)
|
|
unloadspritepal ANIM_TAG_YELLOW_BALL @confuse ray (for zap cannon)
|
|
unloadspritegfx ANIM_TAG_BLACK_BALL_2 @zap cannon
|
|
unloadspritepal ANIM_TAG_BLACK_BALL_2 @zap cannon
|
|
unloadspritegfx ANIM_TAG_AIR_WAVE_2 @white/gray color
|
|
unloadspritepal ANIM_TAG_AIR_WAVE_2 @white/gray color
|
|
@Shoot beam to the sky
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 6, 0, 16, RGB(31, 31, 16) @Light yellow
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 4, 0, 96, 1
|
|
panse SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
call PhotonGeyserBeam
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 16, 0, RGB(31, 31, 16) @Light yellow
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 15, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
PhotonGeyserSparks1:
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
createsprite gPhotonGeyserSparkTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, 0, 1, 0
|
|
delay 0
|
|
createsprite gPhotonGeyserSparkTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, 0, 1, 0
|
|
createsprite gPhotonGeyserSparkTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, 0, 1, 1
|
|
return
|
|
PhotonGeyserSparks2:
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite gPhotonGeyserSparkTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, 0, 1, 0
|
|
createsprite gPhotonGeyserSparkTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, 0, 1, 1
|
|
delay 0
|
|
createsprite gPhotonGeyserSparkTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, 0, 1, 1
|
|
return
|
|
PhotonGeyserBeam:
|
|
createsprite gPhotonGeyserBeam, ANIM_TARGET, 3, 0, 19, ANIM_TARGET, 180, 2, 6
|
|
delay 1
|
|
createsprite gPhotonGeyserBeam, ANIM_TARGET, 3, 0, 3, ANIM_TARGET, 180, 2, 5
|
|
delay 1
|
|
createsprite gPhotonGeyserBeam, ANIM_TARGET, 3, 0, -13, ANIM_TARGET, 180, 2, 4
|
|
delay 1
|
|
createsprite gPhotonGeyserBeam, ANIM_TARGET, 3, 0, -29, ANIM_TARGET, 180, 2, 3
|
|
delay 1
|
|
createsprite gPhotonGeyserBeam, ANIM_TARGET, 3, 0, -45, ANIM_TARGET, 180, 2, 2
|
|
delay 1
|
|
createsprite gPhotonGeyserBeam, ANIM_TARGET, 3, 0, -61, ANIM_TARGET, 180, 2, 1
|
|
delay 1
|
|
createsprite gPhotonGeyserBeam, ANIM_TARGET, 3, 0, -77, ANIM_TARGET, 180, 2, 0
|
|
return
|
|
|
|
gBattleAnimMove_ZippyZap::
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite gGrowingShockWaveOrbSpriteTemplate, ANIM_ATTACKER, 2 @electric circle
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 24, 6, 1, 5
|
|
createvisualtask AnimTask_TraceMonBlended, 2, 0, 4, 7, 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
call ElectricityEffect
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SplishySplash::
|
|
create_surf_wave palette=ANIM_SURF_PAL_SURF
|
|
delay 24
|
|
panse SE_M_SURF, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 10, 1
|
|
call ElectricityEffect
|
|
end
|
|
|
|
gBattleAnimMove_FloatyFall::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ROUND_SHADOW, 0, 12, 12, RGB_YELLOW
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
createsprite gFlyBallUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gFlyBallAttackSpriteTemplate, ANIM_ATTACKER, 2, 20, FALSE
|
|
delay 20
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 8, 1
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_PikaPapow::
|
|
createvisualtask AnimTask_GetReturnPowerLevel, 2
|
|
delay 2
|
|
jumpreteq 0, gBattleAnimMove_ThunderShock
|
|
jumpreteq 1, gBattleAnimMove_ShockWave
|
|
jumpreteq 2, gBattleAnimMove_Thunderbolt
|
|
jumpreteq 3, gBattleAnimMove_Thunder
|
|
|
|
gBattleAnimMove_BouncyBubble::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
delay 1
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=12, color=RGB(13, 12, 31)
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_ABSORB, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 5, 1
|
|
waitforvisualfinish
|
|
call WaterBubblesEffectLong
|
|
call GigaDrainAbsorbEffect
|
|
waitforvisualfinish
|
|
delay 15
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=12, target_blend_y=0, color=RGB(13, 12, 31)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_BuzzyBuzz::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 6, RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gSpriteTemplate_SpiritBreakChargeBall, ANIM_TARGET, 1, ANIM_TARGET
|
|
delay 10
|
|
createvisualtask AnimTask_ElectricBolt, 5, 24, -52, 0
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_TARGET
|
|
delay 7
|
|
createvisualtask AnimTask_ElectricBolt, 5, -24, -52, 0
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_TARGET
|
|
delay 7
|
|
createvisualtask AnimTask_ElectricBolt, 5, 0, -60, 1
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_TARGET
|
|
delay 9
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 0, 0, 13, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 0, 13, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
delay 20
|
|
waitplaysewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET, 19
|
|
call ElectricityEffect
|
|
waitforvisualfinish
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 6, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SizzlySlide::
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 12, 8
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 24, 6, 1, 5
|
|
createvisualtask AnimTask_TraceMonBlended, 2, 0, 4, 7, 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_TARGET, RGB_RED, 12, 1, 1
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET
|
|
call FireSpreadEffect
|
|
delay 7
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 9
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_GlitzyGlow::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_CIRCLE_OF_LIGHT, 0, 12, 12, RGB(31, 4, 10)
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_foes ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, 0 @Darken
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
createsprite gGrowingShockWaveOrbSpriteTemplate, ANIM_ATTACKER, 0, 0
|
|
delay 18
|
|
panse SE_M_SCREECH, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
createsprite gSynchronoiseVioletRingTemplate, ANIM_ATTACKER, 0, 25, 0, 0, 0, 0, 0, 1
|
|
delay 1
|
|
createsprite gSynchronoiseBlueRingTemplate, ANIM_ATTACKER, 0, 25, 0, 0, 0, 0, 0, 1
|
|
delay 1
|
|
createsprite gSynchronoiseYellowRingTemplate, ANIM_ATTACKER, 0, 25, 0, 0, 0, 0, 0, 1
|
|
delay 36
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 6, 1
|
|
shake_battle_platforms x_offset=1, y_offset=0, shakes=6, delay=1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, 0 @Darken
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
delay 1
|
|
unloadspritegfx ANIM_TAG_THIN_RING @hypervoice ring
|
|
unloadspritepal ANIM_TAG_THIN_RING @hypervoice ring
|
|
unloadspritegfx ANIM_TAG_SPARK_2 @yellow color
|
|
unloadspritepal ANIM_TAG_SPARK_2 @yellow color
|
|
unloadspritegfx ANIM_TAG_WATER_ORB @blue color
|
|
unloadspritepal ANIM_TAG_WATER_ORB @blue color
|
|
unloadspritegfx ANIM_TAG_POISON_BUBBLE @violet color
|
|
unloadspritepal ANIM_TAG_POISON_BUBBLE @violet color
|
|
unloadspritegfx ANIM_TAG_SMALL_EMBER @flame wheel particle
|
|
unloadspritepal ANIM_TAG_SMALL_EMBER @flame wheel particle
|
|
unloadspritegfx ANIM_TAG_CIRCLE_OF_LIGHT
|
|
unloadspritepal ANIM_TAG_CIRCLE_OF_LIGHT
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_LightScreen
|
|
|
|
gBattleAnimMove_BaddyBad::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_STRAIGHT_BEAM, 0, 14, 14, RGB_BLACK
|
|
monbg ANIM_ATTACKER
|
|
splitbgprio ANIM_ATTACKER
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
delay 10
|
|
playsewithpan SE_M_LEER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_NightShadeClone, 5, 133
|
|
delay 10
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 6, 0, 16, RGB_BLACK
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 4, 0, 96, 1
|
|
panse SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
call PhotonGeyserBeam
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 16, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
delay 1
|
|
restorebg
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
unloadspritegfx ANIM_TAG_STRAIGHT_BEAM
|
|
unloadspritepal ANIM_TAG_STRAIGHT_BEAM
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_Reflect
|
|
|
|
gBattleAnimMove_SappySeed::
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 4, 0, 40, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 20, ANIM_TARGET, 1
|
|
delay 2
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 20, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 10, ANIM_TARGET, 1
|
|
delay 2
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 20, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 10, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, ANIM_TARGET, 1
|
|
delay 2
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 20, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 10, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, -10, ANIM_TARGET, 1
|
|
delay 2
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 20, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 10, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, -10, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, -20, ANIM_TARGET, 1
|
|
delay 2
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 20, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 10, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, -10, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, -20, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, -30, ANIM_TARGET, 1
|
|
delay 2
|
|
call FullBeanstalk
|
|
call FallingSeeds
|
|
call FullBeanstalk
|
|
call FullBeanstalk
|
|
call FullBeanstalk
|
|
call FullBeanstalk
|
|
call FullBeanstalk
|
|
call FullBeanstalk
|
|
call FullBeanstalk
|
|
call FullBeanstalk
|
|
call FullBeanstalk
|
|
call FullBeanstalk
|
|
call FullBeanstalk
|
|
call FullBeanstalk
|
|
call FullBeanstalk
|
|
call FullBeanstalk
|
|
waitforvisualfinish
|
|
end
|
|
FullBeanstalk:
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 20, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 10, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, -10, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, -20, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, -30, ANIM_TARGET, 1
|
|
createsprite gSproutGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, -40, ANIM_TARGET, 1
|
|
delay 2
|
|
return
|
|
FallingSeeds:
|
|
createsprite gFallingSeedSpriteTemplate, ANIM_TARGET, 2, -20, 0, -10, 0
|
|
playsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET
|
|
createsprite gFallingSeedSpriteTemplate, ANIM_TARGET, 2, 28, 0, 10, 0
|
|
playsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET
|
|
createsprite gFallingSeedSpriteTemplate, ANIM_TARGET, 2, -10, 0, -5, 0
|
|
playsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET
|
|
createsprite gFallingSeedSpriteTemplate, ANIM_TARGET, 2, 10, 0, 6, 0
|
|
playsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET
|
|
createsprite gFallingSeedSpriteTemplate, ANIM_TARGET, 2, 24, 0, 10, 0
|
|
playsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET
|
|
createsprite gFallingSeedSpriteTemplate, ANIM_TARGET, 2, -32, 0, -10, 0
|
|
playsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET
|
|
createsprite gFallingSeedSpriteTemplate, ANIM_TARGET, 2, -20, 0, -10, 0
|
|
playsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET
|
|
createsprite gFallingSeedSpriteTemplate, ANIM_TARGET, 2, 30, 0, 10, 0
|
|
playsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET
|
|
return
|
|
|
|
gBattleAnimMove_FreezyFrost::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ICICLE_SPEAR, 0, 0, 12, RGB_BLACK
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ICE_SPIKES, 0, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
call FreezyFrostHitEffect
|
|
call FreezyFrostHitEffect
|
|
call FreezyFrostHitEffect
|
|
call FreezyFrostHitEffect
|
|
waitforvisualfinish
|
|
call IceSpikesEffectLong
|
|
waitforvisualfinish
|
|
end
|
|
FreezyFrostHitEffect:
|
|
createsprite gFreezyFrostRisingSpearSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, -4, 16
|
|
playsewithpan SE_M_ROCK_THROW SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gFreezyFrostRisingSpearSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 4109, 16
|
|
playsewithpan SE_M_ROCK_THROW SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gFreezyFrostRisingSpearSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 4, 16
|
|
playsewithpan SE_M_ROCK_THROW SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gFreezyFrostRisingSpearSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, -16, 16
|
|
playsewithpan SE_M_ROCK_THROW SOUND_PAN_TARGET
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_SparklySwirl::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_GUST, 0, 15, 15, RGB(31, 21, 21)
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
playsewithpan SE_M_GUST, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 47, 1
|
|
call HurricaneGust
|
|
call PinkPetalVortex
|
|
call HurricaneGust
|
|
call PinkPetalVortex
|
|
call HurricaneGust
|
|
call PinkPetalVortex
|
|
waitforvisualfinish
|
|
stopsound
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
PinkPetalVortex:
|
|
createsprite gPinkPetalVortexTemplate, ANIM_TARGET, 2, 0, 28, 528, 30, 13, 50, 1
|
|
delay 2
|
|
createsprite gPinkPetalVortexTemplate, ANIM_TARGET, 2, 0, 32, 480, 20, 16, -46, 1
|
|
delay 2
|
|
createsprite gPinkPetalVortexTemplate, ANIM_TARGET, 2, 0, 33, 576, 20, 8, 42, 1
|
|
delay 2
|
|
createsprite gPinkPetalVortexTemplate, ANIM_TARGET, 2, 0, 31, 400, 25, 11, -42, 1
|
|
delay 2
|
|
createsprite gPinkPetalVortexTemplate, ANIM_TARGET, 2, 0, 28, 512, 25, 16, 46, 1
|
|
delay 2
|
|
createsprite gPinkPetalVortexTemplate, ANIM_TARGET, 2, 0, 33, 464, 30, 15, -50, 1
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_VeeveeVolley::
|
|
createvisualtask AnimTask_GetReturnPowerLevel, 2
|
|
delay 2
|
|
jumpreteq 0, gBattleAnimMove_Tackle
|
|
jumpreteq 1, gBattleAnimMove_Headbutt
|
|
jumpreteq 2, gBattleAnimMove_TakeDown
|
|
jumpreteq 3, gBattleAnimMove_DoubleEdge
|
|
|
|
gBattleAnimMove_DoubleIronBash::
|
|
loopsewithpan SE_M_HARDEN, SOUND_PAN_ATTACKER, 28, 2
|
|
metallic_shine permanent=0
|
|
waitforvisualfinish
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
loopsewithpan SE_M_WING_ATTACK, SOUND_PAN_ATTACKER, 20, 2
|
|
createvisualtask AnimTask_TranslateMonElliptical, 2, 0, 12, 4, 1, 4
|
|
createvisualtask AnimTask_AnimateGustTornadoPalette, 5, 1, 70
|
|
createsprite gGustToTargetSpriteTemplate, ANIM_ATTACKER, 2, -25, 0, 0, 0, 0 @wing attack
|
|
createsprite gGustToTargetSpriteTemplate, ANIM_ATTACKER, 2, 25, 0, 0, 0, 0 @wing attack
|
|
delay 24
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 24, 0, 0, 9
|
|
delay 17
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -32, 0, 0, 3
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 11
|
|
waitforvisualfinish
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 7
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
@@@@@@@@@@@@@@@@@@@@@@@ GEN 8 @@@@@@@@@@@@@@@@@@@@@@@
|
|
gBattleAnimMove_DynamaxCannon::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ELECTRIC_ORBS, 0, 15, 15, RGB(30, 2, 11)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_CIRCLE_OF_LIGHT, 0, 15, 15, RGB(30, 2, 11)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_HYDRO_PUMP, 0, 12, 12, RGB(30, 2, 11)
|
|
setalpha 8, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 2, 0, 15, 0
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER, 14, 10
|
|
createsprite gGrowingChargeOrb3SpriteTemplate, ANIM_ATTACKER, 2, 0 @;Charge circle
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 2, 15, 0, 0
|
|
fadetobg BG_DYNAMAX_CANNON
|
|
waitbgfadein
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=4, num_blends=4, initial_blend_y=0, target_blend_y=12, color=RGB(31, 4, 10)@Pinkish Red
|
|
panse SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER SOUND_PAN_TARGET 2 0
|
|
shake_mon_or_platform velocity=4, shake_timer=1, shake_duration=180, type=SHAKE_BG_Y
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 4, 87, 1
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 0, 4, 81, 1
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
call DynamaxCannonLaunch
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
blendoff
|
|
end
|
|
|
|
DynamaxCannonLaunch:
|
|
createsprite gSpriteTemplate_DynamaxCannonOrb, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
createsprite gSpriteTemplate_DynamaxCannonOrb, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_SnipeShot::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 16, 0 @;Black
|
|
waitforvisualfinish
|
|
createsprite gLeerSpriteTemplate, ANIM_TARGET, 2, 24, -12
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 32
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
createsprite gSnipeShotBallTemplate, ANIM_TARGET, 2, 0, 0, 16
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 8, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 16, 0, 0 @;Black
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_JawLock::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SHARP_TEETH, 0, 10, 10, RGB(29, 24, 2) @Light orange
|
|
monbg ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 7, RGB_BLACK @Black
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_BITE, SOUND_PAN_TARGET
|
|
createsprite gJawLockTeethTemplate, ANIM_ATTACKER, 2, -32, -32, 1, 819, 819, 10, 15
|
|
createsprite gJawLockTeethTemplate, ANIM_ATTACKER, 2, 32, 32, 5, -819, -819, 10, 15
|
|
delay 10
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-8, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 10, 2
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 7, 0, RGB_BLACK @;Black
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_StuffCheeks::
|
|
playsewithpan SE_M_METRONOME, 192
|
|
createsprite gFloatingBerryTemplate, ANIM_ATTACKER, 1, 0
|
|
delay 69
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpargeq 7 1 BERRYEAT_ON_PLAYER
|
|
BerryEatingOpponent:
|
|
call BiteOpponent
|
|
delay 16
|
|
call BiteOpponent
|
|
delay 10
|
|
goto POST_BERRY_EAT
|
|
BERRYEAT_ON_PLAYER:
|
|
call BitePlayer
|
|
delay 16
|
|
call BitePlayer
|
|
delay 10
|
|
POST_BERRY_EAT:
|
|
playsewithpan SE_SHINY, 192
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 3, 7, 0, RGB(17, 31, 25)
|
|
createsprite gThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
waitforvisualfinish
|
|
end
|
|
BitePlayer:
|
|
playsewithpan SE_M_BITE, SOUND_PAN_TARGET
|
|
create_sharp_teeth_sprite ANIM_ATTACKER, 2, x=39, y=-48, animation=0, x_velocity=0/256, y_velocity=819/256, half_duration=10
|
|
create_sharp_teeth_sprite ANIM_ATTACKER, 2, x=39, y=16, animation=4, x_velocity=0/256, y_velocity=-819/256, half_duration=10
|
|
return
|
|
BiteOpponent:
|
|
playsewithpan SE_M_BITE, SOUND_PAN_TARGET
|
|
create_sharp_teeth_sprite ANIM_ATTACKER, 2, x=-33, y=-48, animation=0, x_velocity=0/256, y_velocity=819/256, half_duration=10
|
|
create_sharp_teeth_sprite ANIM_ATTACKER, 2, x=-33, y=16, animation=4, x_velocity=0/256, y_velocity=-819/256, half_duration=10
|
|
return
|
|
|
|
gBattleAnimMove_NoRetreat::
|
|
loopsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER 7 18
|
|
createsprite gNoRetreatFlameTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 10, 160, 0
|
|
createsprite gNoRetreatFlameTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, -20, 10, 160, 0
|
|
createvisualtask AnimTask_TeeterDanceMovement, 5
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_TarShot::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_POISON_BUBBLE, 0, 15, 15, RGB_BLACK @Black
|
|
monbg ANIM_TARGET
|
|
createsprite gAppleAcidLaunchTemplate, ANIM_TARGET, 2, 20, 0, 40, 1, 0, 0
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
createsprite gAppleAcidLaunchTemplate, ANIM_TARGET, 2, 20, 0, 40, 1, -24, 0
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 2, 0, 10, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=16, color=RGB_BLACK@;Black
|
|
createsprite gAppleAcidDripTemplate, ANIM_TARGET, 2, -26, -24, 0, 15, 55
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gAppleAcidDripTemplate, ANIM_TARGET, 2, 15, -27, 0, 12, 50
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gAppleAcidDripTemplate, ANIM_TARGET, 2, -15, -17, 0, 10, 45
|
|
playsewithpan SE_M_BUBBLE SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_MagicPowder::
|
|
loopsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER 14 8
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=-30, y=-22, duration=117, y_velocity=80/256, wave_amplitude=5, wave_speed=1
|
|
create_magic_powder_particle_sprite ANIM_TARGET, 2, x=10, y=-22, duration=117, y_velocity=80/256, wave_amplitude=-5, wave_speed=1
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=-25, y=-22, duration=117, y_velocity=112/256, wave_amplitude=5, wave_speed=3
|
|
delay 15
|
|
create_magic_powder_particle_sprite ANIM_TARGET, 2, x=-5, y=-22, duration=117, y_velocity=80/256, wave_amplitude=-5, wave_speed=1
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=5, y=-22, duration=117, y_velocity=96/256, wave_amplitude=5, wave_speed=1
|
|
create_magic_powder_particle_sprite ANIM_TARGET, 2, x=0, y=-22, duration=117, y_velocity=69/256, wave_amplitude=-5, wave_speed=1
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=-15, y=-22, duration=117, y_velocity=112/256, wave_amplitude=5, wave_speed=2
|
|
delay 30
|
|
create_magic_powder_particle_sprite ANIM_TARGET, 2, x=-15, y=-22, duration=117, y_velocity=112/256, wave_amplitude=5, wave_speed=2
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=15, y=-22, duration=117, y_velocity=80/256, wave_amplitude=-5, wave_speed=1
|
|
create_magic_powder_particle_sprite ANIM_TARGET, 2, x=-10, y=-22, duration=117, y_velocity=96/256, wave_amplitude=7, wave_speed=2
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=-5, y=-22, duration=117, y_velocity=90/256, wave_amplitude=-8, wave_speed=0
|
|
delay 20
|
|
create_magic_powder_particle_sprite ANIM_TARGET, 2, x=-10, y=-22, duration=117, y_velocity=80/256, wave_amplitude=-5, wave_speed=1
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=0, y=-22, duration=117, y_velocity=89/256, wave_amplitude=5, wave_speed=2
|
|
create_magic_powder_particle_sprite ANIM_TARGET, 2, x=20, y=-22, duration=117, y_velocity=112/256, wave_amplitude=-8, wave_speed=2
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=5, y=-22, duration=117, y_velocity=80/256, wave_amplitude=5, wave_speed=1
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -6, -6, 15, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_DragonDarts::
|
|
playsewithpan SE_FALL, SOUND_PAN_ATTACKER
|
|
createdragondartsprite ANIM_TARGET, 2, 0, 0, 25
|
|
delay 25
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 16, 1
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Teatime::
|
|
createsprite gThoughtBubbleSpriteTemplate, ANIM_ATTACKER, 11, 0, 100
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
createsprite gTeapotSpriteTemplate, ANIM_ATTACKER, 12, 0
|
|
createvisualtask AnimTask_RockMonBackAndForth, 5, ANIM_ATTACKER, 2, 0
|
|
createvisualtask AnimTask_RockMonBackAndForth, 5, ANIM_ATK_PARTNER, 2, 0
|
|
delay 24
|
|
loopsewithpan SE_M_HEAL_BELL, SOUND_PAN_ATTACKER, 22, 3
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Octolock::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_TENDRILS, 0, 12, 12, RGB(24, 12, 15) @Pinkish Red
|
|
call CreateConstrictBinding
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=8, color=RGB_RED
|
|
playsewithpan SE_M_BIND, SOUND_PAN_TARGET
|
|
setarg 7, -1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_BoltBeak::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ELECTRICITY, 0, 12, 12, RGB(1, 23, 29) @Blue Electricity
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_HORN_HIT, 0, 12, 12, RGB(29, 28, 1) @Yellow
|
|
call BoltBeakSparks
|
|
waitforvisualfinish
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=0, target_blend_y=0, color=RGB(31, 31, 22)
|
|
createsprite gHorizontalLungeSpriteTemplate, 2, 2, 4, 4
|
|
delay 4
|
|
createsprite gHornHitSpriteTemplate, 132, 3, 8, 8, 10
|
|
waitforvisualfinish
|
|
create_flashing_hitsplat_sprite 131, 4, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=-31, num_blends=2, initial_blend_y=0, target_blend_y=6, color=RGB(31, 31, 22)
|
|
call ElectricityEffect
|
|
waitforvisualfinish
|
|
end
|
|
BoltBeakSparks:
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 7, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gBoltBeakBlueSparkTemplate, 0, 7, 80, 24, 22, 12, 0, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 7, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=0, target_blend_y=0, color=RGB(31, 31, 22)
|
|
delay 10
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=5, target_blend_y=5, color=RGB(31, 31, 22)
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gBoltBeakBlueSparkTemplate, 0, 7, 100, 24, 60, 10, 0, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 7, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gBoltBeakBlueSparkTemplate, 0, 7, 238, 24, 165, 10, 0, 1, 1
|
|
delay 0
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=0, target_blend_y=0, color=RGB(1, 23, 29)
|
|
delay 20
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=4, target_blend_y=4, color=RGB(1, 23, 29)
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, 4, 8, 0, 0, 32, 12, 0, 20, 0, 0
|
|
createsprite gBoltBeakBlueFlashingSparkTemplate, 4, 8, 0, 0, 32, 12, 64, 20, 1, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, 4, 8, 0, 0, 32, 12, 128, 20, 0, 0
|
|
createsprite gBoltBeakBlueFlashingSparkTemplate, 4, 8, 0, 0, 32, 12, 0, 20, 2, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, 4, 8, 0, 0, 16, 12, 32, 20, 0, 0
|
|
createsprite gBoltBeakBlueFlashingSparkTemplate, 4, 8, 0, 0, 16, 12, 96, 20, 1, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, 4, 8, 0, 0, 16, 12, 160, 20, 0, 0
|
|
createsprite gBoltBeakBlueFlashingSparkTemplate, 4, 8, 0, 0, 16, 12, 224, 20, 2, 0
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimMove_FishiousRend::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SHARP_TEETH, 0, 10, 10, RGB(10, 19, 28) @Blue Teeth
|
|
playsewithpan SE_M_WATERFALL, SOUND_PAN_TARGET
|
|
createsprite gFishiousRendTeethTemplate, ANIM_TARGET, 0, 50, 4
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 4, 0, 12, 2
|
|
call FishousRendBubbles
|
|
waitforvisualfinish
|
|
end
|
|
FishousRendBubbles:
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 15, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 15, 0
|
|
delay 2
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 10, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 10, 0
|
|
delay 2
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 5, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 5, 0
|
|
delay 2
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 0
|
|
delay 2
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, -5, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, -5, 0
|
|
delay 2
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, -10, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, -10, 0
|
|
delay 2
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, -15, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, -15, 0
|
|
delay 2
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, -20, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, -20, 0
|
|
delay 2
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, -15, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, -15, 0
|
|
delay 2
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, -10, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, -10, 0
|
|
delay 2
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, -5, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, -5, 0
|
|
delay 2
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 0
|
|
delay 2
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 5, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 5, 0
|
|
delay 2
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 10, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 10, 0
|
|
return
|
|
|
|
gBattleAnimMove_CourtChange::
|
|
goto gBattleAnimMove_TrickRoom
|
|
|
|
gBattleAnimMove_ClangorousSoul::
|
|
createvisualtask AnimTask_RockMonBackAndForth, 5, ANIM_ATTACKER, 2, 0
|
|
call ClangorousSoulStarBuffEffect
|
|
call ClangorousSoulStarBuffEffect
|
|
call ClangorousSoulStarBuffEffect
|
|
waitforvisualfinish
|
|
createsprite gClangorousSoulRedFistTemplate, ANIM_ATTACKER, 2, -16, 0, 0, 0, 10, ANIM_ATTACKER, ANIM_RIGHT_FIST, 1
|
|
createsprite gClangorousSoulRedFistTemplate, ANIM_ATTACKER, 2, 16, 0, 0, 0, 10, ANIM_ATTACKER, ANIM_LEFT_FIST, 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_HORSESHOE_SIDE_FIST
|
|
unloadspritepal ANIM_TAG_HORSESHOE_SIDE_FIST
|
|
unloadspritegfx ANIM_TAG_SPARKLE_2 @stars
|
|
unloadspritepal ANIM_TAG_SPARKLE_2 @stars
|
|
waitforvisualfinish
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
createsprite gClangorousSoulRedRingTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
waitforvisualfinish
|
|
end
|
|
ClangorousSoulStarBuffEffect:
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createsprite gClangorousSoulBlueBuffTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
delay 4
|
|
createsprite gClangorousSoulPurpleBuffTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 2, -15, 0, 0, 0, 32, 60
|
|
delay 4
|
|
createsprite gClangorousSoulWhiteBuffTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 4
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 2, 12, -5, 0, 0, 32, 60
|
|
return
|
|
|
|
gBattleAnimMove_BodyPress::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ROUND_SHADOW, 0, 13, 13, RGB(29, 18, 7) @Orange
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 6, 1, 0
|
|
delay 7
|
|
createsprite gFlyBallUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336 @Fly up
|
|
waitforvisualfinish
|
|
delay 47
|
|
createsprite gBounceBallLandSpriteTemplate, ANIM_TARGET, 3 @Bounce down
|
|
delay 2
|
|
playsewithpan SE_M_MINIMIZE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_SquishTarget, 2
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Decorate::
|
|
goto gBattleAnimMove_FlowerShield
|
|
|
|
gBattleAnimMove_DrumBeating::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_MUSIC_NOTES, 0, 13, 13, RGB(12, 29, 0) @Green
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
call BellyDrumRight
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 0
|
|
playsewithpan SE_M_BELLY_DRUM, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
call BellyDrumLeft
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 1, 1, 1, 0
|
|
playsewithpan SE_M_BELLY_DRUM, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
call BellyDrumRight
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 0, 3, 3, 128
|
|
playsewithpan SE_M_BELLY_DRUM, SOUND_PAN_ATTACKER
|
|
delay 7
|
|
call BellyDrumLeft
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 1, 2, 0, 128
|
|
playsewithpan SE_M_BELLY_DRUM, SOUND_PAN_ATTACKER
|
|
delay 7
|
|
call BellyDrumRight
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 1, 0
|
|
playsewithpan SE_M_BELLY_DRUM, SOUND_PAN_ATTACKER
|
|
delay 7
|
|
call BellyDrumLeft
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 3, 0
|
|
playsewithpan SE_M_BELLY_DRUM, SOUND_PAN_ATTACKER
|
|
create_frenzy_plant_root_sprite ANIM_ATTACKER, 2, interpolate_percent=85, offset_x=16, offset_y=6, subpriority=0, animation=3, duration=80
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_frenzy_plant_root_sprite ANIM_ATTACKER, 2, interpolate_percent=85, offset_x=-16, offset_y=-6, subpriority=0, animation=2, duration=75
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-10, y=-10, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 3, ANIM_TARGET, 8, 0, 20, 1
|
|
delay 3
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=10, y=8, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=10, y=-3, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-3, y=1, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-10, y=1, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=10, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_SnapTrap::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SHARP_TEETH, 0, 10, 10, RGB(8, 20, 1)
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
call CreateBite
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 6, 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 10
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, 192, 176, 40
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, -192, 240, 40
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, 192, -160, 40
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, -192, -112, 40
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, 160, 48, 40
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, -224, -32, 40
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, 112, -128, 40
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_PyroBall::
|
|
playsewithpan SE_LEDGE, SOUND_PAN_ATTACKER @;Hop
|
|
createsprite gPyroBallRockTemplate, ANIM_ATTACKER, 2, 0, 0, 0
|
|
delay 25
|
|
playsewithpan SE_LEDGE, SOUND_PAN_ATTACKER @;Hop
|
|
delay 25
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 0, 7, RGB(29, 1, 1)
|
|
createsprite gPyroBallBurningRockTemplate, ANIM_ATTACKER, 2, 0, 0, 0
|
|
delay 25
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_TARGET
|
|
delay 25
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_TARGET
|
|
createsprite gPyroBallFlamesUpTemplate, ANIM_ATTACKER, 2, 0, 0, 1
|
|
delay 25
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET
|
|
createsprite gPyroBallEmberBallTemplate, ANIM_ATTACKER, 2, 0, 10, 0, 5, 20, -20
|
|
waitforvisualfinish
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB_RED
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 15, 1
|
|
call FireSpreadEffect
|
|
delay 32
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 7, 0, RGB(29, 1, 1)
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_BehemothBlade::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ATTACKER), 3, 0, 15, 0
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SWORDS_DANCE, SOUND_PAN_ATTACKER
|
|
createsprite gSwordsDanceBladeSpriteTemplate, ANIM_ATTACKER, 2, 0, 0
|
|
delay 22
|
|
flash_anim_tag_with_color tag=ANIM_TAG_SWORD, delay=2, num_blends=2, color1=RGB(18, 31, 31), blend_y1=16, color2=0, blend_y2=0
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 1
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
createsprite gSunsteelStrikeBlackFlyBallTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_ATK_PARTNER, 1, 20
|
|
delay 24
|
|
createsprite gSunsteelStrikeRocksTemplate, ANIM_ATTACKER, 2, 0, 0 @The rock particles mess up the fly animation
|
|
createsprite gSunsteelStrikeRocksTemplate, ANIM_ATTACKER, 2, 0, 1
|
|
createsprite gSunsteelStrikeRocksTemplate, ANIM_ATTACKER, 2, 0, 2
|
|
createsprite gSunsteelStrikeRocksTemplate, ANIM_ATTACKER, 2, 0, 3
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_ROUND_SHADOW @fly
|
|
unloadspritepal ANIM_TAG_ROUND_SHADOW @fly
|
|
unloadspritegfx ANIM_TAG_AIR_WAVE_2 @black color
|
|
unloadspritepal ANIM_TAG_AIR_WAVE_2 @black color
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createsprite gSacredSwordBladesTemplate, ANIM_TARGET, 1, 0, 10, 0, -256, 10
|
|
createsprite gSacredSwordCutTemplate, ANIM_ATTACKER, 2, 40, -32, 0
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 10, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
call BehemothBladeSlashes
|
|
unloadspritegfx ANIM_TAG_WHITE_STREAK
|
|
unloadspritepal ANIM_TAG_WHITE_STREAK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_PLAYER_LEFT, 8, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_PLAYER_RIGHT, 8, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_OPPONENT_LEFT, 8, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_OPPONENT_RIGHT, 8, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_ATTACKER_FORCE, 8, 0, 40, 1
|
|
call OpposingExplosion2
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ATTACKER), 3, 15, 0, 0
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
OpposingExplosion2:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, 1, 1
|
|
delay 6
|
|
return
|
|
|
|
BehemothBladeSlashes:
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -10, 3
|
|
playsewithpan SE_SHINY, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, 24, -19
|
|
playsewithpan SE_SHINY, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -28, -15
|
|
playsewithpan SE_SHINY, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -6, -30
|
|
playsewithpan SE_SHINY, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -20, 6
|
|
playsewithpan SE_SHINY, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -28, -15
|
|
playsewithpan SE_SHINY, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -6, -30
|
|
playsewithpan SE_SHINY, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAcrobaticsSlashesSpriteTemplate, ANIM_TARGET, 2, -20, 6
|
|
playsewithpan SE_SHINY, SOUND_PAN_TARGET
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_BehemothBash::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
createsprite gSunsteelStrikeBlackFlyBallTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_ATK_PARTNER, 1, 20
|
|
delay 24
|
|
createsprite gSunsteelStrikeRocksTemplate, ANIM_ATTACKER, 2, 0, 0 @The rock particles mess up the fly animation
|
|
createsprite gSunsteelStrikeRocksTemplate, ANIM_ATTACKER, 2, 0, 1
|
|
createsprite gSunsteelStrikeRocksTemplate, ANIM_ATTACKER, 2, 0, 2
|
|
createsprite gSunsteelStrikeRocksTemplate, ANIM_ATTACKER, 2, 0, 3
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_ROUND_SHADOW @fly
|
|
unloadspritepal ANIM_TAG_ROUND_SHADOW @fly
|
|
unloadspritegfx ANIM_TAG_AIR_WAVE_2 @black color
|
|
unloadspritepal ANIM_TAG_AIR_WAVE_2 @black color
|
|
playsewithpan SE_ORB, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ATTACKER), 3, 0, 15, 0
|
|
waitforvisualfinish
|
|
call BehemothBashBeam
|
|
call BehemothBashBeam
|
|
call BehemothBashBeam
|
|
call BehemothBashBeam
|
|
call BehemothBashBeam
|
|
call BehemothBashBeam
|
|
call BehemothBashBeam
|
|
call BehemothBashBeam
|
|
call BehemothBashBeam
|
|
call BehemothBashBeam
|
|
stopsound
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createsprite gSunsteelStrikeSuperpowerTemplate, ANIM_TARGET, 2, 20
|
|
delay 20
|
|
createsprite gSunsteelStrikeRedImpactTemplate, ANIM_ATTACKER, 2, 0, 0, 1, 0
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 8, 1
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_METEOR @superpower
|
|
unloadspritepal ANIM_TAG_METEOR @superpower
|
|
unloadspritegfx ANIM_TAG_GOLD_RING @beam
|
|
unloadspritepal ANIM_TAG_GOLD_RING @beam
|
|
unloadspritegfx ANIM_TAG_SMALL_RED_EYE @red color
|
|
unloadspritepal ANIM_TAG_SMALL_RED_EYE @red color
|
|
unloadspritegfx ANIM_TAG_IMPACT @hit
|
|
unloadspritepal ANIM_TAG_IMPACT @hit
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_PLAYER_LEFT, 8, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_PLAYER_RIGHT, 8, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_OPPONENT_LEFT, 8, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_OPPONENT_RIGHT, 8, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_ATTACKER_FORCE, 8, 0, 40, 1
|
|
call OpposingExplosion1
|
|
call OpposingExplosion1
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ATTACKER), 3, 15, 0, 0
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
BehemothBashBeam:
|
|
createsprite gSunsteelStrikeYellowBeamTemplate, ANIM_TARGET, 2, 20
|
|
delay 1
|
|
createsprite gSunsteelStrikeRedBeamTemplate, ANIM_TARGET, 2, 20
|
|
delay 1
|
|
return
|
|
OpposingExplosion1:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, 1, 1
|
|
delay 6
|
|
return
|
|
|
|
gBattleAnimMove_AuraWheel::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SPARK, 0, 12, 12, RGB(27, 1, 12) @Pinkish-Red Electricity
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SPARK_2, 0, 12, 12, RGB(1, 23, 29) @Blue Electricity
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_IMPACT, 0, 10, 10, RGB(27, 1, 12) @Pinkish-Red
|
|
setalpha 12, 8
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_foes ANIM_TARGET
|
|
createsprite gAuraWheelBlueElectricityTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gAuraWheelRedElectricityTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gAuraWheelBlueElectricityTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gAuraWheelRedElectricityTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gAuraWheelBlueElectricityTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gAuraWheelRedElectricityTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gAuraWheelBlueElectricityTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 24, 0, 0, 6
|
|
delay 4
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 23, 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SPARK_2, 2, 12, 0, RGB(1, 23, 29) @Revert blue Electricity
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 48, 44, 0, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 48, 44, 64, 40, 1, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 48, 44, 128, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 48, 44, 192, 40, 2, -32765
|
|
delay 7
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 9
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_BreakingSwipe::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_IMPACT, 0, 12, 12, RGB_RED @Red
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SPARK_2, 0, 12, 12, RGB_RED @Red
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-32, y=-16, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gBreakingSwipeCenteredElectricity, ANIM_TARGET, 2, 5, 0, 5, 0
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 21, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 0, 3, 21, 1
|
|
delay 4
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gBreakingSwipeCenteredElectricity, ANIM_TARGET, 2, -15, -10, 5, 0
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gBreakingSwipeCenteredElectricity, ANIM_TARGET, 2, -8, 8, 5, 2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=32, y=20, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gBreakingSwipeCenteredElectricity, ANIM_TARGET, 2, -20, 15, 5, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitsound
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_BranchPoke::
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
createsprite gBranchPokeBranchTemplate, ANIM_TARGET, 2, 0, 0, 37
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Overdrive::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ELECTRICITY, 0, 12, 12, RGB(1, 23, 29) @Blue Electricity
|
|
call BoltBeakSparks
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_THIN_RING, 0, 12, 12, RGB(31, 29, 5) @Yellow Electricity
|
|
call OverdriveRings
|
|
delay 8
|
|
call OverdriveRings
|
|
delay 16
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_THIN_RING, 0, 0, 12, RGB(1, 23, 29) @Blue Electricity
|
|
waitforvisualfinish
|
|
end
|
|
OverdriveRings:
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_TARGET
|
|
simple_palette_blend selector=(F_PAL_BG | F_PAL_ATK_SIDE | F_PAL_DEF_SIDE), delay=3, initial_blend_y=8, target_blend_y=0, color=RGB_YELLOW
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -5, -5, 5, ANIM_ATTACKER, 0
|
|
createsprite gHyperVoiceRingSpriteTemplate, ANIM_ATTACKER, 0, 45, 0, 0, 0, 0, 0, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 6, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 6, 1
|
|
shake_battle_platforms priority=2, x_offset=1, y_offset=0, shakes=6, delay=1
|
|
createvisualtask SoundTask_WaitForCry, 5
|
|
return
|
|
|
|
gBattleAnimMove_AppleAcid::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_POISON_BUBBLE, 0, 12, 12, RGB(29, 16, 1) @Orange
|
|
playsewithpan SE_M_METRONOME, SOUND_PAN_ATTACKER
|
|
createsprite gAppleAcidFloatingAppleTemplate, ANIM_ATTACKER, 12, 0
|
|
delay 48
|
|
monbg ANIM_TARGET
|
|
createsprite gAppleAcidLaunchTemplate, ANIM_TARGET, 2, 20, 0, 40, 1, 0, 0
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
createsprite gAppleAcidLaunchTemplate, ANIM_TARGET, 2, 20, 0, 40, 1, 24, 0
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
createsprite gAppleAcidLaunchTemplate, ANIM_TARGET, 2, 20, 0, 40, 1, -24, 0
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 2, 0, 10, 1
|
|
createsprite gAppleAcidDripTemplate, ANIM_TARGET, 2, 0, -22, 0, 15, 55
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gAppleAcidDripTemplate, ANIM_TARGET, 2, -26, -24, 0, 15, 55
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gAppleAcidDripTemplate, ANIM_TARGET, 2, 15, -27, 0, 15, 50
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gAppleAcidDripTemplate, ANIM_TARGET, 2, -15, -17, 0, 10, 45
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gAppleAcidDripTemplate, ANIM_TARGET, 2, 27, -22, 0, 15, 50
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_GravApple::
|
|
fadetobg BG_IN_AIR
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, -2048, 0, -1
|
|
waitbgfadein
|
|
call SmallAppleShower
|
|
call SmallAppleShower
|
|
createsprite gGravAppleLargeApple, ANIM_TARGET, 2, 0, 60, 4, ANIM_TARGET
|
|
delay 7
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 21, 0, 4
|
|
delay 48
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 16
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
end
|
|
SmallAppleShower:
|
|
createsprite gGravAppleSmallApple, ANIM_TARGET, 2, 35, 60, 4, ANIM_TARGET
|
|
playsewithpan SE_FALL, SOUND_PAN_ATTACKER @;Falling sound
|
|
delay 2
|
|
createsprite gGravAppleSmallApple, ANIM_TARGET, 2, -30, 68, 4, ANIM_TARGET
|
|
playsewithpan SE_FALL, SOUND_PAN_ATTACKER @;Falling sound
|
|
delay 2
|
|
createsprite gGravAppleSmallApple, ANIM_TARGET, 2, 27, 55, 4, ANIM_TARGET
|
|
playsewithpan SE_FALL, SOUND_PAN_ATTACKER @;Falling sound
|
|
delay 2
|
|
createsprite gGravAppleSmallApple, ANIM_TARGET, 2, -20, 50, 4, ANIM_TARGET
|
|
playsewithpan SE_FALL, SOUND_PAN_ATTACKER @;Falling sound
|
|
delay 2
|
|
createsprite gGravAppleSmallApple, ANIM_TARGET, 2, 33, 58, 4, ANIM_TARGET
|
|
playsewithpan SE_FALL, SOUND_PAN_ATTACKER @;Falling sound
|
|
delay 2
|
|
createsprite gGravAppleSmallApple, ANIM_TARGET, 2, -12, 58, 4, ANIM_TARGET
|
|
playsewithpan SE_FALL, SOUND_PAN_ATTACKER @;Falling sound
|
|
delay 2
|
|
createsprite gGravAppleSmallApple, ANIM_TARGET, 2, 19, 60, 4, ANIM_TARGET
|
|
playsewithpan SE_FALL, SOUND_PAN_ATTACKER @;Falling sound
|
|
delay 2
|
|
createsprite gGravAppleSmallApple, ANIM_TARGET, 2, -38, 58, 4, ANIM_TARGET
|
|
playsewithpan SE_FALL, SOUND_PAN_ATTACKER @;Falling sound
|
|
delay 2
|
|
createsprite gGravAppleSmallApple, ANIM_TARGET, 2, 5, 60, 4, ANIM_TARGET
|
|
playsewithpan SE_FALL, SOUND_PAN_ATTACKER @;Falling sound
|
|
delay 2
|
|
createsprite gGravAppleSmallApple, ANIM_TARGET, 2, -23, 40, 4, ANIM_TARGET
|
|
playsewithpan SE_FALL, SOUND_PAN_ATTACKER @;Falling sound
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_SpiritBreak::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_CIRCLE_OF_LIGHT, 0, 16, 16, RGB_WHITE
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_TEAL_ALERT, 0, 10, 10, RGB(30, 14, 31)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION_2, 0, 10, 10, RGB(30, 14, 31)
|
|
monbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_WindUpLunge, 5, ANIM_ATTACKER, -20, 8, 48, 8, 56, 6
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_SpiritBreakChargeBall, ANIM_TARGET, 1, ANIM_TARGET
|
|
call MindReaderEyeSpikeEffect
|
|
call MindReaderEyeSpikeEffect
|
|
call MindReaderEyeSpikeEffect
|
|
call MindReaderEyeSpikeEffect
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 5, 5, 1
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_SpiritBreakExplode, ANIM_TARGET, 3, 0, 0, 1, 1
|
|
waitforvisualfinish
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 5
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_StrangeSteam::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_FINGER, 0, 10, 10, RGB(24, 28, 17) @Green
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
loopsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER, 4, 10
|
|
call StrangeSteamCloud
|
|
call StrangeSteamCloud
|
|
call StrangeSteamCloud
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 42, 1
|
|
call StrangeSteamCloud
|
|
call StrangeSteamCloud
|
|
call StrangeSteamCloud
|
|
call StrangeSteamCloud
|
|
call StrangeSteamCloud
|
|
call StrangeSteamCloud
|
|
call StrangeSteamCloud
|
|
call StrangeSteamCloud
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
StrangeSteamCloud:
|
|
createsprite gStrangeSteamPinkCloudTemplate, ANIM_TARGET, 2, 15, 15, 20, 0, 0
|
|
createsprite gStrangeSteamGreenCloudTemplate, ANIM_TARGET, 2, 15, 15, 20, 10, 5
|
|
createsprite gStrangeSteamPinkCloudTemplate, ANIM_TARGET, 2, 15, 15, 20, -10, -5
|
|
delay 1
|
|
createsprite gStrangeSteamGreenCloudTemplate, ANIM_TARGET, 2, 15, 15, 20, 20, 10
|
|
createsprite gStrangeSteamBlueCloudTemplate, ANIM_TARGET, 2, 15, 15, 20, -20, -10
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_LifeDew::
|
|
monbg ANIM_ATK_PARTNER
|
|
createsprite gLifeDewDropletTemplate, ANIM_ATTACKER, 2, 0, 0, ANIM_ATTACKER
|
|
createsprite gLifeDewDropletTemplate, ANIM_ATTACKER, 2, 0, 0, ANIM_ATK_PARTNER
|
|
delay 21
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_ABSORB_2, SOUND_PAN_ATTACKER
|
|
createsprite gLifeDewSpecialOrbsTemplate, ANIM_ATTACKER, 2, 0, -5, ANIM_ATTACKER, FALSE
|
|
createsprite gLifeDewSpecialOrbsTemplate, ANIM_ATTACKER, 2, 0, -5, ANIM_ATK_PARTNER, FALSE
|
|
delay 7
|
|
createsprite gLifeDewSpecialOrbsTemplate, ANIM_ATTACKER, 2, -15, 10, ANIM_ATTACKER, FALSE
|
|
createsprite gLifeDewSpecialOrbsTemplate, ANIM_ATTACKER, 2, -15, 10, ANIM_ATK_PARTNER, FALSE
|
|
delay 7
|
|
createsprite gLifeDewSpecialOrbsTemplate, ANIM_ATTACKER, 2, -15, -15, ANIM_ATTACKER, FALSE
|
|
createsprite gLifeDewSpecialOrbsTemplate, ANIM_ATTACKER, 2, -15, -15, ANIM_ATK_PARTNER, FALSE
|
|
delay 7
|
|
createsprite gLifeDewSpecialOrbsTemplate, ANIM_ATTACKER, 2, 10, -5, ANIM_ATTACKER, FALSE
|
|
createsprite gLifeDewSpecialOrbsTemplate, ANIM_ATTACKER, 2, 10, -5, ANIM_ATK_PARTNER, FALSE
|
|
delay 7
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_Obstruct::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_NOISE_LINE, 0, 10, 10, RGB_BLACK @Black
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_PROTECT, 0, 10, 10, RGB_BLACK @Black
|
|
createvisualtask SoundTask_PlayDoubleCry, 2, ANIM_ATTACKER, DOUBLE_CRY_GROWL
|
|
call RoarEffect
|
|
waitforvisualfinish
|
|
delay 16
|
|
monbg ANIM_ATK_PARTNER
|
|
splitbgprio ANIM_ATTACKER
|
|
waitplaysewithpan SE_M_REFLECT, SOUND_PAN_ATTACKER, 16
|
|
createsprite gProtectSpriteTemplate, ANIM_ATTACKER, 2, 24, 0, 90 @;Protect
|
|
waitforvisualfinish
|
|
createsprite gObstructCrossTemplate, ANIM_ATTACKER, 2, 0, 0, 1, 36
|
|
playsewithpan SE_M_LEER, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_FalseSurrender::
|
|
monbg ANIM_ATTACKER
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
delay 0
|
|
playsewithpan SE_M_FAINT_ATTACK, 192
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 1, 3
|
|
attacker_fade_to_invisible priority=2, step_delay=1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
invisible ANIM_ATTACKER
|
|
delay 1
|
|
createvisualtask AnimTask_SetAttackerInvisibleWaitForSignal, 2,
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
delay 1
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=1, color1=RGB_WHITE, blend_y1=10, color2=RGB_BLACK, blend_y2=10
|
|
createsprite gSpriteTemplate_LargeCrossImpact, ANIM_ATTACKER, 3, 0, 0, 1, 20
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 7, 0, 9, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
delay 1
|
|
setarg 7, 4096
|
|
delay 1
|
|
createvisualtask AnimTask_InitAttackerFadeFromInvisible, 2,
|
|
monbg ANIM_ATTACKER
|
|
attacker_fade_from_invisible step_delay=1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 1
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_MeteorAssault::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ELECTRIC_ORBS, 0, 12, 12, RGB(29, 24, 2) @Light orange
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 0, 9, RGB(29, 24, 2) @Light orange
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 48, 0, 4
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
invisible ANIM_ATTACKER
|
|
createsprite gGrowingSuperpowerTemplate, ANIM_TARGET, 3, 0
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ATTACKER), 1, 16, 16, RGB_WHITE @Screen flash white
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 5, 32, 1
|
|
call BasicExplosion
|
|
call BasicExplosion
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ATTACKER), 1, 16, 0, RGB_WHITE @Screen revert from white
|
|
waitforvisualfinish
|
|
end
|
|
BasicExplosion:
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 1
|
|
delay 3
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, 1, 1
|
|
delay 3
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, 1, 1
|
|
delay 3
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, 1, 1
|
|
delay 3
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, 1, 1
|
|
return
|
|
|
|
gBattleAnimMove_Eternabeam::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_HYDRO_PUMP, 0, 12, 12, RGB(31, 4, 10) @Pinkish Red
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ROUND_SHADOW, 0, 13, 13, RGB(31, 4, 10) @Pinkish Red
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB(11, 1, 22)
|
|
fadetobgfromset BG_SPACIAL_REND_OPPONENT BG_SPACIAL_REND_PLAYER BG_SPACIAL_REND_OPPONENT
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
invisible ANIM_ATTACKER
|
|
createsprite gDevastatingDrakeDrakeUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 1248, 36, 21, 1, ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_SOLAR_BEAM, 240, -64, SOUND_PAN_TARGET, 1, 15, 0, 5
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=4, initial_blend_y=0, target_blend_y=12, color=RGB(31, 4, 10)@Pinkish Red
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
call OblivionWingBeam
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
visible ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
blendoff
|
|
end
|
|
EternabeamGeyser:
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 3, 5, 1, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, -11, -15, 1, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 8, -5, 1, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, -6, 18, 1, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 0, 5, 1, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 3, -11, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, -11, -31, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 8, -21, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, -6, 2, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 0, -11, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 3, -27, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, -11, -47, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 8, -47, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, -6, -14, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 0, -27, ANIM_TARGET, 0
|
|
delay 0
|
|
return
|
|
|
|
gBattleAnimMove_SteelBeam::
|
|
loopsewithpan SE_M_HARDEN, SOUND_PAN_ATTACKER, 28, 2
|
|
metallic_shine permanent=0
|
|
delay 48
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 20, 0, 2
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
call SetSteelBeamBackground
|
|
panse SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
createvisualtask AnimTask_CreateSmallSteelBeamOrbs, 5
|
|
createsprite gSteelBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 0
|
|
delay 4
|
|
createsprite gSteelBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 1
|
|
delay 4
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 0, 10, RGB(24, 24, 48)
|
|
createsprite gSteelBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 2
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 2, 0, 65, 1
|
|
createsprite gSteelBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 3
|
|
delay 4
|
|
createsprite gSteelBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 4
|
|
delay 4
|
|
createsprite gSteelBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 5
|
|
delay 4
|
|
createsprite gSteelBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 6
|
|
delay 4
|
|
call SteelBeam_Continuity
|
|
call SteelBeam_Continuity
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 10, 0, RGB(24, 24, 48)
|
|
call UnsetHighSpeedBg
|
|
end
|
|
SteelBeam_Continuity:
|
|
createsprite gSteelBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 0
|
|
delay 4
|
|
createsprite gSteelBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 1
|
|
delay 4
|
|
createsprite gSteelBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 2
|
|
delay 4
|
|
createsprite gSteelBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 3
|
|
delay 4
|
|
createsprite gSteelBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 4
|
|
delay 4
|
|
createsprite gSteelBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 5
|
|
delay 4
|
|
createsprite gSteelBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 6
|
|
delay 4
|
|
return
|
|
SetSteelBeamBackground:
|
|
createvisualtask AnimTask_GetAttackerSide, 2
|
|
jumprettrue SetSteelBeamBgPlayer
|
|
fadetobg BG_STEEL_BEAM_OPPONENT
|
|
goto SetHighSpeedBgFade
|
|
SetSteelBeamBgPlayer:
|
|
fadetobg BG_STEEL_BEAM_PLAYER
|
|
goto SetHighSpeedBgFade
|
|
|
|
gBattleAnimMove_ExpandingForce::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_CIRCLE_OF_LIGHT, 0, 10, 10, RGB(30, 14, 31)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION_2, 0, 10, 10, RGB(30, 14, 31)
|
|
monbg ANIM_DEF_PARTNER
|
|
call SetPsychicBackground
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 10, 1
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=F_PAL_ATTACKER, num_blends=2, initial_blend_y=0, target_blend_y=8, color=RGB(31, 23, 0)
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_TARGET
|
|
choosetwoturnanim ExpandingForceSingleTarget ExpandingForceBothTargets
|
|
|
|
ExpandingForceSingleTarget:
|
|
createsprite gSpriteTemplate_SpiritBreakChargeBall, ANIM_TARGET, 1, ANIM_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, 0, 1, 24, 1, 0
|
|
call MaxKnuckleExplosionGeyser
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
ExpandingForceBothTargets:
|
|
createsprite gSpriteTemplate_SpiritBreakChargeBall, ANIM_TARGET, 1, ANIM_TARGET
|
|
createsprite gSpriteTemplate_SpiritBreakChargeBall, ANIM_TARGET, 1, ANIM_DEF_PARTNER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 24, 1 @;High power
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 5, 0, 24, 1
|
|
call ExpandingForceExplosionGeyser
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
ExpandingForceExplosionGeyser:
|
|
createsprite gSpriteTemplate_ExpandingForceExplode, ANIM_TARGET, 4, 3, 5, ANIM_TARGET
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gSpriteTemplate_ExpandingForceExplode, ANIM_TARGET, 4, -11, -15, ANIM_TARGET
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gSpriteTemplate_ExpandingForceExplode, ANIM_TARGET, 4, 8, -5, ANIM_TARGET
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gSpriteTemplate_ExpandingForceExplode, ANIM_TARGET, 4, -6, 18, ANIM_TARGET
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gSpriteTemplate_ExpandingForceExplode, ANIM_TARGET, 4, 0, 5, ANIM_TARGET
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gSpriteTemplate_ExpandingForceExplode, ANIM_TARGET, 4, 3, -11, ANIM_TARGET
|
|
delay 0
|
|
createsprite gSpriteTemplate_ExpandingForceExplode, ANIM_TARGET, 4, -11, -31, ANIM_TARGET
|
|
delay 0
|
|
createsprite gSpriteTemplate_ExpandingForceExplode, ANIM_TARGET, 4, 8, -21, ANIM_TARGET
|
|
delay 0
|
|
createsprite gSpriteTemplate_ExpandingForceExplode, ANIM_TARGET, 4, -6, 2, ANIM_TARGET
|
|
delay 0
|
|
createsprite gSpriteTemplate_ExpandingForceExplode, ANIM_TARGET, 4, 0, -11, ANIM_TARGET
|
|
delay 0
|
|
createsprite gSpriteTemplate_ExpandingForceExplode, ANIM_TARGET, 4, 3, -27, ANIM_TARGET
|
|
delay 0
|
|
createsprite gSpriteTemplate_ExpandingForceExplode, ANIM_TARGET, 4, -11, -47, ANIM_TARGET
|
|
delay 0
|
|
createsprite gSpriteTemplate_ExpandingForceExplode, ANIM_TARGET, 4, 8, -37, ANIM_TARGET
|
|
delay 0
|
|
createsprite gSpriteTemplate_ExpandingForceExplode, ANIM_TARGET, 4, -6, -14, ANIM_TARGET
|
|
delay 0
|
|
createsprite gSpriteTemplate_ExpandingForceExplode, ANIM_TARGET, 4, 0, -27, ANIM_TARGET
|
|
return
|
|
|
|
MaxKnuckleExplosionGeyser:
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 3, 5, ANIM_TARGET, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, -11, -15, ANIM_TARGET, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 8, -5, ANIM_TARGET, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, -6, 18, ANIM_TARGET, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 0, 5, ANIM_TARGET, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 3, -11, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, -11, -31, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 8, -21, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, -6, 2, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 0, -11, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 3, -27, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, -11, -47, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 8, -37, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, -6, -14, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 0, -27, ANIM_TARGET, 0
|
|
return
|
|
|
|
|
|
gBattleAnimMove_SteelRoller::
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_SteelRoller, ANIM_TARGET, 3, 0, -40, 2, 50, 3
|
|
delay 1
|
|
createvisualtask AnimTask_SquishTarget, 2,
|
|
delay 14
|
|
call SteelRollerRocks
|
|
delay 33
|
|
call SteelRollerRocks
|
|
waitforvisualfinish
|
|
end
|
|
SteelRollerRocks:
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -12, 27, 2, 3
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 8, 28, 3, 4
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -4, 30, 2, 3
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 12, 25, 4, 4
|
|
return
|
|
|
|
gBattleAnimMove_ScaleShot::
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 6
|
|
delay 3
|
|
playsewithpan SE_M_BONEMERANG, SOUND_PAN_ATTACKER
|
|
createsprite gSpriteTemplate_ScaleShotScale, ANIM_TARGET, 2, 16, 0, 0, 0, 20, 257
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 5, 1
|
|
delay 16
|
|
stopsound
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_MeteorBeam::
|
|
fadetobg BG_COSMIC
|
|
waitbgfadeout
|
|
choosetwoturnanim MeteorBeamCharge MeteorBeamBlast
|
|
|
|
MeteorBeamCharge:
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, -1024, FALSE, -1
|
|
waitbgfadein
|
|
monbg ANIM_ATK_PARTNER
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
call ContinentalCrushStockpileRocks
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
call ContinentalCrushStockpileRocks
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
MeteorBeamBlast:
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -2304, 0, TRUE, -1 @;Scroll right/left
|
|
waitbgfadein
|
|
monbg ANIM_TARGET
|
|
panse SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER SOUND_PAN_TARGET 2 0
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 4, 87, 1
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 0, 4, 81, 1
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
call MeteorBeamRockLaunch
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
MeteorBeamRockLaunch:
|
|
createsprite gSpriteTemplate_MeteorBeamRock, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
createsprite gSpriteTemplate_MeteorBeamRock, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_ShellSideArm::
|
|
createvisualtask AnimTask_ShellSideArm, 5
|
|
jumpargeq 0, TRUE, gBattleAnimMove_ShellSideArmPhysical
|
|
jumpargeq 0, FALSE, gBattleAnimMove_ShellSideArmSpecial
|
|
gBattleAnimMove_ShellSideArmPhysical:: @ Modified Body Slam, placeholder
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_IMPACT, 0, 6, 6, RGB_MAGENTA
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 6, 1, ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
delay 11
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 26, 0, 0, 5
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
loopsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET, 10, 2
|
|
delay 1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -28, 0, 0, 3
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
waitforvisualfinish
|
|
delay 10
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 6
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 6
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
gBattleAnimMove_ShellSideArmSpecial:: @ Modified Snipe Shot, placeholder
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_IMPACT_2, 0, 6, 6, RGB_MAGENTA
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_LEER, 0, 6, 6, RGB_MAGENTA
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
createsprite gLeerSpriteTemplate, ANIM_TARGET, 2, 24, -12
|
|
waitforvisualfinish
|
|
delay 32
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
createsprite gSnipeShotBallTemplate, ANIM_TARGET, 2, 0, 0, 24
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 8, 1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_MistyExplosion::
|
|
complex_palette_blend selector=F_PAL_BG, delay=8, num_blends=9, color1=RGB(27, 18, 30), blend_y1=8, color2=RGB_BLACK, blend_y2=8
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_PLAYER_LEFT, 8, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_PLAYER_RIGHT, 8, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_OPPONENT_LEFT, 8, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_OPPONENT_RIGHT, 8, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_ATTACKER_FORCE, 8, 0, 40, 1
|
|
call Explosion1
|
|
call Explosion1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 16, RGB(31, 27, 31) @;White Pink
|
|
delay 50
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 16, 0, RGB(31, 27, 31) @;White Pink
|
|
end
|
|
|
|
gBattleAnimMove_GrassyGlide::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_IMPACT, 0, 13, 13, RGB(6, 19, 0) @;Leaf Green
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=8, color=RGB(12, 29, 0)
|
|
delay 2
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, -120, 0, 0, 10 @;Slide off off, screen
|
|
waitforvisualfinish
|
|
call GrassPledgeMiddleFountain
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 2
|
|
end
|
|
|
|
gBattleAnimMove_RisingVoltage::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_GetFieldTerrain, 5,
|
|
jumpargeq 0, STATUS_FIELD_ELECTRIC_TERRAIN, ANIM_RISING_VOLTAGE_STRONGER
|
|
ANIM_RISING_VOLTAGE_NORMAL:
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 2, F_PAL_BG, 1, 0, 4, RGB_BLACK @;To black
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 30, 0, 3 @;Amount, Slowness, Slowness, Compaction
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
createsprite gGrowingShockWaveOrbSpriteTemplate, ANIM_ATTACKER, 0, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, 0, 1, 52, 1, 0
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=1, num_blends=4, initial_blend_y=0, target_blend_y=12, color=RGB(29, 28, 1)
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, 16
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -16
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -32
|
|
call StokedSparksurferSparkGeyser
|
|
call StokedSparksurferSparkGeyser
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 2, F_PAL_BG, 1, 4, 0, RGB_BLACK @;From black
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
ANIM_RISING_VOLTAGE_STRONGER:
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 2, F_PAL_BG, 1, 0, 12, RGB_BLACK @;To black
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 55, 0, 0 @;Amount, Slowness, Slowness, Compaction
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
createsprite gGrowingShockWaveOrbSpriteTemplate, ANIM_ATTACKER, 2,
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, 0, 1, 84, 1, 0
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 4, 0, 16, RGB(29, 28, 1)
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 16, 16
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 16, -16
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 16, -32
|
|
call StokedSparksurferSparkGeyser
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, -24, 16
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, -24, -16
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, -24, -32
|
|
call StokedSparksurferSparkGeyser
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, 16
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -16
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -32
|
|
call StokedSparksurferSparkGeyser
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 16, 0, RGB(29, 28, 1) @;From Yellow
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 2, F_PAL_BG, 1, 12, 0, RGB_BLACK @;From black
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
|
|
gBattleAnimMove_TerrainPulse::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=7, color=RGB_BLACK
|
|
createvisualtask AnimTask_TerrainPulse, 5
|
|
jumpargeq 0, TYPE_ELECTRIC, TerrainPulseElectric
|
|
jumpargeq 0, TYPE_GRASS, TerrainPulseGrass
|
|
jumpargeq 0, TYPE_FAIRY, TerrainPulseFairy
|
|
jumpargeq 0, TYPE_PSYCHIC, TerrainPulsePsychic
|
|
TerrainPulseNormal:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_DRAGON_PULSE, 0, 12, 12, RGB_WHITE
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_PSYBEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 3, 4, 0, 15
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 2, 51200, 24, ANIM_TARGET
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB_WHITE
|
|
goto TerrainPulseEnd
|
|
|
|
TerrainPulseElectric:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_DRAGON_PULSE, 0, 12, 12, RGB(27, 27, 0)
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_PSYBEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 3, 4, 0, 15
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 4, 51200, 24, ANIM_TARGET
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(27, 27, 0)
|
|
goto TerrainPulseEnd
|
|
|
|
TerrainPulseGrass:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_DRAGON_PULSE, 0, 12, 12, RGB(11, 26, 11)
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_PSYBEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 3, 4, 0, 15
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 4, 51200, 24, ANIM_TARGET
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(11, 26, 11)
|
|
goto TerrainPulseEnd
|
|
|
|
TerrainPulseFairy:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_DRAGON_PULSE, 0, 12, 12, RGB(31, 24, 31)
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_PSYBEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 3, 4, 0, 15
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 4, 51200, 24, ANIM_TARGET
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(31, 24, 31)
|
|
goto TerrainPulseEnd
|
|
|
|
TerrainPulsePsychic:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_DRAGON_PULSE, 0, 12, 12, RGB(27, 0, 13)
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_PSYBEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 3, 4, 0, 15
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 4, 51200, 24, ANIM_TARGET
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(27, 0, 13)
|
|
goto TerrainPulseEnd
|
|
|
|
TerrainPulseEnd:
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
call DragonPulseParticle
|
|
waitforvisualfinish
|
|
delay 1
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=7, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_SkitterSmack::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 16, RGB_WHITE
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_FAINT_ATTACK, SOUND_PAN_ATTACKER
|
|
invisible ANIM_ATTACKER
|
|
delay 1
|
|
visible ANIM_ATTACKER
|
|
delay 1
|
|
invisible ANIM_ATTACKER
|
|
delay 1
|
|
visible ANIM_ATTACKER
|
|
delay 1
|
|
invisible ANIM_ATTACKER
|
|
waitsound
|
|
createvisualtask AnimTask_DestinyBondWhiteShadow, 5, 0, 48
|
|
delay 23
|
|
createvisualtask AnimTask_IsTargetSameSide, 2,
|
|
createvisualtask AnimTask_SnatchOpposingMonMove, 2,
|
|
delay 25
|
|
visible ANIM_ATTACKER
|
|
invisible ANIM_ATTACKER
|
|
delay 5
|
|
createsprite gSkitterSmackImpactTemplate, ANIM_TARGET, 2, -10, -10, 0
|
|
call HyperspaceHoleMovement
|
|
createsprite gSkitterSmackImpactTemplate, ANIM_TARGET, 2, 10, 20, 0
|
|
call HyperspaceHoleMovement
|
|
createsprite gSkitterSmackImpactTemplate, ANIM_TARGET, 2, -5, 10, 0
|
|
call HyperspaceHoleMovement
|
|
createsprite gSkitterSmackImpactTemplate, ANIM_TARGET, 2, 17, -12, 0
|
|
call HyperspaceHoleMovement
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
delay 1
|
|
invisible ANIM_ATTACKER
|
|
delay 1
|
|
visible ANIM_ATTACKER
|
|
delay 1
|
|
invisible ANIM_ATTACKER
|
|
delay 1
|
|
visible ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_BurningJealousy::
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 42, 1
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=8, color=RGB_RED
|
|
call BurningJealousyFireBuffEffect
|
|
delay 8
|
|
call BurningJealousyFireBuffEffect
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=8, color=RGB_RED
|
|
delay 4
|
|
call BurningJealousyFireBuffEffect
|
|
waitforvisualfinish
|
|
monbg ANIM_TARGET
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_FlailMovement, 2, ANIM_ATTACKER
|
|
call BurningJealousyFlames
|
|
delay 8
|
|
call BurningJealousyFlames
|
|
delay 8
|
|
call BurningJealousyFlames
|
|
playsewithpan SE_M_FIRE_PUNCH, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 2, 0, 12, 1
|
|
createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_TARGET, RGB_RED, 12, 1, 1
|
|
createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_DEF_PARTNER, RGB_RED, 12, 1, 1
|
|
call FireSpreadEffect @ INCINERATE_BURN_CHANCE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
BurningJealousyFireBuffEffect:
|
|
createsprite gSpriteTemplate_BurningJealousyFireBuff, ANIM_ATTACKER, 2, ANIM_ATTACKER, -24, 26, 2, 24
|
|
delay 3
|
|
createsprite gSpriteTemplate_BurningJealousyFireBuff, ANIM_ATTACKER, 2, ANIM_ATTACKER, 14, 28, 1, 24
|
|
delay 3
|
|
createsprite gSpriteTemplate_BurningJealousyFireBuff, ANIM_ATTACKER, 2, ANIM_ATTACKER, -5, 10, 2, 24
|
|
delay 3
|
|
createsprite gSpriteTemplate_BurningJealousyFireBuff, ANIM_ATTACKER, 2, ANIM_ATTACKER, 28, 26, 3, 24
|
|
delay 3
|
|
return
|
|
|
|
BurningJealousyFlames:
|
|
createsprite gSpriteTemplate_BurningJealousyEmit, ANIM_ATTACKER, 2, 0, 0, 30, -1280, 0, 3
|
|
createsprite gSpriteTemplate_BurningJealousyEmit, ANIM_ATTACKER, 2, 0, 0, 30, 0, 1280, 3
|
|
createsprite gSpriteTemplate_BurningJealousyEmit, ANIM_ATTACKER, 2, 0, 0, 30, 0, -1280, 3
|
|
createsprite gSpriteTemplate_BurningJealousyEmit, ANIM_ATTACKER, 2, 0, 0, 30, 1280, 768, 3
|
|
createsprite gSpriteTemplate_BurningJealousyEmit, ANIM_ATTACKER, 2, 0, 0, 30, -1280, 768, 3
|
|
createsprite gSpriteTemplate_BurningJealousyEmit, ANIM_ATTACKER, 2, 0, 0, 30, 1280, -768, 3
|
|
createsprite gSpriteTemplate_BurningJealousyEmit, ANIM_ATTACKER, 2, 0, 0, 30, -1280, -768, 3
|
|
return
|
|
|
|
|
|
gBattleAnimMove_LashOut::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SLAM_HIT_2, 0, 10, 10, RGB_RED
|
|
monbg ANIM_DEF_PARTNER
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call PowerTripBuffUp
|
|
delay 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_RED
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call PowerTripBuffUp
|
|
delay 8
|
|
call PowerTripBuffUp
|
|
waitforvisualfinish
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_LashOutStrike, ANIM_TARGET, 2, -16, -16, FALSE
|
|
delay 8
|
|
createsprite gFoulPlayImpactTemplate, ANIM_TARGET, 3, 10, 0, ANIM_TARGET, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -12, 10, 0, 3
|
|
delay 8
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 5
|
|
delay 8
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_LashOutStrike, ANIM_TARGET, 2, -16, -16, TRUE
|
|
delay 8
|
|
createsprite gFoulPlayImpactTemplate, ANIM_TARGET, 3, -10, 0, ANIM_TARGET, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 12, 10, 0, 3
|
|
delay 8
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 5
|
|
restorebg
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
|
|
gBattleAnimMove_Poltergeist::
|
|
fadetobg BG_NIGHTMARE
|
|
waitbgfadein
|
|
simple_palette_blend selector=F_PAL_ATTACKER, delay=0, initial_blend_y=0, target_blend_y=16, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gEyeSparkleSpriteTemplate, ANIM_ATTACKER, 0, -16, -8
|
|
createsprite gEyeSparkleSpriteTemplate, ANIM_ATTACKER, 0, 16, -8
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_ATTACKER, delay=0, initial_blend_y=16, target_blend_y=0, color=RGB_BLACK
|
|
playsewithpan SE_M_FAINT_ATTACK, SOUND_PAN_ATTACKER
|
|
delay 1
|
|
createvisualtask AnimTask_DestinyBondWhiteShadow, 5, 0, 36
|
|
delay 48
|
|
playsewithpan SE_M_SAND_ATTACK, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_PoltergeistItem, 2
|
|
waitforvisualfinish
|
|
setalpha 12, 8
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 5, 1
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_ATTACKER | F_PAL_TARGET, delay=5, num_blends=1, color1=0, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_NightmareClone, 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 40, 1
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
clearmonbg 3
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_CorrosiveGas::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_PINK_CLOUD, 0, 14, 14, RGB(15, 15, 6) @;Garbage green
|
|
monbg ANIM_ATTACKER
|
|
loopsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_ATTACKER, 8, 3
|
|
delay 0
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=1, num_blends=2, initial_blend_y=0, target_blend_y=15, color=RGB(15, 15, 6)@;Garbage green
|
|
createsprite gSpriteTemplate_CorrosiveGasSmoke, ANIM_ATTACKER, 122, 3, -14, 18, 46
|
|
delay 0
|
|
createsprite gSpriteTemplate_CorrosiveGasSmoke, ANIM_ATTACKER, 121, 3, 14, -14, 46
|
|
delay 0
|
|
createsprite gSpriteTemplate_CorrosiveGasSmoke, ANIM_ATTACKER, 120, 3, -12, -10, 46
|
|
delay 0
|
|
createsprite gSpriteTemplate_CorrosiveGasSmoke, ANIM_ATTACKER, 119, 3, 14, 14, 46
|
|
delay 0
|
|
createsprite gSpriteTemplate_CorrosiveGasSmoke, ANIM_ATTACKER, 118, 3, 0, 0, 46
|
|
delay 0
|
|
createsprite gSpriteTemplate_CorrosiveGasSmoke, ANIM_ATTACKER, 123, 3, 4, 4, 30
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_TARGET | F_PAL_ATK_PARTNER | F_PAL_DEF_PARTNER), delay=1, num_blends=2, initial_blend_y=0, target_blend_y=14, color=RGB(15, 15, 6)@;Garbage green
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
gBattleAnimMove_Coaching::
|
|
playsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_Splash, 2, ANIM_ATTACKER, 1
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_TAIL_WHIP, SOUND_PAN_TARGET
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=1, num_blends=2, initial_blend_y=0, target_blend_y=10, color=RGB(29, 18, 7)
|
|
createvisualtask AnimTask_Splash, 2, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_FlipTurn::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
call WaterfallBubblesOnAttacker
|
|
waitforvisualfinish
|
|
invisible ANIM_ATTACKER
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gSpriteTemplate_FlipTurnThere, ANIM_TARGET, 2, 0, 0, 21
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_TAIL_WHIP, SOUND_PAN_TARGET
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_TARGET, 2, 0, 0, 1, 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
createsprite gSpriteTemplate_FlipTurnBack, ANIM_ATTACKER, 3, 0, -15, -16, 36
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
|
|
gBattleAnimMove_TripleAxel::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_VITAL_THROW2, 63
|
|
jumpifmoveturn 0, TripleAxelTurn0
|
|
jumpifmoveturn 1, TripleAxelTurn1
|
|
goto TripleAxelTurn2
|
|
TripleAxelTurn0:
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 4, -16, -8, 20, 1, 2
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-16, y=-16, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gTripleAxelIceCrystalSpriteTemplate, ANIM_TARGET, 1, -16, -8, -256, -40
|
|
createsprite gTripleAxelIceCrystalSpriteTemplate, ANIM_TARGET, 1, -16, -8, 416, -38
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 4, 1
|
|
goto TripleAxelEnd
|
|
TripleAxelTurn1:
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 4, 8, 8, 20, 1, 2
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=8, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gTripleAxelIceCrystalSpriteTemplate, ANIM_TARGET, 1, 8, 8, 160, -32
|
|
createsprite gTripleAxelIceCrystalSpriteTemplate, ANIM_TARGET, 1, 8, 8, -256, -40
|
|
createsprite gTripleAxelIceCrystalSpriteTemplate, ANIM_TARGET, 1, 8, 8, 416, -38
|
|
createsprite gTripleAxelIceCrystalSpriteTemplate, ANIM_TARGET, 1, 8, 8, -384, -31
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 6, 1
|
|
goto TripleAxelEnd
|
|
TripleAxelTurn2:
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 4, 0, 0, 20, 1, 2
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=-8, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gTripleAxelIceCrystalSpriteTemplate, ANIM_TARGET, 1, 0, 0, 160, -32
|
|
createsprite gTripleAxelIceCrystalSpriteTemplate, ANIM_TARGET, 1, 0, 0, -256, -40
|
|
createsprite gTripleAxelIceCrystalSpriteTemplate, ANIM_TARGET, 1, 0, 0, 128, -16
|
|
createsprite gTripleAxelIceCrystalSpriteTemplate, ANIM_TARGET, 1, 0, 0, 416, -38
|
|
createsprite gTripleAxelIceCrystalSpriteTemplate, ANIM_TARGET, 1, 0, 0, -128, -22
|
|
createsprite gTripleAxelIceCrystalSpriteTemplate, ANIM_TARGET, 1, 0, 0, -384, -31
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 8, 1
|
|
TripleAxelEnd:
|
|
delay 4
|
|
playsewithpan SE_M_ICY_WIND, 63
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_DualWingbeat::
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 10, 1
|
|
playsewithpan SE_M_WING_ATTACK, SOUND_PAN_TARGET
|
|
jumpifmoveturn 1, DualWingbeatRightSide
|
|
DualWingbeatLeftSide:
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-20, y=10, relative_to=ANIM_TARGET, animation=2
|
|
delay 1
|
|
playsewithpan SE_M_WING_ATTACK, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-20, y=0, relative_to=ANIM_TARGET, animation=2
|
|
call DualWingbeatFeatherScatterLeft
|
|
delay 1
|
|
playsewithpan SE_M_WING_ATTACK, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=-20, y=-10, relative_to=ANIM_TARGET, animation=2
|
|
delay 1
|
|
playsewithpan SE_M_WING_ATTACK, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 5, x=-20, y=-20, relative_to=ANIM_TARGET, animation=2
|
|
delay 1
|
|
playsewithpan SE_M_WING_ATTACK, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 6, x=-20, y=-30, relative_to=ANIM_TARGET, animation=2
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
DualWingbeatRightSide:
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=10, y=10, relative_to=ANIM_TARGET, animation=2
|
|
delay 1
|
|
playsewithpan SE_M_WING_ATTACK, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=10, y=0, relative_to=ANIM_TARGET, animation=2
|
|
call DualWingbeatFeatherScatterRight
|
|
delay 1
|
|
playsewithpan SE_M_WING_ATTACK, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=10, y=-10, relative_to=ANIM_TARGET, animation=2
|
|
delay 1
|
|
playsewithpan SE_M_WING_ATTACK, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 5, x=10, y=-20, relative_to=ANIM_TARGET, animation=2
|
|
delay 1
|
|
playsewithpan SE_M_WING_ATTACK, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 6, x=10, y=-30, relative_to=ANIM_TARGET, animation=2
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
DualWingbeatFeatherScatterLeft:
|
|
createsprite gDualWingbeatFeatherSpriteTemplate, ANIM_TARGET, 1, -16, -8, 160, -32
|
|
createsprite gDualWingbeatFeatherSpriteTemplate, ANIM_TARGET, 1, -16, -8, -256, -40
|
|
createsprite gDualWingbeatFeatherSpriteTemplate, ANIM_TARGET, 1, -16, -8, 416, -38
|
|
createsprite gDualWingbeatFeatherSpriteTemplate, ANIM_TARGET, 1, -16, -8, -384, -31
|
|
return
|
|
DualWingbeatFeatherScatterRight:
|
|
createsprite gDualWingbeatFeatherSpriteTemplate, ANIM_TARGET, 1, 0, -8, 160, -32
|
|
createsprite gDualWingbeatFeatherSpriteTemplate, ANIM_TARGET, 1, 0, -8, -256, -40
|
|
createsprite gDualWingbeatFeatherSpriteTemplate, ANIM_TARGET, 1, 0, -8, 416, -38
|
|
createsprite gDualWingbeatFeatherSpriteTemplate, ANIM_TARGET, 1, 0, -8, -384, -31
|
|
return
|
|
|
|
gBattleAnimMove_ScorchingSands::
|
|
monbg ANIM_ATK_PARTNER
|
|
splitbgprio ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SAND_ATTACK, SOUND_PAN_ATTACKER
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, -10, 0, 0, 3
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 2
|
|
call SandAttackDirt
|
|
call SandAttackDirt
|
|
call SandAttackDirt
|
|
call SandAttackDirt
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 2, 0, 25, 1
|
|
call SandAttackDirt
|
|
call SandAttackDirt
|
|
playsewithpan SE_M_FIRE_PUNCH, SOUND_PAN_TARGET
|
|
call FireSpreadEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_JungleHealing::
|
|
fadetobg BG_SNUGGLE_FOREVER
|
|
waitbgfadeout
|
|
call CreateIngrainRoots
|
|
call CreateIngrainOrbs
|
|
playsewithpan SE_M_STAT_INCREASE, 192
|
|
createvisualtask AnimTask_StatusClearedEffect, 2, 1
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_SilkTrap::
|
|
splitbgprio ANIM_ATTACKER
|
|
playsewithpan SE_M_STRING_SHOT2, SOUND_PAN_TARGET
|
|
createsprite gSpiderWebSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, FALSE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_PROTECT, 0, 10, 10, RGB_LIME_GREEN
|
|
monbg ANIM_ATK_PARTNER
|
|
waitplaysewithpan SE_M_REFLECT, SOUND_PAN_ATTACKER, 16
|
|
createsprite gProtectSpriteTemplate, ANIM_ATTACKER, 2, 24, 0, 90
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_Snowscape::
|
|
playsewithpan SE_M_GUST, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 0, 4, RGB(11, 18, 22)
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_CreateSnowflakes, 2, 0, 3, 120
|
|
createvisualtask AnimTask_CreateSnowflakes, 2, 0, 3, 120
|
|
createvisualtask AnimTask_CreateSnowflakes, 2, 0, 3, 120
|
|
delay 120
|
|
playsewithpan SE_M_GUST2, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 4, 0, RGB(11, 18, 22)
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_WickedBlow::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_PAIN_SPLIT, 0, 9, 9, RGB_RED
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_FOCUS_ENERGY, 0, 8, 8, RGB_RED
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call WickedBlowBuffEffect
|
|
delay 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_BLACK
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call WickedBlowBuffEffect
|
|
delay 8
|
|
call WickedBlowBuffEffect
|
|
waitforvisualfinish
|
|
fadetobg BG_DARK
|
|
waitbgfadeout
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 28, 0, 0, 5
|
|
delay 5
|
|
createsprite gSpriteTemplate_WickedBlowFist, ANIM_TARGET, 4, ANIM_TARGET, 0, 0, 16, 32
|
|
delay 6
|
|
loopsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET, 4, 6
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gSpriteTemplate_WickedBlowBlackStars, ANIM_TARGET, 2, -16, -8, -384, -31
|
|
createsprite gSpriteTemplate_WickedBlowRedStars, ANIM_TARGET, 2, -16, -8, -256, -40
|
|
createsprite gSpriteTemplate_WickedBlowBlackStars, ANIM_TARGET, 2, -16, -8, -128, -22
|
|
createsprite gSpriteTemplate_WickedBlowRedStars, ANIM_TARGET, 2, -16, -8, 128, -16
|
|
createsprite gSpriteTemplate_WickedBlowBlackStars, ANIM_TARGET, 2, -16, -8, 160, -32
|
|
createsprite gSpriteTemplate_WickedBlowRedStars, ANIM_TARGET, 2, -16, -8, 416, -38
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 4, 10, 1
|
|
delay 20
|
|
createvisualtask AnimTask_TwinkleTackleLaunch, 2, 50
|
|
delay 50
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_TARGET
|
|
createsprite gTwinkleTackleTwinkleSpriteTemplate, ANIM_TARGET, 13, 0, 0, ANIM_TARGET @detect star
|
|
waitforvisualfinish
|
|
blendoff
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 6
|
|
restorebg
|
|
waitbgfadeout
|
|
visible ANIM_TARGET
|
|
waitforvisualfinish
|
|
waitbgfadein
|
|
end
|
|
|
|
WickedBlowBuffEffect:
|
|
createsprite gPowerTripFocusEnergyTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 4
|
|
createsprite gPowerTripFocusEnergyTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
delay 4
|
|
createsprite gPowerTripFocusEnergyTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
|
|
|
|
|
|
gBattleAnimMove_SurgingStrikes::
|
|
jumpifmoveturn 1 SURGING_STRIKES_1
|
|
jumpifmoveturn 2 SURGING_STRIKES_2
|
|
|
|
SURGING_STRIKES_0:
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_SurgingStrikesImpact, ANIM_TARGET, 2, -40, -20, 0, 0, 10, -20 @Top left
|
|
delay 5
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_SurgingStrikesImpact, ANIM_TARGET, 2, 40, 20, 0, 0, 10, 20 @Bottom right
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_TARGET, 1, -5, -5, ANIM_TARGET, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 8, 1
|
|
delay 5
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_TARGET, 1, 5, 5, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
SURGING_STRIKES_1:
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_SurgingStrikesImpact, ANIM_TARGET, 2, 40, -20, 0, 0, 10, -20 @Top Right
|
|
delay 5
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_SurgingStrikesImpact, ANIM_TARGET, 2, -40, 20, 0, 0, 10, 20 @Bottom left
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_TARGET, 1, 5, -5, ANIM_TARGET, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 8, 1
|
|
delay 5
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_TARGET, 1, -5, 5, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
SURGING_STRIKES_2:
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_SurgingStrikesImpact, ANIM_TARGET, 2, -40, -20, 0, 0, 10, -20 @Top left
|
|
delay 5
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_SurgingStrikesImpact, ANIM_TARGET, 2, 40, -20, 0, 0, 10, -20 @Top Right
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_TARGET, 1, -5, -5, ANIM_TARGET, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 0, 4, 8, 1
|
|
delay 5
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_TARGET, 1, 5, -5, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
|
|
gBattleAnimMove_ThunderCage::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
loopsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET, 10, 9
|
|
createsprite gThunderboltOrbSpriteTemplate, ANIM_TARGET, 3, 100, -25, -30, 0
|
|
createsprite gThunderboltOrbSpriteTemplate, ANIM_TARGET, 3, 100, 0, -30, 0
|
|
createsprite gThunderboltOrbSpriteTemplate, ANIM_TARGET, 3, 100, 25, -30, 0
|
|
createsprite gThunderWaveSpriteTemplate, ANIM_TARGET, 2, -16, -16
|
|
delay 4
|
|
createsprite gThunderWaveSpriteTemplate, ANIM_TARGET, 2, -16, 0
|
|
delay 4
|
|
createsprite gThunderWaveSpriteTemplate, ANIM_TARGET, 2, -16, 16
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 50, 1
|
|
call ThunderCageBolts
|
|
delay 4
|
|
createsprite gThunderWaveSpriteTemplate, ANIM_TARGET, 2, -16, -16
|
|
delay 4
|
|
createsprite gThunderWaveSpriteTemplate, ANIM_TARGET, 2, -16, 0
|
|
delay 4
|
|
createsprite gThunderWaveSpriteTemplate, ANIM_TARGET, 2, -16, 16
|
|
call ThunderCageBolts
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
ThunderCageBolts:
|
|
createvisualtask AnimTask_ElectricBolt, 2, 25, -40, 1
|
|
delay 9
|
|
createvisualtask AnimTask_ElectricBolt, 2, -25, -40, 1
|
|
delay 9
|
|
createvisualtask AnimTask_ElectricBolt, 2, 0, -40, 1
|
|
delay 9
|
|
return
|
|
|
|
|
|
gBattleAnimMove_DragonEnergy::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_HYDRO_PUMP, 0, 12, 12, RGB(30, 2, 11) @;Regidrago Reddish Reddish, Purple
|
|
monbg ANIM_TARGET
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=4, initial_blend_y=0, target_blend_y=11, color=RGB(31, 28, 31)@;Pinkish White
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 1, 16, 0, RGB(30, 2, 11) @;Regidrago Reddish Reddish, Purple
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, -120, 0, 0, 1 @;Slide off off, screen
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SOLAR_BEAM, SOUND_PAN_TARGET
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 94, 1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_DEF_PARTNER, 4, 0, 94, 1
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
call DragonEnergyShot
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 10
|
|
clearmonbg ANIM_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
|
|
DragonEnergyShot:
|
|
createsprite gSpriteTemplate_DragonEnergyShot, ANIM_TARGET, 2, 25
|
|
delay 1
|
|
createsprite gSpriteTemplate_DragonEnergyShot, ANIM_TARGET, 2, 25
|
|
delay 1
|
|
return
|
|
|
|
|
|
gBattleAnimMove_FreezingGlare::
|
|
call SetPsychicBackground
|
|
createsprite gEyeSparkleSpriteTemplate, ANIM_ATTACKER, 0, -16, -8
|
|
createsprite gEyeSparkleSpriteTemplate, ANIM_ATTACKER, 0, 16, -8
|
|
createvisualtask AnimTask_GlareEyeDots, 5, 0
|
|
playsewithpan SE_M_PSYBEAM2, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(12, 26, 31)@;Ice blue
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 4, 28, 1
|
|
call IceCrystalEffectShort
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
|
|
gBattleAnimMove_FieryWrath::
|
|
monbg ANIM_DEF_PARTNER
|
|
playsewithpan SE_M_SACRED_FIRE2, 192
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 2, 0, 14, RGB_BLACK
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 4, 0, 8, RGB_RED
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 32, 1
|
|
call DragonClawFireSpiral
|
|
call DragonClawFireSpiral
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_PSYBEAM, SOUND_PAN_TARGET, 20, 3
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_DEF_SIDE, 4, 0, 15, RGB(6, 0, 12)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 60, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 4, 0, 60, 1
|
|
call FieryWrathGeyser
|
|
call FieryWrathGeyser
|
|
call FieryWrathGeyser
|
|
call FieryWrathGeyser
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 8, 0, RGB_RED
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_DEF_SIDE, 2, 9, 0, RGB(6, 0, 12)
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 14, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
FieryWrathGeyser:
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_TARGET, -4, 16
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_DEF_PARTNER, -4, 16
|
|
delay 0
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_TARGET, 4109, 16
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_DEF_PARTNER, 4109, 16
|
|
delay 0
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_TARGET, 4, 16
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_DEF_PARTNER, 4, 16
|
|
delay 0
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_TARGET, -16, 16
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_DEF_PARTNER, -16, 16
|
|
delay 0
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_TARGET, -4, 16
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_DEF_PARTNER, -4, 16
|
|
delay 0
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_TARGET, 4109, 16
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_DEF_PARTNER, 4109, 16
|
|
delay 0
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_TARGET, 4, 16
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_DEF_PARTNER, 4, 16
|
|
delay 0
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_TARGET, -16, 16
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_DEF_PARTNER, -16, 16
|
|
delay 0
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_TARGET, -4, 16
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_DEF_PARTNER, -4, 16
|
|
delay 0
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_TARGET, 4109, 16
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_DEF_PARTNER, 4109, 16
|
|
delay 0
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_TARGET, 4, 16
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_DEF_PARTNER, 4, 16
|
|
delay 0
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_TARGET, -16, 16
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_DEF_PARTNER, -16, 16
|
|
delay 0
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_TARGET, -4, 16
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_DEF_PARTNER, -4, 16
|
|
delay 0
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_TARGET, 4109, 16
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_DEF_PARTNER, 4109, 16
|
|
delay 0
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_TARGET, 4, 16
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_DEF_PARTNER, 4, 16
|
|
delay 0
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_TARGET, -16, 16
|
|
createsprite gSpriteTemplate_FieryWrathGeyser, ANIM_TARGET, 4, ANIM_DEF_PARTNER, -16, 16
|
|
delay 0
|
|
return
|
|
|
|
|
|
gBattleAnimMove_ThunderousKick::
|
|
monbg ANIM_TARGET
|
|
fadetobg BG_MAX_LIGHTNING
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -256, 0, 1, -1
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_TARGET
|
|
createsprite gMegaPunchKickSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 50
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 7, RGB_WHITE
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 2, 0, 22, 1
|
|
call ZingZapSparks1
|
|
delay 10
|
|
call ZingZapSparks2
|
|
delay 10
|
|
call ZingZapSparks1
|
|
delay 10
|
|
call ZingZapSparks2
|
|
delay 3
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 48, 3, 0, 4
|
|
delay 7
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 22, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 16, 0, RGB_WHITE
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=8, color2=RGB_BLACK, blend_y2=0
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 5
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
|
|
gBattleAnimMove_GlacialLance::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 10, RGB(0, 0, 15) @;Royal Blue
|
|
monbg ANIM_TARGET
|
|
playsewithpan SE_M_HAIL, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_CentredFrozenIceCube, ANIM_TARGET, 0
|
|
createsprite gSpriteTemplate_GlacialLance, ANIM_TARGET, 2, 0, 40, 0, 0, 40, 50, 10
|
|
delay 60
|
|
flash_anim_tag_with_color tag=ANIM_TAG_ICICLE_SPEAR, delay=4, num_blends=1, color1=RGB_WHITE, blend_y1=16, color2=0, blend_y2=0
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_TARGET
|
|
delay 38
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 52, 1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_DEF_PARTNER, 6, 0, 52, 1
|
|
delay 4
|
|
call IceCrystalEffectLong
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 10, 0, RGB(0, 0, 15) @;Royal Blue
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
|
|
gBattleAnimMove_AstralBarrage::
|
|
monbg ANIM_ATK_PARTNER
|
|
splitbgprio ANIM_ATTACKER
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
setalpha 12, 8
|
|
fadetobg BG_GHOST
|
|
waitbgfadein
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_GrudgeFlames, 3
|
|
createsprite gBlackHoleEclipseHoleUserSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, ANIM_ATTACKER, 0
|
|
createsprite gBlackHoleEclipseBlueRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
delay 8
|
|
createsprite gBlackHoleEclipseBlackRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
delay 8
|
|
createsprite gBlackHoleEclipseBlueRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
delay 8
|
|
createsprite gBlackHoleEclipseBlackRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
delay 8
|
|
unloadspritegfx ANIM_TAG_SHADOW_BALL
|
|
unloadspritepal ANIM_TAG_SHADOW_BALL
|
|
unloadspritegfx ANIM_TAG_THIN_RING
|
|
unloadspritepal ANIM_TAG_THIN_RING
|
|
unloadspritegfx ANIM_TAG_ICE_CHUNK
|
|
unloadspritepal ANIM_TAG_ICE_CHUNK
|
|
unloadspritegfx ANIM_TAG_HANDS_AND_FEET
|
|
unloadspritepal ANIM_TAG_HANDS_AND_FEET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB_PURPLE
|
|
call AstralBarrageFlames1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 0, 3, 50, 1
|
|
call AstralBarrageFlames2
|
|
call AstralBarrageFlames3
|
|
call AstralBarrageFlames4
|
|
call AstralBarrageFlames5
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET
|
|
createspriteontargets gCurseGhostSpriteTemplate, ANIM_TARGET, 3, 2, 8, -5, ANIM_TARGET, 0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 8, 0, 16, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 8, 0, 16, 1
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 0
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 42
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 84
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 126
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 168
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 210
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
restorebg
|
|
waitbgfadein
|
|
blendoff
|
|
delay 1
|
|
end
|
|
AstralBarrageFlames1:
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, -30, -30, -20 @;Top left
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 6, 5, 3, 0
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, -30, 10, 20 @;Bottom left
|
|
delay 2
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, 30, -30, -20 @;Top right
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, -16, -15, 3, 0
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, 30, 10, 20 @;Bottom right
|
|
delay 2
|
|
return
|
|
AstralBarrageFlames2:
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, -30, -30, -20 @;Top left
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 16, -5, 3, 0
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, -30, 10, 20 @;Bottom left
|
|
delay 2
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, 30, -30, -20 @;Top right
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, -12, 18, 3, 0
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, 30, 10, 20 @;Bottom right
|
|
delay 2
|
|
return
|
|
AstralBarrageFlames3:
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, -30, -30, -20 @;Top left
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 0, 5, 3, 0
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, -30, 10, 20 @;Bottom left
|
|
delay 2
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, 30, -30, -20 @;Top right
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 6, 5, 3, 0
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, 30, 10, 20 @;Bottom right
|
|
delay 2
|
|
return
|
|
AstralBarrageFlames4:
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, -30, -30, -20 @;Top left
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, -16, -15, 3, 0
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, -30, 10, 20 @;Bottom left
|
|
delay 2
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, 30, -30, -20 @;Top right
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 16, -5, 3, 0
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, 30, 10, 20 @;Bottom right
|
|
delay 2
|
|
return
|
|
AstralBarrageFlames5:
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, -30, -30, -20 @;Top left
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, -12, 18, 3, 0
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, -30, 10, 20 @;Bottom left
|
|
delay 2
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, 30, -30, -20 @;Top right
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 0, 5, 3, 0
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, 30, 10, 20 @;Bottom right
|
|
delay 2
|
|
return
|
|
|
|
|
|
gBattleAnimMove_EerieSpell::
|
|
call SetPsychicBackground
|
|
waitforvisualfinish
|
|
monbg ANIM_TARGET
|
|
splitbgprio_all
|
|
loopsewithpan SE_M_PSYBEAM, SOUND_PAN_TARGET, 20, 5
|
|
createvisualtask AnimTask_SpiteTargetShadow 0
|
|
call EerieSpellConvergingFlames
|
|
call EerieSpellConvergingFlames
|
|
call EerieSpellConvergingFlames
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
call UnsetPsychicBg
|
|
waitforvisualfinish
|
|
end
|
|
|
|
EerieSpellConvergingFlames:
|
|
createsprite gSpriteTemplate_EerieSpellFlame, ANIM_TARGET, 2, 1, 0, 0, -32, 16
|
|
delay 2
|
|
createsprite gSpriteTemplate_EerieSpellFlame, ANIM_TARGET, 2, 1, 0, 22, -22, 16
|
|
delay 2
|
|
createsprite gSpriteTemplate_EerieSpellFlame, ANIM_TARGET, 2, 1, 0, 30, 0, 16
|
|
delay 2
|
|
createsprite gSpriteTemplate_EerieSpellFlame, ANIM_TARGET, 2, 1, 0, 20, 20, 16
|
|
delay 2
|
|
createsprite gSpriteTemplate_EerieSpellFlame, ANIM_TARGET, 2, 1, 0, 0, 28, 16
|
|
delay 2
|
|
createsprite gSpriteTemplate_EerieSpellFlame, ANIM_TARGET, 2, 1, 0, -19, 19, 16
|
|
delay 2
|
|
createsprite gSpriteTemplate_EerieSpellFlame, ANIM_TARGET, 2, 1, 0, -27, 0, 16
|
|
delay 2
|
|
createsprite gSpriteTemplate_EerieSpellFlame, ANIM_TARGET, 2, 1, 0, -18, -18, 16
|
|
delay 2
|
|
createsprite gSpriteTemplate_EerieSpellFlame, ANIM_TARGET, 2, 1, 0, 0, -25, 16
|
|
delay 2
|
|
createsprite gSpriteTemplate_EerieSpellFlame, ANIM_TARGET, 2, 1, 0, 17, -17, 16
|
|
delay 2
|
|
createsprite gSpriteTemplate_EerieSpellFlame, ANIM_TARGET, 2, 1, 0, 23, 0, 16
|
|
return
|
|
|
|
@@@@@@@@@@@@@@@@@@@@@@@ GEN 9 @@@@@@@@@@@@@@@@@@@@@@@
|
|
gBattleAnimMove_DireClaw::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SLASH, 0, 12, 12, RGB(24, 1, 24) @;Purple
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4
|
|
delay 6
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createsprite gSlashSliceSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, -16, 0
|
|
delay 2
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createsprite gSlashSliceSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 36, 1
|
|
delay 2
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createsprite gSlashSliceSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 0
|
|
call PoisonBubblesEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
|
|
gBattleAnimMove_PsyshieldBash::
|
|
call SetPsychicBackground
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 0, 11, RGB(15, 29, 31) @;Light blue
|
|
createvisualtask AnimTask_WindUpLunge, 5, ANIM_ATTACKER, -24, 8, 23, 10, 56, 10
|
|
delay 35
|
|
createsprite gSpriteTemplate_PsyshieldBashHit, ANIM_ATTACKER, 4, -10, 0, 1, 0
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, -16, 0, 0, 4
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
waitforvisualfinish
|
|
delay 2
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 11, 0, RGB(15, 29, 31) @;Light blue
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 7
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_PowerShift::
|
|
monbg ANIM_ATK_PARTNER
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
createsprite gSpriteTemplate_PowerShiftOffenseBall, ANIM_ATTACKER, 2, POWER_SHIFT_LEFT_X, 0, POWER_SHIFT_RIGHT_X, 0, POWER_SHIFT_DELAY, POWER_SHIFT_ARC
|
|
createsprite gSpriteTemplate_PowerShiftDefenseBall, ANIM_ATTACKER, 2, POWER_SHIFT_RIGHT_X, 0, POWER_SHIFT_LEFT_X, 0, POWER_SHIFT_DELAY, POWER_SHIFT_ARC
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=10, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
end
|
|
|
|
|
|
gBattleAnimMove_StoneAxe::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_StoneAxeSlash, ANIM_TARGET, 2, 50, -10, 100, 8, 1 @;Move left
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 4, 16, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
call StoneAxeRockFragments
|
|
delay 8
|
|
call StoneAxeRockFragments
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
StoneAxeRockFragments:
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 4, 0, 0, 20, 24, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 4, 5, 0, -20, 24, 14, 1
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 4, 0, 5, 20, -24, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 4, -5, 0, -20, -24, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 4, 0, -5, 30, 18, 8, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 4, 0, 0, 30, -18, 8, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 4, 0, 0, -30, 18, 8, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 4, 0, 0, -30, -18, 8, 2
|
|
return
|
|
|
|
|
|
gBattleAnimMove_SpringtideStorm::
|
|
playsewithpan SE_M_GUST, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 88, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 88, 1
|
|
blend_color_cycle selector=(F_PAL_TARGET | F_PAL_DEF_PARTNER), delay=2, num_blends=6, initial_blend_y=0, target_blend_y=11, color=RGB(31, 22, 30)
|
|
call HurricaneGustCentered
|
|
call SpringtideStormHeartSwirl
|
|
call HurricaneGustCentered
|
|
call SpringtideStormHeartSwirl
|
|
call HurricaneGustCentered
|
|
call SpringtideStormHeartSwirl
|
|
call HurricaneGustCentered
|
|
call SpringtideStormHeartSwirl
|
|
call HurricaneGustCentered
|
|
call SpringtideStormHeartSwirl
|
|
call HurricaneGustCentered
|
|
call SpringtideStormHeartSwirl
|
|
waitforvisualfinish
|
|
stopsound
|
|
end
|
|
|
|
SpringtideStormHeartSwirl:
|
|
createspriteontargets gSpriteTemplate_SpringtideHeart, ANIM_TARGET, 2, 6, 0, 32, 528, 30, 10, 50, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gSpriteTemplate_SpringtideHeart, ANIM_TARGET, 2, 6, 0, 36, 480, 20, 13, -46, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gSpriteTemplate_SpringtideHeart, ANIM_TARGET, 2, 6, 0, 37, 576, 20, 5, 42, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gSpriteTemplate_SpringtideHeart, ANIM_TARGET, 2, 6, 0, 35, 400, 25, 8, -42, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gSpriteTemplate_SpringtideHeart, ANIM_TARGET, 2, 6, 0, 32, 512, 25, 13, 46, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gSpriteTemplate_SpringtideHeart, ANIM_TARGET, 2, 6, 0, 37, 464, 30, 12, -50, ANIM_TARGET
|
|
return
|
|
|
|
|
|
gBattleAnimMove_MysticalPower::
|
|
setalpha 12, 8
|
|
call SetPsychicBackground
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
call PsystrikeInwardRing
|
|
delay 10
|
|
call PsystrikeInwardRing
|
|
delay 10
|
|
call PsystrikeInwardRing
|
|
delay 10
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 6, 0, 11, RGB(15, 29, 31) @;Light blue
|
|
createvisualtask AnimTask_ExtrasensoryDistortion, 5, 0
|
|
call MysticalPowerFoeRings
|
|
createvisualtask AnimTask_ExtrasensoryDistortion, 5, 1
|
|
call MysticalPowerFoeRings
|
|
createvisualtask AnimTask_ExtrasensoryDistortion, 5, 2
|
|
call MysticalPowerFoeTwoRingsOnly
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 11, 0, RGB(15, 29, 31) @;Light blue
|
|
call UnsetPsychicBg
|
|
blendoff
|
|
end
|
|
|
|
@ TODO port cfru psystrike anim
|
|
PsystrikeInwardRing:
|
|
createsprite gSpriteTemplate_VioletMind, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_ATTACKER
|
|
return
|
|
|
|
MysticalPowerFoeRings:
|
|
playsewithpan SE_M_BIND, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_MysticalPowerRing, ANIM_TARGET, 2, -20, -10, ANIM_TARGET, 0
|
|
delay MYSTICAL_POWER_RING_PAUSE
|
|
createsprite gSpriteTemplate_MysticalPowerRing, ANIM_TARGET, 2, 0, 10, ANIM_TARGET, 0
|
|
delay MYSTICAL_POWER_RING_PAUSE
|
|
createsprite gSpriteTemplate_MysticalPowerRing, ANIM_TARGET, 2, 10, -20, ANIM_TARGET, 0
|
|
delay MYSTICAL_POWER_RING_PAUSE
|
|
return
|
|
|
|
MysticalPowerFoeTwoRingsOnly:
|
|
playsewithpan SE_M_BIND, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_MysticalPowerRing, ANIM_TARGET, 2, -20, -10, ANIM_TARGET, 0
|
|
delay MYSTICAL_POWER_RING_PAUSE
|
|
createsprite gSpriteTemplate_MysticalPowerRing, ANIM_TARGET, 2, 0, 10, ANIM_TARGET, 0
|
|
delay MYSTICAL_POWER_RING_PAUSE
|
|
return
|
|
|
|
|
|
gBattleAnimMove_RagingFury::
|
|
loopsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER, 8, 3
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER | F_PAL_TARGET), delay=2, num_blends=5, initial_blend_y=3, target_blend_y=8, color=RGB_RED
|
|
createvisualtask AnimTask_WindUpLunge, 5, ANIM_ATTACKER, -20, 8, 32, 8, 56, 6
|
|
call OutrageFlames
|
|
call OutrageFlames
|
|
delay 10
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 24, 1
|
|
playsewithpan SE_M_FIRE_PUNCH, SOUND_PAN_TARGET
|
|
call FlameBurstSpread
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 5
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_WaveCrash::
|
|
monbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 11, RGB(10, 19, 28)
|
|
createvisualtask AnimTask_WindUpLunge, 5, ANIM_ATTACKER, -20, 8, 48, 8, 56, 6
|
|
call WaterfallBubblesOnAttacker
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 5, 5, 1
|
|
call RisingWaterHitEffect
|
|
waitforvisualfinish
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 5
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 11, 0, RGB(10, 19, 28)
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
waitforvisualfinish
|
|
end
|
|
|
|
|
|
gBattleAnimMove_Chloroblast::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_THIN_RING, 0, 10, 10, RGB(12, 29, 0)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_HYDRO_PUMP, 0, 12, 12, RGB(12, 29, 0)
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 2, 0, 16, RGB_BLACK
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 16, RGB(12, 29, 0)
|
|
createvisualtask AnimTask_BlendNonAttackerPalettes, 2, 2, 0, 16, RGB_BLACK
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gThinRingShrinkingSpriteTemplate ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
delay 14
|
|
createsprite gThinRingShrinkingSpriteTemplate ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
delay 14
|
|
createsprite gThinRingShrinkingSpriteTemplate ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10,
|
|
fadetobg BG_CHLOROBLAST
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 0, 16, 0, RGB_BLACK
|
|
delay 16
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 4, 74, 1
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, 240, -256 | SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 1, 23, 0, 5
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_ATTACKER, 1, 67
|
|
call ChloroblastShot
|
|
call ChloroblastShot
|
|
call ChloroblastShot
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 74, 1
|
|
call ChloroblastShot
|
|
call ChloroblastShot
|
|
call ChloroblastShot
|
|
call ChloroblastShot
|
|
call ChloroblastShot
|
|
call ChloroblastShot
|
|
call ChloroblastShot
|
|
call ChloroblastShot
|
|
call ChloroblastShot
|
|
call ChloroblastShot
|
|
call ChloroblastShot
|
|
call ChloroblastShot
|
|
call ChloroblastShot
|
|
call ChloroblastShot
|
|
call ChloroblastShot
|
|
waitforvisualfinish
|
|
delay 5
|
|
createvisualtask AnimTask_BlendNonAttackerPalettes, 2, 2, 0, 0, RGB_BLACK @;From Black
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 0, 16, 0, RGB(12, 29, 0)
|
|
restorebg
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_AllBattlersVisible, 10,
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
waitbgfadein
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 0, 0, RGB_BLACK @;From Black
|
|
end
|
|
ChloroblastShot:
|
|
createsprite gSpriteTemplate_ChloroblastShot, ANIM_TARGET, 2, 0, 0, 25
|
|
delay 2
|
|
createsprite gSpriteTemplate_ChloroblastShot, ANIM_TARGET, 2, 0, 0, 25
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_MountainGale::
|
|
monbg ANIM_TARGET
|
|
call MountainGaleIceRock
|
|
delay 6
|
|
call MountainGaleIceRock
|
|
delay 6
|
|
call MountainGaleIceRock
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 4, 24, 1
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET
|
|
delay 6
|
|
call MountainGaleIceRock
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET
|
|
delay 6
|
|
call MountainGaleIceRock
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET
|
|
delay 6
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET
|
|
delay 6
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
MountainGaleIceRock:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSpriteTemplate_MountainGaleRock, ANIM_ATTACKER, 2, 20, -8, -8, -8, 20, -32
|
|
return
|
|
|
|
gBattleAnimMove_VictoryDance::
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 40, 6, 3, 3
|
|
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
|
delay 8
|
|
createvisualtask AnimTask_BlendPalInAndOutByTag, 5, ANIM_TAG_HOLLOW_ORB, RGB(29, 24, 2), 14, 0, 3 @;Light orange
|
|
call CreateDragonDanceOrbs
|
|
delay 30
|
|
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_HeadlongRush::
|
|
fadetobg BG_ROCK_WRECKER
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -4096, 0, 0, -1
|
|
waitbgfadein
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 38, 1
|
|
call PulverizingPancakeDiggingRun
|
|
call PulverizingPancakeDiggingRun
|
|
call PulverizingPancakeDiggingRun
|
|
call PulverizingPancakeDiggingRun
|
|
call PulverizingPancakeDiggingRun
|
|
call PulverizingPancakeDiggingRun
|
|
call PulverizingPancakeDiggingRun
|
|
call PulverizingPancakeDiggingRun
|
|
call PulverizingPancakeDiggingRun
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 42, 0, 0, 5
|
|
createsprite gSpriteTemplate_HeadlongRushImpact, ANIM_TARGET, 4, -10, 0, 1, 0
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 4, 0, 44, 1
|
|
call MaxQuake_DirtGeyser
|
|
call MaxQuake_DirtGeyser
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 5
|
|
call UnsetPsychicBg
|
|
waitforvisualfinish
|
|
end
|
|
@ from max quake
|
|
MaxQuake_DirtGeyser:
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 2, 3, 5, 1, 0
|
|
createsprite gSpriteTemplate_MaxQuakeRockGeyser, ANIM_TARGET, 4, ANIM_TARGET, -4, 16
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 2, -11, -15, 1, 0
|
|
createsprite gSpriteTemplate_MaxQuakeDirtGeyser, ANIM_TARGET, 4, 0, 4109, 16
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 2, 8, -5, 1, 0
|
|
createsprite gSpriteTemplate_MaxQuakeDirtGeyser, ANIM_TARGET, 4, 0, 4, 16
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 2, -6, 18, 1, 0
|
|
createsprite gSpriteTemplate_MaxQuakeRockGeyser, ANIM_TARGET, 4, ANIM_TARGET, -16, 16
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 5, 1, 0
|
|
createsprite gSpriteTemplate_MaxQuakeDirtGeyser, ANIM_TARGET, 4, 0, -4, 16
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 2, 3, -11, ANIM_TARGET, 0
|
|
createsprite gSpriteTemplate_MaxQuakeDirtGeyser, ANIM_TARGET, 4, 0, 4109, 16
|
|
delay 0
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 2, -11, -31, ANIM_TARGET, 0
|
|
createsprite gSpriteTemplate_MaxQuakeRockGeyser, ANIM_TARGET, 4, ANIM_TARGET, 4, 16
|
|
delay 0
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 2, 8, -21, ANIM_TARGET, 0
|
|
createsprite gSpriteTemplate_MaxQuakeDirtGeyser, ANIM_TARGET, 4, 0, -16, 16
|
|
delay 0
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 2, -6, 2, ANIM_TARGET, 0
|
|
createsprite gSpriteTemplate_MaxQuakeDirtGeyser, ANIM_TARGET, 4, 0, -4, 16
|
|
delay 0
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 2, 0, -11, ANIM_TARGET, 0
|
|
createsprite gSpriteTemplate_MaxQuakeRockGeyser, ANIM_TARGET, 4, ANIM_TARGET, 4109, 16
|
|
delay 0
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 2, 3, -27, ANIM_TARGET, 0
|
|
createsprite gSpriteTemplate_MaxQuakeDirtGeyser, ANIM_TARGET, 4, 0, 4, 16
|
|
delay 0
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 2, -11, -47, ANIM_TARGET, 0
|
|
createsprite gSpriteTemplate_MaxQuakeDirtGeyser, ANIM_TARGET, 4, 0, -16, 16
|
|
delay 0
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 2, 8, -37, ANIM_TARGET, 0
|
|
createsprite gSpriteTemplate_MaxQuakeRockGeyser, ANIM_TARGET, 4, ANIM_TARGET, -4, 16
|
|
delay 0
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 2, -6, -14, ANIM_TARGET, 0
|
|
createsprite gSpriteTemplate_MaxQuakeDirtGeyser, ANIM_TARGET, 4, 0, 4109, 16
|
|
delay 0
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 2, 0, -27, ANIM_TARGET, 0
|
|
createsprite gSpriteTemplate_MaxQuakeDirtGeyser, ANIM_TARGET, 4, 0, 4, 16
|
|
delay 0
|
|
createsprite gSpriteTemplate_MaxQuakeRockGeyser, ANIM_TARGET, 4, ANIM_TARGET, -16, 16
|
|
return
|
|
|
|
|
|
gBattleAnimMove_BarbBarrage::
|
|
monbg ANIM_TARGET
|
|
call BarbBarrageSpikeShoot
|
|
loopsewithpan SE_M_DIG, SOUND_PAN_ATTACKER, 7, 3
|
|
createvisualtask AnimTask_FlailMovement, 2, ANIM_ATTACKER
|
|
delay 20
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 7, 0, 32, 1
|
|
call PoisonBubblesEffect
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
BarbBarrageSpikeShoot:
|
|
delay 3
|
|
createsprite gSpriteTemplate_BarbBarrage, ANIM_TARGET, 2, 0, 0, 30, -1280, 0, 3
|
|
delay 0
|
|
createsprite gSpriteTemplate_BarbBarrage, ANIM_TARGET, 2, 0, 0, 30, 0, 1280, 3
|
|
delay 0
|
|
createsprite gSpriteTemplate_BarbBarrage, ANIM_TARGET, 2, 0, 0, 30, 0, -1280, 3
|
|
delay 0
|
|
createsprite gSpriteTemplate_BarbBarrage, ANIM_TARGET, 2, 0, 0, 30, 1280, 768, 3
|
|
delay 0
|
|
createsprite gSpriteTemplate_BarbBarrage, ANIM_TARGET, 2, 0, 0, 30, -1280, 768, 3
|
|
delay 0
|
|
createsprite gSpriteTemplate_BarbBarrage, ANIM_TARGET, 2, 0, 0, 30, 1280, -768, 3
|
|
delay 0
|
|
createsprite gSpriteTemplate_BarbBarrage, ANIM_TARGET, 2, 0, 0, 30, -1280, -768, 3
|
|
return
|
|
|
|
|
|
|
|
gBattleAnimMove_EsperWing::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_WHITE_FEATHER, 0, 10, 10, RGB(30, 14, 31)
|
|
monbg ANIM_TARGET
|
|
call SetPsychicBackground
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=8, color=RGB(31, 23, 0)
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_WING_ATTACK, SOUND_PAN_ATTACKER
|
|
call EsperWingBlade
|
|
playsewithpan SE_M_WING_ATTACK, SOUND_PAN_ATTACKER
|
|
delay ESPER_WING_SPEED / 2
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
call WingAttackFeatherScatter
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
EsperWingBlade:
|
|
createsprite gPsychoCutSpriteTemplate, ANIM_TARGET, 2, 0, 0, ESPER_WING_SPEED
|
|
delay ESPER_WING_SPEED / 2
|
|
createsprite gPsychoCutSpriteTemplate, ANIM_TARGET, 2, 0, 0, ESPER_WING_SPEED
|
|
return
|
|
|
|
@ TODO update wing attack anim with this
|
|
WingAttackFeatherScatter:
|
|
createsprite gSpriteTemplate_WingAttackFeather, ANIM_TARGET, 1, -8, -8, 160, -32
|
|
createsprite gSpriteTemplate_WingAttackFeather, ANIM_TARGET, 1, -8, -8, -256, -40
|
|
createsprite gSpriteTemplate_WingAttackFeather, ANIM_TARGET, 1, -8, -8, 416, -38
|
|
createsprite gSpriteTemplate_WingAttackFeather, ANIM_TARGET, 1, -8, -8, -384, -31
|
|
return
|
|
|
|
|
|
gBattleAnimMove_BitterMalice::
|
|
playsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ScaryFace, 5 @ internally checks side
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 2, 0, 76, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 4, 0, 15, RGB(6, 0, 12) @;Dark Purple
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_PURPLE_RING, 4, 0, 14, RGB(6, 0, 12) @;Dark Purple
|
|
call BitterMaliceSwirl
|
|
call BitterMaliceSwirl
|
|
call BitterMaliceSwirl
|
|
delay 4 @;Wait until the blends are reset after the scary face fades out
|
|
call IceCrystalEffectShort
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 15, 0, RGB(6, 0, 12) @;Dark Purple
|
|
end
|
|
|
|
BitterMaliceSwirl:
|
|
createsprite gSpriteTemplate_BitterMaliceRing, ANIM_TARGET, 2, 0, 28, 528, 30, 13, 50, 1
|
|
delay 2
|
|
createsprite gSpriteTemplate_BitterMaliceRing, ANIM_TARGET, 2, 0, 32, 480, 20, 16, -46, 1
|
|
delay 2
|
|
createsprite gSpriteTemplate_BitterMaliceRing, ANIM_TARGET, 2, 0, 33, 576, 20, 8, 42, 1
|
|
delay 2
|
|
createsprite gSpriteTemplate_BitterMaliceRing, ANIM_TARGET, 2, 0, 31, 400, 25, 11, -42, 1
|
|
delay 2
|
|
createsprite gSpriteTemplate_BitterMaliceRing, ANIM_TARGET, 2, 0, 28, 512, 25, 16, 46, 1
|
|
delay 2
|
|
createsprite gSpriteTemplate_BitterMaliceRing, ANIM_TARGET, 2, 0, 33, 464, 30, 15, -50, 1
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_Shelter::
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShellSmashShrinkAttacker, 2
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SHELL_LEFT, 1, 0, 14, RGB(26, 26, 26) @ light light, gray
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SHELL_RIGHT, 1, 0, 14, RGB(26, 26, 26) @ light light, gray
|
|
createsprite gShellSmashRightShellSpriteTemplate, ANIM_ATTACKER, 2, -41, 0, 2, 819, 0, 10, 30
|
|
createsprite gShellSmashLeftShellSpriteTemplate, ANIM_ATTACKER, 2, 32, 0, 6, -819, 0, 10, 30
|
|
createvisualtask AnimTask_FadeOutParticles, 2, 0
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
|
|
gBattleAnimMove_TripleArrows::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_TripleArrowKick, ANIM_TARGET, 2, -30, -20, 16, -20
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 6, 6, 1
|
|
delay 4
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
createsprite gSpiritShackleArrowTemplate, ANIM_TARGET, 2, -40, 0, 0, 0, TRIPLE_ARROW_FLY_TIME
|
|
delay 3
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
createsprite gSpiritShackleArrowTemplate, ANIM_TARGET, 2, 40, 0, 0, 0, TRIPLE_ARROW_FLY_TIME
|
|
delay 3
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 10, 1
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_IsAttackerPlayerSide, 2,
|
|
jumpargeq 7, FALSE, TripleArrowsOnOpponent
|
|
createsprite gSpiritShackleArrowTemplate, ANIM_TARGET, 2, 0, -60, 0, 0, TRIPLE_ARROW_FLY_TIME
|
|
TripleArrowsEnd:
|
|
delay 3
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
TripleArrowsOnOpponent:
|
|
createsprite gSpiritShackleArrowTemplate, ANIM_TARGET, 2, 0, 50, 0, 0, TRIPLE_ARROW_FLY_TIME @Below becomes becomes, above
|
|
goto TripleArrowsEnd
|
|
|
|
|
|
|
|
gBattleAnimMove_InfernalParade::
|
|
monbg ANIM_TARGET
|
|
splitbgprio_foes ANIM_TARGET
|
|
fadetobg BG_GHOST
|
|
playsewithpan SE_M_PSYBEAM, 192
|
|
waitbgfadein
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, -30, 10, 20 @;Bottom left
|
|
delay 3
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, 30, -30, -20 @;Top right
|
|
delay 3
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, 30, 10, 20 @;Bottom right
|
|
delay 3
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call InfernalFlames
|
|
call InfernalFlames
|
|
call InfernalFlames
|
|
call InfernalFlames
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 0
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 42
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 84
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 126
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 168
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 210
|
|
waitforvisualfinish
|
|
delay 12
|
|
restorebg
|
|
waitbgfadein
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
InfernalFlames:
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, -30, -30, -20 @;Top left
|
|
delay 3
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, -30, 10, 20 @;Bottom left
|
|
delay 3
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, 30, -30, -20 @;Top right
|
|
delay 3
|
|
createsprite gSpriteTemplate_InfernalParadeFlame, ANIM_TARGET, 2, 30, 10, 20 @;Bottom right
|
|
delay 3
|
|
return
|
|
|
|
|
|
|
|
gBattleAnimMove_CeaselessEdge::
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 44, 0, 0, 5
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 16, 16, RGB_RED @;Fully to to, Red
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_ATTACKER | F_PAL_TARGET), 0, 16, 16, RGB_BLACK @;Fully to to, Black
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10,
|
|
delay 16
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 48, 1
|
|
call CeaselessEdgeSlashes
|
|
call CeaselessEdgeSlashes
|
|
call CeaselessEdgeSlashes
|
|
waitforvisualfinish
|
|
delay 8
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 5
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_AllBattlersVisible, 10,
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 1, 16, 0, RGB_WHITE @;From White
|
|
waitforvisualfinish
|
|
end
|
|
|
|
CeaselessEdgeSlashes:
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_CeaselessEdgeSlash, ANIM_TARGET, 2, 8, 0, FALSE, FALSE
|
|
delay 4
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_CeaselessEdgeSlash, ANIM_TARGET, 2, -8, -8, TRUE, FALSE
|
|
delay 4
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_CeaselessEdgeSlash, ANIM_TARGET, 2, -8, 0, TRUE, TRUE
|
|
delay 4
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createsprite gSpriteTemplate_CeaselessEdgeSlash, ANIM_TARGET, 2, 8, -4, FALSE, TRUE
|
|
return
|
|
|
|
|
|
gBattleAnimMove_BleakwindStorm::
|
|
playsewithpan SE_M_GUST, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 88, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 88, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_TARGET | F_PAL_DEF_PARTNER), 4, 0, 11, RGB_WHITE
|
|
call HurricaneGustCentered
|
|
call BleakwindStormIceSwirl
|
|
call HurricaneGustCentered
|
|
call BleakwindStormIceSwirl
|
|
call HurricaneGustCentered
|
|
call BleakwindStormIceSwirl
|
|
call HurricaneGustCentered
|
|
call BleakwindStormIceSwirl
|
|
call HurricaneGustCentered
|
|
call BleakwindStormIceSwirl
|
|
call HurricaneGustCentered
|
|
call BleakwindStormIceSwirl
|
|
waitforvisualfinish
|
|
stopsound
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_TARGET | F_PAL_DEF_PARTNER), 1, 11, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
end
|
|
BleakwindStormIceSwirl:
|
|
createspriteontargets gSpriteTemplate_BleakwindIce, ANIM_TARGET, 2, 6, 0, 32, 528, 30, 10, 50, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gSpriteTemplate_BleakwindIce, ANIM_TARGET, 2, 6, 0, 36, 480, 20, 13, -46, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gSpriteTemplate_BleakwindIce, ANIM_TARGET, 2, 6, 0, 37, 576, 20, 5, 42, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gSpriteTemplate_BleakwindIce, ANIM_TARGET, 2, 6, 0, 35, 400, 25, 8, -42, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gSpriteTemplate_BleakwindIce, ANIM_TARGET, 2, 6, 0, 32, 512, 25, 13, 46, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gSpriteTemplate_BleakwindIce, ANIM_TARGET, 2, 6, 0, 37, 464, 30, 12, -50, ANIM_TARGET
|
|
return
|
|
|
|
|
|
gBattleAnimMove_WildboltStorm::
|
|
fadetobg BG_MAX_LIGHTNING
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -256, 0, 1, -1
|
|
waitbgfadein
|
|
playsewithpan SE_M_GUST, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 88, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 88, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_TARGET | F_PAL_DEF_PARTNER), 4, 0, 11, RGB(30, 31, 1)
|
|
call HurricaneGustCentered
|
|
call WildboltStormSparkSwirl
|
|
call HurricaneGustCentered
|
|
call WildboltStormSparkSwirl
|
|
call HurricaneGustCentered
|
|
call WildboltStormSparkSwirl
|
|
call HurricaneGustCentered
|
|
call WildboltStormSparkSwirl
|
|
call HurricaneGustCentered
|
|
call WildboltStormSparkSwirl
|
|
call HurricaneGustCentered
|
|
call WildboltStormSparkSwirl
|
|
waitforvisualfinish
|
|
stopsound
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_TARGET | F_PAL_DEF_PARTNER), 1, 11, 0, RGB(30, 31, 1)
|
|
call UnsetPsychicBg
|
|
waitforvisualfinish
|
|
end
|
|
|
|
WildboltStormSparkSwirl:
|
|
createspriteontargets gSpriteTemplate_WildboltStormSpark, ANIM_TARGET, 2, 6, 0, 32, 528, 30, 10, 50, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gSpriteTemplate_WildboltStormSpark, ANIM_TARGET, 2, 6, 0, 36, 480, 20, 13, -46, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gSpriteTemplate_WildboltStormSpark, ANIM_TARGET, 2, 6, 0, 37, 576, 20, 5, 42, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gSpriteTemplate_WildboltStormSpark, ANIM_TARGET, 2, 6, 0, 35, 400, 25, 8, -42, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gSpriteTemplate_WildboltStormSpark, ANIM_TARGET, 2, 6, 0, 32, 512, 25, 13, 46, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gSpriteTemplate_WildboltStormSpark, ANIM_TARGET, 2, 6, 0, 37, 464, 30, 12, -50, ANIM_TARGET
|
|
return
|
|
|
|
|
|
gBattleAnimMove_SandsearStorm::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_GUST, 0, 10, 10, RGB(11, 8, 6)
|
|
playsewithpan SE_M_GUST, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 88, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 88, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_TARGET | F_PAL_DEF_PARTNER), 4, 0, 11, RGB_RED
|
|
call HurricaneGustCentered
|
|
call SandsearStormFireSpin
|
|
call HurricaneGustCentered
|
|
call SandsearStormFireSpin
|
|
call HurricaneGustCentered
|
|
call SandsearStormFireSpin
|
|
call HurricaneGustCentered
|
|
call SandsearStormFireSpin
|
|
call HurricaneGustCentered
|
|
call SandsearStormFireSpin
|
|
call HurricaneGustCentered
|
|
call SandsearStormFireSpin
|
|
waitforvisualfinish
|
|
stopsound
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_TARGET | F_PAL_DEF_PARTNER), 1, 11, 0, RGB_RED
|
|
waitforvisualfinish
|
|
end
|
|
|
|
SandsearStormFireSpin:
|
|
createspriteontargets gFireSpinSpriteTemplate, ANIM_TARGET, 2, 6, 0, 28, 528, 30, 13, 50, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gFireSpinSpriteTemplate, ANIM_TARGET, 2, 6, 0, 32, 480, 20, 16, -46, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gFireSpinSpriteTemplate, ANIM_TARGET, 2, 6, 0, 33, 576, 20, 8, 42, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gFireSpinSpriteTemplate, ANIM_TARGET, 2, 6, 0, 31, 400, 25, 11, -42, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gFireSpinSpriteTemplate, ANIM_TARGET, 2, 6, 0, 28, 512, 25, 16, 46, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gFireSpinSpriteTemplate, ANIM_TARGET, 2, 6, 0, 33, 464, 30, 15, -50, ANIM_TARGET
|
|
return
|
|
|
|
|
|
gBattleAnimMove_LunarBlessing::
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 16, 0
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 16, RGB_BLACK
|
|
createvisualtask AnimTask_BlendNonAttackerPalettes, 2, 1, 0, 16, RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gMoonSpriteTemplate, ANIM_ATTACKER, 2, 120, 56
|
|
createvisualtask AnimTask_AlphaFadeIn, 3, 0, 16, 16, 0, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 7, 0, 16, RGB_BLACK
|
|
loopsewithpan SE_M_HEAL_BELL, SOUND_PAN_ATTACKER, 16, 3
|
|
call HealingEffect2
|
|
createsprite gSpriteTemplate_LunarDanceRing, ANIM_ATTACKER, 2,
|
|
delay 4
|
|
createsprite gSpriteTemplate_LunarDanceRing, ANIM_ATTACKER, 2,
|
|
delay 4
|
|
createsprite gSpriteTemplate_LunarDanceRing, ANIM_ATTACKER, 2,
|
|
delay 36
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
call HealingEffect
|
|
delay 40
|
|
createvisualtask AnimTask_AllBattlersInvisible, 10,
|
|
createvisualtask AnimTask_MoonlightEndFade, 2,
|
|
delay 16
|
|
createvisualtask AnimTask_AllBattlersVisible, 10,
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
|
|
gBattleAnimMove_TakeHeart::
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_ATTACKER
|
|
createsprite gSpriteTemplate_TakeHeartFallingHeart, ANIM_ATTACKER, 2, 0, 58, 4, ANIM_ATTACKER
|
|
delay 21
|
|
loopsewithpan SE_M_HEAL_BELL, SOUND_PAN_ATTACKER, 16, 4
|
|
createvisualtask AnimTask_StatusClearedEffect, 2, 0
|
|
call TakeHeartRings
|
|
call TakeHeartRings
|
|
call TakeHeartRings
|
|
call TakeHeartRings
|
|
call TakeHeartRings
|
|
call TakeHeartRings
|
|
call TakeHeartRings
|
|
call TakeHeartRings
|
|
call TakeHeartRings
|
|
call TakeHeartRings
|
|
call TakeHeartRings
|
|
call TakeHeartRings
|
|
waitforvisualfinish
|
|
end
|
|
|
|
TakeHeartRings:
|
|
createsprite gSpriteTemplate_TakeHeartRing, ANIM_ATTACKER, 2,
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimMove_BitterBlade::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_foes ANIM_TARGET
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_BG, delay=3, initial_blend_y=0, target_blend_y=12, color=RGB(14, 6, 24)
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
call EndureEffect
|
|
delay 8
|
|
call EndureEffect
|
|
delay 8
|
|
call EndureEffect
|
|
waitforvisualfinish
|
|
delay 3
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createsprite gBitterBladeImpactTemplate ANIM_TARGET, 1, 0, 10, 0, -256, 10
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeMon, 2, 1, 0, 3, 10, 1
|
|
waitforvisualfinish
|
|
delay 3
|
|
call GigaDrainAbsorbEffect
|
|
waitforvisualfinish
|
|
delay 15
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_BG, delay=3, initial_blend_y=12, target_blend_y=0, color=RGB(14, 6, 24)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_DoubleShock::
|
|
fadetobg BG_MAX_LIGHTNING
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -256, 0, 1, -1
|
|
waitbgfadein
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 30, 0, 3 @;Amount, Slowness, Slowness, Compaction
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
createsprite gGrowingShockWaveOrbSpriteTemplate, ANIM_ATTACKER, 0, 0
|
|
waitforvisualfinish
|
|
delay 2
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 6, -16, -32
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 24, -32
|
|
delay 2
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, -16, -16
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 24, -16
|
|
delay 2
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 6, -16, 16
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 24, 16
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 3, 0, 11, 1
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SyrupBomb::
|
|
createvisualtask AnimTask_SyrupBomb, 5
|
|
jumpargeq 0, FALSE, gBattleAnimMove_SyrupBombRed
|
|
jumpargeq 0, TRUE, gBattleAnimMove_SyrupBombYellow
|
|
|
|
gBattleAnimMove_SyrupBombRed::
|
|
call SyrupBombProjectileRed
|
|
call SyrupBombProjectileRed
|
|
call SyrupBombProjectileRed
|
|
call SyrupBombProjectileRed
|
|
call SyrupBombProjectileRed
|
|
call SyrupBombProjectileRed
|
|
call SyrupBombProjectileRed
|
|
call SyrupBombProjectileRed
|
|
call SyrupBombProjectileRed
|
|
call SyrupBombProjectileRed
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 3, 0, 15, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=1, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(20, 3, 3)
|
|
createsprite gSyrupBombRedHitParticleSpriteTemplate, ANIM_TARGET, 2, 42, 27, 20
|
|
createsprite gSyrupBombRedHitParticleSpriteTemplate, ANIM_TARGET, 2, -27, 44, 20
|
|
createsprite gSyrupBombRedHitParticleSpriteTemplate, ANIM_TARGET, 2, 39, -28, 20
|
|
createsprite gSyrupBombRedHitParticleSpriteTemplate, ANIM_TARGET, 2, -42, -42, 20
|
|
playsewithpan SE_M_DIG, SOUND_PAN_TARGET
|
|
delay 5
|
|
createsprite gSyrupBombRedShellSpriteTemplate, ANIM_TARGET, 1, ANIM_TARGET, 100
|
|
createsprite gSyrupBombRedHitParticleSpriteTemplate, ANIM_TARGET, 2, 0, 40, 20
|
|
createsprite gSyrupBombRedHitParticleSpriteTemplate, ANIM_TARGET, 2, -8, -44, 20
|
|
createsprite gSyrupBombRedHitParticleSpriteTemplate, ANIM_TARGET, 2, -46, -28, 20
|
|
createsprite gSyrupBombRedHitParticleSpriteTemplate, ANIM_TARGET, 2, 46, 9, 20
|
|
playsewithpan SE_M_DIG, SOUND_PAN_TARGET
|
|
delay 5
|
|
waitsound
|
|
waitforvisualfinish
|
|
end
|
|
SyrupBombProjectileRed:
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
createsprite gSyrupRedProjectileSpriteTemplate, ANIM_TARGET, 2, 20, 0, 40, 0
|
|
delay 3
|
|
return
|
|
|
|
gBattleAnimMove_SyrupBombYellow::
|
|
call SyrupBombProjectileYellow
|
|
call SyrupBombProjectileYellow
|
|
call SyrupBombProjectileYellow
|
|
call SyrupBombProjectileYellow
|
|
call SyrupBombProjectileYellow
|
|
call SyrupBombProjectileYellow
|
|
call SyrupBombProjectileYellow
|
|
call SyrupBombProjectileYellow
|
|
call SyrupBombProjectileYellow
|
|
call SyrupBombProjectileYellow
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 3, 0, 15, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=1, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(23, 13, 1)
|
|
createsprite gSyrupBombYellowHitParticleSpriteTemplate, ANIM_TARGET, 2, 42, 27, 20
|
|
createsprite gSyrupBombYellowHitParticleSpriteTemplate, ANIM_TARGET, 2, -27, 44, 20
|
|
createsprite gSyrupBombYellowHitParticleSpriteTemplate, ANIM_TARGET, 2, 39, -28, 20
|
|
createsprite gSyrupBombYellowHitParticleSpriteTemplate, ANIM_TARGET, 2, -42, -42, 20
|
|
playsewithpan SE_M_DIG, SOUND_PAN_TARGET
|
|
delay 5
|
|
createsprite gSyrupBombYellowShellSpriteTemplate, ANIM_TARGET, 1, ANIM_TARGET, 100
|
|
createsprite gSyrupBombYellowHitParticleSpriteTemplate, ANIM_TARGET, 2, 0, 40, 20
|
|
createsprite gSyrupBombYellowHitParticleSpriteTemplate, ANIM_TARGET, 2, -8, -44, 20
|
|
createsprite gSyrupBombYellowHitParticleSpriteTemplate, ANIM_TARGET, 2, -46, -28, 20
|
|
createsprite gSyrupBombYellowHitParticleSpriteTemplate, ANIM_TARGET, 2, 46, 9, 20
|
|
playsewithpan SE_M_DIG, SOUND_PAN_TARGET
|
|
delay 5
|
|
waitsound
|
|
waitforvisualfinish
|
|
end
|
|
SyrupBombProjectileYellow:
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
createsprite gSyrupYellowProjectileSpriteTemplate, ANIM_TARGET, 2, 20, 0, 40, 0
|
|
delay 3
|
|
return
|
|
|
|
gBattleAnimGeneral_SyrupBombSpeedDrop::
|
|
createvisualtask AnimTask_StickySyrup, 5
|
|
jumpargeq 0, FALSE, SyrupBombSpeedDropRed
|
|
jumpargeq 0, TRUE, SyrupBombSpeedDropYellow
|
|
|
|
SyrupBombSpeedDropRed:
|
|
loopsewithpan SE_M_TOXIC, SOUND_PAN_TARGET, 13, 6
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 3, 0, 15, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=1, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(20, 3, 3)
|
|
createsprite gSyrupBombRedShellBSpriteTemplate, ANIM_TARGET, 1, ANIM_TARGET, 60
|
|
waitforvisualfinish
|
|
end
|
|
|
|
SyrupBombSpeedDropYellow:
|
|
loopsewithpan SE_M_TOXIC, SOUND_PAN_TARGET, 13, 6
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 3, 0, 15, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=1, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(23, 13, 1)
|
|
createsprite gSyrupBombYellowShellBSpriteTemplate, ANIM_TARGET, 1, ANIM_TARGET, 60
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_ChillyReception::
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 16, 96, ANIM_ATTACKER, 1
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=1, initial_blend_y=0, target_blend_y=13, color=RGB_BLACK
|
|
delay 60
|
|
waitforvisualfinish
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=1, initial_blend_y=13, target_blend_y=0, color=RGB_BLACK
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 7
|
|
waitforvisualfinish
|
|
createvisualtask SoundTask_PlayDoubleCry, 2, ANIM_ATTACKER, DOUBLE_CRY_ROAR
|
|
setalpha 12, 4
|
|
monbg ANIM_ATTACKER
|
|
playsewithpan SE_BALL_OPEN, SOUND_PAN_TARGET
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 122, 3, -14, 18, 24
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 121, 3, 14, 6, 24
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 120, 3, -12, 12, 24
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 119, 3, 14, 18, 24
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 118, 3, 0, 0, 24
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 10
|
|
simple_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=1, initial_blend_y=0, target_blend_y=3, color=RGB_WHITE
|
|
playsewithpan SE_M_GUST, SOUND_PAN_ATTACKER
|
|
call ChillyReceptionSnowballs
|
|
call ChillyReceptionSnowballs
|
|
call ChillyReceptionSnowballs
|
|
call ChillyReceptionSnowballs
|
|
playsewithpan SE_M_GUST2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
waitsound
|
|
simple_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=1, initial_blend_y=3, target_blend_y=0, color=RGB_WHITE
|
|
end
|
|
ChillyReceptionSnowballs:
|
|
createsprite gPowderSnowSnowballSpriteTemplate, ANIM_ATTACKER, 40, 200, -150, 24, 0, 56, 4, 4, 0
|
|
delay 3
|
|
createsprite gPowderSnowSnowballSpriteTemplate, ANIM_ATTACKER, 40, 200, -100, 24, -10, 56, 4, 4, 0
|
|
delay 3
|
|
createsprite gPowderSnowSnowballSpriteTemplate, ANIM_ATTACKER, 40, 200, -100, 24, 10, 56, -4, 3, 0
|
|
delay 3
|
|
createsprite gPowderSnowSnowballSpriteTemplate, ANIM_ATTACKER, 40, 200, -200, 24, -20, 56, -4, 5, 0
|
|
delay 3
|
|
createsprite gPowderSnowSnowballSpriteTemplate, ANIM_ATTACKER, 40, 200, -150, 24, 15, 56, 4, 4, 0
|
|
delay 3
|
|
createsprite gPowderSnowSnowballSpriteTemplate, ANIM_ATTACKER, 40, 200, -200, 24, -20, 56, 4, 4, 0
|
|
delay 3
|
|
createsprite gPowderSnowSnowballSpriteTemplate, ANIM_ATTACKER, 40, 200, -200, 24, 20, 56, 4, 4, 0
|
|
delay 3
|
|
return
|
|
|
|
gBattleAnimMove_BurningBulwark::
|
|
monbg ANIM_ATK_PARTNER
|
|
splitbgprio ANIM_ATTACKER
|
|
waitplaysewithpan SE_M_REFLECT, SOUND_PAN_ATTACKER 16
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_PROTECT, 0, 13, 13, RGB(27, 10, 0)
|
|
createsprite gProtectSpriteTemplate, ANIM_ATTACKER, 2, 24, 0, 90
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_ATTACKER, RGB_RED, 10, 0, 2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_AlluringVoice::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 8, RGB(29, 19, 27)
|
|
waitforvisualfinish
|
|
createvisualtask SoundTask_PlayCryWithEcho, 5, FALSE
|
|
createsprite gHyperVoiceRingSpriteTemplate, ANIM_ATTACKER, 0, 45, 0, 0, 0, 0, 0, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 6, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 6, 1
|
|
shake_battle_platforms x_offset=1, y_offset=0, shakes=6, delay=1
|
|
createvisualtask SoundTask_WaitForCry, 5
|
|
delay 10
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 26, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 26, 1
|
|
waitforvisualfinish
|
|
createvisualtask SoundTask_WaitForCry, 5
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 8, 0, RGB(29, 19, 27)
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_AquaCutter::
|
|
createsprite gFalseSwipePositionedSliceSpriteTemplate, ANIM_TARGET, 2, 32
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFalseSwipePositionedSliceSpriteTemplate, ANIM_TARGET, 2, 48
|
|
delay 2
|
|
createsprite gFalseSwipePositionedSliceSpriteTemplate, ANIM_TARGET, 2, 64
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFalseSwipePositionedSliceSpriteTemplate, ANIM_TARGET, 2, 80
|
|
delay 2
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 4
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET, 20, 3
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 4, 8, 1
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 10, 10, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 20, -20, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -15, 15, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -10, -20, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 16, -8, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 5, 8, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -16, 0, 20, ANIM_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_GigatonHammer::
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 12, 4, 2, 4
|
|
metallic_shine permanent=0
|
|
createsprite gWoodHammerHammerSpriteTemplate, ANIM_TARGET, 2
|
|
delay 60
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 3, 0, 12, 4
|
|
delay 18
|
|
createvisualtask AnimTask_SquishTarget, 2
|
|
delay 6
|
|
createvisualtask AnimTask_HorizontalShake, 5, (MAX_BATTLERS_COUNT + 1), 10, 50
|
|
createvisualtask AnimTask_HorizontalShake, 5, MAX_BATTLERS_COUNT, 10, 50
|
|
call GigatonHammerImpact
|
|
waitforvisualfinish
|
|
end
|
|
GigatonHammerImpact:
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -12, 32, 3, 4
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 8, 31, 2, 2
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -4, 28, 2, 3
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 12, 30, 4, 3
|
|
return
|
|
|
|
gBattleAnimMove_IceSpinner::
|
|
monbg ANIM_ATTACKER
|
|
createsprite gRapidSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 32, -32, 40, -2
|
|
createvisualtask AnimTask_RapinSpinMonElevation, 2, 0, 2, 0
|
|
loopsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET, 8, 4
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 47, 1
|
|
call IceCrystalSpinEffect
|
|
call IceCrystalSpinEffect
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, FALSE, 1, 10, 1, 0
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
delay 8
|
|
createvisualtask AnimTask_RapinSpinMonElevation, 2, 0, 2, 1
|
|
loopsewithpan SE_M_ICY_WIND, SOUND_PAN_ATTACKER, 8, 4
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 47, 1
|
|
call IceCrystalSpinEffect
|
|
call IceCrystalSpinEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
IceCrystalSpinEffect:
|
|
createsprite gIceCrystalSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 528, 30, 13, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gIceCrystalSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 32, 480, 20, 16, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gIceCrystalSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 33, 576, 20, 8, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gIceCrystalSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 31, 400, 25, 11, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gIceCrystalSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 512, 25, 16, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gIceCrystalSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 33, 464, 30, 15, -50, ANIM_ATTACKER
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_RagingBull::
|
|
choosetwoturnanim RagingBullNormal, RagingBullShatteredWall
|
|
RagingBullNormal:
|
|
call RagingBullCommon1
|
|
call SetImpactBackground
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 0, 0, 4
|
|
delay 3
|
|
waitforvisualfinish
|
|
call RagingBullCommon2
|
|
RagingBullEnd:
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 7
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
RagingBullShatteredWall:
|
|
call RagingBullCommon1
|
|
call SetImpactBackground
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 0, 0, 4
|
|
delay 3
|
|
waitforvisualfinish
|
|
createsprite gBrickBreakWallSpriteTemplate, ANIM_ATTACKER, 3, ANIM_TARGET, 0, 0, 90, 10
|
|
call RagingBullCommon2
|
|
call BreakScreens
|
|
goto RagingBullEnd
|
|
|
|
RagingBullCommon1:
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gBreathPuffSpriteTemplate, ANIM_ATTACKER, 2
|
|
loopsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER, 4, 2
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_ATTACKER, 2, 0, -20, -28
|
|
delay 20
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_ATTACKER, 2, 0, 20, -28
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 2, 4
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
return
|
|
|
|
RagingBullCommon2:
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -32, 0, 0, 3
|
|
delay 20
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 0
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 4, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
delay 20
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 1
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
return
|
|
|
|
gBattleAnimMove_UpperHand::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
createsprite gKarateChopSpriteTemplate, ANIM_ATK_PARTNER, 8, -16, 0, 0, 0, 10, 1, 3, 0
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gForcePalmSpriteTemplate 3, 4, 0, 0, 1, 2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 6, 1
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_FLATTER, 0
|
|
createvisualtask AnimTask_FakeOut, 5
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SKETCH, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 5, 1
|
|
createvisualtask AnimTask_StretchTargetUp, 3
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=3, initial_blend_y=16, target_blend_y=0, color=RGB_WHITE
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_JetPunch::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DIVE, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_AttackerStretchAndDisappear, 2
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 1, ANIM_ATTACKER, 24, 6, 1, 5
|
|
createvisualtask AnimTask_TraceMonBlended, 2, 0, 4, 7, 3
|
|
delay 18
|
|
createvisualtask AnimTask_SetAttackerInvisibleWaitForSignal, 2
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 9, RGB_BLUE
|
|
delay 8
|
|
createvisualtask AnimTask_ExtremeSpeedMonReappear, 2
|
|
setarg 7, 4096
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_TARGET, 2, 20, -20, 20, ANIM_TARGET
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_TARGET, 2, 10, 10, 20, ANIM_TARGET
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 3, 0, 0, 8, 1, 0
|
|
playsewithpan SE_M_DIVE, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 15, 1
|
|
delay 6
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_TARGET, 2, 20, -20, 20, ANIM_TARGET
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_TARGET, 2, 10, 10, 20, ANIM_TARGET
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 3, 0, 13, ANIM_TARGET, 1
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 13
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 13
|
|
delay 2
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 3, 0, 8, ANIM_TARGET, 1
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 8
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 8
|
|
delay 2
|
|
call DiveSetUpWaterDroplets
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 0, 9, 0, RGB_BLUE
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_PsychicNoise::
|
|
monbg ANIM_DEF_PARTNER
|
|
call SetPsychicBackground
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
playsewithpan SE_M_UPROAR, SOUND_PAN_ATTACKER
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 29, -12, 0
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -12, -29, 1
|
|
delay 16
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
playsewithpan SE_M_UPROAR, SOUND_PAN_ATTACKER
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 12, -29, 1
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -29, -12, 0
|
|
delay 16
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
playsewithpan SE_M_UPROAR, SOUND_PAN_ATTACKER
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 24, -24, 1
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, -24, 0
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(14, 14, 14)
|
|
delay 10
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, -2, 25, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_TemperFlare::
|
|
loopsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER, 8, 3
|
|
createvisualtask AnimTask_ShrinkAndGrow, 2
|
|
createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_ATTACKER, RGB_RED, 10, 0, 2
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_ATTACKER, 2, 0, -20, -28
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_ATTACKER, 2, 0, 20, -28
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 16, 6144, 8, ANIM_ATTACKER
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, FALSE, 1, 10, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
call FireSpreadEffect
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=24, y=8, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=-24, y=-16, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=8, y=4, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=-16, y=19, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=18, y=-18, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Trailblaze::
|
|
monbg ANIM_TARGET
|
|
loopsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER, 32, 6
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 12, 6, 4, 3
|
|
call TrailblazeVortex
|
|
call TrailblazeVortex
|
|
call TrailblazeVortex
|
|
call TrailblazeVortex
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 24, 0, 0, 5
|
|
delay 3
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 6, 0, 8, 1
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, 192, 176, 40
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, -192, 240, 40
|
|
createsprite gTropKickFlowerTemplate, ANIM_TARGET, 1, 0, 10, 192, -160, 40
|
|
createsprite gTropKickFlowerTemplate, ANIM_TARGET, 1, 0, 10, -192, -112, 40
|
|
createsprite gTropKickFlowerTemplate, ANIM_TARGET, 1, 0, 10, 160, 48, 40
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, -224, -32, 40
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, 112, -128, 40
|
|
playsewithpan SE_M_FIRE_PUNCH, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 8
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 7
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
TrailblazeVortex:
|
|
createsprite gLeafTornadoVortexTemplate, ANIM_ATTACKER, 2, 0, 28, 528, 30, 13, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gLeafTornadoVortexTemplate, ANIM_ATTACKER, 2, 0, 32, 480, 20, 16, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gLeafTornadoVortexTemplate, ANIM_ATTACKER, 2, 0, 33, 576, 20, 8, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gLeafTornadoVortexTemplate, ANIM_ATTACKER, 2, 0, 31, 400, 25, 11, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gLeafTornadoVortexTemplate, ANIM_ATTACKER, 2, 0, 28, 512, 25, 16, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gLeafTornadoVortexTemplate, ANIM_ATTACKER, 2, 0, 33, 464, 30, 15, -50, ANIM_ATTACKER
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_LastRespects::
|
|
fadetobg BG_NIGHTMARE
|
|
waitbgfadein
|
|
delay 10
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_ATTACKER
|
|
createsprite gBlueEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 4
|
|
createsprite gBlueEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
delay 4
|
|
createsprite gBlueEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
delay 4
|
|
createsprite gBlueEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 4
|
|
createsprite gBlueEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
createspriteontargets gCurseGhostSpriteTemplate, ANIM_ATTACKER, 3, 2, 8, -5, ANIM_ATTACKER, 0
|
|
waitforvisualfinish
|
|
delay 20
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_NightShadeClone, 5, 85
|
|
delay 15
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_ATK_PARTNER, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_ATK_PARTNER, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
delay 3
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, FALSE, 1, 14, 1, 0
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_TidyUp::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 4
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_PINK_CLOUD, 0, 12, 12, RGB(30, 28, 22)
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 12, 4096, 8, ANIM_ATTACKER
|
|
loopsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER, 4, 2
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 127, 2, 28, 8, 30
|
|
delay 12
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 126, 2, -28, 4, 30
|
|
delay 12
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 126, 2, 12, 4, 30
|
|
delay 12
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 126, 2, -44, 4, 30
|
|
delay 12
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 126, 2, 44, 4, 30
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_KowtowCleave::
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 12
|
|
createsprite gLeerSpriteTemplate, ANIM_TARGET, 2, 24, -12
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 1
|
|
waitforvisualfinish
|
|
createsprite gSlashSliceSpriteTemplate, ANIM_TARGET, 2, 1, -8, 0
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 15, 0, 40, 1
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_CROSS_IMPACT, 0, 10, 10, RGB_RED
|
|
createsprite gSpriteTemplate_LargeCrossImpact, ANIM_TARGET, 2, 0, 0, 1, 36
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
waitforvisualfinish
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 2
|
|
waitforvisualfinish
|
|
blendoff
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_LuminaCrash::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ELECTRIC_ORBS, 0, 10, 10, RGB_WHITE
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 60, 2, 12
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite gGrowingChargeOrbSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
delay 25
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 10
|
|
delay 6
|
|
loopsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER, 6, 5
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_LEER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_Flash, 2
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_IMPACT, 0, 12, 12, RGB(31, 12, 31)
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_ATK_PARTNER, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_ATK_PARTNER, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_ATK_PARTNER, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_ATK_PARTNER, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_ATK_PARTNER, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 215, SOUND_PAN_TARGET
|
|
delay 3
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 12, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_TorchSong::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 8, 8
|
|
createvisualtask SoundTask_PlayCryWithEcho, 5, FALSE
|
|
call TorchSongEffect
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=0, unk2=30, duration=25, y=10
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=32, unk2=30, duration=25, y=10
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=64, unk2=30, duration=25, y=10
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=96, unk2=30, duration=25, y=10
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=128, unk2=30, duration=25, y=10
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=160, unk2=30, duration=25, y=10
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=192, unk2=30, duration=25, y=10
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=224, unk2=30, duration=25, y=10
|
|
waitforvisualfinish
|
|
createvisualtask SoundTask_PlayCryWithEcho, 5, FALSE
|
|
call TorchSongEffect
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=0, unk2=30, duration=25, y=-5
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=32, unk2=30, duration=25, y=-5
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=64, unk2=30, duration=25, y=-5
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=96, unk2=30, duration=25, y=-5
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=128, unk2=30, duration=25, y=-5
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=160, unk2=30, duration=25, y=-5
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=192, unk2=30, duration=25, y=-5
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=224, unk2=30, duration=25, y=-5
|
|
waitforvisualfinish
|
|
createvisualtask SoundTask_PlayCryWithEcho, 5, TRUE
|
|
call TorchSongEffect
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=0, unk2=30, duration=25, y=-20
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=32, unk2=30, duration=25, y=-20
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=64, unk2=30, duration=25, y=-20
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=96, unk2=30, duration=25, y=-20
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=128, unk2=30, duration=25, y=-20
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=160, unk2=30, duration=25, y=-20
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=192, unk2=30, duration=25, y=-20
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=224, unk2=30, duration=25, y=-20
|
|
delay 12
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_BIRD, 0, 10, 10, RGB_RED
|
|
createsprite gSkyAttackBirdSpriteTemplate, ANIM_TARGET, 2
|
|
delay 14
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 10, 0, 18, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 0, RGB_WHITE
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, 141, SOUND_PAN_TARGET
|
|
call FireSpreadEffect
|
|
delay 20
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
TorchSongEffect:
|
|
simple_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, initial_blend_y=8, target_blend_y=0, color=RGB_RED
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -5, -5, 5, ANIM_ATTACKER, 0
|
|
createsprite gHyperVoiceRingSpriteTemplate, ANIM_ATTACKER, 0, 45, 0, 0, 0, 0, 0, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 6, 1
|
|
shake_battle_platforms x_offset=1, y_offset=0, shakes=6, delay=1
|
|
createvisualtask SoundTask_WaitForCry, 5
|
|
return
|
|
|
|
gBattleAnimMove_AquaStep::
|
|
monbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_WaterSport, 5
|
|
delay 60
|
|
createsprite gRapidSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 32, -32, 40, -2
|
|
createvisualtask AnimTask_RapinSpinMonElevation, 2, 0, 2, 0
|
|
loopsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER, 8, 4
|
|
delay 60
|
|
createsprite gSpinningHandOrFootSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 30
|
|
delay 30
|
|
createvisualtask AnimTask_RapinSpinMonElevation, 2, 0, 2, 1
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 14, 1
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 10, 10, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 20, -20, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -15, 15, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -10, -20, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 16, -8, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 5, 8, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -16, 0, 20, ANIM_TARGET
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
gBattleAnimMove_RageFist::
|
|
fadetobg BG_GHOST
|
|
waitbgfadein
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_ATTACKER, 1, 0, 15, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 3, 0, 9, RGB_RED
|
|
waitforvisualfinish
|
|
delay 20
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_ATTACKER
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_ATTACKER, 2, 0, 20, -28
|
|
waitforvisualfinish
|
|
delay 5
|
|
createvisualtask AnimTask_StrongFrustrationGrowAndShrink, 5
|
|
delay 7
|
|
createvisualtask AnimTask_AttackerPunchWithTrace, 2, RGB_BLACK, 13
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 4, 0, 0, 8, 1, 0
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gSprayWaterDropletSpriteTemplate, ANIM_TARGET, 5, 0, 1
|
|
createsprite gSprayWaterDropletSpriteTemplate, ANIM_TARGET, 5, 1, 1
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, FALSE, 1, 14, 1, 0
|
|
createvisualtask AnimTask_StretchTargetUp, 3
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 3, 9, 0, RGB_RED
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_ChillingWater::
|
|
monbg ANIM_TARGET
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_POISON_BUBBLE, 0, 15, 15, RGB(20, 27, 31)
|
|
createsprite gAcidPoisonBubbleSpriteTemplate, ANIM_TARGET, 2, 20, 0, 40, 1, 0, -20, FALSE
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 33
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 2, 0, 10, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(20, 27, 31)
|
|
playsewithpan SE_M_DIVE, SOUND_PAN_ATTACKER
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, 10, 15, 55, FALSE
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, -20, 15, 55, FALSE
|
|
delay 3
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, 5, 15, 55, FALSE
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, -10, 15, 55, FALSE
|
|
delay 3
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, 30, 15, 55, FALSE
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, -30, 15, 55, FALSE
|
|
delay 3
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, 2, 15, 55, FALSE
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, -5, 15, 55, FALSE
|
|
delay 3
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -20, 20, 15, 55, FALSE
|
|
call IceCrystalEffectShort
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_HydroSteam::
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 40, 1
|
|
delay 6
|
|
panse SE_M_HYDRO_PUMP, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
createvisualtask AnimTask_HazeScrollingFog, 5
|
|
createvisualtask AnimTask_StartSinAnimTimer, 5, 100
|
|
call HydroPumpBeams
|
|
call HydroPumpBeams
|
|
call HydroPumpBeams
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 37, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 3, 0, 9, RGB_RED
|
|
call HydroPumpHitSplats
|
|
call HydroPumpBeams
|
|
call HydroPumpBeams
|
|
call HydroPumpHitSplats
|
|
call HydroPumpBeams
|
|
call HydroPumpBeams
|
|
call HydroPumpHitSplats
|
|
call HydroPumpBeams
|
|
call HydroPumpBeams
|
|
call HydroPumpHitSplats
|
|
call HydroPumpBeams
|
|
call HydroPumpBeams
|
|
call HydroPumpHitSplats
|
|
delay 1
|
|
delay 1
|
|
call HydroPumpHitSplats
|
|
delay 30
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 3, 9, 0, RGB_RED
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Pounce::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_DuckDownHop, 5, ANIM_ATTACKER, 28, -8, 10, 14, 10, 18
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
delay 20
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 7
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_ElectroShot::
|
|
choosetwoturnanim ElectroShotSetUp, ElectroShotUnleash
|
|
ElectroShotEnd:
|
|
waitforvisualfinish
|
|
end
|
|
ElectroShotSetUp:
|
|
monbg ANIM_ATTACKER
|
|
setalpha 14, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER, 14, 8
|
|
createsprite gGrowingChargeOrbSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
call TechnoBlastCharging1
|
|
delay 15
|
|
call TechnoBlastCharging2
|
|
delay 15
|
|
call TechnoBlastCharging1
|
|
delay 15
|
|
call TechnoBlastCharging2
|
|
delay 15
|
|
call TechnoBlastCharging1
|
|
delay 15
|
|
call TechnoBlastCharging2
|
|
delay 15
|
|
call TechnoBlastCharging1
|
|
delay 15
|
|
call TechnoBlastCharging2
|
|
delay 15
|
|
call TechnoBlastCharging1
|
|
delay 15
|
|
call TechnoBlastCharging2
|
|
delay 15
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_ATTACKER
|
|
goto ElectroShotEnd
|
|
ElectroShotUnleash:
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
createsprite gGrowingShockWaveOrbSpriteTemplate, ANIM_ATTACKER, 2
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 11, RGB(31, 31, 22)
|
|
delay 50
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 1, 16, 0, 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 4, 50, 1
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 50, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 11, 0, RGB(31, 31, 22)
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 11, RGB(31, 31, 22)
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
call SparkBeam
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 11, 0, RGB(31, 31, 22)
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_IvyCudgel::
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 12, 4, 2, 4
|
|
jumpifmovetypeequal TYPE_FIRE, IvyCudgelFire
|
|
jumpifmovetypeequal TYPE_ROCK, IvyCudgelRock
|
|
jumpifmovetypeequal TYPE_WATER, IvyCudgelWater
|
|
createsprite gIvyCudgelSpriteTemplate, ANIM_TARGET, 2
|
|
delay 60
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 3, 0, 12, 4
|
|
delay 18
|
|
createvisualtask AnimTask_SquishTarget, 2
|
|
delay 6
|
|
call WoodHammerImpact
|
|
waitforvisualfinish
|
|
end
|
|
IvyCudgelFire:
|
|
createsprite gIvyCudgelFireSpriteTemplate, ANIM_TARGET, 2
|
|
delay 60
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 3, 0, 12, 4
|
|
delay 18
|
|
createvisualtask AnimTask_SquishTarget, 2
|
|
delay 6
|
|
call WoodHammerImpact
|
|
call FireSpreadEffect
|
|
delay 4
|
|
playsewithpan SE_M_FIRE_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
IvyCudgelRock:
|
|
createsprite gIvyCudgelRockSpriteTemplate, ANIM_TARGET, 2
|
|
delay 60
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 3, 0, 12, 4
|
|
delay 18
|
|
createvisualtask AnimTask_SquishTarget, 2
|
|
delay 6
|
|
call WoodHammerImpact
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -12, 32, 3, 4
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 8, 31, 2, 2
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -4, 28, 2, 3
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 12, 30, 4, 3
|
|
waitforvisualfinish
|
|
end
|
|
IvyCudgelWater:
|
|
createsprite gIvyCudgelWaterSpriteTemplate, ANIM_TARGET, 2
|
|
delay 60
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 3, 0, 12, 4
|
|
delay 18
|
|
createvisualtask AnimTask_SquishTarget, 2
|
|
delay 6
|
|
call WoodHammerImpact
|
|
playsewithpan SE_M_DIVE, SOUND_PAN_TARGET
|
|
createsprite gDiveWaterSplashSpriteTemplate, ANIM_TARGET, 3, 1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SpicyExtract::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_POISON_BUBBLE, 0, 12, 12, RGB(29, 16, 1) @Orange
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 3, 0, 15, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 3, 0, 9, RGB_RED
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 42, 27, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -27, 44, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 39, -28, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -42, -42, 20
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_TARGET
|
|
delay 5
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 0, 40, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -8, -44, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -46, -28, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 46, 9, 20
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_TARGET
|
|
delay 5
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 42, 0, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -43, -12, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 16, -46, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -16, 44, 20
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_TARGET
|
|
call LetsSnuggleForeverTears
|
|
delay 8
|
|
call LetsSnuggleForeverTears
|
|
delay 8
|
|
call LetsSnuggleForeverTears
|
|
waitsound
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 3, 9, 0, RGB_RED
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_AxeKick::
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 0, 0, 4
|
|
delay 7
|
|
createsprite gAxeKickSpriteTemplate, ANIM_TARGET, 3
|
|
delay 2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 1, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_SquishTargetShort, 2
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 4
|
|
end
|
|
|
|
gBattleAnimMove_SpinOut::
|
|
loopsewithpan SE_M_HARDEN, SOUND_PAN_ATTACKER, 28, 2
|
|
metallic_shine permanent=0
|
|
waitforvisualfinish
|
|
call SetHighSpeedBg
|
|
loopsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER, 8, 3
|
|
waitforvisualfinish
|
|
monbg ANIM_ATTACKER
|
|
createsprite gRapidSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 32, -32, 40, -2
|
|
createvisualtask AnimTask_RapinSpinMonElevation, 2, 0, 2, 0
|
|
loopsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER, 8, 4
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, FALSE, 1, 10, 1, 0
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
delay 8
|
|
createvisualtask AnimTask_RapinSpinMonElevation, 2, 0, 2, 1
|
|
loopsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER, 8, 4
|
|
waitforvisualfinish
|
|
call UnsetHighSpeedBg
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
gBattleAnimMove_MortalSpin::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_RAPID_SPIN, 0, 6, 6, RGB(15, 0, 15)
|
|
monbg ANIM_ATTACKER
|
|
simple_palette_blend selector=F_PAL_ATTACKER, delay=1, initial_blend_y=0, target_blend_y=13, color=RGB(10, 2, 19)
|
|
delay 16
|
|
createsprite gRapidSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 32, -32, 40, -2
|
|
createvisualtask AnimTask_RapinSpinMonElevation, 2, 0, 2, 0
|
|
loopsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER, 8, 4
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, FALSE, 1, 10, 1, 0
|
|
simple_palette_blend selector=F_PAL_ATTACKER, delay=1, initial_blend_y=13, target_blend_y=0, color=RGB(10, 2, 19)
|
|
call PoisonBubblesEffect
|
|
waitforvisualfinish
|
|
delay 8
|
|
createvisualtask AnimTask_RapinSpinMonElevation, 2, 0, 2, 1
|
|
loopsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER, 8, 4
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_FilletAway::
|
|
createsprite gCuttingSliceSpriteTemplate, ANIM_ATTACKER, 2, 40, -32, 0
|
|
playsewithpan SE_M_CUT, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
createsprite gCuttingSliceSpriteTemplate, ANIM_ATTACKER, 2, 20, -27, 0
|
|
playsewithpan SE_M_CUT, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
createsprite gCuttingSliceSpriteTemplate, ANIM_ATTACKER, 2, 60, -37, 0
|
|
playsewithpan SE_M_CUT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 9, RGB_WHITE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 2, 4, 4
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 9, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_FlowerTrick::
|
|
createvisualtask AnimTask_CreateSpotlight, 2
|
|
createvisualtask AnimTask_HardwarePaletteFade, 2, (BLDCNT_TGT1_BG3 | BLDCNT_TGT1_OBJ | BLDCNT_TGT1_BD | BLDCNT_EFFECT_DARKEN), 3, 0, 10, FALSE
|
|
waitforvisualfinish
|
|
createsprite gSpotlightSpriteTemplate, ANIM_TARGET, 2, 0, -8
|
|
delay 16
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_ENCORE2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_SwayMon, 5, 1, 8, 1536, 5, ANIM_TARGET
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, 192, 176, 40
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, -192, 240, 40
|
|
createsprite gTropKickFlowerTemplate, ANIM_TARGET, 1, 0, 10, 192, -160, 40
|
|
createsprite gTropKickFlowerTemplate, ANIM_TARGET, 1, 0, 10, -192, -112, 40
|
|
createsprite gTropKickFlowerTemplate, ANIM_TARGET, 1, 0, 10, 160, 48, 40
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, -224, -32, 40
|
|
createsprite gTropKickLeavesTemplate, ANIM_TARGET, 1, 0, 10, 112, -128, 40
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_HardwarePaletteFade, 2, (BLDCNT_TGT1_BG3 | BLDCNT_TGT1_OBJ | BLDCNT_TGT1_BD | BLDCNT_EFFECT_DARKEN), 3, 10, 0, TRUE
|
|
createvisualtask AnimTask_RemoveSpotlight, 2
|
|
end
|
|
|
|
gBattleAnimMove_MakeItRain::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
createsprite gCoinThrowSpriteTemplate, ANIM_ATTACKER, 2, 20, 0, 0, 0, 1152
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_PAY_DAY, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 1, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gFallingCoinSpriteTemplate, ANIM_ATTACKER, 2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 6, 1
|
|
waitforvisualfinish
|
|
delay 20
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpretfalse MakingItRainOnOpponent
|
|
jumprettrue MakingItRainOnPlayer
|
|
MakingItRainContinue:
|
|
waitbgfadeout
|
|
shake_mon_or_platform velocity=7, shake_timer=1, shake_duration=11, type=SHAKE_BG_Y
|
|
loopsewithpan SE_M_PAY_DAY, SOUND_PAN_TARGET, 8, 15
|
|
createsprite gMakingItRainTemplate, ANIM_TARGET, 2, -5, 0, -5, 1
|
|
delay 2
|
|
createsprite gMakingItRainTemplate, ANIM_TARGET, 2, 5, 0, 6, 1
|
|
delay 2
|
|
createsprite gMakingItRainTemplate, ANIM_TARGET, 2, 19, 0, 10, 1
|
|
delay 2
|
|
createsprite gMakingItRainTemplate, ANIM_TARGET, 2, -23, 0, -10, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 5, 50, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 0, 5, 50, 1
|
|
call MakingItRain
|
|
call MakingItRain
|
|
call MakingItRain
|
|
restorebg
|
|
waitbgfadein
|
|
blendoff
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
MakingItRainOnOpponent:
|
|
fadetobg BG_IMPACT_OPPONENT
|
|
goto MakingItRainContinue
|
|
MakingItRainOnPlayer:
|
|
fadetobg BG_IMPACT_PLAYER
|
|
goto MakingItRainContinue
|
|
MakingItRain:
|
|
createsprite gMakingItRainTemplate, ANIM_TARGET, 2, -20, 0, -10, 1
|
|
delay 2
|
|
createsprite gMakingItRainTemplate, ANIM_TARGET, 2, 28, 0, 10, 1
|
|
delay 2
|
|
createsprite gMakingItRainTemplate, ANIM_TARGET, 2, -10, 0, -5, 1
|
|
delay 2
|
|
createsprite gMakingItRainTemplate, ANIM_TARGET, 2, 10, 0, 6, 1
|
|
delay 2
|
|
createsprite gMakingItRainTemplate, ANIM_TARGET, 2, 24, 0, 10, 1
|
|
delay 2
|
|
createsprite gMakingItRainTemplate, ANIM_TARGET, 2, -32, 0, -10, 1
|
|
delay 2
|
|
createsprite gMakingItRainTemplate, ANIM_TARGET, 2, -20, 0, -10, 1
|
|
delay 2
|
|
createsprite gMakingItRainTemplate, ANIM_TARGET, 2, 30, 0, 10, 1
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_ShedTail::
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER, 24, 3
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 12, 4, 2, 3
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_MonToSubstitute, 2
|
|
end
|
|
|
|
gBattleAnimMove_HyperDrill::
|
|
fadetobgfromset BG_GUILLOTINE_OPPONENT, BG_GUILLOTINE_PLAYER, BG_GUILLOTINE_CONTESTS
|
|
waitbgfadein
|
|
call CreateSharpDrill
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=8, color2=RGB_BLACK, blend_y2=0
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=8, color2=RGB_BLACK, blend_y2=0
|
|
restorebg
|
|
waitbgfadein
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_TwinBeam::
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
call SetPsychicBackground
|
|
createvisualtask AnimTask_StartSinAnimTimer, 5, 100
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_TELEPORT, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 9, 0, 10
|
|
call PsywaveRings
|
|
call PsybeamRings
|
|
call PsywaveRings
|
|
call PsybeamRings
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=1, num_blends=4, initial_blend_y=0, target_blend_y=12, color=RGB(31, 18, 31)
|
|
call PsywaveRings
|
|
call PsybeamRings
|
|
call PsywaveRings
|
|
call PsybeamRings
|
|
call PsywaveRings
|
|
call PsybeamRings
|
|
call PsywaveRings
|
|
call PsybeamRings
|
|
waitforvisualfinish
|
|
delay 1
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_Comeuppance::
|
|
monbg ANIM_TARGET
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
delay 0
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_ATTACKER, 1, 0, 15, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 3, 0, 9, RGB_RED
|
|
waitforvisualfinish
|
|
delay 10
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 16, 6144, 8, ANIM_ATTACKER
|
|
delay 5
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 4, 0, 30, 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=24, y=8, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=-24, y=-16, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=8, y=4, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=-16, y=19, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=18, y=-18, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, +63
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
restorebg
|
|
waitbgfadein
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 3, 9, 0, RGB_RED
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_BloodMoon::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 5, F_PAL_BG, 0, 16, 16, RGB_BLACK
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 8, 1, ANIM_ATTACKER
|
|
delay 8
|
|
playsewithpan SE_M_BARRIER, SOUND_PAN_ATTACKER
|
|
createsprite gMoonUpSpriteTemplate, ANIM_ATTACKER, 2
|
|
waitforvisualfinish
|
|
delay 15
|
|
playsewithpan SE_M_DETECT, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpargeq 7 ANIM_TARGET BloodMoonOnPlayer
|
|
BloodMoonOnOpponent:
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_HYPER_BEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 1, 10, 0, 5
|
|
call BloodMoonOnslaughtOpponent
|
|
call BloodMoonOnslaughtOpponent
|
|
call BloodMoonOnslaughtOpponent
|
|
call BloodMoonOnslaughtOpponent
|
|
call BloodMoonOnslaughtOpponent
|
|
createsprite gBloodMoonOnslaughtSpriteTemplate, ANIM_TARGET, 2, 140, -16, 165, 40, 4
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
createsprite gRedExplosionSpriteTemplate, ANIM_TARGET, 4, 6, 5, 1, 0
|
|
delay 0
|
|
waitforvisualfinish
|
|
goto BloodMoonFinish
|
|
BloodMoonOnPlayer:
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_HYPER_BEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 1, 10, 0, 5
|
|
call BloodMoonOnslaughtPlayer
|
|
call BloodMoonOnslaughtPlayer
|
|
call BloodMoonOnslaughtPlayer
|
|
call BloodMoonOnslaughtPlayer
|
|
call BloodMoonOnslaughtPlayer
|
|
createsprite gBloodMoonOnslaughtSpriteTemplate, ANIM_TARGET, 2, 40, -16, 75, 80, 4
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
delay 0
|
|
waitforvisualfinish
|
|
BloodMoonFinish:
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 5, F_PAL_BG, 0, 0, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
BloodMoonOnslaughtOpponent:
|
|
createsprite gBloodMoonOnslaughtSpriteTemplate, ANIM_TARGET, 2, 140, -16, 165, 40, 4
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
createsprite gRedExplosionSpriteTemplate, ANIM_TARGET, 4, 6, 5, 1, 0
|
|
delay 0
|
|
createsprite gBloodMoonOnslaughtSpriteTemplate, ANIM_TARGET, 2, 140, -16, 165, 40, 4
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
createsprite gRedExplosionSpriteTemplate, ANIM_TARGET, 4, -16, -15, 1, 0
|
|
delay 0
|
|
createsprite gBloodMoonOnslaughtSpriteTemplate, ANIM_TARGET, 2, 140, -16, 165, 40, 4
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
createsprite gRedExplosionSpriteTemplate, ANIM_TARGET, 4, 16, -5, 1, 0
|
|
delay 0
|
|
createsprite gBloodMoonOnslaughtSpriteTemplate, ANIM_TARGET, 2, 140, -16, 165, 40, 4
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
createsprite gRedExplosionSpriteTemplate, ANIM_TARGET, 4, -12, 18, 1, 0
|
|
delay 0
|
|
createsprite gBloodMoonOnslaughtSpriteTemplate, ANIM_TARGET, 2, 140, -16, 165, 40, 4
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
createsprite gRedExplosionSpriteTemplate, ANIM_TARGET, 4, 0, 5, 1, 0
|
|
delay 0
|
|
return
|
|
BloodMoonOnslaughtPlayer:
|
|
createsprite gBloodMoonOnslaughtSpriteTemplate, ANIM_TARGET, 2, 40, -16, 75, 80, 4
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
createsprite gRedExplosionSpriteTemplate, ANIM_TARGET, 4, 6, 5, 1, 0
|
|
delay 0
|
|
createsprite gBloodMoonOnslaughtSpriteTemplate, ANIM_TARGET, 2, 40, -16, 75, 80, 4
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
createsprite gRedExplosionSpriteTemplate, ANIM_TARGET, 4, -16, -15, 1, 0
|
|
delay 0
|
|
createsprite gBloodMoonOnslaughtSpriteTemplate, ANIM_TARGET, 2, 40, -16, 75, 80, 4
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
createsprite gRedExplosionSpriteTemplate, ANIM_TARGET, 4, 16, -5, 1, 0
|
|
delay 0
|
|
createsprite gBloodMoonOnslaughtSpriteTemplate, ANIM_TARGET, 2, 40, -16, 75, 80, 4
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
createsprite gRedExplosionSpriteTemplate, ANIM_TARGET, 4, -12, 18, 1, 0
|
|
delay 0
|
|
createsprite gBloodMoonOnslaughtSpriteTemplate, ANIM_TARGET, 2, 40, -16, 75, 80, 4
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
createsprite gRedExplosionSpriteTemplate, ANIM_TARGET, 4, 0, 5, 1, 0
|
|
delay 0
|
|
return
|
|
|
|
gBattleAnimMove_FickleBeam::
|
|
createvisualtask AnimTask_IsPowerOver99, 2
|
|
waitforvisualfinish
|
|
jumpreteq FALSE, FickleBeamRegular
|
|
jumpreteq TRUE, FickleBeamIntense
|
|
FickleBeamRegular:
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_PSYBEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 3, 4, 0, 15
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 4, 25, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(15, 8, 30)
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
waitforvisualfinish
|
|
end
|
|
FickleBeamIntense:
|
|
fadetobgfromset BG_SPACIAL_REND_OPPONENT BG_SPACIAL_REND_PLAYER BG_SPACIAL_REND_OPPONENT
|
|
waitbgfadein
|
|
delay 10
|
|
playsewithpan SE_M_HYPER_BEAM, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 4, 1
|
|
waitforvisualfinish
|
|
delay 30
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_HYPER_BEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 1, 15, 0, 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 4, 50, 1
|
|
flash_anim_tag_with_color tag=ANIM_TAG_ORBS, delay=1, num_blends=12, color1=RGB_RED, blend_y1=16, color2=0, blend_y2=0
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 50, 1
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_Thunderclap::
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 24, 6, 1, 5
|
|
createvisualtask AnimTask_TraceMonBlended, 2, 0, 4, 7, 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
delay 4
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -32
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -16
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, 0
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, 16
|
|
delay 10
|
|
createvisualtask AnimTask_ShakeTargetInPattern, 2, 30, 3, TRUE, 0
|
|
delay 2
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 5, F_PAL_BG, 3, 16, 0, RGB_WHITE
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 5, F_PAL_TARGET, 0, 16, 16, RGB_BLACK
|
|
delay 4
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 5, F_PAL_TARGET, 0, 0, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_HardPress::
|
|
setalpha 15, 0
|
|
call SetSteelBeamBackground
|
|
createvisualtask AnimTask_CompressTargetHorizontallyFast, 2
|
|
createsprite gCrushGripExplosionTemplate, ANIM_TARGET, 0, 0, 0, 1, 1
|
|
delay 3
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gCrushGripExplosionTemplate, ANIM_TARGET, 0, 24, -24, 1, 1
|
|
delay 3
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gCrushGripExplosionTemplate, ANIM_TARGET, 0, -16, 16, 1, 1
|
|
delay 3
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gCrushGripExplosionTemplate, ANIM_TARGET, 0, -24, -12, 1, 1
|
|
delay 3
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gCrushGripExplosionTemplate, ANIM_TARGET, 0, 16, 16, 1, 1
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetHighSpeedBg
|
|
end
|
|
|
|
gBattleAnimMove_DragonCheer::
|
|
createvisualtask AnimTask_DeepInhale, 2, ANIM_ATTACKER
|
|
delay 12
|
|
call RoarEffect
|
|
createvisualtask SoundTask_PlayCryHighPitch, 2, ANIM_ATTACKER, 3
|
|
waitforvisualfinish
|
|
monbg ANIM_ATTACKER
|
|
playsewithpan SE_BALL_OPEN, SOUND_PAN_TARGET
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 122, 3, -14, 18, 24
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 121, 3, 14, 6, 24
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 120, 3, -12, 12, 24
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 119, 3, 14, 18, 24
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 118, 3, 0, 0, 24
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 10
|
|
end
|
|
|
|
gBattleAnimMove_MalignantChain::
|
|
loopsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET, 6, 2
|
|
createsprite gChainBindingSpriteTemplate, ANIM_TARGET, 4, 0, 16, 0, 1
|
|
delay 7
|
|
createsprite gChainBindingSpriteTemplate, ANIM_TARGET, 2, 0, 8, 1, 1
|
|
delay 3
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 8, 1
|
|
delay 20
|
|
setarg 7, -1
|
|
playsewithpan SE_M_BIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
call PoisonBubblesEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_PopulationBomb::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_RandomBool, 2
|
|
jumpretfalse PopulationBombSliceRight
|
|
jumprettrue PopulationBombSliceLeft
|
|
PopulationBombSliceRight:
|
|
createsprite gCuttingSliceSpriteTemplate, ANIM_ATTACKER, 2, 40, -32, 0
|
|
goto PopulationBombContinue
|
|
PopulationBombSliceLeft:
|
|
createsprite gCuttingSliceSpriteTemplate, ANIM_ATTACKER, 2, 40, -32, 1
|
|
PopulationBombContinue:
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 10, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_RevivalBlessing::
|
|
goto gBattleAnimMove_LunarBlessing
|
|
|
|
gBattleAnimMove_TeraStarstorm::
|
|
fadetobg BG_COSMIC
|
|
waitbgfadein
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_CIRCLE_OF_LIGHT, 0, 15, 15, RGB_WHITE
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite gGrowingShockWaveOrbSpriteTemplate, ANIM_ATTACKER, 2
|
|
delay 20
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
call TeraStarstormCreateBeam
|
|
delay 2
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
call TeraStarstormCreateBeam
|
|
delay 2
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
call TeraStarstormCreateBeam
|
|
delay 2
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
call TeraStarstormCreateBeam
|
|
delay 2
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
call TeraStarstormCreateBeam
|
|
delay 2
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
call TeraStarstormCreateBeam
|
|
delay 2
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
call TeraStarstormCreateBeam
|
|
delay 2
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
call TeraStarstormCreateBeam
|
|
delay 2
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
call TeraStarstormCreateBeam
|
|
delay 20
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
playsewithpan SE_FALL, SOUND_PAN_ATTACKER
|
|
jumpifmovetypeequal TYPE_STELLAR, TeraStarstormStellar
|
|
goto TeraStarstormSingle
|
|
TeraStarstormStellar:
|
|
jumpifdoublebattle TeraStarstormDouble
|
|
TeraStarstormSingle:
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 10, 0, 30, 0, 1
|
|
delay 3
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 0, 0, 30, 0, 1
|
|
delay 2
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -10, 0, 30, 0, 1
|
|
delay 3
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 5, -5, 30, 0, 1
|
|
delay 2
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 5, 5, 30, 0, 1
|
|
delay 3
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 5, 1, 1
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-8, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -5, 5, 30, 0, 1
|
|
delay 2
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 10, -5, 30, 0, 1
|
|
delay 3
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 5, 1, 1
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-16, y=8, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 0, 0, 30, 0, 1
|
|
delay 2
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -10, 5, 30, 0, 1
|
|
delay 3
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 5, 1, 1
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=16, y=8, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 5, -5, 30, 0, 1
|
|
delay 2
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 5, 5, 30, 0, 1
|
|
delay 3
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -5, 5, 30, 0, 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 5, 1, 1
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
delay 5
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 5, 1, 1
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=24, y=0, relative_to=ANIM_TARGET, animation=2
|
|
delay 5
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 5, 1, 1
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=24, y=16, relative_to=ANIM_TARGET, animation=2
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadeout
|
|
end
|
|
TeraStarstormDouble:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION_2, 0, 12, 12, RGB_WHITE
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 10, 0, 30, 0, 1
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 10, 0, 30, 1, 1
|
|
delay 2
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 0, 0, 30, 0, 1
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 0, 0, 30, 1, 1
|
|
delay 3
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -10, 0, 30, 0, 1
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -10, 0, 30, 1, 1
|
|
delay 2
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 5, -5, 30, 0, 1
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 5, -5, 30, 1, 1
|
|
delay 3
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 5, 5, 30, 0, 1
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 5, 5, 30, 1, 1
|
|
delay 2
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -5, 5, 30, 0, 1
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -5, 5, 30, 1, 1
|
|
delay 3
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -5, 10, 30, 0, 1
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -5, 10, 30, 1, 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-8, y=0, relative_to=ANIM_TARGET, animation=2
|
|
create_basic_hitsplat_sprite ANIM_DEF_PARTNER, 2, x=-8, y=0, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 5, 1, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 5, 5, 1, 1
|
|
delay 2
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 10, 0, 30, 0, 1
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 10, 0, 30, 1, 1
|
|
delay 3
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 0, 0, 30, 0, 1
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 0, 0, 30, 1, 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-16, y=0, relative_to=ANIM_TARGET, animation=2
|
|
create_basic_hitsplat_sprite ANIM_DEF_PARTNER, 2, x=-16, y=0, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 5, 1, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 5, 5, 1, 1
|
|
delay 2
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -10, 0, 30, 0, 1
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -10, 0, 30, 1, 1
|
|
delay 3
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 5, -5, 30, 0, 1
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 5, -5, 30, 1, 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=16, y=8, relative_to=ANIM_TARGET, animation=2
|
|
create_basic_hitsplat_sprite ANIM_DEF_PARTNER, 2, x=16, y=8, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 5, 1, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 5, 5, 1, 1
|
|
delay 2
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 5, 5, 30, 0, 1
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 5, 5, 30, 1, 1
|
|
delay 3
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -5, 5, 30, 0, 1
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -5, 5, 30, 1, 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=24, y=0, relative_to=ANIM_TARGET, animation=2
|
|
create_basic_hitsplat_sprite ANIM_DEF_PARTNER, 2, x=24, y=0, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 5, 1, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 5, 5, 1, 1
|
|
delay 5
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=24, y=16, relative_to=ANIM_TARGET, animation=2
|
|
create_basic_hitsplat_sprite ANIM_DEF_PARTNER, 2, x=24, y=16, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 5, 1, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 5, 5, 1, 1
|
|
delay 5
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-24, y=16, relative_to=ANIM_TARGET, animation=2
|
|
create_basic_hitsplat_sprite ANIM_DEF_PARTNER, 2, x=-24, y=16, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 5, 1, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 5, 5, 1, 1
|
|
delay 5
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-24, y=-8, relative_to=ANIM_TARGET, animation=2
|
|
create_basic_hitsplat_sprite ANIM_DEF_PARTNER, 2, x=-24, y=-8, relative_to=ANIM_DEF_PARTNER, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 0, 3, 50, 1
|
|
call ExpandingForceExplosionGeyser
|
|
delay 5
|
|
call ExpandingForceExplosionGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadeout
|
|
end
|
|
|
|
TeraStarstormCreateBeam::
|
|
createsprite gTeraStarstormBeamSpriteTemplate, ANIM_BATTLER, 1, -3, 1, 0, 0, 20
|
|
createsprite gTeraStarstormBeamSpriteTemplate, ANIM_BATTLER, 1, 1, 0, 0, 0, 20
|
|
createsprite gTeraStarstormBeamSpriteTemplate, ANIM_BATTLER, 1, 3, -1, 0, 0, 20
|
|
createsprite gTeraStarstormBeamSpriteTemplate, ANIM_BATTLER, 1, -2, 0, 0, 0, 20
|
|
createsprite gTeraStarstormBeamSpriteTemplate, ANIM_BATTLER, 1, 0, 1, 0, 0, 20
|
|
createsprite gTeraStarstormBeamSpriteTemplate, ANIM_BATTLER, 1, -1, -1, 0, 0, 20
|
|
createsprite gTeraStarstormBeamSpriteTemplate, ANIM_BATTLER, 1, 2, 0, 0, 0, 20
|
|
return
|
|
|
|
gBattleAnimMove_TachyonCutter::
|
|
createsprite gTachyonCutterSpriteTemplate, ANIM_ATTACKER, 2, 40, -32, 0
|
|
createsprite gTachyonCutterSpriteTemplate, ANIM_ATTACKER, 2, 40, -32, 1
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SaltCure::
|
|
call SaltCureEffect
|
|
call SaltCureEffect
|
|
call SaltCureEffect
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
goto gBattleAnimGeneral_SaltCureDamage
|
|
|
|
SaltCureEffect:
|
|
createsprite gSaltCureSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 28, 384, 50, 8, 50, ANIM_TARGET
|
|
delay 2
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
createsprite gSaltCureSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 32, 240, 40, 11, -46, ANIM_TARGET
|
|
delay 2
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
createsprite gSaltCureSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 33, 416, 40, 4, 42, ANIM_TARGET
|
|
delay 2
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
createsprite gSaltCureSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 31, 288, 45, 6, -42, ANIM_TARGET
|
|
delay 2
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
createsprite gSaltCureSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 28, 448, 45, 11, 46, ANIM_TARGET
|
|
delay 2
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
createsprite gSaltCureSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 50, 10, -50, ANIM_TARGET
|
|
delay 2
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
return
|
|
|
|
gBattleAnimMove_GlaiveRush::
|
|
call SetHighSpeedBg
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SWORDS_DANCE, SOUND_PAN_ATTACKER
|
|
createsprite gSwordsDanceBladeSpriteTemplate, ANIM_ATTACKER, 2, 0, 0
|
|
delay 22
|
|
flash_anim_tag_with_color tag=ANIM_TAG_SWORD, delay=2, num_blends=2, color1=RGB(18, 31, 31), blend_y1=16, color2=0, blend_y2=0
|
|
waitforvisualfinish
|
|
delay 1
|
|
monbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_DRAGON_ASCENT, 0, 10, 10, RGB(0, 0, 31) @Blue
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 0, 0, 16, RGB_WHITE
|
|
delay 4
|
|
attacker_fade_to_invisible priority=5, step_delay=0
|
|
waitforvisualfinish
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, 238, SOUND_PAN_ATTACKER
|
|
createsprite gGlaiveRushSpriteTemplate, ANIM_TARGET, 2
|
|
delay 14
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=-10, y=0, relative_to=1, animation=0
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, 1, -32, 0, 0, 3
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 6, 0, 12, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_ATTACKER | F_PAL_BG | F_PAL_ANIM_1 | F_PAL_ANIM_2), 2, 16, 0, RGB(26, 31, 0)
|
|
waitforvisualfinish
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 7
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 0, 15, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
call UnsetHighSpeedBg
|
|
end
|
|
|
|
gBattleAnimMove_ArmorCannon::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 13, 8
|
|
fadetobg BG_FIRE
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 2560, 0, 1, -1
|
|
waitbgfadein
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_HANDS_AND_FEET, 0, 12, 12, RGB(31, 0, 0)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ELECTRIC_ORBS, 0, 15, 15, RGB(31, 0, 0)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_CIRCLE_OF_LIGHT, 0, 15, 15, RGB(31, 0, 0)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_FLASH_CANNON_BALL, 0, 15, 15, RGB(31, 16, 0)
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 60, 2, 12
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
createsprite gFlashCannonGrayChargeTemplate, ANIM_ATTACKER, 2, 0
|
|
delay 25
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 10
|
|
delay 6
|
|
loopsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER, 6, 5
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_FLAMETHROWER, SOUND_PAN_ATTACKER
|
|
createsprite gFlashCannonBallMovementTemplate, ANIM_TARGET, 2, 0, 0, 21
|
|
clearmonbg ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
call FireSpreadEffect
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 15, 1
|
|
delay 4
|
|
playsewithpan SE_M_FIRE_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_TripleDive::
|
|
playsewithpan SE_M_DIVE, SOUND_PAN_ATTACKER
|
|
invisible ANIM_ATTACKER
|
|
createsprite gDiveWaterSplashSpriteTemplate, ANIM_ATTACKER, 3, 0
|
|
call DiveSetUpWaterDroplets
|
|
call DiveSetUpWaterDroplets
|
|
call DiveSetUpWaterDroplets
|
|
call DiveSetUpWaterDroplets
|
|
call DiveSetUpWaterDroplets
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gDiveWaterSplashSpriteTemplate, ANIM_TARGET, 131, 1
|
|
call DiveAttackWaterDroplets
|
|
call DiveAttackWaterDroplets
|
|
call DiveAttackWaterDroplets
|
|
call DiveAttackWaterDroplets
|
|
call DiveAttackWaterDroplets
|
|
delay 12
|
|
call RisingWaterHitEffect
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Doodle::
|
|
monbg ANIM_TARGET
|
|
createvisualtask AnimTask_SketchDrawMon, 2
|
|
createsprite gPencilSpriteTemplate, ANIM_TARGET, 2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
delay 12
|
|
call GrowthEffect
|
|
waitforvisualfinish
|
|
call GrowthEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Ruination::
|
|
setalpha 0, 16
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 1, 0, 20, 1
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 3, 0, 48, 1
|
|
createvisualtask AnimTask_BlendMonInAndOut, 2, ANIM_ATTACKER, RGB(31, 6, 1), 12, 4, 1
|
|
waitforvisualfinish
|
|
delay 20
|
|
delay 1
|
|
createvisualtask AnimTask_InitMementoShadow, 2
|
|
delay 1
|
|
createvisualtask AnimTask_MoveAttackerMementoShadow, 5
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
delay 48
|
|
playsewithpan SE_M_PSYBEAM2, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_MementoHandleBg, 2
|
|
delay 12
|
|
setalpha 0, 16
|
|
delay 1
|
|
monbg_static ANIM_TARGET
|
|
createvisualtask AnimTask_MoveTargetMementoShadow, 5
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg_static ANIM_TARGET
|
|
delay 1
|
|
blendoff
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_CollisionCourse::
|
|
monbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 8, RGB_BLACK
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_CIRCLE_OF_LIGHT, 0, 10, 10, RGB(31, 0, 0)
|
|
waitforvisualfinish
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 2
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 6
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 10
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
clearmonbg ANIM_ATTACKER
|
|
createsprite gVoltTackleOrbSlideSpriteTemplate, ANIM_ATTACKER, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 0
|
|
playsewithpan SE_M_FLAMETHROWER, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 1
|
|
playsewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 2
|
|
playsewithpan SE_M_FLAMETHROWER, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 3
|
|
playsewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 4
|
|
playsewithpan SE_M_FLAMETHROWER, SOUND_PAN_ATTACKER
|
|
delay 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 8, 0, RGB_BLACK
|
|
call SetImpactBackground
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 10, 0, 18, 1
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_ATTACKER, 2, 1, 16, 16
|
|
delay 2
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_ATTACKER, 2, 1, -16, -16
|
|
delay 8
|
|
createvisualtask AnimTask_VoltTackleAttackerReappear, 5
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 3, 0, 9, 1
|
|
waitforvisualfinish
|
|
call FireSpreadEffect
|
|
delay 4
|
|
playsewithpan SE_M_FIRE_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_ElectroDrift::
|
|
monbg ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
fadetobg BG_THUNDER
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -256, 0, 1, -1
|
|
waitbgfadein
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
delay 10
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 32, 12, 0, 20, 0, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 32, 12, 64, 20, 1, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 32, 12, 128, 20, 0, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 32, 12, 192, 20, 2, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 32, 20, 0, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 96, 20, 1, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 160, 20, 0, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 224, 20, 2, 0
|
|
delay 4
|
|
createsprite gVoltTackleOrbSlideSpriteTemplate, ANIM_ATTACKER, 1
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
delay 8
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 0
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 1
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 2
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 3
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 4
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
delay 5
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
delay 1
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 10, 0, 18, 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -32
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -16
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, 16
|
|
delay 10
|
|
createvisualtask AnimTask_ShakeTargetInPattern, 2, 30, 3, TRUE, 0
|
|
delay 2
|
|
createvisualtask AnimTask_VoltTackleAttackerReappear, 5
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 3, 0, 9, 1
|
|
call ElectricityEffect
|
|
waitforvisualfinish
|
|
blendoff
|
|
delay 2
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_Psyblade::
|
|
call SetPsychicBackground
|
|
waitbgfadein
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 12
|
|
createsprite gLeerSpriteTemplate, ANIM_TARGET, 2, 24, -12
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 1
|
|
waitforvisualfinish
|
|
createsprite gSlashSliceSpriteTemplate, ANIM_TARGET, 2, 1, -8, 0
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 15, 0, 40, 1
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_CROSS_IMPACT, 0, 10, 10, RGB_RED
|
|
createsprite gSpriteTemplate_LargeCrossImpact, ANIM_TARGET, 2, 0, 0, 1, 36
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
waitforvisualfinish
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_MightyCleave::
|
|
fadetobg BG_ROCK_WRECKER
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -4096, 0, 0, -1
|
|
waitbgfadein
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 38, 1
|
|
call MightyCleaveDiggingRun
|
|
call MightyCleaveDiggingRun
|
|
call MightyCleaveDiggingRun
|
|
call MightyCleaveDiggingRun
|
|
call MightyCleaveDiggingRun
|
|
call MightyCleaveDiggingRun
|
|
call MightyCleaveDiggingRun
|
|
call MightyCleaveDiggingRun
|
|
call MightyCleaveDiggingRun
|
|
waitforvisualfinish
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 12
|
|
createsprite gLeerSpriteTemplate, ANIM_TARGET, 2, 24, -12
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 1
|
|
waitforvisualfinish
|
|
createsprite gSlashSliceSpriteTemplate, ANIM_TARGET, 2, 1, -8, 0
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 15, 0, 40, 1
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_CROSS_IMPACT, 0, 10, 10, RGB_RED
|
|
createsprite gSpriteTemplate_LargeCrossImpact, ANIM_TARGET, 2, 0, 0, 1, 36
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
waitforvisualfinish
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
waitbgfadein
|
|
call UnsetPsychicBg
|
|
waitforvisualfinish
|
|
end
|
|
MightyCleaveDiggingRun:
|
|
createsprite gRockPlumeSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 12, 4, -16, 18
|
|
createsprite gRockPlumeSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 16, 4, -10, 18
|
|
createsprite gRockPlumeSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 14, 4, -18, 18
|
|
createsprite gRockPlumeSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 12, 4, -16, 18
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
return
|
|
|
|
gBattleAnimMove_SupercellSlam::
|
|
delay 0
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=5, target_blend_y=5, color=RGB(31, 31, 22)
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=0, target_blend_y=0, color=RGB(31, 31, 22)
|
|
delay 10
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=5, target_blend_y=5, color=RGB(31, 31, 22)
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=0, target_blend_y=0, color=RGB(31, 31, 22)
|
|
delay 20
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=7, target_blend_y=7, color=RGB(31, 31, 22)
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 32, 12, 0, 20, 0, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 32, 12, 64, 20, 1, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 32, 12, 128, 20, 0, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 32, 12, 192, 20, 2, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 32, 20, 0, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 96, 20, 1, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 160, 20, 0, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 224, 20, 2, 0
|
|
delay 4
|
|
waitforvisualfinish
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=0, target_blend_y=0, color=RGB(31, 31, 22)
|
|
delay 4
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 6, 1, ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
delay 11
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, 0, 26, 0, 0, 5
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
loopsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET, 10, 2
|
|
delay 1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, 1, -28, 0, 0, 3
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
waitforvisualfinish
|
|
delay 10
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 6
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 6
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=-31, num_blends=2, initial_blend_y=0, target_blend_y=6, color=RGB(31, 31, 22)
|
|
call ElectricityEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_BlazingTorque::
|
|
fadetobg BG_FIRE
|
|
waitbgfadeout
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 2560, 0, 1, -1
|
|
waitbgfadein
|
|
complex_palette_blend selector=F_PAL_ATTACKER, delay=4, num_blends=2, color1=RGB_WHITE, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 2, 4
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=0, initial_blend_y=16, target_blend_y=16, color=RGB_WHITE
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, 0, 20, 0, 0, 4
|
|
delay 3
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
call FireSpreadEffect
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, 1, -32, 0, 0, 3
|
|
@waitforvisualfinish
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 0
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 4, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=16, target_blend_y=0, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 1
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 7
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_WickedTorque::
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
complex_palette_blend selector=F_PAL_ATTACKER, delay=4, num_blends=2, color1=RGB_WHITE, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 2, 4
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=0, initial_blend_y=16, target_blend_y=16, color=RGB_WHITE
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, 0, 20, 0, 0, 4
|
|
delay 3
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 3, 10, 0, 0
|
|
createsprite gFoulPlayRingTemplate, ANIM_ATTACKER, 3, 0, 0, 256, 0
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, 1, -32, 0, 0, 3
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 0
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 4, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=16, target_blend_y=0, color=RGB_WHITE
|
|
delay 2
|
|
createsprite gFoulPlayRingTemplate, ANIM_ATTACKER, 3, 0, 0, 256, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 1
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 7
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_NoxiousTorque::
|
|
fadetobg BG_GUNK_SHOT
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 2560, 0, 1, -1
|
|
waitbgfadein
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
complex_palette_blend selector=F_PAL_ATTACKER, delay=4, num_blends=2, color1=RGB_WHITE, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 2, 4
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=0, initial_blend_y=16, target_blend_y=16, color=RGB_WHITE
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, 0, 20, 0, 0, 4
|
|
delay 3
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=1, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(30, 0, 31)
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 42, 27, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -27, 44, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 39, -28, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -42, -42, 20
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, 1, -32, 0, 0, 3
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 0
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 4, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
delay 5
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 0, 40, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 46, 9, 20
|
|
delay 5
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -43, -12, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 16, -46, 20
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=16, target_blend_y=0, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 1
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 7
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_CombatTorque::
|
|
fadetobg BG_IN_AIR
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, 4096, 0, -1
|
|
waitbgfadein
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
complex_palette_blend selector=F_PAL_ATTACKER, delay=4, num_blends=2, color1=RGB_WHITE, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 2, 4
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=0, initial_blend_y=16, target_blend_y=16, color=RGB_WHITE
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, 0, 20, 0, 0, 4
|
|
delay 3
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createsprite gSuperpowerFireballSpriteTemplate, ANIM_TARGET, 3, ANIM_ATTACKER
|
|
delay 4
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, 1, -32, 0, 0, 3
|
|
@waitforvisualfinish
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 0
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 4, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=16, target_blend_y=0, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 1
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 7
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_MagicalTorque::
|
|
fadetobg BG_TWINKLE_TACKLE
|
|
waitbgfadeout
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
complex_palette_blend selector=F_PAL_ATTACKER, delay=4, num_blends=2, color1=RGB_WHITE, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 2, 4
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=0, initial_blend_y=16, target_blend_y=16, color=RGB_WHITE
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, 0, 20, 0, 0, 4
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 160, -32
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -256, -40
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 128, -16
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 416, -38
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -128, -22
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -384, -31
|
|
delay 0
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, 1, -32, 0, 0, 3
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 0
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 4, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
delay 3
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=16, target_blend_y=0, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 1
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 7
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_TeraBlast::
|
|
jumpifmovetypeequal TYPE_NORMAL, TeraBlastNormal
|
|
jumpifmovetypeequal TYPE_FIGHTING, TeraBlastFighting
|
|
jumpifmovetypeequal TYPE_FLYING, TeraBlastFlying
|
|
jumpifmovetypeequal TYPE_POISON, TeraBlastPoison
|
|
jumpifmovetypeequal TYPE_GROUND, TeraBlastGround
|
|
jumpifmovetypeequal TYPE_ROCK, TeraBlastRock
|
|
jumpifmovetypeequal TYPE_BUG, TeraBlastBug
|
|
jumpifmovetypeequal TYPE_GHOST, TeraBlastGhost
|
|
jumpifmovetypeequal TYPE_STEEL, TeraBlastSteel
|
|
jumpifmovetypeequal TYPE_FIRE, TeraBlastFire
|
|
jumpifmovetypeequal TYPE_WATER, TeraBlastWater
|
|
jumpifmovetypeequal TYPE_GRASS, TeraBlastGrass
|
|
jumpifmovetypeequal TYPE_ELECTRIC, TeraBlastElectric
|
|
jumpifmovetypeequal TYPE_PSYCHIC, TeraBlastPsychic
|
|
jumpifmovetypeequal TYPE_ICE, TeraBlastIce
|
|
jumpifmovetypeequal TYPE_DRAGON, TeraBlastDragon
|
|
jumpifmovetypeequal TYPE_DARK, TeraBlastDark
|
|
jumpifmovetypeequal TYPE_FAIRY, TeraBlastFairy
|
|
jumpifmovetypeequal TYPE_STELLAR, TeraBlastStellar
|
|
end
|
|
TeraBlastNormal:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_PINKVIO_ORB, 0, 12, 12, RGB_WHITE
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ORBS, 0, 12, 12, RGB_WHITE
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB_WHITE
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, 0
|
|
waitforvisualfinish
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_HYPER_BEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 1, 15, 0, 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 4, 50, 1
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 50, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 11, RGB(25, 25, 25)
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 11, 0, RGB(25, 25, 25)
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, 0
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
TeraBlastFighting:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_PINKVIO_ORB, 0, 12, 12, RGB(29, 24, 2)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB(29, 24, 2)
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
fadetobg BG_ROCK_WRECKER
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -4096, 0, 0, -1
|
|
waitbgfadein
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 63, 1
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -48, 24, 0, 0, 10, 1, ANIM_FOOT_1, 1
|
|
delay 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=1, animation=1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -6, 18, 0, 0, 10, 1, ANIM_CHOP, 1
|
|
delay 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=1, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -64, 16, 0, 0, 10, 1, ANIM_FIST_1, 1
|
|
delay 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=1, animation=1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -48, 21, 0, 0, 10, 1, ANIM_FOOT_2, 1
|
|
delay 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=1, animation=1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -48, 20, 0, 0, 10, 1, ANIM_FIST_1, 1
|
|
delay 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=1, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -32, 23, 0, 0, 10, 1, ANIM_CHOP, 1
|
|
delay 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=1, animation=1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -64, 17, 0, 0, 10, 1, ANIM_FOOT_1, 1
|
|
delay 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=1, animation=1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -80, 16, 0, 0, 10, 1, ANIM_FOOT_2, 1
|
|
delay 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=1, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -96, 21, 0, 0, 10, 1, ANIM_CHOP, 1
|
|
delay 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -48, 24, 0, 0, 10, 1, ANIM_FOOT_1, 1
|
|
delay 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=1, animation=1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -6, 18, 0, 0, 10, 1, ANIM_CHOP, 1
|
|
delay 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=1, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -64, 16, 0, 0, 10, 1, ANIM_FIST_1, 1
|
|
delay 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=1, animation=1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -48, 21, 0, 0, 10, 1, ANIM_FOOT_2, 1
|
|
delay 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=1, animation=1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -48, 20, 0, 0, 10, 1, ANIM_FIST_1, 1
|
|
delay 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=1, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -32, 23, 0, 0, 10, 1, ANIM_CHOP, 1
|
|
delay 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=1, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
waitbgfadein
|
|
call UnsetPsychicBg
|
|
waitforvisualfinish
|
|
end
|
|
TeraBlastPoison:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB_PURPLE
|
|
createsprite sPoisonSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sPoisonSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sPoisonSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sPoisonSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sPoisonSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sPoisonSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sPoisonSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
fadetobg BG_GUNK_SHOT
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 2560, 0, 1, -1
|
|
waitbgfadein
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 42, 27, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -27, 44, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 39, -28, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -42, -42, 20
|
|
playsewithpan SE_M_DIG, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 50, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=4, num_blends=4, initial_blend_y=0, target_blend_y=12, color=RGB_PURPLE
|
|
call PoisonBubblesEffect
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 42, 27, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -27, 44, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 39, -28, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -42, -42, 20
|
|
playsewithpan SE_M_DIG, SOUND_PAN_TARGET
|
|
call PoisonBubblesEffect
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 42, 27, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -27, 44, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 39, -28, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -42, -42, 20
|
|
playsewithpan SE_M_DIG, SOUND_PAN_TARGET
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
delay 0
|
|
call UnsetSkyBg
|
|
end
|
|
TeraBlastFlying:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_METAL_SOUND_WAVES, 0, 12, 12, RGB_WHITE
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB_WHITE
|
|
createsprite gAirWaveSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_BLIZZARD2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gAirWaveSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_BLIZZARD2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gAirWaveSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_BLIZZARD2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gAirWaveSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_BLIZZARD2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gAirWaveSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_BLIZZARD2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gAirWaveSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_BLIZZARD2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gAirWaveSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_BLIZZARD2, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
call SetSkyBg
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 46, 1
|
|
delay 6
|
|
call TeraBlastFlyingBeam
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 50, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=4, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB_WHITE
|
|
call TeraBlastFlyingBeam
|
|
call TeraBlastFlyingBeam
|
|
delay 8
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
delay 0
|
|
call UnsetSkyBg
|
|
end
|
|
TeraBlastRock:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_FIRE_PLUME, 0, 12, 12, RGB(29, 24, 2)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB(29, 24, 2)
|
|
createsprite sRockSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sRockSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sRockSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sRockSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sRockSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sRockSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sRockSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
fadetobg BG_ROCK_WRECKER
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -4096, 0, 0, -1
|
|
waitbgfadein
|
|
playsewithpan SE_FALL, SOUND_PAN_TARGET
|
|
call TeraBlastRock1
|
|
delay 3
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
call TeraBlastRock2
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 4, 2
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=40, y=16@; For Meteor 1
|
|
createvisualtask AnimTask_HorizontalShake, 5, 5, 2, 1
|
|
delay 3
|
|
call TeraBlastRock3
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 4, 2
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=-8, y=16@; For Meteor 2
|
|
delay 3
|
|
call TeraBlastRock4
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 4, 2
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=21, y=16@; For Meteor 3
|
|
delay 3
|
|
call TeraBlastRock1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 4, 2
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=-8, y=16@; For Meteor 4
|
|
createvisualtask AnimTask_HorizontalShake, 5, 5, 2, 1
|
|
delay 3
|
|
call TeraBlastRock2
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 4, 2
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=40, y=16@; For Meteor 1
|
|
delay 3
|
|
call TeraBlastRock3
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=21, y=16@; For Meteor 3
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
TeraBlastBug:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB_GREEN
|
|
createvisualtask AnimTask_BlendPalInAndOutByTag, 5, ANIM_TAG_HOLLOW_ORB, RGB_GREEN, 14, 0, 3
|
|
createsprite gDragonDanceOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gDragonDanceOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gDragonDanceOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gDragonDanceOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gDragonDanceOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gDragonDanceOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gDragonDanceOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
monbg ANIM_DEF_PARTNER
|
|
call SetBugBg
|
|
createsprite gMaxFlutterbyButterflySpriteTemplate, ANIM_ATTACKER, 2, 3, 0, 30
|
|
delay 1
|
|
createsprite gMaxFlutterbyButterflySpriteTemplate, ANIM_ATTACKER, 2, 3, 0, -20
|
|
delay 1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 50, 1
|
|
createsprite gMaxFlutterbyButterflySpriteTemplate, ANIM_ATTACKER, 2, 3, 0, 30
|
|
delay 1
|
|
createsprite gMaxFlutterbyButterflySpriteTemplate, ANIM_ATTACKER, 2, 3, 0, -20
|
|
delay 1
|
|
createsprite gMaxFlutterbyButterflySpriteTemplate, ANIM_ATTACKER, 2, 3, 0, 30
|
|
delay 1
|
|
createsprite gMaxFlutterbyButterflySpriteTemplate, ANIM_ATTACKER, 2, 3, 0, -20
|
|
delay 1
|
|
createsprite gMaxFlutterbyButterflySpriteTemplate, ANIM_ATTACKER, 2, 3, 0, 30
|
|
delay 1
|
|
createsprite gMaxFlutterbyButterflySpriteTemplate, ANIM_ATTACKER, 2, 3, 0, -20
|
|
delay 1
|
|
createsprite gMaxFlutterbyButterflySpriteTemplate, ANIM_ATTACKER, 2, 3, 0, 30
|
|
delay 1
|
|
createsprite gMaxFlutterbyButterflySpriteTemplate, ANIM_ATTACKER, 2, 3, 0, -20
|
|
delay 1
|
|
createsprite gMaxFlutterbyButterflySpriteTemplate, ANIM_ATTACKER, 2, 3, 0, 30
|
|
delay 1
|
|
createsprite gMaxFlutterbyButterflySpriteTemplate, ANIM_ATTACKER, 2, 3, 0, -20
|
|
delay 1
|
|
createsprite gMaxFlutterbyButterflySpriteTemplate, ANIM_ATTACKER, 2, 3, 0, 30
|
|
delay 1
|
|
createsprite gMaxFlutterbyButterflySpriteTemplate, ANIM_ATTACKER, 2, 3, 0, -20
|
|
delay 1
|
|
createsprite gMaxFlutterbyButterflySpriteTemplate, ANIM_ATTACKER, 2, 3, 0, 30
|
|
delay 1
|
|
createsprite gMaxFlutterbyButterflySpriteTemplate, ANIM_ATTACKER, 2, 3, 0, -20
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_TARGET, 66, 0, 0, 4
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
call UnsetBugBg
|
|
end
|
|
TeraBlastGround:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB(29, 24, 2)
|
|
createsprite sMudSandSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sMudSandSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sMudSandSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sMudSandSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sMudSandSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sMudSandSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sMudSandSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
fadetobg BG_FISSURE
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_PositionFissureBgOnBattler, 5, ANIM_TARGET, 5, -1
|
|
waitbgfadein
|
|
createvisualtask AnimTask_HorizontalShake, 3, ANIM_TARGET, 10, 50
|
|
playsewithpan SE_M_EARTHQUAKE, SOUND_PAN_TARGET
|
|
delay 40
|
|
loopsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET 11, 3
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 3, 25, 1
|
|
call CreateDragonRageFirePlumes
|
|
delay 1
|
|
loopsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET 11, 3
|
|
create_dragon_rage_fire_plume_sprite ANIM_TARGET, 66, relative_to=1, x=5, y=0
|
|
delay 1
|
|
create_dragon_rage_fire_plume_sprite ANIM_TARGET, 66, relative_to=1, x=-10, y=-15
|
|
delay 1
|
|
create_dragon_rage_fire_plume_sprite ANIM_TARGET, 2, relative_to=1, x=0, y=25
|
|
delay 1
|
|
create_dragon_rage_fire_plume_sprite ANIM_TARGET, 66, relative_to=1, x=15, y=5
|
|
delay 1
|
|
create_dragon_rage_fire_plume_sprite ANIM_TARGET, 66, relative_to=1, x=-25, y=0
|
|
delay 1
|
|
create_dragon_rage_fire_plume_sprite ANIM_TARGET, 2, relative_to=1, x=30, y=30
|
|
delay 1
|
|
create_dragon_rage_fire_plume_sprite ANIM_TARGET, 2, relative_to=1, x=-27, y=25
|
|
delay 1
|
|
loopsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET 11, 3
|
|
create_dragon_rage_fire_plume_sprite ANIM_TARGET, 66, relative_to=1, x=0, y=8
|
|
delay 1
|
|
call CreateDragonRageFirePlumes
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_TARGET, 66, 0, 0, 4
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, -1
|
|
waitbgfadein
|
|
end
|
|
TeraBlastGhost:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB_PURPLE
|
|
createsprite gPurpleFlameSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPurpleFlameSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPurpleFlameSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPurpleFlameSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPurpleFlameSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPurpleFlameSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPurpleFlameSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
fadetobg BG_GHOST
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 2560, 0, 1, -1
|
|
waitbgfadein
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 46, 1
|
|
delay 6
|
|
createsprite gGhostProjectileSpriteTemplate, ANIM_TARGET, 2, 40, 40, 16
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gGhostProjectileSpriteTemplate, ANIM_TARGET, 2, -40, -40, 16
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gGhostProjectileSpriteTemplate, ANIM_TARGET, 2, 0, 40, 16
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 2
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=4, num_blends=4, initial_blend_y=0, target_blend_y=12, color=RGB_PURPLE
|
|
createsprite gGhostProjectileSpriteTemplate, ANIM_TARGET, 2, 0, -40, 16
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gGhostProjectileSpriteTemplate, ANIM_TARGET, 2, 40, -20, 16
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gGhostProjectileSpriteTemplate, ANIM_TARGET, 2, 40, 20, 16
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gGhostProjectileSpriteTemplate, ANIM_TARGET, 2, -40, -20, 16
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gGhostProjectileSpriteTemplate, ANIM_TARGET, 2, -40, 20, 16
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gGhostProjectileSpriteTemplate, ANIM_TARGET, 2, -20, 30, 16
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gGhostProjectileSpriteTemplate, ANIM_TARGET, 2, 20, -30, 16
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gGhostProjectileSpriteTemplate, ANIM_TARGET, 2, -20, -30, 16
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gGhostProjectileSpriteTemplate, ANIM_TARGET, 2, 20, 30, 16
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gGhostProjectileSpriteTemplate, ANIM_TARGET, 2, -40, 0, 16
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gGhostProjectileSpriteTemplate, ANIM_TARGET, 2, 40, 0, 16
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 6
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
TeraBlastSteel:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ROCKS, 0, 12, 12, RGB(25, 25, 25)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_REALLY_BIG_ROCK, 0, 12, 12, RGB(25, 25, 25)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB(25, 25, 25)
|
|
createsprite sMetalBallSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sMetalBallSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sMetalBallSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sMetalBallSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sMetalBallSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sMetalBallSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sMetalBallSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
call SetSteelBeamBackground
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 46, 1
|
|
delay 6
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
call ContinentalCrushStockpileRocks
|
|
createsprite gContinentalCrushGrowingRockSpriteTemplate, ANIM_ATTACKER, 41, 0, 0, 0, 0
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
call ContinentalCrushStockpileRocks
|
|
delay 30
|
|
loopsewithpan SE_M_HARDEN, SOUND_PAN_ATTACKER, 28, 2
|
|
metallic_shine permanent=0
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
createsprite gReallyBigRockBlastRockSpriteTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 25, 257
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
TeraBlastFire:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB(31, 0, 0)
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
monbg ANIM_ATTACKER
|
|
setalpha 14, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 12, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 46, 1
|
|
delay 6
|
|
createvisualtask AnimTask_GetAttackerSide, 2
|
|
jumprettrue TeraBlastFireOnPlayer
|
|
goto TeraBlastFireOnOpponent
|
|
TeraBlastFireOnOpponent:
|
|
panse SE_M_FLAMETHROWER, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 43, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=4, num_blends=4, initial_blend_y=0, target_blend_y=12, color=RGB(31, 0, 0)
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, 0
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
TeraBlastFireOnPlayer:
|
|
panse SE_M_FLAMETHROWER, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 43, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=4, num_blends=4, initial_blend_y=0, target_blend_y=12, color=RGB(31, 0, 0)
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 12, 0, 0
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
TeraBlastWater:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_FIRE_PLUME, 0, 12, 12, RGB_BLUE
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB_BLUE
|
|
createsprite gHydroPumpSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_HYDRO_PUMP, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gHydroPumpSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
delay 2
|
|
createsprite gHydroPumpSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
delay 2
|
|
createsprite gHydroPumpSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
delay 2
|
|
createsprite gHydroPumpSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
delay 2
|
|
createsprite gHydroPumpSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
delay 2
|
|
createsprite gHydroPumpSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
waitforvisualfinish
|
|
fadetobg BG_WATER
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 2560, 0, 1, -1
|
|
waitbgfadein
|
|
playsewithpan SE_FALL, SOUND_PAN_TARGET
|
|
call TeraBlastWater1
|
|
delay 3
|
|
playsewithpan SE_M_WATERFALL, SOUND_PAN_TARGET
|
|
call TeraBlastWater2
|
|
playsewithpan SE_M_WATERFALL, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 4, 2
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=40, y=16@; For Meteor 1
|
|
createvisualtask AnimTask_HorizontalShake, 5, 5, 2, 1
|
|
delay 3
|
|
call TeraBlastWater3
|
|
playsewithpan SE_M_WATERFALL, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 4, 2
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=-8, y=16@; For Meteor 2
|
|
delay 3
|
|
call TeraBlastWater4
|
|
playsewithpan SE_M_WATERFALL, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 4, 2
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=21, y=16@; For Meteor 3
|
|
delay 3
|
|
call TeraBlastWater1
|
|
playsewithpan SE_M_WATERFALL, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 4, 2
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=-8, y=16@; For Meteor 4
|
|
createvisualtask AnimTask_HorizontalShake, 5, 5, 2, 1
|
|
delay 3
|
|
call TeraBlastWater2
|
|
playsewithpan SE_M_WATERFALL, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 4, 2
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=40, y=16@; For Meteor 1
|
|
delay 3
|
|
call TeraBlastWater3
|
|
playsewithpan SE_M_WATERFALL, SOUND_PAN_TARGET
|
|
create_dragon_rage_fire_plume_sprite ANIM_ATTACKER, 2, relative_to=ANIM_TARGET, x=21, y=16@; For Meteor 3
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
TeraBlastGrass:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB(0, 31, 0)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_AIR_WAVE_2, 0, 12, 12, RGB_GREEN
|
|
createsprite gBloomDoomPetalSpinSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gBloomDoomPetalSpinSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gBloomDoomPetalSpinSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gBloomDoomPetalSpinSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gBloomDoomPetalSpinSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gBloomDoomPetalSpinSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gBloomDoomPetalSpinSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
fadetobg BG_LEAF_STORM
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 2560, 0, 1, -1
|
|
waitbgfadein
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 46, 1
|
|
delay 6
|
|
call AeroblastBeam
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 5, 0, 50, 1
|
|
call AeroblastBeam
|
|
call AeroblastBeam
|
|
call AeroblastBeam
|
|
call AeroblastBeam
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
TeraBlastElectric:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB_YELLOW
|
|
createsprite sCirclingShockSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sCirclingShockSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sCirclingShockSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sCirclingShockSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sCirclingShockSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sCirclingShockSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sCirclingShockSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
fadetobg BG_THUNDER
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -256, 0, 1, -1
|
|
waitbgfadein
|
|
loopsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET, 3, 10
|
|
createsprite gThunderboltOrbSpriteTemplate, ANIM_TARGET, 3, 44, 0, 0, 3
|
|
createsprite gThunderboltOrbSpriteTemplate, ANIM_TARGET, 3, 44, 0, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 0, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 64, 40, 1, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 128, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 192, 40, 2, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 32, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 96, 40, 1, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 160, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 224, 40, 2, -32765
|
|
delay 0
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 2, 2, RGB_BLACK
|
|
delay 6
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 6, 6, RGB_BLACK
|
|
delay 6
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 2, 2, RGB_BLACK
|
|
delay 6
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 6, 6, RGB_BLACK
|
|
createsprite gThunderboltOrbSpriteTemplate, ANIM_TARGET, 3, 44, 0, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 0, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 64, 40, 1, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 128, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 192, 40, 2, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 32, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 96, 40, 1, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 160, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 224, 40, 2, -32765
|
|
delay 0
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 2, 2, RGB_BLACK
|
|
delay 6
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 6, 6, RGB_BLACK
|
|
delay 6
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 2, 2, RGB_BLACK
|
|
delay 6
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 6, 6, RGB_BLACK
|
|
createsprite gThunderboltOrbSpriteTemplate, ANIM_TARGET, 3, 44, 0, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 0, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 64, 40, 1, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 128, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 192, 40, 2, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 32, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 96, 40, 1, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 160, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 224, 40, 2, -32765
|
|
delay 0
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 2, 2, RGB_BLACK
|
|
delay 6
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 6, 6, RGB_BLACK
|
|
delay 6
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 2, 2, RGB_BLACK
|
|
delay 6
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 6, 6, RGB_BLACK
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 6, 0, RGB_BLACK
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
TeraBlastPsychic:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_PINKVIO_ORB, 0, 12, 12, RGB_PURPLE
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB_PURPLE
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPinkVioletOrbSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
fadetobg BG_PSYCHIC
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_SetPsychicBackground, 5
|
|
waitbgfadein
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
loopsewithpan SE_M_SUPERSONIC, SOUND_PAN_TARGET, 10, 3
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 8, 8, 30, 1
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -4, -4, 30, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
TeraBlastIce:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB(12, 26, 31) @ light blue
|
|
createsprite sIceCrystalSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sIceCrystalSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sIceCrystalSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sIceCrystalSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sIceCrystalSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sIceCrystalSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sIceCrystalSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
fadetobg BG_ICE
|
|
waitbgfadein
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, 4, 2, 0, 9, RGB(12, 26, 31)
|
|
playsewithpan SE_M_STRING_SHOT, SOUND_PAN_TARGET
|
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 0
|
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 64
|
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 128
|
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 192
|
|
delay 5
|
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 32
|
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 96
|
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 160
|
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 224
|
|
delay 17
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 3, 1
|
|
waitforvisualfinish
|
|
delay 15
|
|
call IceCrystalEffectShort
|
|
delay 5
|
|
call IceCrystalEffectShort
|
|
delay 5
|
|
call IceCrystalEffectShort
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, 4, 2, 9, 0, RGB(12, 26, 31)
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
TeraBlastDragon:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SMALL_EMBER, 0, 12, 12, RGB(10, 25, 31)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB(10, 25, 31)
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
fadetobg BG_FIRE_2
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 4096, 0, 0, -1
|
|
waitbgfadein
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 46, 1
|
|
delay 6
|
|
createvisualtask AnimTask_GetAttackerSide, 2
|
|
jumprettrue TeraBlastDragonOnPlayer
|
|
goto TeraBlastDragonOnOpponent
|
|
TeraBlastDragonOnOpponent:
|
|
panse SE_M_FLAMETHROWER, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 43, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=4, num_blends=4, initial_blend_y=0, target_blend_y=12, color=RGB(31, 0, 0)
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
call FireSpreadBlast
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
TeraBlastDragonOnPlayer:
|
|
panse SE_M_FLAMETHROWER, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 43, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=4, num_blends=4, initial_blend_y=0, target_blend_y=12, color=RGB(31, 0, 0)
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
call FireSpreadBlastOpponent
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
TeraBlastDark:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_PURPLE_FLAME, 0, 12, 12, RGB_BLACK
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_METAL_SOUND_WAVES, 0, 12, 12, RGB_BLACK
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB_BLACK
|
|
createsprite gPurpleFlameSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPurpleFlameSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPurpleFlameSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPurpleFlameSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPurpleFlameSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPurpleFlameSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gPurpleFlameSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 46, 1
|
|
delay 6
|
|
call TeraBlastFlyingBeam
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 50, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=4, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB_BLACK
|
|
call TeraBlastFlyingBeam
|
|
call TeraBlastFlyingBeam
|
|
delay 8
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
TeraBlastFairy:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB_MAGENTA
|
|
createsprite sPinkHeartSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sPinkHeartSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sPinkHeartSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sPinkHeartSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sPinkHeartSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sPinkHeartSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite sPinkHeartSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
fadetobg BG_TWINKLE_TACKLE
|
|
waitbgfadein
|
|
loopsewithpan SE_M_SUPERSONIC, SOUND_PAN_TARGET, 10, 3
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=4, num_blends=4, initial_blend_y=0, target_blend_y=12, color=RGB_MAGENTA
|
|
call TeraBlastFairyHearts
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 8, 8, 15, 1
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -4, -4, 15, ANIM_TARGET, 1
|
|
delay 32
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_TARGET
|
|
call TeraBlastFairyHearts
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 8, 8, 15, 1
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -4, -4, 15, ANIM_TARGET, 1
|
|
delay 32
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_TARGET
|
|
call TeraBlastFairyHearts
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 8, 8, 15, 1
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -4, -4, 15, ANIM_TARGET, 1
|
|
delay 32
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call TeraBlastFairyHearts
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
TeraBlastStellar:
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB_WHITE
|
|
createsprite gYellowStarSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gYellowStarSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gYellowStarSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gYellowStarSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gYellowStarSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gYellowStarSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gYellowStarSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
fadetobg BG_COSMIC
|
|
waitbgfadein
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
playsewithpan SE_FALL, SOUND_PAN_ATTACKER
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 10, 0, 30, 0, 1
|
|
delay 3
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 0, 0, 30, 0, 1
|
|
delay 2
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -10, 0, 30, 0, 1
|
|
delay 3
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 5, -5, 30, 0, 1
|
|
delay 2
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 5, 5, 30, 0, 1
|
|
delay 3
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 5, 1, 1
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -5, 5, 30, 0, 1
|
|
delay 2
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 10, -5, 30, 0, 1
|
|
delay 3
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 5, 1, 1
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 0, 0, 30, 0, 1
|
|
delay 2
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -10, 5, 30, 0, 1
|
|
delay 3
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 5, 1, 1
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 5, -5, 30, 0, 1
|
|
delay 2
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, 5, 5, 30, 0, 1
|
|
delay 3
|
|
createsprite gTeraStarSpriteTemplate, ANIM_BATTLER, 3, 0, 0, -5, 5, 30, 0, 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 5, 1, 1
|
|
delay 5
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 5, 1, 1
|
|
delay 5
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 50, 1
|
|
call EternabeamGeyser
|
|
delay 5
|
|
call EternabeamGeyser
|
|
delay 5
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadeout
|
|
end
|
|
|
|
FireSpreadBlast:
|
|
createsprite gFireSpreadBlastSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 0, 45
|
|
createsprite gFireSpreadBlastSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 10, 5, 45
|
|
createsprite gFireSpreadBlastSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, -10, -5, 45
|
|
delay 2
|
|
createsprite gFireSpreadBlastSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 20, 10, 45
|
|
createsprite gFireSpreadBlastSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, -20, -10, 45
|
|
delay 2
|
|
return
|
|
FireSpreadBlastOpponent:
|
|
createsprite gFireSpreadBlastSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 0, 45
|
|
createsprite gFireSpreadBlastSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5, 10, 45
|
|
createsprite gFireSpreadBlastSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, -5, -10, 45
|
|
delay 2
|
|
createsprite gFireSpreadBlastSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 10, 20, 45
|
|
createsprite gFireSpreadBlastSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, -10, -20, 45
|
|
delay 2
|
|
return
|
|
|
|
TeraBlastFlyingBeam:
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
createsprite gTeraBlastFlyingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
createsprite gTeraBlastFlyingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
createsprite gTeraBlastFlyingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
createsprite gTeraBlastFlyingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
createsprite gTeraBlastFlyingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
createsprite gTeraBlastFlyingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
createsprite gTeraBlastFlyingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16
|
|
delay 2
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
createsprite gTeraBlastFlyingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16
|
|
return
|
|
|
|
TeraBlastWater1:
|
|
createsprite gTeraBlastWaterSpriteTemplate, ANIM_ATTACKER, 3, -48, -64, 40, 32, 25
|
|
delay 2
|
|
createsprite gTeraBlastWaterSpriteTemplate, ANIM_ATTACKER, 3, -48, -64, 40, 32, 25
|
|
delay 2
|
|
return
|
|
TeraBlastWater2:
|
|
createsprite gTeraBlastWaterSpriteTemplate, ANIM_ATTACKER, 3, -112, -64, -8, 32, 25
|
|
delay 2
|
|
createsprite gTeraBlastWaterSpriteTemplate, ANIM_ATTACKER, 3, -112, -64, -8, 32, 25
|
|
delay 2
|
|
return
|
|
TeraBlastWater3:
|
|
createsprite gTeraBlastWaterSpriteTemplate, ANIM_ATTACKER, 3, -80, -64, 24, 32, 25
|
|
delay 2
|
|
createsprite gTeraBlastWaterSpriteTemplate, ANIM_ATTACKER, 3, -80, -64, 24, 32, 25
|
|
delay 2
|
|
return
|
|
TeraBlastWater4:
|
|
createsprite gTeraBlastWaterSpriteTemplate, ANIM_ATTACKER, 3, -80, -64, -8, 32, 25
|
|
delay 2
|
|
createsprite gTeraBlastWaterSpriteTemplate, ANIM_ATTACKER, 3, -80, -64, -8, 32, 25
|
|
delay 2
|
|
return
|
|
|
|
TeraBlastRock1:
|
|
createsprite gTeraBlastRockSpriteTemplate, ANIM_ATTACKER, 3, -48, -64, 40, 32, 25
|
|
delay 4
|
|
return
|
|
TeraBlastRock2:
|
|
createsprite gTeraBlastRockSpriteTemplate, ANIM_ATTACKER, 3, -112, -64, -8, 32, 25
|
|
delay 4
|
|
return
|
|
TeraBlastRock3:
|
|
createsprite gTeraBlastRockSpriteTemplate, ANIM_ATTACKER, 3, -80, -64, 24, 32, 25
|
|
delay 4
|
|
return
|
|
TeraBlastRock4:
|
|
createsprite gTeraBlastRockSpriteTemplate, ANIM_ATTACKER, 3, -80, -64, -8, 32, 25
|
|
delay 4
|
|
return
|
|
|
|
TeraBlastFairyHearts:
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 160, -32
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -256, -40
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 128, -16
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 416, -38
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -128, -22
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -384, -31
|
|
return
|
|
|
|
gBattleAnimMove_OrderUp::
|
|
playsewithpan SE_M_ENCORE, SOUND_PAN_ATTACKER
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 6
|
|
createvisualtask AnimTask_GetCommanderType, 2
|
|
delay 25
|
|
jumpreteq ANIM_ORDER_UP_NONE, OrderUpNone
|
|
jumpreteq ANIM_ORDER_UP_CURLY, OrderUpCurly
|
|
jumpreteq ANIM_ORDER_UP_DROOPY, OrderUpDroopy
|
|
jumpreteq ANIM_ORDER_UP_STRETCHY, OrderUpStretchy
|
|
OrderUpNone:
|
|
createsprite gOrderUpTatsugiriCurlySpriteTemplate, ANIM_TARGET, 2, -20, 12, 64, 50, 0
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-10, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gOrderUpTatsugiriDroopySpriteTemplate, ANIM_TARGET, 2, 0, 12, 64, 46, 0
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gOrderUpTatsugiriStretchySpriteTemplate, ANIM_TARGET, 2, 20, 12, 64, 42, 0
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=10, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
OrderUpCurly:
|
|
createsprite gOrderUpTatsugiriCurlySpriteTemplate, ANIM_TARGET, 2, -20, 12, 64, 50, 0
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-10, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gOrderUpTatsugiriCurlySpriteTemplate, ANIM_TARGET, 2, 0, 12, 64, 46, 0
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gOrderUpTatsugiriCurlySpriteTemplate, ANIM_TARGET, 2, 20, 12, 64, 42, 0
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=10, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
OrderUpDroopy:
|
|
createsprite gOrderUpTatsugiriDroopySpriteTemplate, ANIM_TARGET, 2, -20, 12, 64, 50, 0
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-10, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gOrderUpTatsugiriDroopySpriteTemplate, ANIM_TARGET, 2, 0, 12, 64, 46, 0
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gOrderUpTatsugiriDroopySpriteTemplate, ANIM_TARGET, 2, 20, 12, 64, 42, 0
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=10, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
OrderUpStretchy:
|
|
createsprite gOrderUpTatsugiriStretchySpriteTemplate, ANIM_TARGET, 2, -20, 12, 64, 50, 0
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-10, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gOrderUpTatsugiriStretchySpriteTemplate, ANIM_TARGET, 2, 0, 12, 64, 46, 0
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gOrderUpTatsugiriStretchySpriteTemplate, ANIM_TARGET, 2, 20, 12, 64, 42, 0
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=10, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_MatchaGotcha::
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
complex_palette_blend selector=F_PAL_ATTACKER, delay=4, num_blends=2, color1=RGB_WHITE, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
waitforvisualfinish
|
|
delay 10
|
|
loopsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER, 27, 2
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_POISON_BUBBLE, 0, 12, 12, RGB_GREEN
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 24, 6, 2, 3
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER, 18, 2
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 28, 10, 2, 4
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER, 9, 4
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 32, 10, 4, 5
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 0, 0, 4
|
|
jumpifdoublebattle MatchaGotchaDouble
|
|
goto MatchaGotchaSingle
|
|
|
|
MatchaGotchaSingle:
|
|
call MatchaGotchaProjectile
|
|
call MatchaGotchaProjectile
|
|
loopsewithpan SE_FALL, SOUND_PAN_ATTACKER, 8, 2
|
|
call MatchaGotchaProjectile
|
|
call MatchaGotchaProjectile
|
|
delay 10
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 7
|
|
delay 28
|
|
playsewithpan SE_M_DIVE, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 2, 0, 10, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(31, 0, 0)
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, 10, 15, 55, FALSE
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, -20, 15, 55, FALSE
|
|
delay 3
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, 5, 15, 55, FALSE
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, -10, 15, 55, FALSE
|
|
delay 3
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, 30, 15, 55, FALSE
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, -30, 15, 55, FALSE
|
|
delay 3
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, 2, 15, 55, FALSE
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, -5, 15, 55, FALSE
|
|
delay 3
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, 20, 15, 55, FALSE
|
|
waitforvisualfinish
|
|
end
|
|
|
|
MatchaGotchaDouble:
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
call MatchaGotchaDoubleProjectile
|
|
call MatchaGotchaDoubleProjectile
|
|
loopsewithpan SE_FALL, SOUND_PAN_ATTACKER, 8, 2
|
|
call MatchaGotchaDoubleProjectile
|
|
call MatchaGotchaDoubleProjectile
|
|
delay 10
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 7
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DIVE, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 2, 0, 10, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_DEF_PARTNER, 2, 0, 10, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(31, 0, 0)
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, 10, 15, 55, 0
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, -20, 15, 55, 0
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, 10, 15, 55, 2
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, -20, 15, 55, 2
|
|
delay 3
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, 5, 15, 55, 0
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, -10, 15, 55, 0
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, 5, 15, 55, 2
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, -10, 15, 55, 2
|
|
delay 3
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, 30, 15, 55, 0
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, -30, 15, 55, 0
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, 30, 15, 55, 2
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -10, -30, 15, 55, 2
|
|
waitforvisualfinish
|
|
end
|
|
|
|
MatchaGotchaProjectile:
|
|
createsprite gSludgeProjectileSpriteTemplate, ANIM_TARGET, 2, 20, 0, 60, 0
|
|
delay 3
|
|
return
|
|
|
|
MatchaGotchaDoubleProjectile:
|
|
createsprite gSludgeProjectileSpriteTemplate, ANIM_TARGET, 2, 20, 0, 60, 0, 0
|
|
createsprite gSludgeProjectileSpriteTemplate, ANIM_TARGET, 2, 20, 0, 60, 0, TRUE
|
|
delay 3
|
|
return
|
|
|
|
@@@@@@@@@@@@@@@@@@@@@@@ GEN 1-3 @@@@@@@@@@@@@@@@@@@@@@@
|
|
gBattleAnimMove_None::
|
|
gBattleAnimMove_MirrorMove::
|
|
gBattleAnimMove_Pound::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_DoubleSlap::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
choosetwoturnanim DoubleSlapLeft, DoubleSlapRight
|
|
DoubleSlapContinue:
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
DoubleSlapLeft:
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-8, y=0, relative_to=ANIM_TARGET, animation=2
|
|
goto DoubleSlapContinue
|
|
DoubleSlapRight:
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=8, y=0, relative_to=ANIM_TARGET, animation=2
|
|
goto DoubleSlapContinue
|
|
|
|
gBattleAnimMove_PoisonPowder::
|
|
loopsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET, 10, 6
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=-30, y=-22, duration=117, y_velocity=80/256, wave_amplitude=5, wave_speed=1
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=10, y=-22, duration=117, y_velocity=80/256, wave_amplitude=-5, wave_speed=1
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=-25, y=-22, duration=117, y_velocity=112/256, wave_amplitude=5, wave_speed=3
|
|
delay 15
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=-5, y=-22, duration=117, y_velocity=80/256, wave_amplitude=-5, wave_speed=1
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=5, y=-22, duration=117, y_velocity=96/256, wave_amplitude=5, wave_speed=1
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=0, y=-22, duration=117, y_velocity=69/256, wave_amplitude=-5, wave_speed=1
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=-15, y=-22, duration=117, y_velocity=112/256, wave_amplitude=5, wave_speed=2
|
|
delay 30
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=-15, y=-22, duration=117, y_velocity=112/256, wave_amplitude=5, wave_speed=2
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=15, y=-22, duration=117, y_velocity=80/256, wave_amplitude=-5, wave_speed=1
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=-10, y=-22, duration=117, y_velocity=96/256, wave_amplitude=7, wave_speed=2
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=-5, y=-22, duration=117, y_velocity=90/256, wave_amplitude=-8, wave_speed=0
|
|
delay 20
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=-10, y=-22, duration=117, y_velocity=80/256, wave_amplitude=-5, wave_speed=1
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=0, y=-22, duration=117, y_velocity=89/256, wave_amplitude=5, wave_speed=2
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=20, y=-22, duration=117, y_velocity=112/256, wave_amplitude=-8, wave_speed=2
|
|
create_poison_powder_particle_sprite ANIM_TARGET, 2, x=5, y=-22, duration=117, y_velocity=80/256, wave_amplitude=5, wave_speed=1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_StunSpore::
|
|
loopsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET, 10, 6
|
|
create_stun_spore_particle_sprite ANIM_TARGET, 2, x=-30, y=-22, duration=117, y_velocity=80/256, wave_amplitude=5, wave_speed=1
|
|
create_stun_spore_particle_sprite ANIM_TARGET, 2, x=10, y=-22, duration=117, y_velocity=80/256, wave_amplitude=-5, wave_speed=1
|
|
create_stun_spore_particle_sprite ANIM_TARGET, 2, x=-25, y=-22, duration=117, y_velocity=112/256, wave_amplitude=5, wave_speed=3
|
|
delay 15
|
|
create_stun_spore_particle_sprite ANIM_TARGET, 2, x=-5, y=-22, duration=117, y_velocity=80/256, wave_amplitude=-5, wave_speed=1
|
|
create_stun_spore_particle_sprite ANIM_TARGET, 2, x=5, y=-22, duration=117, y_velocity=96/256, wave_amplitude=5, wave_speed=1
|
|
create_stun_spore_particle_sprite ANIM_TARGET, 2, x=0, y=-22, duration=117, y_velocity=69/256, wave_amplitude=-5, wave_speed=1
|
|
create_stun_spore_particle_sprite ANIM_TARGET, 2, x=-15, y=-22, duration=117, y_velocity=112/256, wave_amplitude=5, wave_speed=2
|
|
delay 30
|
|
create_stun_spore_particle_sprite ANIM_TARGET, 2, x=-15, y=-22, duration=117, y_velocity=112/256, wave_amplitude=5, wave_speed=2
|
|
create_stun_spore_particle_sprite ANIM_TARGET, 2, x=15, y=-22, duration=117, y_velocity=80/256, wave_amplitude=-5, wave_speed=1
|
|
create_stun_spore_particle_sprite ANIM_TARGET, 2, x=-10, y=-22, duration=117, y_velocity=96/256, wave_amplitude=7, wave_speed=2
|
|
create_stun_spore_particle_sprite ANIM_TARGET, 2, x=-5, y=-22, duration=117, y_velocity=90/256, wave_amplitude=-8, wave_speed=0
|
|
delay 20
|
|
create_stun_spore_particle_sprite ANIM_TARGET, 2, x=-10, y=-22, duration=117, y_velocity=80/256, wave_amplitude=-5, wave_speed=1
|
|
create_stun_spore_particle_sprite ANIM_TARGET, 2, x=0, y=-22, duration=117, y_velocity=89/256, wave_amplitude=5, wave_speed=2
|
|
create_stun_spore_particle_sprite ANIM_TARGET, 2, x=20, y=-22, duration=117, y_velocity=112/256, wave_amplitude=-8, wave_speed=2
|
|
create_stun_spore_particle_sprite ANIM_TARGET, 2, x=5, y=-22, duration=117, y_velocity=80/256, wave_amplitude=5, wave_speed=1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SleepPowder::
|
|
loopsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET, 10, 6
|
|
create_sleep_powder_particle_sprite ANIM_TARGET, 2, x=-30, y=-22, duration=117, y_velocity=80/256, wave_amplitude=5, wave_speed=1
|
|
create_sleep_powder_particle_sprite ANIM_TARGET, 2, x=10, y=-22, duration=117, y_velocity=80/256, wave_amplitude=-5, wave_speed=1
|
|
create_sleep_powder_particle_sprite ANIM_TARGET, 2, x=-25, y=-22, duration=117, y_velocity=112/256, wave_amplitude=5, wave_speed=3
|
|
delay 15
|
|
create_sleep_powder_particle_sprite ANIM_TARGET, 2, x=-5, y=-22, duration=117, y_velocity=80/256, wave_amplitude=-5, wave_speed=1
|
|
create_sleep_powder_particle_sprite ANIM_TARGET, 2, x=5, y=-22, duration=117, y_velocity=96/256, wave_amplitude=5, wave_speed=1
|
|
create_sleep_powder_particle_sprite ANIM_TARGET, 2, x=0, y=-22, duration=117, y_velocity=69/256, wave_amplitude=-5, wave_speed=1
|
|
create_sleep_powder_particle_sprite ANIM_TARGET, 2, x=-15, y=-22, duration=117, y_velocity=112/256, wave_amplitude=5, wave_speed=2
|
|
delay 30
|
|
create_sleep_powder_particle_sprite ANIM_TARGET, 2, x=-15, y=-22, duration=117, y_velocity=112/256, wave_amplitude=5, wave_speed=2
|
|
create_sleep_powder_particle_sprite ANIM_TARGET, 2, x=15, y=-22, duration=117, y_velocity=80/256, wave_amplitude=-5, wave_speed=1
|
|
create_sleep_powder_particle_sprite ANIM_TARGET, 2, x=-10, y=-22, duration=117, y_velocity=96/256, wave_amplitude=7, wave_speed=2
|
|
create_sleep_powder_particle_sprite ANIM_TARGET, 2, x=-5, y=-22, duration=117, y_velocity=90/256, wave_amplitude=-8, wave_speed=0
|
|
delay 20
|
|
create_sleep_powder_particle_sprite ANIM_TARGET, 2, x=-10, y=-22, duration=117, y_velocity=80/256, wave_amplitude=-5, wave_speed=1
|
|
create_sleep_powder_particle_sprite ANIM_TARGET, 2, x=0, y=-22, duration=117, y_velocity=89/256, wave_amplitude=5, wave_speed=2
|
|
create_sleep_powder_particle_sprite ANIM_TARGET, 2, x=20, y=-22, duration=117, y_velocity=112/256, wave_amplitude=-8, wave_speed=2
|
|
create_sleep_powder_particle_sprite ANIM_TARGET, 2, x=5, y=-22, duration=117, y_velocity=80/256, wave_amplitude=5, wave_speed=1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Swift::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
create_swift_star_sprite ANIM_TARGET, 3, initial_x=20, initial_y=-10, target_x=20, target_y=0, duration=22, wave_amplitude=20, target_both=1
|
|
delay 5
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
create_swift_star_sprite ANIM_TARGET, 3, initial_x=20, initial_y=-10, target_x=20, target_y=5, duration=22, wave_amplitude=-18, target_both=1
|
|
delay 5
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
create_swift_star_sprite ANIM_TARGET, 3, initial_x=20, initial_y=-10, target_x=20, target_y=-10, duration=22, wave_amplitude=15, target_both=1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 18, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 2, 0, 18, 1
|
|
delay 5
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
create_swift_star_sprite ANIM_TARGET, 3, initial_x=20, initial_y=-10, target_x=20, target_y=0, duration=22, wave_amplitude=-20, target_both=1
|
|
delay 5
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
create_swift_star_sprite ANIM_TARGET, 3, initial_x=20, initial_y=-10, target_x=20, target_y=0, duration=22, wave_amplitude=12, target_both=1
|
|
delay 5
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Strength::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeAndSinkMon, 5, ANIM_ATTACKER, 2, 0, 96, 30
|
|
waitforvisualfinish
|
|
delay 10
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 4
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_TARGET, 18, 6, 2, 4
|
|
delay 4
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=16, y=12, relative_to=ANIM_TARGET, animation=1
|
|
delay 4
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=-16, y=-12, relative_to=ANIM_TARGET, animation=1
|
|
delay 4
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=3, y=4, relative_to=ANIM_TARGET, animation=1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 8, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Tackle::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_BodySlam::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 6, 1, ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
delay 11
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 26, 0, 0, 5
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
loopsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET, 10, 2
|
|
delay 1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -28, 0, 0, 3
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
waitforvisualfinish
|
|
delay 10
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 6
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 6
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Supersonic::
|
|
monbg ANIM_ATK_PARTNER
|
|
splitbgprio_foes ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 2, 0, 8, 1
|
|
call SupersonicRing
|
|
call SupersonicRing
|
|
call SupersonicRing
|
|
call SupersonicRing
|
|
call SupersonicRing
|
|
call SupersonicRing
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
SupersonicRing:
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_ATTACKER
|
|
createsprite gSupersonicRingSpriteTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 30, 0
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_Screech::
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 3, 0, 2, 1
|
|
call ScreechRing
|
|
call ScreechRing
|
|
delay 16
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 6, 2048, 2, ANIM_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
ScreechRing:
|
|
playsewithpan SE_M_SCREECH, SOUND_PAN_ATTACKER
|
|
createsprite gScreechRingSpriteTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 30, 0
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_FlameWheel::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_foes ANIM_TARGET
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 24, 0, 0, 6
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 8, 1
|
|
createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_TARGET, RGB_RED, 12, 1, 1
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET
|
|
call FireSpreadEffect
|
|
delay 7
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 9
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
FlameWheel1: @ Unused
|
|
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 50
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimMove_PinMissile::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
create_pin_missile_sprite ANIM_ATTACKER, 2, initial_x=20, initial_y=-8, target_x=-8, target_y=-8, duration=20, wave_amplitude=-32
|
|
delay 15
|
|
create_pin_missile_sprite ANIM_ATTACKER, 2, initial_x=20, initial_y=-8, target_x=8, target_y=8, duration=20, wave_amplitude=-40
|
|
delay 4
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=-8, y=-8, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 2, 1
|
|
delay 9
|
|
create_pin_missile_sprite ANIM_ATTACKER, 2, initial_x=20, initial_y=-8, target_x=0, target_y=0, duration=20, wave_amplitude=-32
|
|
delay 4
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=8, y=8, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 2, 1
|
|
delay 14
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 2, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_IcicleSpear::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_ATTACKER
|
|
createsprite gIcicleSpearSpriteTemplate, ANIM_ATTACKER, 2, 20, -8, -8, -8, 20, -32
|
|
delay 15
|
|
createsprite gIcicleSpearSpriteTemplate, ANIM_ATTACKER, 2, 20, -8, 8, 8, 20, -40
|
|
delay 4
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=-8, y=-8, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 2, 1
|
|
delay 9
|
|
createsprite gIcicleSpearSpriteTemplate, ANIM_ATTACKER, 2, 20, -8, 0, 0, 20, -32
|
|
delay 4
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=8, y=8, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 2, 1
|
|
delay 14
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 2, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_TakeDown::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_WindUpLunge, 5, ANIM_ATTACKER, -24, 8, 23, 10, 40, 10
|
|
delay 35
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -16, 0, 0, 4
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
waitforvisualfinish
|
|
delay 2
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 7
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_DoubleEdge::
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
complex_palette_blend selector=F_PAL_ATTACKER, delay=4, num_blends=2, color1=RGB_WHITE, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 2, 4
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=0, initial_blend_y=16, target_blend_y=16, color=RGB_WHITE
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 0, 0, 4
|
|
delay 3
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -32, 0, 0, 3
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 0
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 4, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=16, target_blend_y=0, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_ATTACKER, 1
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -256, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 7
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_PoisonSting::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
create_linear_stinger_sprite ANIM_TARGET, 2, initial_x=20, initial_y=0, target_x=-8, target_y=0, duration=20
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 5, 1
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
call PoisonBubblesEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Twineedle::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
loopsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER, 6, 2
|
|
create_linear_stinger_sprite ANIM_TARGET, 2, initial_x=10, initial_y=-4, target_x=0, target_y=-4, duration=20
|
|
create_linear_stinger_sprite ANIM_TARGET, 2, initial_x=20, initial_y=12, target_x=10, target_y=12, duration=20
|
|
delay 20
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 5, 1
|
|
create_handle_invert_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=-4, relative_to=1, animation=3
|
|
loopsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET, 5, 2
|
|
delay 1
|
|
create_handle_invert_hitsplat_sprite ANIM_ATTACKER, 3, x=10, y=12, relative_to=1, animation=3
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_FireBlast::
|
|
createsoundtask SoundTask_FireBlast, SE_M_FLAME_WHEEL, SE_M_FLAME_WHEEL2
|
|
call FireBlastRing
|
|
call FireBlastRing
|
|
call FireBlastRing
|
|
delay 24
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 0, 8, RGB_BLACK
|
|
waitforvisualfinish
|
|
delay 19
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 20, 1
|
|
call FireBlastCross
|
|
delay 3
|
|
call FireBlastCross
|
|
delay 3
|
|
call FireBlastCross
|
|
delay 3
|
|
call FireBlastCross
|
|
delay 3
|
|
call FireBlastCross
|
|
delay 3
|
|
call FireBlastCross
|
|
delay 3
|
|
call FireBlastCross
|
|
delay 3
|
|
call FireBlastCross
|
|
delay 3
|
|
call FireBlastCross
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 2, 8, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
FireBlastRing:
|
|
createsprite gFireBlastRingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 0
|
|
createsprite gFireBlastRingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 51
|
|
createsprite gFireBlastRingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 102
|
|
createsprite gFireBlastRingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 153
|
|
createsprite gFireBlastRingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 204
|
|
delay 5
|
|
return
|
|
FireBlastCross:
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 10, 0, -2
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, -2, 0
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, 2, 0
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, -2, 2
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, 2, 2
|
|
return
|
|
|
|
gBattleAnimMove_LeechSeed::
|
|
playsewithpan SE_M_POISON_POWDER, SOUND_PAN_ATTACKER
|
|
createleechseedsprite ANIM_TARGET, 2, initial_x=15, initial_y=0, target_x=0, target_y=24, duration=35, wave_amplitude=-32
|
|
delay 8
|
|
playsewithpan SE_M_POISON_POWDER, SOUND_PAN_ATTACKER
|
|
createleechseedsprite ANIM_TARGET, 2, initial_x=15, initial_y=0, target_x=-16, target_y=24, duration=35, wave_amplitude=-40
|
|
delay 8
|
|
playsewithpan SE_M_POISON_POWDER, SOUND_PAN_ATTACKER
|
|
createleechseedsprite ANIM_TARGET, 2, initial_x=15, initial_y=0, target_x=16, target_y=24, duration=35, wave_amplitude=-37
|
|
delay 12
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_TARGET, 10, 8
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Ember::
|
|
loopsewithpan SE_M_EMBER, SOUND_PAN_ATTACKER, 5, 2
|
|
createsprite gEmberSpriteTemplate, ANIM_TARGET, 2, 20, 0, -16, 24, 20, 1
|
|
delay 4
|
|
createsprite gEmberSpriteTemplate, ANIM_TARGET, 2, 20, 0, 0, 24, 20, 1
|
|
delay 4
|
|
createsprite gEmberSpriteTemplate, ANIM_TARGET, 2, 20, 0, 16, 24, 20, 1
|
|
delay 16
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_TARGET
|
|
call EmberFireHit
|
|
call EmberFireHit
|
|
call EmberFireHit
|
|
end
|
|
|
|
EmberFireHit:
|
|
createsprite gEmberFlareSpriteTemplate, ANIM_TARGET, 2, -24, 24, 24, 24, 20, ANIM_TARGET, 1
|
|
delay 4
|
|
return
|
|
|
|
SetImpactBackground:
|
|
delay 2
|
|
createvisualtask AnimTask_IsContest, 2
|
|
jumprettrue SetImpactContestsBG
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpretfalse SetImpactOpponentBG
|
|
jumprettrue SetImpactPlayerBG
|
|
SetImpactBackgroundRet:
|
|
return
|
|
SetImpactOpponentBG:
|
|
changebg BG_IMPACT_OPPONENT
|
|
goto SetImpactBackgroundRet
|
|
SetImpactPlayerBG:
|
|
changebg BG_IMPACT_PLAYER
|
|
goto SetImpactBackgroundRet
|
|
SetImpactContestsBG:
|
|
changebg BG_IMPACT_CONTESTS
|
|
goto SetImpactBackgroundRet
|
|
|
|
gBattleAnimMove_MegaPunch::
|
|
monbg ANIM_TARGET
|
|
delay 2
|
|
simple_palette_blend selector=F_PAL_BG, delay=0, initial_blend_y=0, target_blend_y=16, color=RGB_BLACK
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_TARGET
|
|
createsprite gMegaPunchKickSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 50
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 7, RGB_WHITE
|
|
delay 50
|
|
call SetImpactBackground
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 22, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 0, RGB_WHITE
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=8, color2=RGB_BLACK, blend_y2=0
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
delay 2
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_MegaKick::
|
|
monbg ANIM_TARGET
|
|
delay 2
|
|
simple_palette_blend selector=F_PAL_BG, delay=0, initial_blend_y=0, target_blend_y=16, color=RGB_BLACK
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_TARGET
|
|
createsprite gMegaPunchKickSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 50
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 7, RGB_WHITE
|
|
delay 50
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
call SetImpactBackground
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 22, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 0, RGB_WHITE
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=8, color2=RGB_BLACK, blend_y2=0
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
delay 2
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_CometPunch::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
choosetwoturnanim CometPunchLeft, CometPunchRight
|
|
CometPunchContinue:
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
CometPunchLeft:
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-8, y=-8, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 3, -8, 0, 8, 1, 0
|
|
goto CometPunchContinue
|
|
CometPunchRight:
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=8, y=-8, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 3, 8, 0, 8, 1, 0
|
|
goto CometPunchContinue
|
|
|
|
gBattleAnimMove_SonicBoom::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
call SonicBoomProjectile
|
|
call SonicBoomProjectile
|
|
call SonicBoomProjectile
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 10, 1
|
|
call SonicBoomHit
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
SonicBoomProjectile:
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
createsprite gSonicBoomSpriteTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 15
|
|
delay 4
|
|
return
|
|
SonicBoomHit:
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimMove_ThunderShock::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 6, RGB_BLACK
|
|
waitforvisualfinish
|
|
delay 10
|
|
createvisualtask AnimTask_ElectricBolt, 5, 0, -44, 0
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_TARGET
|
|
delay 9
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 0, 0, 13, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 0, 13, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
delay 20
|
|
call ElectricityEffect
|
|
waitforvisualfinish
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 6, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Thunderbolt::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 6, RGB_BLACK
|
|
waitforvisualfinish
|
|
delay 10
|
|
createvisualtask AnimTask_ElectricBolt, 5, 24, -52, 0
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_TARGET
|
|
delay 7
|
|
createvisualtask AnimTask_ElectricBolt, 5, -24, -52, 0
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_TARGET
|
|
delay 7
|
|
createvisualtask AnimTask_ElectricBolt, 5, 0, -60, 1
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_TARGET
|
|
delay 9
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 0, 0, 13, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 0, 13, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
delay 20
|
|
createsprite gThunderboltOrbSpriteTemplate, ANIM_TARGET, 3, 44, 0, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 0, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 64, 40, 1, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 128, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 192, 40, 2, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 32, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 96, 40, 1, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 160, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 224, 40, 2, -32765
|
|
playsewithpan SE_M_HYPER_BEAM, SOUND_PAN_TARGET
|
|
delay 0
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 2, 2, RGB_BLACK
|
|
delay 6
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 6, 6, RGB_BLACK
|
|
delay 6
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 2, 2, RGB_BLACK
|
|
delay 6
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 6, 6, RGB_BLACK
|
|
waitforvisualfinish
|
|
delay 20
|
|
waitplaysewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET, 19
|
|
call ElectricityEffect
|
|
waitforvisualfinish
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 6, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_ThunderWave::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 6, RGB_BLACK
|
|
waitforvisualfinish
|
|
delay 10
|
|
createvisualtask AnimTask_ElectricBolt, 5, 0, -48, 0
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
delay 20
|
|
loopsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET, 10, 4
|
|
createsprite gThunderWaveSpriteTemplate, ANIM_TARGET, 2, -16, -16
|
|
delay 4
|
|
createsprite gThunderWaveSpriteTemplate, ANIM_TARGET, 2, -16, 0
|
|
delay 4
|
|
createsprite gThunderWaveSpriteTemplate, ANIM_TARGET, 2, -16, 16
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 6, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_BeatUp::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
choosetwoturnanim BeatUpLeft, BeatUpRight
|
|
BeatUpContinue:
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
BeatUpLeft:
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-20, y=-20, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 3, -20, -12, 8, 1, 0
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 8
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=8, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 3, 8, 8, 8, 1, 0
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
goto BeatUpContinue
|
|
BeatUpRight:
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=12, y=-20, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 3, 12, -12, 8, 1, 0
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 8
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-12, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 3, -12, 8, 8, 1, 0
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
goto BeatUpContinue
|
|
|
|
gBattleAnimMove_Stomp::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
createsprite gStompFootSpriteTemplate, ANIM_ATTACKER, 3, 0, -32, 15
|
|
delay 19
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=-8, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 4, 9, 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_TailWhip::
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER, 24, 3
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 12, 4, 2, 3
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Cut::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
createsprite gCuttingSliceSpriteTemplate, ANIM_ATTACKER, 2, 40, -32, 0
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 10, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_HiddenPower::
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
waitforvisualfinish
|
|
delay 30
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB(31, 31, 19), 12, 5, 1
|
|
delay 4
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
createsprite gHiddenPowerOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 0
|
|
createsprite gHiddenPowerOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 42
|
|
createsprite gHiddenPowerOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 84
|
|
createsprite gHiddenPowerOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 126
|
|
createsprite gHiddenPowerOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 168
|
|
createsprite gHiddenPowerOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 210
|
|
delay 52
|
|
setarg 7, -1
|
|
playsewithpan SE_M_REFLECT, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 0
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 32
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 64
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 96
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 128
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 160
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 192
|
|
createsprite gHiddenPowerOrbScatterSpriteTemplate, ANIM_TARGET, 2, 224
|
|
end
|
|
|
|
gBattleAnimMove_Reversal::
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=3, color1=RGB_WHITE, blend_y1=8, color2=RGB_BLACK, blend_y2=0
|
|
waitforvisualfinish
|
|
delay 30
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_BATTLERS), delay=3, num_blends=2, initial_blend_y=0, target_blend_y=10, color=RGB_WHITE
|
|
delay 10
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
createsprite gReversalOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 0
|
|
createsprite gReversalOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 42
|
|
createsprite gReversalOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 84
|
|
createsprite gReversalOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 126
|
|
createsprite gReversalOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 168
|
|
createsprite gReversalOrbSpriteTemplate, ANIM_ATTACKER, 2, 26, 210
|
|
waitforvisualfinish
|
|
delay 20
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 6, 4
|
|
delay 8
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=1, color1=RGB_WHITE, blend_y1=8, color2=RGB_BLACK, blend_y2=0
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 4, 0, 0, 10, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 5, FALSE, 1, 8, 1, 0
|
|
end
|
|
|
|
gBattleAnimMove_Pursuit::
|
|
monbg ANIM_TARGET
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
delay 0
|
|
setalpha 12, 8
|
|
choosetwoturnanim PursuitNormal, PursuitOnSwitchout
|
|
PursuitContinue:
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
delay 0
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
PursuitNormal:
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 5, FALSE, 1, 6, 1, 0
|
|
goto PursuitContinue
|
|
PursuitOnSwitchout:
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 5, FALSE, 1, 6, 1, 0
|
|
goto PursuitContinue
|
|
|
|
gBattleAnimMove_SpikeCannon::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_WindUpLunge, 5, ANIM_ATTACKER, -4, 0, 4, 6, 8, 4
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER, 5, 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5
|
|
create_linear_stinger_sprite ANIM_ATTACKER, 2, initial_x=10, initial_y=-8, target_x=-8, target_y=-8, duration=20
|
|
create_linear_stinger_sprite ANIM_ATTACKER, 2, initial_x=18, initial_y=0, target_x=0, target_y=0, duration=20
|
|
create_linear_stinger_sprite ANIM_ATTACKER, 2, initial_x=26, initial_y=8, target_x=8, target_y=8, duration=20
|
|
waitforvisualfinish
|
|
create_handle_invert_hitsplat_sprite ANIM_ATTACKER, 3, x=-8, y=-8, relative_to=1, animation=2
|
|
create_handle_invert_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=1, animation=2
|
|
create_handle_invert_hitsplat_sprite ANIM_ATTACKER, 3, x=8, y=8, relative_to=1, animation=2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 7, 1
|
|
loopsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET, 5, 3
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_SwordsDance::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SWORDS_DANCE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 16, 6, 1, 4
|
|
createsprite gSwordsDanceBladeSpriteTemplate, ANIM_ATTACKER, 2, 0, 0
|
|
delay 22
|
|
flash_anim_tag_with_color tag=ANIM_TAG_SWORD, delay=2, num_blends=2, color1=RGB(18, 31, 31), blend_y1=16, color2=0, blend_y2=0
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_PsychUp::
|
|
monbg ANIM_ATK_PARTNER
|
|
blend_color_cycleexclude unk0=1, delay=2, num_blends=6, initial_blend_y=1, target_blend_y=11, color=RGB_BLACK
|
|
setalpha 12, 8
|
|
loopsewithpan SE_M_PSYBEAM2, SOUND_PAN_ATTACKER, 5, 10
|
|
createsprite gPsychUpSpiralSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 0
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 5, 2560, 8, ANIM_ATTACKER
|
|
delay 127
|
|
delay 4
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -5, -5, 10, ANIM_ATTACKER, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 9, F_PAL_ATTACKER, 2, 10, 0, RGB_YELLOW
|
|
delay 30
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_DizzyPunch::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
call DizzyPunchLunge
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 5, 16, 8, 20, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=16, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, 160, -32
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, -256, -40
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, 128, -16
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, 416, -38
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, -128, -22
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, 16, 8, -384, -31
|
|
delay 10
|
|
call DizzyPunchLunge
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 5, -16, -8, 20, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=-16, y=-16, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, -16, -8, 160, -32
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, -16, -8, -256, -40
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, -16, -8, 128, -16
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, -16, -8, 416, -38
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, -16, -8, -128, -22
|
|
createsprite gDizzyPunchDuckSpriteTemplate, ANIM_TARGET, 3, -16, -8, -384, -31
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
DizzyPunchLunge:
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 6, 4
|
|
delay 6
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 7, 1
|
|
return
|
|
|
|
gBattleAnimMove_FireSpin::
|
|
playsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 47, 1
|
|
call FireSpinEffect
|
|
call FireSpinEffect
|
|
call FireSpinEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
FireSpinEffect:
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 28, 528, 30, 13, 50, ANIM_TARGET
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 32, 480, 20, 16, -46, ANIM_TARGET
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 33, 576, 20, 8, 42, ANIM_TARGET
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 31, 400, 25, 11, -42, ANIM_TARGET
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 28, 512, 25, 16, 46, ANIM_TARGET
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 30, 15, -50, ANIM_TARGET
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_FuryCutter::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_IsFuryCutterHitRight, 2
|
|
jumpretfalse FuryCutterLeft
|
|
goto FuryCutterRight
|
|
FuryCutterContinue:
|
|
createvisualtask AnimTask_GetFuryCutterHitCount, 2
|
|
jumpreteq 1, FuryCutterContinue2
|
|
jumpreteq 2, FuryCutterMedium
|
|
jumpreteq 3, FuryCutterStrong
|
|
goto FuryCutterStrongest
|
|
FuryCutterContinue2:
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 10, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
FuryCutterLeft:
|
|
createsprite gCuttingSliceSpriteTemplate, ANIM_ATTACKER, 2, 40, -32, 0
|
|
goto FuryCutterContinue
|
|
FuryCutterRight:
|
|
createsprite gCuttingSliceSpriteTemplate, ANIM_ATTACKER, 2, 40, -32, 1
|
|
goto FuryCutterContinue
|
|
FuryCutterMedium:
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=1, color1=RGB(9, 8, 10), blend_y1=4, color2=RGB_BLACK, blend_y2=0
|
|
goto FuryCutterContinue2
|
|
FuryCutterStrong:
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=3, color1=RGB(9, 8, 10), blend_y1=4, color2=RGB_BLACK, blend_y2=0
|
|
goto FuryCutterContinue2
|
|
FuryCutterStrongest:
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=3, color1=RGB(9, 8, 10), blend_y1=4, color2=RGB_BLACK, blend_y2=0
|
|
goto FuryCutterContinue2
|
|
|
|
gBattleAnimMove_SelfDestruct::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 0, 9, RGB_RED
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_PLAYER_LEFT, 6, 0, 38, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_PLAYER_RIGHT, 6, 0, 38, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_OPPONENT_LEFT, 6, 0, 38, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_OPPONENT_RIGHT, 6, 0, 38, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_ATTACKER_FORCE, 6, 0, 38, 1
|
|
call SelfDestructExplode
|
|
call SelfDestructExplode
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 9, 0, RGB_RED
|
|
end
|
|
SelfDestructExplode:
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 24, -24, 0, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, 0, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, 0, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, 0, 1
|
|
delay 6
|
|
return
|
|
|
|
gBattleAnimMove_Slam::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_ATTACKER
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 3, 0, 4
|
|
delay 1
|
|
createsprite gSlamHitSpriteTemplate, ANIM_ATTACKER, 2, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -12, 10, 0, 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5
|
|
delay 3
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 0, 3, 6, 1
|
|
waitforvisualfinish
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 6
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_VineWhip::
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 6
|
|
delay 6
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET
|
|
createsprite gVineWhipSpriteTemplate, ANIM_TARGET, 2, 0, 0
|
|
delay 6
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 6, 1
|
|
end
|
|
|
|
gBattleAnimMove_DrillPeck::
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 2
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 1
|
|
delay 2
|
|
loopsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET, 4, 8
|
|
createvisualtask AnimTask_DrillPeckHitSplats, 5
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 18, 1
|
|
waitforvisualfinish
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 2
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 6
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Waterfall::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 23, 1
|
|
delay 5
|
|
call WaterfallBubblesOnAttacker
|
|
delay 10
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 6, 5
|
|
delay 6
|
|
call RisingWaterHitEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
WaterfallBubblesOnAttacker:
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 10, 10, 25, ANIM_ATTACKER
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -15, 0, 25, ANIM_ATTACKER
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 20, 10, 25, ANIM_ATTACKER
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 0, -10, 25, ANIM_ATTACKER
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -10, 15, 25, ANIM_ATTACKER
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 25, 20, 25, ANIM_ATTACKER
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -20, 20, 25, ANIM_ATTACKER
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 12, 0, 25, ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
return
|
|
|
|
RisingWaterHitEffect:
|
|
playsewithpan SE_M_WATERFALL, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 4, 0, 17, 1
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 3, 0, 20, ANIM_TARGET, 1
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 20
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 20
|
|
delay 2
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 3, 0, 15, ANIM_TARGET, 1
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 15
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 15
|
|
delay 2
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 3, 0, 10, ANIM_TARGET, 1
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 10
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 10
|
|
delay 2
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 3, 0, 5, ANIM_TARGET, 1
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 5
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 5
|
|
delay 2
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, ANIM_TARGET, 1
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 0
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, 0
|
|
delay 2
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 3, 0, -5, ANIM_TARGET, 1
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, -5
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, -5
|
|
delay 2
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 3, 0, -10, ANIM_TARGET, 1
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, -10
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, -10
|
|
delay 2
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 3, 0, -15, ANIM_TARGET, 1
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, -15
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, -15
|
|
delay 2
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 3, 0, -20, ANIM_TARGET, 1
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, -20
|
|
createsprite gSmallDriftingBubblesSpriteTemplate, ANIM_ATTACKER, 4, 0, -20
|
|
return
|
|
|
|
gBattleAnimMove_Explosion::
|
|
complex_palette_blend selector=F_PAL_BG, delay=8, num_blends=9, color1=RGB(26, 8, 8), blend_y1=8, color2=RGB_BLACK, blend_y2=8
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_PLAYER_LEFT, 8, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_PLAYER_RIGHT, 8, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_OPPONENT_LEFT, 8, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_OPPONENT_RIGHT, 8, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_ATTACKER_FORCE, 8, 0, 40, 1
|
|
call Explosion1
|
|
call Explosion1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 16, RGB_WHITE
|
|
delay 50
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 16, 0, RGB_WHITE
|
|
end
|
|
Explosion1:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 24, -24, 0, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, 0, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, 0, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, 0, 1
|
|
delay 6
|
|
return
|
|
|
|
gBattleAnimMove_DefenseCurl::
|
|
loopsewithpan SE_M_TRI_ATTACK, SOUND_PAN_ATTACKER, 18, 3
|
|
set_grayscale_pal battler=ANIM_ATTACKER
|
|
createvisualtask AnimTask_DefenseCurlDeformMon, 5
|
|
waitforvisualfinish
|
|
createsprite gEclipsingOrbSpriteTemplate, ANIM_ATTACKER, 2, 0, 6, 0, 1
|
|
waitforvisualfinish
|
|
set_original_pal battler=ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Protect::
|
|
monbg ANIM_ATK_PARTNER
|
|
splitbgprio ANIM_ATTACKER
|
|
waitplaysewithpan SE_M_REFLECT, SOUND_PAN_ATTACKER, 16
|
|
createsprite gProtectSpriteTemplate, ANIM_ATTACKER, 2, 24, 0, 90
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_Detect::
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=9, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 0, 9, RGB_WHITE
|
|
delay 18
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
createsprite gSpinningSparkleSpriteTemplate, ANIM_ATTACKER, 13, 20, -20
|
|
waitforvisualfinish
|
|
delay 10
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=9, target_blend_y=0, color=RGB_BLACK
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 9, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Frustration::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_GetFrustrationPowerLevel, 1
|
|
jumpreteq 0, Frustration_Strongest
|
|
jumpreteq 1, Frustration_Strong
|
|
jumpreteq 2, Frustration_Medium
|
|
goto Frustration_Weak
|
|
Frustration_Continue:
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
Frustration_Strongest:
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_ATTACKER, 1, 0, 15, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 3, 0, 9, RGB_RED
|
|
waitforvisualfinish
|
|
delay 20
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_ATTACKER
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_ATTACKER, 2, 0, 20, -28
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_ATTACKER
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_ATTACKER, 2, 0, 20, -28
|
|
waitforvisualfinish
|
|
delay 10
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 16, 6144, 8, ANIM_ATTACKER
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 4, 0, 30, 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=24, y=8, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=-24, y=-16, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=8, y=4, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=-16, y=19, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=18, y=-18, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 3, 9, 0, RGB_RED
|
|
goto Frustration_Continue
|
|
Frustration_Strong:
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_ATTACKER, 1, 0, 15, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 3, 0, 9, RGB_RED
|
|
waitforvisualfinish
|
|
delay 20
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_ATTACKER
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_ATTACKER, 2, 0, 20, -28
|
|
waitforvisualfinish
|
|
delay 5
|
|
createvisualtask AnimTask_StrongFrustrationGrowAndShrink, 5
|
|
delay 7
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=8, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 4, 0, 6, 1
|
|
delay 14
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=12, y=-6, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 4, 0, 6, 1
|
|
delay 14
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=-12, y=-6, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 4, 0, 6, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 3, 9, 0, RGB_RED
|
|
goto Frustration_Continue
|
|
Frustration_Medium:
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_ATTACKER
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_ATTACKER, 2, 0, 20, -28
|
|
waitforvisualfinish
|
|
delay 5
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4
|
|
delay 6
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=10, y=4, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4
|
|
delay 6
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-10, y=-4, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
goto Frustration_Continue
|
|
Frustration_Weak:
|
|
createsprite gWeakFrustrationAngerMarkSpriteTemplate, ANIM_ATTACKER, 2, 20, -28
|
|
waitforvisualfinish
|
|
delay 10
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 10, 2
|
|
delay 12
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 6, 1
|
|
goto Frustration_Continue
|
|
|
|
gBattleAnimMove_Safeguard::
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 8, 8
|
|
playsewithpan SE_M_MILK_DRINK, SOUND_PAN_ATTACKER
|
|
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 2, TRUE
|
|
delay 4
|
|
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 2, TRUE
|
|
delay 4
|
|
createsprite gGuardRingSpriteTemplate, ANIM_ATTACKER, 2, TRUE
|
|
waitforvisualfinish
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATK_SIDE, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=10, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_PainSplit::
|
|
createsprite gPainSplitProjectileSpriteTemplate, ANIM_ATTACKER, 2, -8, -42, ANIM_ATTACKER
|
|
createsprite gPainSplitProjectileSpriteTemplate, ANIM_TARGET, 2, -8, -42, ANIM_TARGET
|
|
delay 10
|
|
playsewithpan SE_M_SWAGGER2, 0
|
|
createvisualtask AnimTask_PainSplitMovement, 2, ANIM_ATTACKER, 0
|
|
createvisualtask AnimTask_PainSplitMovement, 2, ANIM_TARGET, 0
|
|
waitforvisualfinish
|
|
createsprite gPainSplitProjectileSpriteTemplate, ANIM_ATTACKER, 2, -24, -42, ANIM_ATTACKER
|
|
createsprite gPainSplitProjectileSpriteTemplate, ANIM_TARGET, 2, -24, -42, ANIM_TARGET
|
|
delay 10
|
|
playsewithpan SE_M_SWAGGER2, 0
|
|
createvisualtask AnimTask_PainSplitMovement, 2, ANIM_ATTACKER, 1
|
|
createvisualtask AnimTask_PainSplitMovement, 2, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
createsprite gPainSplitProjectileSpriteTemplate, ANIM_ATTACKER, 2, 8, -42, ANIM_ATTACKER
|
|
createsprite gPainSplitProjectileSpriteTemplate, ANIM_TARGET, 2, 8, -42, ANIM_TARGET
|
|
delay 10
|
|
playsewithpan SE_M_SWAGGER2, 0
|
|
createvisualtask AnimTask_PainSplitMovement, 2, ANIM_ATTACKER, 2
|
|
createvisualtask AnimTask_PainSplitMovement, 2, ANIM_TARGET, 2
|
|
end
|
|
|
|
gBattleAnimMove_ViseGrip::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_VICEGRIP, SOUND_PAN_TARGET
|
|
createsprite gViceGripSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
createsprite gViceGripSpriteTemplate, ANIM_ATTACKER, 2, 1
|
|
delay 9
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 1, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 2, 0, 5, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Guillotine::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
fadetobgfromset BG_GUILLOTINE_OPPONENT, BG_GUILLOTINE_PLAYER, BG_GUILLOTINE_CONTESTS
|
|
waitbgfadein
|
|
playsewithpan SE_M_VICEGRIP, SOUND_PAN_TARGET
|
|
createsprite gGuillotineSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
createsprite gGuillotineSpriteTemplate, ANIM_ATTACKER, 2, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 16, RGB_BLACK
|
|
delay 9
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 2, 0, 23, 1
|
|
delay 46
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 4, 0, 8, 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=8, color2=RGB_BLACK, blend_y2=0
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_PayDay::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
createsprite gCoinThrowSpriteTemplate, ANIM_ATTACKER, 2, 20, 0, 0, 0, 1152
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_PAY_DAY, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 1, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createsprite gFallingCoinSpriteTemplate, ANIM_ATTACKER, 2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 6, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Outrage::
|
|
loopsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER, 8, 3
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER | F_PAL_TARGET), delay=2, num_blends=5, initial_blend_y=3, target_blend_y=8, color=RGB(14, 13, 0)
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 12, 6, 5, 4
|
|
delay 0
|
|
create_outrage_flame_sprite ANIM_TARGET, 2, x=0, y=0, duration=30, x_velocity=1280/256, y_velocity=0/256, flicker_duration=3
|
|
delay 0
|
|
create_outrage_flame_sprite ANIM_TARGET, 2, x=0, y=0, duration=30, x_velocity=-1280/256, y_velocity=0/256, flicker_duration=3
|
|
delay 0
|
|
create_outrage_flame_sprite ANIM_TARGET, 2, x=0, y=0, duration=30, x_velocity=0/256, y_velocity=1280/256, flicker_duration=3
|
|
delay 0
|
|
create_outrage_flame_sprite ANIM_TARGET, 2, x=0, y=0, duration=30, x_velocity=0/256, y_velocity=-1280/256, flicker_duration=3
|
|
delay 0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 40, 1
|
|
create_outrage_flame_sprite ANIM_TARGET, 2, x=0, y=0, duration=30, x_velocity=1280/256, y_velocity=768/256, flicker_duration=3
|
|
delay 0
|
|
create_outrage_flame_sprite ANIM_TARGET, 2, x=0, y=0, duration=30, x_velocity=-1280/256, y_velocity=768/256, flicker_duration=3
|
|
delay 0
|
|
create_outrage_flame_sprite ANIM_TARGET, 2, x=0, y=0, duration=30, x_velocity=1280/256, y_velocity=-768/256, flicker_duration=3
|
|
delay 0
|
|
create_outrage_flame_sprite ANIM_TARGET, 2, x=0, y=0, duration=30, x_velocity=-1280/256, y_velocity=-768/256, flicker_duration=3
|
|
delay 0
|
|
create_outrage_flame_sprite ANIM_TARGET, 2, x=0, y=0, duration=30, x_velocity=1280/256, y_velocity=0/256, flicker_duration=3
|
|
call OutrageFlames
|
|
call OutrageFlames
|
|
waitforvisualfinish
|
|
end
|
|
OutrageFlames:
|
|
delay 3
|
|
create_outrage_flame_sprite ANIM_TARGET, 2, x=0, y=0, duration=30, x_velocity=-1280/256, y_velocity=0/256, flicker_duration=3
|
|
delay 0
|
|
create_outrage_flame_sprite ANIM_TARGET, 2, x=0, y=0, duration=30, x_velocity=0/256, y_velocity=1280/256, flicker_duration=3
|
|
delay 0
|
|
create_outrage_flame_sprite ANIM_TARGET, 2, x=0, y=0, duration=30, x_velocity=0/256, y_velocity=-1280/256, flicker_duration=3
|
|
delay 0
|
|
create_outrage_flame_sprite ANIM_TARGET, 2, x=0, y=0, duration=30, x_velocity=1280/256, y_velocity=768/256, flicker_duration=3
|
|
delay 0
|
|
create_outrage_flame_sprite ANIM_TARGET, 2, x=0, y=0, duration=30, x_velocity=-1280/256, y_velocity=768/256, flicker_duration=3
|
|
delay 0
|
|
create_outrage_flame_sprite ANIM_TARGET, 2, x=0, y=0, duration=30, x_velocity=1280/256, y_velocity=-768/256, flicker_duration=3
|
|
delay 0
|
|
create_outrage_flame_sprite ANIM_TARGET, 2, x=0, y=0, duration=30, x_velocity=-1280/256, y_velocity=-768/256, flicker_duration=3
|
|
return
|
|
|
|
gBattleAnimMove_Spark::
|
|
delay 0
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=5, target_blend_y=5, color=RGB(31, 31, 22)
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=0, target_blend_y=0, color=RGB(31, 31, 22)
|
|
delay 10
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=5, target_blend_y=5, color=RGB(31, 31, 22)
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=0, target_blend_y=0, color=RGB(31, 31, 22)
|
|
delay 20
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=7, target_blend_y=7, color=RGB(31, 31, 22)
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 32, 12, 0, 20, 0, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 32, 12, 64, 20, 1, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 32, 12, 128, 20, 0, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 32, 12, 192, 20, 2, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 32, 20, 0, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 96, 20, 1, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 160, 20, 0, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 224, 20, 2, 0
|
|
delay 4
|
|
waitforvisualfinish
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_ATTACKER), delay=-31, num_blends=1, initial_blend_y=0, target_blend_y=0, color=RGB(31, 31, 22)
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4
|
|
delay 4
|
|
playsewithpan SE_M_HYPER_BEAM, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=-31, num_blends=2, initial_blend_y=0, target_blend_y=6, color=RGB(31, 31, 22)
|
|
call ElectricityEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Attract::
|
|
loopsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER, 12, 3
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 12, 4096, 4, ANIM_ATTACKER
|
|
delay 15
|
|
createsprite gRedHeartProjectileSpriteTemplate, ANIM_TARGET, 3, 20, -8
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_TARGET
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 160, -32
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -256, -40
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 128, -16
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 416, -38
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -128, -22
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -384, -31
|
|
waitforvisualfinish
|
|
waitplaysewithpan SE_M_ATTRACT2, 0, 15
|
|
createvisualtask AnimTask_HeartsBackground, 5
|
|
createsprite gRedHeartRisingSpriteTemplate, ANIM_ATTACKER, 40, 16, 256, 0
|
|
createsprite gRedHeartRisingSpriteTemplate, ANIM_ATTACKER, 40, 224, 240, 15
|
|
createsprite gRedHeartRisingSpriteTemplate, ANIM_ATTACKER, 40, 126, 272, 30
|
|
createsprite gRedHeartRisingSpriteTemplate, ANIM_ATTACKER, 40, 80, 224, 45
|
|
createsprite gRedHeartRisingSpriteTemplate, ANIM_ATTACKER, 40, 170, 272, 60
|
|
createsprite gRedHeartRisingSpriteTemplate, ANIM_ATTACKER, 40, 40, 256, 75
|
|
createsprite gRedHeartRisingSpriteTemplate, ANIM_ATTACKER, 40, 112, 256, 90
|
|
createsprite gRedHeartRisingSpriteTemplate, ANIM_ATTACKER, 40, 200, 272, 90
|
|
delay 75
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=4, num_blends=4, initial_blend_y=0, target_blend_y=10, color=RGB(31, 25, 27)
|
|
end
|
|
|
|
gBattleAnimMove_Growth::
|
|
call GrowthEffect
|
|
waitforvisualfinish
|
|
call GrowthEffect
|
|
waitforvisualfinish
|
|
end
|
|
GrowthEffect:
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=8, color=RGB_WHITE
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -3, -3, 16, ANIM_ATTACKER, 0
|
|
return
|
|
|
|
gBattleAnimMove_Whirlwind::
|
|
createsprite gWhirlwindLineSpriteTemplate, ANIM_ATTACKER, 2, 0, -8, ANIM_TARGET, 60, 0
|
|
createsprite gWhirlwindLineSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, ANIM_TARGET, 60, 1
|
|
createsprite gWhirlwindLineSpriteTemplate, ANIM_ATTACKER, 2, 0, 8, ANIM_TARGET, 60, 2
|
|
createsprite gWhirlwindLineSpriteTemplate, ANIM_ATTACKER, 2, 0, 16, ANIM_TARGET, 60, 3
|
|
createsprite gWhirlwindLineSpriteTemplate, ANIM_ATTACKER, 2, 0, 24, ANIM_TARGET, 60, 4
|
|
createsprite gWhirlwindLineSpriteTemplate, ANIM_ATTACKER, 2, 0, 32, ANIM_TARGET, 60, 0
|
|
delay 5
|
|
loopsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET, 10, 4
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 15, 1
|
|
delay 29
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_TARGET, 12, 6, 1, 5
|
|
delay 7
|
|
playsewithpan SE_M_STRING_SHOT, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_SlideOffScreen, 5, ANIM_TARGET, 8
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_ConfuseRay::
|
|
monbg ANIM_DEF_PARTNER
|
|
fadetobg BG_GHOST
|
|
waitbgfadein
|
|
createvisualtask SoundTask_AdjustPanningVar, 2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
blend_color_cyclebytag tag=ANIM_TAG_YELLOW_BALL, delay=0, num_blends=6, initial_blend_y=0, target_blend_y=14, color=RGB(31, 10, 0)
|
|
createsprite gConfuseRayBallBounceSpriteTemplate, ANIM_TARGET, 2, 28, 0, 288
|
|
waitforvisualfinish
|
|
setalpha 8, 8
|
|
playsewithpan SE_M_STRING_SHOT2, SOUND_PAN_TARGET
|
|
createsprite gConfuseRayBallSpiralSpriteTemplate, ANIM_TARGET, 2, 0, -16
|
|
waitforvisualfinish
|
|
delay 0
|
|
blendoff
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_LockOn::
|
|
createsprite gLockOnTargetSpriteTemplate, ANIM_ATTACKER, 40
|
|
createsprite gLockOnMoveTargetSpriteTemplate, ANIM_ATTACKER, 40, 1
|
|
createsprite gLockOnMoveTargetSpriteTemplate, ANIM_ATTACKER, 40, 2
|
|
createsprite gLockOnMoveTargetSpriteTemplate, ANIM_ATTACKER, 40, 3
|
|
createsprite gLockOnMoveTargetSpriteTemplate, ANIM_ATTACKER, 40, 4 @ Also transitions to red target
|
|
delay 120
|
|
setarg 7, -1 @ Signal target to flash/disappear
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_MeanLook::
|
|
monbg ANIM_DEF_PARTNER
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=16, color=RGB_BLACK
|
|
loopsewithpan SE_M_CONFUSE_RAY, SOUND_PAN_TARGET, 15, 4
|
|
waitplaysewithpan SE_M_LEER, SOUND_PAN_TARGET, 85
|
|
createsprite gMeanLookEyeSpriteTemplate, ANIM_ATTACKER, 2
|
|
delay 120
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=16, target_blend_y=0, color=RGB_BLACK
|
|
delay 30
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_RockThrow::
|
|
shake_mon_or_platform unused_anim_battler=ANIM_TARGET, velocity=6, shake_timer=1, shake_duration=15, type=SHAKE_BG_Y
|
|
createsprite gFallingRockSpriteTemplate, ANIM_TARGET, 2, 0, 1, 0, 0
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gFallingRockSpriteTemplate, ANIM_TARGET, 2, 19, 1, 10, 0
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gFallingRockSpriteTemplate, ANIM_TARGET, 2, -23, 2, -10, 0
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 5, 20, 1
|
|
delay 6
|
|
createsprite gFallingRockSpriteTemplate, ANIM_TARGET, 2, -15, 1, -10, 0
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gFallingRockSpriteTemplate, ANIM_TARGET, 2, 23, 2, 10, 0
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_RockSlide::
|
|
monbg ANIM_DEF_PARTNER
|
|
shake_mon_or_platform velocity=7, shake_timer=1, shake_duration=11, type=SHAKE_BG_Y
|
|
createsprite gFallingRockSpriteTemplate, ANIM_TARGET, 2, -5, 1, -5, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFallingRockSpriteTemplate, ANIM_TARGET, 2, 5, 0, 6, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFallingRockSpriteTemplate, ANIM_TARGET, 2, 19, 1, 10, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFallingRockSpriteTemplate, ANIM_TARGET, 2, -23, 2, -10, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 5, 50, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_DEF_PARTNER, 0, 5, 50, 1
|
|
delay 2
|
|
call RockSlideRocks
|
|
call RockSlideRocks
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
RockSlideRocks:
|
|
createsprite gFallingRockSpriteTemplate, ANIM_TARGET, 2, -20, 0, -10, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFallingRockSpriteTemplate, ANIM_TARGET, 2, 28, 1, 10, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFallingRockSpriteTemplate, ANIM_TARGET, 2, -10, 1, -5, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFallingRockSpriteTemplate, ANIM_TARGET, 2, 10, 0, 6, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFallingRockSpriteTemplate, ANIM_TARGET, 2, 24, 1, 10, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFallingRockSpriteTemplate, ANIM_TARGET, 2, -32, 2, -10, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFallingRockSpriteTemplate, ANIM_TARGET, 2, -20, 0, -10, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFallingRockSpriteTemplate, ANIM_TARGET, 2, 30, 2, 10, 1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_Thief::
|
|
monbg ANIM_TARGET
|
|
delay 1
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
setalpha 12, 8
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 6, 4
|
|
delay 6
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 8, 1
|
|
waitforvisualfinish
|
|
delay 20
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_BubbleBeam::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
delay 1
|
|
call BulbblebeamCreateBubbles
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 3, 3072, 8, ANIM_TARGET
|
|
call BulbblebeamCreateBubbles
|
|
call BulbblebeamCreateBubbles
|
|
waitforvisualfinish
|
|
call WaterBubblesEffectShort
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
BulbblebeamCreateBubbles:
|
|
createsprite gWaterBubbleProjectileSpriteTemplate, ANIM_ATTACKER, 2, 18, 0, 35, 70, 0, 256, 50
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
createsprite gWaterBubbleProjectileSpriteTemplate, ANIM_ATTACKER, 2, 18, 0, 20, 40, -10, 256, 50
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
createsprite gWaterBubbleProjectileSpriteTemplate, ANIM_ATTACKER, 2, 18, 0, 10, -60, 0, 256, 50
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
createsprite gWaterBubbleProjectileSpriteTemplate, ANIM_ATTACKER, 2, 18, 0, 15, -15, 10, 256, 50
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
createsprite gWaterBubbleProjectileSpriteTemplate, ANIM_ATTACKER, 2, 18, 0, 30, 10, -10, 256, 50
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
createsprite gWaterBubbleProjectileSpriteTemplate, ANIM_ATTACKER, 2, 18, 0, 25, -30, 10, 256, 50
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
return
|
|
|
|
gBattleAnimMove_IcyWind::
|
|
monbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG | F_PAL_ATK_SIDE, 4, 0, 4, RGB_BLACK
|
|
fadetobg BG_ICE
|
|
waitbgfadeout
|
|
playsewithpan SE_M_ICY_WIND, 0
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
panse SE_M_GUST, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
call IcyWindSwirlingSnowballs
|
|
delay 5
|
|
call IcyWindSwirlingSnowballs
|
|
playsewithpan SE_M_GUST2, SOUND_PAN_TARGET
|
|
delay 55
|
|
call IceSpikesEffectLong
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
restorebg
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG | F_PAL_ATK_SIDE, 4, 4, 0, RGB_BLACK
|
|
waitbgfadein
|
|
end
|
|
IcyWindSwirlingSnowballs:
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_TARGET, 40, 0, 0, 0, 0, 72, 1
|
|
delay 5
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_TARGET, 40, 0, 10, 0, 10, 72, 1
|
|
delay 5
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_TARGET, 40, 0, -10, 0, -10, 72, 1
|
|
delay 5
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_TARGET, 40, 0, 15, 0, 15, 72, 1
|
|
delay 5
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_TARGET, 40, 0, -5, 0, -5, 72, 1
|
|
return
|
|
|
|
gBattleAnimMove_Smokescreen::
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gBlackBallSpriteTemplate, ANIM_TARGET, 2, 20, 0, 0, 0, 35, -25
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_SmokescreenImpact, 2
|
|
delay 2
|
|
playsewithpan SE_M_SAND_ATTACK, SOUND_PAN_TARGET
|
|
createsprite gBlackSmokeSpriteTemplate, ANIM_TARGET, 4, 0, -12, 104, 0, 75
|
|
createsprite gBlackSmokeSpriteTemplate, ANIM_TARGET, 4, 0, -12, 72, 1, 75
|
|
createsprite gBlackSmokeSpriteTemplate, ANIM_TARGET, 4, 0, -6, 56, 1, 75
|
|
createsprite gBlackSmokeSpriteTemplate, ANIM_TARGET, 4, 0, -6, 88, 0, 75
|
|
createsprite gBlackSmokeSpriteTemplate, ANIM_TARGET, 4, 0, 0, 56, 0, 75
|
|
createsprite gBlackSmokeSpriteTemplate, ANIM_TARGET, 4, 0, 0, 88, 1, 75
|
|
createsprite gBlackSmokeSpriteTemplate, ANIM_TARGET, 4, 0, 6, 72, 0, 75
|
|
createsprite gBlackSmokeSpriteTemplate, ANIM_TARGET, 4, 0, 6, 104, 1, 75
|
|
createsprite gBlackSmokeSpriteTemplate, ANIM_TARGET, 4, 0, 12, 72, 0, 75
|
|
createsprite gBlackSmokeSpriteTemplate, ANIM_TARGET, 4, 0, 12, 56, 1, 75
|
|
createsprite gBlackSmokeSpriteTemplate, ANIM_TARGET, 4, 0, 18, 80, 0, 75
|
|
createsprite gBlackSmokeSpriteTemplate, ANIM_TARGET, 4, 0, 18, 72, 1, 75
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Conversion::
|
|
monbg ANIM_ATK_PARTNER
|
|
splitbgprio ANIM_ATTACKER
|
|
setalpha 16, 0
|
|
delay 0
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
createsprite gConversionSpriteTemplate, ANIM_ATTACKER, 2, -24, -24
|
|
delay 3
|
|
createsprite gConversionSpriteTemplate, ANIM_ATTACKER, 2, -8, -24
|
|
delay 3
|
|
createsprite gConversionSpriteTemplate, ANIM_ATTACKER, 2, 8, -24
|
|
delay 3
|
|
createsprite gConversionSpriteTemplate, ANIM_ATTACKER, 2, 24, -24
|
|
delay 3
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
createsprite gConversionSpriteTemplate, ANIM_ATTACKER, 2, -24, -8
|
|
delay 3
|
|
createsprite gConversionSpriteTemplate, ANIM_ATTACKER, 2, -8, -8
|
|
delay 3
|
|
createsprite gConversionSpriteTemplate, ANIM_ATTACKER, 2, 8, -8
|
|
delay 3
|
|
createsprite gConversionSpriteTemplate, ANIM_ATTACKER, 2, 24, -8
|
|
delay 3
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
createsprite gConversionSpriteTemplate, ANIM_ATTACKER, 2, -24, 8
|
|
delay 3
|
|
createsprite gConversionSpriteTemplate, ANIM_ATTACKER, 2, -8, 8
|
|
delay 3
|
|
createsprite gConversionSpriteTemplate, ANIM_ATTACKER, 2, 8, 8
|
|
delay 3
|
|
createsprite gConversionSpriteTemplate, ANIM_ATTACKER, 2, 24, 8
|
|
delay 3
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
|
|
createsprite gConversionSpriteTemplate, ANIM_ATTACKER, 2, -24, 24
|
|
delay 3
|
|
createsprite gConversionSpriteTemplate, ANIM_ATTACKER, 2, -8, 24
|
|
delay 3
|
|
createsprite gConversionSpriteTemplate, ANIM_ATTACKER, 2, 8, 24
|
|
delay 3
|
|
createsprite gConversionSpriteTemplate, ANIM_ATTACKER, 2, 24, 24
|
|
delay 20
|
|
playsewithpan SE_M_BARRIER, SOUND_PAN_ATTACKER
|
|
flash_anim_tag_with_color tag=ANIM_TAG_CONVERSION, delay=1, num_blends=1, color1=RGB(31, 31, 13), blend_y1=12, color2=0, blend_y2=0
|
|
delay 6
|
|
createvisualtask AnimTask_ConversionAlphaBlend, 5
|
|
waitforvisualfinish
|
|
delay 1
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Conversion2::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_foes ANIM_TARGET
|
|
setalpha 0, 16
|
|
delay 0
|
|
playsewithpan SE_M_BARRIER, SOUND_PAN_TARGET
|
|
createsprite gConversion2SpriteTemplate, ANIM_ATTACKER, 2, -24, -24, 60
|
|
createsprite gConversion2SpriteTemplate, ANIM_ATTACKER, 2, -8, -24, 65
|
|
createsprite gConversion2SpriteTemplate, ANIM_ATTACKER, 2, 8, -24, 70
|
|
createsprite gConversion2SpriteTemplate, ANIM_ATTACKER, 2, 24, -24, 75
|
|
createsprite gConversion2SpriteTemplate, ANIM_ATTACKER, 2, -24, -8, 80
|
|
createsprite gConversion2SpriteTemplate, ANIM_ATTACKER, 2, -8, -8, 85
|
|
createsprite gConversion2SpriteTemplate, ANIM_ATTACKER, 2, 8, -8, 90
|
|
createsprite gConversion2SpriteTemplate, ANIM_ATTACKER, 2, 24, -8, 95
|
|
createsprite gConversion2SpriteTemplate, ANIM_ATTACKER, 2, -24, 8, 100
|
|
createsprite gConversion2SpriteTemplate, ANIM_ATTACKER, 2, -8, 8, 105
|
|
createsprite gConversion2SpriteTemplate, ANIM_ATTACKER, 2, 8, 8, 110
|
|
createsprite gConversion2SpriteTemplate, ANIM_ATTACKER, 2, 24, 8, 115
|
|
createsprite gConversion2SpriteTemplate, ANIM_ATTACKER, 2, -24, 24, 120
|
|
createsprite gConversion2SpriteTemplate, ANIM_ATTACKER, 2, -8, 24, 125
|
|
createsprite gConversion2SpriteTemplate, ANIM_ATTACKER, 2, 8, 24, 130
|
|
createsprite gConversion2SpriteTemplate, ANIM_ATTACKER, 2, 24, 24, 135
|
|
createvisualtask AnimTask_Conversion2AlphaBlend, 5
|
|
delay 60
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 10
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 10
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 10
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 10
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 10
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 10
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
delay 10
|
|
playsewithpan SE_M_SWIFT, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_RollingKick::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 1, 4
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 0, 0, 4
|
|
createsprite gSlidingKickSpriteTemplate, ANIM_ATTACKER, 2, -24, 0, 48, 10, 160, 0
|
|
delay 5
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-8, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 8
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Headbutt::
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 2
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 2, 0, 4, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 2
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_HornAttack::
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 2
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 1
|
|
createsprite gHornHitSpriteTemplate, ANIM_TARGET, 4, 0, 0, 10
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 2, 0, 4, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 2
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_FuryAttack::
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 4, 256, ANIM_ATTACKER, 2
|
|
choosetwoturnanim FuryAttackRight, FuryAttackLeft
|
|
FuryAttackContinue:
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
FuryAttackRight:
|
|
createsprite gHornHitSpriteTemplate, ANIM_TARGET, 4, 8, 8, 10
|
|
waitforvisualfinish
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
goto FuryAttackContinue
|
|
|
|
FuryAttackLeft:
|
|
createsprite gHornHitSpriteTemplate, ANIM_TARGET, 4, -8, -8, 10
|
|
waitforvisualfinish
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
goto FuryAttackContinue
|
|
|
|
gBattleAnimMove_HornDrill::
|
|
jumpifcontest HornDrillInContest
|
|
fadetobg BG_DRILL
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -2304, 768, 1, -1
|
|
HornDrillContinue:
|
|
waitbgfadein
|
|
setalpha 12, 8
|
|
call CreateSharpDrill
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, -1
|
|
waitbgfadein
|
|
end
|
|
|
|
HornDrillInContest:
|
|
fadetobg BG_DRILL_CONTESTS
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 2304, 768, 0, -1
|
|
goto HornDrillContinue
|
|
|
|
CreateSharpDrill:
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 2
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 1
|
|
createsprite gHornHitSpriteTemplate, ANIM_TARGET, 4, 0, 0, 12
|
|
waitforvisualfinish
|
|
playse SE_BANG
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 2, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 10, 0, 40, 1
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=0, y=2, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=-4, y=3, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=-8, y=-5, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=4, y=-12, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=16, y=0, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=5, y=18, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=-17, y=12, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=-21, y=-15, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=8, y=-27, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=32, y=0, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gBowMonSpriteTemplate, ANIM_ATTACKER, 2, 2
|
|
return
|
|
|
|
gBattleAnimMove_Thrash::
|
|
createvisualtask AnimTask_ThrashMoveMonHorizontal, 2
|
|
createvisualtask AnimTask_ThrashMoveMonVertical, 2
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 7, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 28
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 7, 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 28
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_TARGET, 3, 1, 10, 3
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 8, 0, 16, 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_Sing::
|
|
monbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_MusicNotesRainbowBlend, 2
|
|
waitforvisualfinish
|
|
panse SE_M_SING, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 7, 0, 12
|
|
delay 5
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 6, 1, 12
|
|
delay 5
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 1, 2, 12
|
|
delay 5
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 2, 3, 12
|
|
delay 5
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 3, 0, 12
|
|
delay 4
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 2, 1, 12
|
|
delay 4
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 5, 2, 12
|
|
delay 4
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 6, 3, 12
|
|
delay 4
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 2, 0, 12
|
|
delay 4
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 2, 1, 12
|
|
delay 4
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 1, 2, 12
|
|
delay 4
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 5, 3, 12
|
|
delay 4
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_MusicNotesClearRainbowBlend, 2
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_LowKick::
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 0, 0, 4
|
|
createsprite gSlidingKickSpriteTemplate, ANIM_TARGET, 2, -24, 28, 40, 8, 160, 0
|
|
delay 4
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-8, y=8, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 6, 384, ANIM_TARGET, 2
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 4
|
|
end
|
|
|
|
gBattleAnimMove_Earthquake::
|
|
createvisualtask AnimTask_HorizontalShake, 5, (MAX_BATTLERS_COUNT + 1), 10, 50
|
|
createvisualtask AnimTask_HorizontalShake, 5, MAX_BATTLERS_COUNT, 10, 50
|
|
playsewithpan SE_M_EARTHQUAKE, 0
|
|
delay 10
|
|
complex_palette_blend selector=F_PAL_BG, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=14, color2=RGB_WHITE, blend_y2=14
|
|
delay 16
|
|
complex_palette_blend selector=F_PAL_BG, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=14, color2=RGB_WHITE, blend_y2=14
|
|
end
|
|
|
|
gBattleAnimMove_Fissure::
|
|
createvisualtask AnimTask_HorizontalShake, 5, (MAX_BATTLERS_COUNT + 1), 10, 50
|
|
createvisualtask AnimTask_HorizontalShake, 5, MAX_BATTLERS_COUNT, 10, 50
|
|
playsewithpan SE_M_EARTHQUAKE, SOUND_PAN_TARGET
|
|
delay 8
|
|
call FissureDirtPlumeFar
|
|
delay 15
|
|
complex_palette_blend selector=F_PAL_BG, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=14, color2=RGB_WHITE, blend_y2=14
|
|
delay 15
|
|
call FissureDirtPlumeClose
|
|
delay 15
|
|
complex_palette_blend selector=F_PAL_BG, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=14, color2=RGB_WHITE, blend_y2=14
|
|
delay 15
|
|
call FissureDirtPlumeFar
|
|
delay 50
|
|
fadetobg BG_FISSURE
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_PositionFissureBgOnBattler, 5, ANIM_TARGET, 5, -1
|
|
waitbgfadein
|
|
delay 40
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, -1
|
|
waitbgfadein
|
|
end
|
|
|
|
FissureDirtPlumeFar:
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 12, -48, -16, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 16, -16, -10, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 1, 14, -52, -18, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 1, 12, -32, -16, 24
|
|
playsewithpan SE_M_DIG, SOUND_PAN_TARGET
|
|
return
|
|
|
|
FissureDirtPlumeClose:
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 12, -24, -16, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 16, -38, -10, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 1, 14, -20, -18, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 1, 12, -36, -16, 24
|
|
playsewithpan SE_M_DIG, SOUND_PAN_TARGET
|
|
return
|
|
|
|
gBattleAnimMove_Dig::
|
|
choosetwoturnanim DigSetUp, DigUnleash
|
|
DigEnd:
|
|
end
|
|
DigSetUp:
|
|
createsprite gDirtMoundSpriteTemplate, ANIM_ATTACKER, 1, 0, 0, 180
|
|
createsprite gDirtMoundSpriteTemplate, ANIM_ATTACKER, 1, 0, 1, 180
|
|
monbg_static ANIM_ATTACKER
|
|
delay 1
|
|
createvisualtask AnimTask_DigDownMovement, 2, FALSE
|
|
delay 6
|
|
call DigThrowDirt
|
|
call DigThrowDirt
|
|
call DigThrowDirt
|
|
call DigThrowDirt
|
|
call DigThrowDirt
|
|
waitforvisualfinish
|
|
clearmonbg_static ANIM_ATTACKER
|
|
delay 1
|
|
createvisualtask AnimTask_DigDownMovement, 2, TRUE
|
|
goto DigEnd
|
|
DigUnleash:
|
|
createvisualtask AnimTask_DigUpMovement, 2, FALSE
|
|
waitforvisualfinish
|
|
monbg ANIM_ATTACKER
|
|
createsprite gDirtMoundSpriteTemplate, ANIM_ATTACKER, 1, 0, 0, 48
|
|
createsprite gDirtMoundSpriteTemplate, ANIM_ATTACKER, 1, 0, 1, 48
|
|
delay 1
|
|
createvisualtask AnimTask_DigUpMovement, 2, TRUE
|
|
delay 16
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-8, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_ATTACKER
|
|
clearmonbg ANIM_ATTACKER
|
|
goto DigEnd
|
|
DigThrowDirt:
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 12, 4, -16, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 16, 4, -10, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 1, 14, 4, -18, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 1, 12, 4, -16, 18
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 32
|
|
return
|
|
|
|
gBattleAnimMove_Meditate::
|
|
call SetPsychicBackground
|
|
createvisualtask AnimTask_MeditateStretchAttacker, 2
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
delay 16
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_Agility::
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 24, 6, 4, 4
|
|
createvisualtask AnimTask_TraceMonBlended, 2, 0, 4, 7, 10
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_QuickAttack::
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 24, 6, 1, 5
|
|
createvisualtask AnimTask_TraceMonBlended, 2, 0, 4, 7, 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Rage::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_ATTACKER, RGB_RED, 10, 0, 2
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_ATTACKER, 2, 0, -20, -28
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_ATTACKER, 2, 0, 20, -28
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 6
|
|
delay 4
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, TRUE, 1, 10, 1, 0
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_Teleport::
|
|
call SetPsychicBackground
|
|
createvisualtask AnimTask_Teleport, 2
|
|
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
call UnsetPsychicBg
|
|
waitforvisualfinish
|
|
end
|
|
|
|
DoubleTeamAnimRet:
|
|
setalpha 12, 8
|
|
monbg ANIM_ATK_PARTNER
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
delay 32
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
delay 24
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
delay 16
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
delay 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
delay 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
delay 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
delay 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
delay 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_DoubleTeam::
|
|
createvisualtask AnimTask_DoubleTeam, 2
|
|
call DoubleTeamAnimRet
|
|
end
|
|
|
|
gBattleAnimMove_Minimize::
|
|
setalpha 10, 8
|
|
createvisualtask AnimTask_Minimize, 2
|
|
loopsewithpan SE_M_MINIMIZE, SOUND_PAN_ATTACKER, 34, 3
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Metronome::
|
|
createsprite gThoughtBubbleSpriteTemplate, ANIM_ATTACKER, 11, 0, 100
|
|
playsewithpan SE_M_METRONOME, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
createsprite gMetronomeFingerSpriteTemplate, ANIM_ATTACKER, 12, 0
|
|
delay 24
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER, 22, 3
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SkullBash::
|
|
choosetwoturnanim SkullBashSetUp, SkullBashAttack
|
|
SkullBashEnd:
|
|
end
|
|
SkullBashSetUp:
|
|
call SkullBashSetUpHeadDown
|
|
call SkullBashSetUpHeadDown
|
|
waitforvisualfinish
|
|
goto SkullBashEnd
|
|
SkullBashSetUpHeadDown:
|
|
createsprite gSlideMonToOffsetAndBackSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, -24, 0, 0, 10, 0
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 16, 96, ANIM_ATTACKER, 2
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetAndBackSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 24, 0, 0, 10, 1
|
|
waitforvisualfinish
|
|
return
|
|
SkullBashAttack:
|
|
createvisualtask AnimTask_SkullBashPosition, 2, 0
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
playse SE_BANG
|
|
complex_palette_blend selector=F_PAL_BG, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=14, color2=RGB_WHITE, blend_y2=14
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 2, 0, 40, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 10, 0, 40, 1
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 4, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
loopsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET, 8, 3
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_SkullBashPosition, 2, 1
|
|
goto SkullBashEnd
|
|
|
|
gBattleAnimMove_Amnesia::
|
|
call SetPsychicBackground
|
|
delay 8
|
|
createsprite gQuestionMarkSpriteTemplate, ANIM_ATTACKER, 20
|
|
playsewithpan SE_M_METRONOME, SOUND_PAN_ATTACKER
|
|
delay 54
|
|
loopsewithpan SE_M_METRONOME, SOUND_PAN_ATTACKER, 16, 3
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_Kinesis::
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
call SetPsychicBackground
|
|
createsprite gBentSpoonSpriteTemplate, ANIM_ATTACKER, 20
|
|
createsprite gKinesisZapEnergySpriteTemplate, ANIM_ATTACKER, 19, 32, -8, 0
|
|
createsprite gKinesisZapEnergySpriteTemplate, ANIM_ATTACKER, 19, 32, 16, 1
|
|
loopsewithpan SE_M_CONFUSE_RAY, SOUND_PAN_ATTACKER, 21, 2
|
|
delay 60
|
|
playsewithpan SE_M_DIZZY_PUNCH, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
loopsewithpan SE_M_DIZZY_PUNCH, SOUND_PAN_ATTACKER, 20, 2
|
|
delay 70
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_Glare::
|
|
createvisualtask AnimTask_GlareEyeDots, 5, 0
|
|
playsewithpan SE_M_PSYBEAM2, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 5, F_PAL_BG, 0, 0, 16, RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gEyeSparkleSpriteTemplate, ANIM_ATTACKER, 0, -16, -8
|
|
createsprite gEyeSparkleSpriteTemplate, ANIM_ATTACKER, 0, 16, -8
|
|
createvisualtask AnimTask_ScaryFace, 5
|
|
playsewithpan SE_M_LEER, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeTargetInPattern, 3, 20, 1, FALSE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 5, F_PAL_BG, 0, 16, 0, RGB_BLACK
|
|
end
|
|
|
|
gBattleAnimMove_Barrage::
|
|
createvisualtask AnimTask_BarrageBall, 3
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
delay 24
|
|
shake_mon_or_platform velocity=8, shake_timer=1, shake_duration=40, type=SHAKE_BG_Y
|
|
createvisualtask AnimTask_ShakeMon, 3, ANIM_TARGET, 0, 4, 20, 1
|
|
createvisualtask AnimTask_ShakeMon, 3, ANIM_DEF_PARTNER, 0, 4, 20, 1
|
|
loopsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET, 8, 2
|
|
end
|
|
|
|
gBattleAnimMove_SkyAttack::
|
|
choosetwoturnanim SkyAttackSetUp, SkyAttackUnleash
|
|
SkyAttackEnd:
|
|
end
|
|
SkyAttackSetUp:
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 11
|
|
createvisualtask AnimTask_GetTargetIsAttackerPartner, 5, ARG_RET_ID
|
|
jumpretfalse SkyAttackSetUpAgainstOpponent
|
|
goto SkyAttackSetUpAgainstPartner
|
|
SkyAttackSetUpAgainstOpponent:
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ATK_SIDE | F_PAL_DEF_PARTNER), 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
delay 12
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 8, 0, RGB_BLACK
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_ATTACKER, 2, 16
|
|
loopsewithpan SE_M_STAT_INCREASE, SOUND_PAN_ATTACKER, 4, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 0, 15, RGB_WHITE
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 15, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ATK_PARTNER | F_PAL_DEF_PARTNER), 1, 8, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
goto SkyAttackEnd
|
|
SkyAttackSetUpAgainstPartner:
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 10, ANIM_TARGET, 1, 0, 12, RGB_BLACK
|
|
waitforvisualfinish
|
|
delay 12
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 8, 0, RGB_BLACK
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_ATTACKER, 2, 16
|
|
playsewithpan SE_M_STAT_INCREASE, SOUND_PAN_ATTACKER
|
|
delay 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 0, 15, RGB_WHITE
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 15, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 10, 4, 1, 8, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
goto SkyAttackEnd
|
|
SkyAttackUnleash:
|
|
call SetSkyBg
|
|
monbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 0, 0, 16, RGB_WHITE
|
|
delay 4
|
|
attacker_fade_to_invisible priority=5, step_delay=0
|
|
waitforvisualfinish
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_SKY_UPPERCUT, SOUND_PAN_ATTACKER
|
|
createsprite gSkyAttackBirdSpriteTemplate, ANIM_TARGET, 2
|
|
delay 14
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 10, 0, 18, 1
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
delay 20
|
|
attacker_fade_from_invisible priority=5, step_delay=1
|
|
delay 2
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 0, 15, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
call UnsetSkyBg
|
|
goto SkyAttackEnd
|
|
|
|
gBattleAnimMove_Flash::
|
|
playsewithpan SE_M_LEER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_Flash, 2
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Splash::
|
|
createvisualtask AnimTask_Splash, 2, ANIM_ATTACKER, 3
|
|
delay 8
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER, 38, 3
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_AcidArmor::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 15, 0
|
|
createvisualtask AnimTask_AcidArmor, 2, ANIM_ATTACKER
|
|
playsewithpan SE_M_ACID_ARMOR, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_Sharpen::
|
|
createsprite gSharpenSphereSpriteTemplate, ANIM_ATTACKER, 2
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SuperFang::
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 1, 0, 20, 1
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 3, 0, 48, 1
|
|
createvisualtask AnimTask_BlendMonInAndOut, 2, ANIM_ATTACKER, RGB(31, 6, 1), 12, 4, 1
|
|
waitforvisualfinish
|
|
delay 20
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4
|
|
delay 4
|
|
createsprite gSuperFangSpriteTemplate, ANIM_TARGET, 2
|
|
playsewithpan SE_M_BITE, SOUND_PAN_TARGET
|
|
delay 8
|
|
complex_palette_blend selector=F_PAL_BG, delay=3, num_blends=1, color1=RGB(31, 2, 2), blend_y1=14, color2=RGB_WHITE, blend_y2=14
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 7, 12, 1
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Slash::
|
|
createsprite gSlashSliceSpriteTemplate, ANIM_TARGET, 2, 1, -8, 0
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gSlashSliceSpriteTemplate, ANIM_TARGET, 2, 1, 8, 0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 18, 1
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Struggle::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 3, 0, 12, 4
|
|
createsprite gMovementWavesSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 2
|
|
createsprite gMovementWavesSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 2
|
|
loopsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER, 12, 4
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Sketch::
|
|
monbg ANIM_TARGET
|
|
createvisualtask AnimTask_SketchDrawMon, 2
|
|
createsprite gPencilSpriteTemplate, ANIM_TARGET, 2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
createvisualtask AnimTask_Splash, 2, ANIM_ATTACKER, 2
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER, 38, 2
|
|
end
|
|
|
|
gBattleAnimMove_Nightmare::
|
|
fadetobg BG_GHOST
|
|
waitbgfadein
|
|
jumpifcontest NightmareInContest
|
|
monbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_NightmareClone, 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 40, 1
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
NightmareInContest:
|
|
createvisualtask AnimTask_BlendMonInAndOut, 2, ANIM_ATTACKER, RGB_WHITE, 10, 2, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 3, 0, 32, 1
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_Flail::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_FlailMovement, 2, ANIM_ATTACKER
|
|
loopsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER, 8, 2
|
|
waitforvisualfinish
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=3
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, FALSE, 1, 30, 1, 0
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Spite::
|
|
fadetobg BG_GHOST
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
waitbgfadein
|
|
monbg ANIM_DEF_PARTNER
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=6, initial_blend_y=0, target_blend_y=8, color=RGB_WHITE
|
|
createvisualtask AnimTask_SpiteTargetShadow, 2
|
|
loopsewithpan SE_M_PSYBEAM, SOUND_PAN_TARGET, 20, 3
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
SetHighSpeedBg:
|
|
createvisualtask AnimTask_GetAttackerSide, 2
|
|
jumprettrue SetHighSpeedBgPlayer
|
|
fadetobg BG_HIGHSPEED_OPPONENT
|
|
goto SetHighSpeedBgFade
|
|
SetHighSpeedBgPlayer:
|
|
fadetobg BG_HIGHSPEED_PLAYER
|
|
SetHighSpeedBgFade:
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -2304, 0, 1, -1
|
|
waitbgfadein
|
|
return
|
|
|
|
UnsetHighSpeedBg:
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, -1
|
|
waitbgfadein
|
|
return
|
|
|
|
gBattleAnimMove_MachPunch::
|
|
monbg ANIM_ATK_PARTNER
|
|
call SetHighSpeedBg
|
|
delay 0
|
|
setalpha 9, 8
|
|
createvisualtask AnimTask_AttackerPunchWithTrace, 2, RGB(8, 9, 28), 10
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 4, 0, 0, 8, 1, 0
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
call UnsetHighSpeedBg
|
|
end
|
|
|
|
gBattleAnimMove_Foresight::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 16, 0
|
|
createsprite gForesightMagnifyingGlassSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET
|
|
delay 17
|
|
loopsewithpan SE_M_SKETCH, SOUND_PAN_TARGET, 16, 4
|
|
delay 48
|
|
delay 24
|
|
playsewithpan SE_M_SKETCH, SOUND_PAN_TARGET
|
|
delay 10
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_TARGET, RGB_WHITE, 12, 2, 1
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_DestinyBond::
|
|
fadetobg BG_GHOST
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
waitbgfadein
|
|
createvisualtask AnimTask_DestinyBondWhiteShadow, 5, 0, 48
|
|
playsewithpan SE_M_CONFUSE_RAY, SOUND_PAN_ATTACKER
|
|
delay 48
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 2, 0, 24, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 2, 6, 1, 0, 12, RGB(29, 29, 29)
|
|
delay 24
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 2, 6, 1, 12, 0, RGB(29, 29, 29)
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
blendoff
|
|
clearmonbg 5
|
|
end
|
|
|
|
gBattleAnimMove_Endure::
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call EndureEffect
|
|
delay 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_RED
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call EndureEffect
|
|
delay 8
|
|
call EndureEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
EndureEffect:
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
|
|
gBattleAnimMove_Charm::
|
|
createvisualtask AnimTask_RockMonBackAndForth, 5, ANIM_ATTACKER, 2, 0
|
|
createsprite gMagentaHeartSpriteTemplate, ANIM_ATTACKER, 3, 0, 20
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
createsprite gMagentaHeartSpriteTemplate, ANIM_ATTACKER, 3, -20, 20
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
createsprite gMagentaHeartSpriteTemplate, ANIM_ATTACKER, 3, 20, 20
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Rollout::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_Rollout, 2, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, FALSE, 1, 30, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 4, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_FalseSwipe::
|
|
createsprite gFalseSwipeSliceSpriteTemplate, ANIM_TARGET, 2
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_TARGET
|
|
delay 16
|
|
createsprite gFalseSwipePositionedSliceSpriteTemplate, ANIM_TARGET, 2, 0
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFalseSwipePositionedSliceSpriteTemplate, ANIM_TARGET, 2, 16
|
|
delay 2
|
|
createsprite gFalseSwipePositionedSliceSpriteTemplate, ANIM_TARGET, 2, 32
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFalseSwipePositionedSliceSpriteTemplate, ANIM_TARGET, 2, 48
|
|
delay 2
|
|
createsprite gFalseSwipePositionedSliceSpriteTemplate, ANIM_TARGET, 2, 64
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gFalseSwipePositionedSliceSpriteTemplate, ANIM_TARGET, 2, 80
|
|
delay 2
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 6, 1
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=0, y=0, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_Swagger::
|
|
createvisualtask AnimTask_GrowAndShrink, 2
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gBreathPuffSpriteTemplate, ANIM_ATTACKER, 2
|
|
loopsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER, 4, 2
|
|
waitforvisualfinish
|
|
delay 24
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_TARGET, 2, 1, -20, -28
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_TARGET
|
|
delay 12
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_TARGET, 2, 1, 20, -28
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_MilkDrink::
|
|
monbg ANIM_TARGET
|
|
createsprite gMilkBottleSpriteTemplate, ANIM_ATTACKER, 2
|
|
delay 40
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 0
|
|
playsewithpan SE_M_MILK_DRINK, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
call HealingEffect2
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Magnitude::
|
|
createvisualtask AnimTask_IsPowerOver99, 2
|
|
waitforvisualfinish
|
|
jumpreteq FALSE, MagnitudeRegular
|
|
jumpreteq TRUE, MagnitudeIntense
|
|
MagnitudeEnd:
|
|
end
|
|
MagnitudeRegular:
|
|
createvisualtask AnimTask_HorizontalShake, 5, (MAX_BATTLERS_COUNT + 1), 0, 50
|
|
createvisualtask AnimTask_HorizontalShake, 5, MAX_BATTLERS_COUNT, 0, 50
|
|
loopsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET, 8, 10
|
|
goto MagnitudeEnd
|
|
MagnitudeIntense:
|
|
createvisualtask AnimTask_HorizontalShake, 5, (MAX_BATTLERS_COUNT + 1), 0, 50
|
|
createvisualtask AnimTask_HorizontalShake, 5, MAX_BATTLERS_COUNT, 0, 50
|
|
loopsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET, 8, 10
|
|
delay 10
|
|
complex_palette_blend selector=F_PAL_BG, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=14, color2=RGB_WHITE, blend_y2=14
|
|
delay 16
|
|
complex_palette_blend selector=F_PAL_BG, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=14, color2=RGB_WHITE, blend_y2=14
|
|
goto MagnitudeEnd
|
|
|
|
gBattleAnimMove_RapidSpin::
|
|
monbg ANIM_ATTACKER
|
|
createsprite gRapidSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 32, -32, 40, -2
|
|
createvisualtask AnimTask_RapinSpinMonElevation, 2, 0, 2, 0
|
|
loopsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER, 8, 4
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, FALSE, 1, 10, 1, 0
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
delay 8
|
|
createvisualtask AnimTask_RapinSpinMonElevation, 2, 0, 2, 1
|
|
loopsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER, 8, 4
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
gBattleAnimMove_Moonlight::
|
|
setalpha 0, 16
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=16, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gMoonSpriteTemplate, ANIM_ATTACKER, 2, 120, 56
|
|
createvisualtask AnimTask_AlphaFadeIn, 3, 0, 16, 16, 0, 1
|
|
playsewithpan SE_M_MOONLIGHT, 0
|
|
delay 30
|
|
createsprite gMoonlightSparkleSpriteTemplate, ANIM_ATTACKER, 40, -12, 0
|
|
delay 30
|
|
createsprite gMoonlightSparkleSpriteTemplate, ANIM_ATTACKER, 40, -24, 0
|
|
delay 30
|
|
createsprite gMoonlightSparkleSpriteTemplate, ANIM_ATTACKER, 40, 21, 0
|
|
delay 30
|
|
createsprite gMoonlightSparkleSpriteTemplate, ANIM_ATTACKER, 40, 0, 0
|
|
delay 30
|
|
createsprite gMoonlightSparkleSpriteTemplate, ANIM_ATTACKER, 40, 10, 0
|
|
delay 20
|
|
createvisualtask AnimTask_MoonlightEndFade, 2
|
|
waitforvisualfinish
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_ExtremeSpeed::
|
|
call SetHighSpeedBg
|
|
createvisualtask AnimTask_AttackerStretchAndDisappear, 2
|
|
loopsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER, 8, 3
|
|
waitforvisualfinish
|
|
delay 1
|
|
createvisualtask AnimTask_SetAttackerInvisibleWaitForSignal, 2
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
delay 18
|
|
createvisualtask AnimTask_ExtremeSpeedImpact, 2
|
|
delay 2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
create_mon_edge_hitsplat_sprite ANIM_TARGET, 2, relative_to=ANIM_TARGET, x=0, y=-12, animation=3
|
|
delay 10
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
create_mon_edge_hitsplat_sprite ANIM_TARGET, 2, relative_to=ANIM_TARGET, x=0, y=12, animation=3
|
|
delay 10
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
create_mon_edge_hitsplat_sprite ANIM_TARGET, 2, relative_to=ANIM_TARGET, x=0, y=0, animation=3
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_SpeedDust, 2
|
|
delay 10
|
|
createvisualtask AnimTask_ExtremeSpeedMonReappear, 2
|
|
loopsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER, 8, 4
|
|
waitforvisualfinish
|
|
call UnsetHighSpeedBg
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
delay 1
|
|
setarg 7, 4096
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_Uproar::
|
|
monbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
playsewithpan SE_M_UPROAR, SOUND_PAN_ATTACKER
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 29, -12, 0
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -12, -29, 1
|
|
delay 16
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
playsewithpan SE_M_UPROAR, SOUND_PAN_ATTACKER
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 12, -29, 1
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -29, -12, 0
|
|
delay 16
|
|
createvisualtask AnimTask_UproarDistortion, 2, 0
|
|
createsprite gUproarRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0, RGB_RED, 8
|
|
playsewithpan SE_M_UPROAR, SOUND_PAN_ATTACKER
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, 24, -24, 1
|
|
createsprite gJaggedMusicNoteSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, -24, 0
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_HeatWave::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_FLYING_DIRT, 0, 6, 6, RGB_RED
|
|
createvisualtask AnimTask_LoadSandstormBackground, 5, TRUE
|
|
createvisualtask AnimTask_BlendBackground, 6, 6, RGB_RED
|
|
panse SE_M_HEAT_WAVE, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
delay 4
|
|
createvisualtask AnimTask_MoveHeatWaveTargets, 5
|
|
delay 12
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 10, 2304, 96, 1
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 90, 2048, 96, 1
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 50, 2560, 96, 1
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 20, 2304, 96, 1
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 70, 1984, 96, 1
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 0, 2816, 96, 1
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 60, 2560, 96, 1
|
|
end
|
|
|
|
@ Also used by Hail weather
|
|
gBattleAnimMove_Hail::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 0, 6, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_Hail, 5
|
|
loopsewithpan SE_M_HAIL, 0, 8, 10
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 6, 0, RGB_BLACK
|
|
end
|
|
|
|
gBattleAnimMove_Torment::
|
|
createvisualtask AnimTask_TormentAttacker, 2
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendMonInAndOut, 2, ANIM_TARGET, RGB_RED, 10, 1, 1
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_TARGET, 2, 1, -20, -28
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_TARGET
|
|
delay 20
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_TARGET, 2, 1, 20, -28
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_Memento::
|
|
setalpha 0, 16
|
|
delay 1
|
|
createvisualtask AnimTask_InitMementoShadow, 2
|
|
delay 1
|
|
createvisualtask AnimTask_MoveAttackerMementoShadow, 5
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
delay 48
|
|
playsewithpan SE_M_PSYBEAM2, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_MementoHandleBg, 2
|
|
delay 12
|
|
setalpha 0, 16
|
|
delay 1
|
|
monbg_static ANIM_TARGET
|
|
createvisualtask AnimTask_MoveTargetMementoShadow, 5
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg_static ANIM_TARGET
|
|
delay 1
|
|
blendoff
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_Facade::
|
|
createvisualtask AnimTask_SquishAndSweatDroplets, 2, ANIM_ATTACKER, 3
|
|
createvisualtask AnimTask_FacadeColorBlend, 2, ANIM_ATTACKER, 72
|
|
loopsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER, 24, 3
|
|
end
|
|
|
|
gBattleAnimMove_SmellingSalts::
|
|
createsprite gSmellingSaltsHandSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 2
|
|
createsprite gSmellingSaltsHandSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 1, 2
|
|
delay 32
|
|
createvisualtask AnimTask_SmellingSaltsSquish, 3, ANIM_TARGET, 2
|
|
loopsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET, 12, 2
|
|
waitforvisualfinish
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 6, 2
|
|
createsprite gSmellingSaltExclamationSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 8, 3
|
|
loopsewithpan SE_M_SWAGGER2, SOUND_PAN_TARGET, 16, 3
|
|
end
|
|
|
|
gBattleAnimMove_FollowMe::
|
|
createsprite gFollowMeFingerSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
playsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
delay 18
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
delay 71
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER, 22, 3
|
|
end
|
|
|
|
gBattleAnimMove_Charge::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=4, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 60, 2, 12
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite gGrowingChargeOrbSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
delay 25
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 10
|
|
delay 6
|
|
loopsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER, 6, 5
|
|
waitforvisualfinish
|
|
createsprite gElectricPuffSpriteTemplate, ANIM_ATTACKER, 2, 0, 16, 16
|
|
delay 2
|
|
createsprite gElectricPuffSpriteTemplate, ANIM_ATTACKER, 2, 0, -16, -16
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=4, initial_blend_y=4, target_blend_y=0, color=RGB_BLACK
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Taunt::
|
|
createsprite gThoughtBubbleSpriteTemplate, ANIM_ATTACKER, 11, 0, 45
|
|
playsewithpan SE_M_METRONOME, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
createsprite gTauntFingerSpriteTemplate, ANIM_ATTACKER, 12, 0
|
|
delay 4
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER, 16, 2
|
|
waitforvisualfinish
|
|
delay 8
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_TARGET, 2, 1, -20, -28
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
delay 12
|
|
createsprite gAngerMarkSpriteTemplate, ANIM_TARGET, 2, 1, 20, -28
|
|
playsewithpan SE_M_SWAGGER2, SOUND_PAN_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_HelpingHand::
|
|
createvisualtask AnimTask_HelpingHandAttackerMovement, 5
|
|
createsprite gHelpingHandClapSpriteTemplate, ANIM_ATTACKER, 40, 0
|
|
createsprite gHelpingHandClapSpriteTemplate, ANIM_ATTACKER, 40, 1
|
|
delay 19
|
|
playsewithpan SE_M_ENCORE, 0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATK_PARTNER, 2, 0, 5, 1
|
|
delay 14
|
|
playsewithpan SE_M_ENCORE, 0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATK_PARTNER, 2, 0, 5, 1
|
|
delay 20
|
|
playsewithpan SE_M_ENCORE, 0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATK_PARTNER, 3, 0, 10, 1
|
|
createvisualtask AnimTask_BlendMonInAndOut, 2, ANIM_ATK_PARTNER, RGB_YELLOW, 12, 1, 1
|
|
end
|
|
|
|
gBattleAnimMove_Assist::
|
|
createsprite gAssistPawprintSpriteTemplate, ANIM_ATTACKER, 50, 112, -16, 140, 128, 36
|
|
delay 2
|
|
createsprite gAssistPawprintSpriteTemplate, ANIM_ATTACKER, 50, 208, 128, -16, 48, 36
|
|
playsewithpan SE_M_SCRATCH, 0
|
|
delay 2
|
|
createsprite gAssistPawprintSpriteTemplate, ANIM_ATTACKER, 50, -16, 112, 256, -16, 36
|
|
playsewithpan SE_M_SCRATCH, 0
|
|
delay 2
|
|
createsprite gAssistPawprintSpriteTemplate, ANIM_ATTACKER, 50, 108, 128, 84, -16, 36
|
|
playsewithpan SE_M_SCRATCH, 0
|
|
delay 2
|
|
createsprite gAssistPawprintSpriteTemplate, ANIM_ATTACKER, 50, -16, 56, 256, 56, 36
|
|
playsewithpan SE_M_SCRATCH, 0
|
|
end
|
|
|
|
gBattleAnimMove_Superpower::
|
|
monbg ANIM_ATK_PARTNER
|
|
splitbgprio ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
createsprite gSuperpowerOrbSpriteTemplate, ANIM_TARGET, 2, ANIM_ATTACKER
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
shake_mon_or_platform velocity=4, shake_timer=1, shake_duration=180, type=SHAKE_BG_Y
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_EARTHQUAKE, 0
|
|
delay 40
|
|
createsprite gSuperpowerRockSpriteTemplate, ANIM_ATTACKER, 41, 200, 96, 1, 120
|
|
delay 8
|
|
createsprite gSuperpowerRockSpriteTemplate, ANIM_ATTACKER, 41, 20, 248, 4, 112
|
|
delay 8
|
|
createsprite gSuperpowerRockSpriteTemplate, ANIM_ATTACKER, 41, 130, 160, 2, 104
|
|
delay 8
|
|
createsprite gSuperpowerRockSpriteTemplate, ANIM_ATTACKER, 41, 160, 192, 0, 96
|
|
delay 8
|
|
createsprite gSuperpowerRockSpriteTemplate, ANIM_ATTACKER, 41, 60, 288, 3, 88
|
|
delay 74
|
|
createsprite gSuperpowerFireballSpriteTemplate, ANIM_TARGET, 3, ANIM_ATTACKER
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
delay 16
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 8, 0, 16, 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_Recycle::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 0, 16
|
|
delay 1
|
|
createsprite gRecycleSpriteTemplate, ANIM_ATTACKER, 2
|
|
loopsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER, 24, 3
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB_WHITE, 12, 2, 1
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_BrickBreak::
|
|
choosetwoturnanim BrickBreakNormal, BrickBreakShatteredWall
|
|
BrickBreakNormal:
|
|
call BrickBreakCommon1
|
|
call BrickBreakCommon2
|
|
BrickBreakEnd:
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=6, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
BrickBreakShatteredWall:
|
|
call BrickBreakCommon1
|
|
createsprite gBrickBreakWallSpriteTemplate, ANIM_ATTACKER, 3, ANIM_TARGET, 0, 0, 90, 10
|
|
call BrickBreakCommon2
|
|
call BreakScreens
|
|
waitforvisualfinish
|
|
goto BrickBreakEnd
|
|
|
|
BrickBreakCommon1:
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 3, 8
|
|
delay 4
|
|
return
|
|
|
|
BreakScreens:
|
|
createsprite gBrickBreakWallShardSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, -8, -12
|
|
createsprite gBrickBreakWallShardSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 1, 8, -12
|
|
createsprite gBrickBreakWallShardSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 2, -8, 12
|
|
createsprite gBrickBreakWallShardSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 3, 8, 12
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_TARGET
|
|
return
|
|
|
|
BrickBreakCommon2:
|
|
delay 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=-18, y=-18, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_TARGET
|
|
delay 20
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 3, 8
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=18, y=18, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_TARGET
|
|
delay 20
|
|
createvisualtask AnimTask_WindUpLunge, 2, ANIM_ATTACKER, -24, 0, 24, 10, 24, 3
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=6, color=RGB_BLACK
|
|
delay 37
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 10, 1, 0
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
return
|
|
|
|
gBattleAnimMove_Yawn::
|
|
createvisualtask AnimTask_DeepInhale, 2, ANIM_ATTACKER
|
|
playsewithpan SE_M_YAWN, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gYawnCloudSpriteTemplate, ANIM_TARGET, 5, 2
|
|
playsewithpan SE_M_SPIT_UP, SOUND_PAN_ATTACKER
|
|
delay 4
|
|
createsprite gYawnCloudSpriteTemplate, ANIM_TARGET, 5, 1
|
|
delay 4
|
|
createsprite gYawnCloudSpriteTemplate, ANIM_TARGET, 5, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_DeepInhale, 2, ANIM_TARGET
|
|
playsewithpan SE_M_YAWN, SOUND_PAN_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_Endeavor::
|
|
createvisualtask AnimTask_SquishAndSweatDroplets, 2, ANIM_ATTACKER, 2
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER, 24, 2
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB(31, 21, 0), 12, 1, 2
|
|
delay 6
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 5, FALSE, 1, 8, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=12, y=-12, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
delay 24
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 5, FALSE, 1, 8, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-12, y=12, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_Eruption::
|
|
simple_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=2, initial_blend_y=0, target_blend_y=4, color=RGB_RED
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_EruptionLaunchRocks, 2
|
|
waitplaysewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER, 60
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_EruptionLaunchRocks, 2
|
|
waitplaysewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER, 60
|
|
waitforvisualfinish
|
|
delay 30
|
|
createsprite gEruptionFallingRockSpriteTemplate, ANIM_ATTACKER, 40, 200, -32, 0, 100, 0
|
|
createsprite gEruptionFallingRockSpriteTemplate, ANIM_ATTACKER, 40, 30, -32, 16, 90, 1
|
|
createsprite gEruptionFallingRockSpriteTemplate, ANIM_ATTACKER, 40, 150, -32, 32, 60, 2
|
|
createsprite gEruptionFallingRockSpriteTemplate, ANIM_ATTACKER, 40, 90, -32, 48, 80, 3
|
|
createsprite gEruptionFallingRockSpriteTemplate, ANIM_ATTACKER, 40, 110, -32, 64, 50, 0
|
|
createsprite gEruptionFallingRockSpriteTemplate, ANIM_ATTACKER, 40, 60, -32, 80, 70, 1
|
|
delay 22
|
|
createvisualtask AnimTask_HorizontalShake, 5, (MAX_BATTLERS_COUNT + 1), 8, 60
|
|
createvisualtask AnimTask_HorizontalShake, 5, MAX_BATTLERS_COUNT, 8, 60
|
|
loopsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET, 16, 12
|
|
delay 80
|
|
simple_palette_blend unused_subpriority_offset=40, selector=F_PAL_BG | F_PAL_BATTLERS, delay=4, initial_blend_y=4, target_blend_y=0, color=RGB_RED
|
|
end
|
|
|
|
gBattleAnimMove_SkillSwap::
|
|
call SetPsychicBackground
|
|
createvisualtask AnimTask_SkillSwap, 3, ANIM_TARGET
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_TARGET, RGB_WHITE, 12, 3, 1
|
|
loopsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER, 24, 3
|
|
delay 16
|
|
createvisualtask AnimTask_SkillSwap, 3, ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB_WHITE, 12, 3, 1
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_Imprison::
|
|
call SetPsychicBackground
|
|
monbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_ImprisonOrbs, 5
|
|
delay 8
|
|
loopsewithpan SE_M_HORN_ATTACK, SOUND_PAN_ATTACKER, 8, 5
|
|
waitforvisualfinish
|
|
delay 4
|
|
createsprite gRedXSpriteTemplate, ANIM_ATTACKER, 5, ANIM_ATTACKER, 40
|
|
createvisualtask AnimTask_HorizontalShake, 5, MAX_BATTLERS_COUNT, 1, 10
|
|
playsewithpan SE_M_HYPER_BEAM, SOUND_PAN_ATTACKER
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_Grudge::
|
|
monbg ANIM_ATTACKER
|
|
splitbgprio_all
|
|
fadetobg BG_GHOST
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
waitbgfadein
|
|
createvisualtask AnimTask_GrudgeFlames, 3
|
|
loopsewithpan SE_M_EMBER, SOUND_PAN_ATTACKER, 16, 4
|
|
delay 10
|
|
delay 80
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
gBattleAnimMove_Camouflage::
|
|
monbg ANIM_ATK_PARTNER
|
|
splitbgprio ANIM_ATTACKER
|
|
setalpha 16, 0
|
|
createvisualtask AnimTask_SetCamouflageBlend, 5, F_PAL_ATTACKER, 3, 0, 14
|
|
delay 16
|
|
attacker_fade_to_invisible step_delay=4
|
|
playsewithpan SE_M_FAINT_ATTACK, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 8
|
|
createvisualtask AnimTask_SetCamouflageBlend, 5, F_PAL_ATTACKER, 0, 0, 0
|
|
waitforvisualfinish
|
|
attacker_fade_from_invisible step_delay=1
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_TailGlow::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=4, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
create_tail_glow_orb_sprite ANIM_ATTACKER, 66, relative_to=ANIM_ATTACKER
|
|
delay 18
|
|
loopsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER, 16, 6
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=4, initial_blend_y=4, target_blend_y=0, color=RGB_BLACK
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
delay 1
|
|
end
|
|
|
|
gBattleAnimMove_LusterPurge::
|
|
fadetobg BG_PSYCHIC
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_FadeScreenToWhite, 5
|
|
waitbgfadein
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER
|
|
createsprite gLusterPurgeCircleSpriteTemplate, ANIM_ATTACKER, 41, 0, 0, 0, 0
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 0, 16, RGB_WHITEALPHA
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_WHITE_CIRCLE_OF_LIGHT, 2, 0, 16, RGB_WHITEALPHA
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_IMPACT, 0, 12, 12, RGB(0, 0, 23)
|
|
waitforvisualfinish
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_HYPER_BEAM, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_HYPER_BEAM, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_HYPER_BEAM, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_HYPER_BEAM, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_HYPER_BEAM, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_HYPER_BEAM, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 16, 0, RGB_WHITEALPHA
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 5, 14
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_MistBall::
|
|
delay 0
|
|
playsewithpan SE_M_STRING_SHOT, SOUND_PAN_ATTACKER
|
|
createsprite gMistBallSpriteTemplate, ANIM_TARGET, 0, 0, 0, 0, 0, 30, 0
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SAND_ATTACK, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 10, 0
|
|
complex_palette_blend unused_subpriority_offset=0, selector=F_PAL_BG, delay=1, num_blends=1, color1=RGB(23, 16, 31), blend_y1=16, color2=RGB_WHITE, blend_y2=16
|
|
delay 0
|
|
playsewithpan SE_M_HAZE, 0
|
|
createvisualtask AnimTask_MistBallFog, 5
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 3, 0, 16, RGB_WHITE
|
|
delay 8
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 4, 0, 70, 0
|
|
delay 70
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 16, 0, RGB_WHITE
|
|
end
|
|
|
|
gBattleAnimMove_FeatherDance::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_all
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gFallingFeatherSpriteTemplate, ANIM_TARGET, 0, 0, -16, 64, 2, 104, 11304, 32, 1
|
|
delay 6
|
|
createsprite gFallingFeatherSpriteTemplate, ANIM_TARGET, 0, 0, -16, 32, 2, 104, 11304, 32, 1
|
|
createsprite gFallingFeatherSpriteTemplate, ANIM_TARGET, 0, 0, -16, 0, 2, 104, 11304, 32, 1
|
|
delay 6
|
|
createsprite gFallingFeatherSpriteTemplate, ANIM_TARGET, 0, 0, -16, 224, 2, 104, 11304, 32, 1
|
|
createsprite gFallingFeatherSpriteTemplate, ANIM_TARGET, 0, 0, -16, 128, 2, 104, 11304, 32, 1
|
|
delay 6
|
|
createsprite gFallingFeatherSpriteTemplate, ANIM_TARGET, 0, 0, -16, 192, 2, 104, 11304, 32, 1
|
|
createsprite gFallingFeatherSpriteTemplate, ANIM_TARGET, 0, 0, -16, 160, 2, 104, 11304, 32, 1
|
|
delay 6
|
|
createsprite gFallingFeatherSpriteTemplate, ANIM_TARGET, 0, 0, -16, 96, 2, 104, 11304, 32, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_TeeterDance::
|
|
createvisualtask AnimTask_TeeterDanceMovement, 5
|
|
createsprite gFastFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 0, 16, -2
|
|
playsewithpan SE_M_TEETER_DANCE, SOUND_PAN_ATTACKER
|
|
delay 24
|
|
createsprite gFastFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, -2
|
|
playsewithpan SE_M_TEETER_DANCE, SOUND_PAN_ATTACKER
|
|
delay 24
|
|
createsprite gFastFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 0, -16, -2
|
|
playsewithpan SE_M_TEETER_DANCE, SOUND_PAN_ATTACKER
|
|
delay 24
|
|
createsprite gFastFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 1, -8, -2
|
|
playsewithpan SE_M_TEETER_DANCE, SOUND_PAN_ATTACKER
|
|
delay 24
|
|
createsprite gFastFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 2, 8, -2
|
|
playsewithpan SE_M_TEETER_DANCE, SOUND_PAN_ATTACKER
|
|
end
|
|
|
|
gBattleAnimMove_MudSport::
|
|
createvisualtask AnimTask_Splash, 2, ANIM_ATTACKER, 6
|
|
delay 24
|
|
createsprite gMudsportMudSpriteTemplate, ANIM_TARGET, 2, 0, -4, -16
|
|
createsprite gMudsportMudSpriteTemplate, ANIM_TARGET, 2, 0, 4, -12
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 32
|
|
createsprite gMudsportMudSpriteTemplate, ANIM_TARGET, 2, 0, -3, -12
|
|
createsprite gMudsportMudSpriteTemplate, ANIM_TARGET, 2, 0, 5, -14
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 32
|
|
createsprite gMudsportMudSpriteTemplate, ANIM_TARGET, 2, 0, -5, -18
|
|
createsprite gMudsportMudSpriteTemplate, ANIM_TARGET, 2, 0, 3, -14
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 16
|
|
createsprite gMudsportMudSpriteTemplate, ANIM_TARGET, 2, 1, 220, 60
|
|
waitplaysewithpan SE_M_BUBBLE2, 0, 15
|
|
delay 2
|
|
createsprite gMudsportMudSpriteTemplate, ANIM_TARGET, 2, 1, 60, 100
|
|
waitplaysewithpan SE_M_BUBBLE2, 0, 25
|
|
delay 2
|
|
createsprite gMudsportMudSpriteTemplate, ANIM_TARGET, 2, 1, 140, 55
|
|
waitplaysewithpan SE_M_BUBBLE2, 0, 14
|
|
delay 2
|
|
createsprite gMudsportMudSpriteTemplate, ANIM_TARGET, 2, 1, 180, 50
|
|
waitplaysewithpan SE_M_BUBBLE2, 0, 10
|
|
delay 2
|
|
createsprite gMudsportMudSpriteTemplate, ANIM_TARGET, 2, 1, 20, 90
|
|
waitplaysewithpan SE_M_BUBBLE2, 0, 22
|
|
delay 2
|
|
createsprite gMudsportMudSpriteTemplate, ANIM_TARGET, 2, 1, 90, 90
|
|
waitplaysewithpan SE_M_BUBBLE2, 0, 22
|
|
delay 2
|
|
createsprite gMudsportMudSpriteTemplate, ANIM_TARGET, 2, 1, 160, 60
|
|
waitplaysewithpan SE_M_BUBBLE2, 0, 15
|
|
delay 2
|
|
createsprite gMudsportMudSpriteTemplate, ANIM_TARGET, 2, 1, 30, 90
|
|
waitplaysewithpan SE_M_BUBBLE2, 0, 22
|
|
delay 2
|
|
createsprite gMudsportMudSpriteTemplate, ANIM_TARGET, 2, 1, 120, 60
|
|
waitplaysewithpan SE_M_BUBBLE2, 0, 15
|
|
delay 2
|
|
createsprite gMudsportMudSpriteTemplate, ANIM_TARGET, 2, 1, 200, 40
|
|
waitplaysewithpan SE_M_BUBBLE2, 0, 10
|
|
end
|
|
|
|
gBattleAnimMove_NeedleArm::
|
|
loopsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET, 2, 16
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 0, 0, -32, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 0, 22, -22, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 0, 30, 0, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 0, 20, 20, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 0, 0, 28, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 0, -19, 19, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 0, -27, 0, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 0, -18, -18, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 0, 0, -25, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 0, 17, -17, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 0, 23, 0, 16
|
|
delay 2
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 0, 16, 16, 16
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 18, 1
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 4, 0, 0, 8, 1, 0
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 1, 0, -24, 10
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 1, 17, -17, 10
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 1, 24, 0, 10
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 1, 17, 17, 10
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 1, 0, 24, 10
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 1, -17, 17, 10
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 1, -24, 0, 10
|
|
createsprite gNeedleArmSpikeSpriteTemplate, ANIM_TARGET, 2, 1, 1, -17, -17, 10
|
|
end
|
|
|
|
gBattleAnimMove_SlackOff::
|
|
createvisualtask AnimTask_SlackOffSquish, 2, ANIM_ATTACKER
|
|
playsewithpan SE_M_YAWN, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_CrushClaw::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 6, 4
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 18, 1
|
|
call CreateClawSlashes1
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
delay 12
|
|
call CreateClawSlashes2
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
CreateClawSlashes1:
|
|
create_claw_slash_sprite ANIM_TARGET, 2, x=-10, y=-10, animation=0
|
|
create_claw_slash_sprite ANIM_TARGET, 2, x=-10, y=10, animation=0
|
|
return
|
|
|
|
CreateClawSlashes2:
|
|
create_claw_slash_sprite ANIM_TARGET, 2, x=10, y=-10, animation=1
|
|
create_claw_slash_sprite ANIM_TARGET, 2, x=10, y=10, animation=1
|
|
return
|
|
|
|
gBattleAnimMove_Aromatherapy::
|
|
playsewithpan SE_M_PETAL_DANCE, 0
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_BG, delay=0, initial_blend_y=0, target_blend_y=7, color=RGB(13, 31, 12)
|
|
delay 1
|
|
monbg ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gAromatherapySmallFlowerSpriteTemplate, ANIM_ATTACKER, 0, 24, 16, 0, 2, 2, 0, 0
|
|
createsprite gAromatherapySmallFlowerSpriteTemplate, ANIM_ATTACKER, 66, 64, 24, 0, 3, 1, 1, 0
|
|
createsprite gAromatherapyBigFlowerSpriteTemplate, ANIM_ATTACKER, 0, 16, 24, 0, 2, 1, 0, 0
|
|
delay 20
|
|
createsprite gAromatherapySmallFlowerSpriteTemplate, ANIM_ATTACKER, 66, 48, 12, 0, 4, 3, 1, 0
|
|
createsprite gAromatherapySmallFlowerSpriteTemplate, ANIM_ATTACKER, 0, 100, 16, 0, 3, 2, 0, 0
|
|
createsprite gAromatherapySmallFlowerSpriteTemplate, ANIM_ATTACKER, 0, 74, 24, 180, 3, 2, 0, 0
|
|
delay 10
|
|
createsprite gAromatherapySmallFlowerSpriteTemplate, ANIM_ATTACKER, 66, 80, 30, 0, 4, 1, 1, 0
|
|
createsprite gAromatherapySmallFlowerSpriteTemplate, ANIM_ATTACKER, 0, 128, 12, 0, 3, 3, 0, 0
|
|
createsprite gAromatherapyBigFlowerSpriteTemplate, ANIM_ATTACKER, 0, 90, 16, 0, 2, 1, 0, 0
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 1
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_BG, delay=0, initial_blend_y=7, target_blend_y=0, color=RGB(13, 31, 12)
|
|
delay 1
|
|
playsewithpan SE_M_STAT_INCREASE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_StatusClearedEffect, 2, 1
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
createsprite gSparklingStarsSpriteTemplate, ANIM_ATTACKER, 16, -15, 0, 0, 0, 32, 60, 1
|
|
delay 8
|
|
createsprite gSparklingStarsSpriteTemplate, ANIM_ATTACKER, 16, 12, -5, 0, 0, 32, 60, 1
|
|
waitforvisualfinish
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
simple_palette_blend unused_subpriority_offset=0, selector=(F_PAL_BG | F_PAL_ATK_SIDE | F_PAL_ANIM_1), delay=3, initial_blend_y=10, target_blend_y=0, color=RGB(13, 31, 12)
|
|
createsprite gBlendThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 16, 0, 0, 0, 1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_FakeTears::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SMALL_BUBBLES, 0, 4, 4, RGB(12, 11, 31)
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RockMonBackAndForth, 5, ANIM_ATTACKER, 2, 1
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER, 12, 4
|
|
delay 8
|
|
create_tear_drop_sprite ANIM_ATTACKER, 2, relative_to=ANIM_ATTACKER, type=0
|
|
create_tear_drop_sprite ANIM_ATTACKER, 2, relative_to=ANIM_ATTACKER, type=1
|
|
delay 8
|
|
create_tear_drop_sprite ANIM_ATTACKER, 2, relative_to=ANIM_ATTACKER, type=2
|
|
create_tear_drop_sprite ANIM_ATTACKER, 2, relative_to=ANIM_ATTACKER, type=3
|
|
delay 8
|
|
create_tear_drop_sprite ANIM_ATTACKER, 2, relative_to=ANIM_ATTACKER, type=0
|
|
create_tear_drop_sprite ANIM_ATTACKER, 2, relative_to=ANIM_ATTACKER, type=1
|
|
delay 8
|
|
create_tear_drop_sprite ANIM_ATTACKER, 2, relative_to=ANIM_ATTACKER, type=2
|
|
create_tear_drop_sprite ANIM_ATTACKER, 2, relative_to=ANIM_ATTACKER, type=3
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_AirCutter::
|
|
delay 0
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
delay 0
|
|
createvisualtask AnimTask_AirCutterProjectile, 2, 32, -24, 6 * 256, 2, 128 @ 6 * 256 == Q_8_8(6)
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
createsprite gAirCutterSliceSpriteTemplate, ANIM_ATTACKER, 2, 40, -32, 0, 2
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 8, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 2, 0, 8, 1
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
delay 0
|
|
end
|
|
|
|
gBattleAnimMove_OdorSleuth::
|
|
monbg ANIM_TARGET
|
|
createvisualtask AnimTask_OdorSleuthMovement, 5
|
|
delay 24
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 3, 4
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 3, 4
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
delay 1
|
|
complex_palette_blend selector=F_PAL_BG, delay=3, num_blends=1, color1=RGB_WHITEALPHA, blend_y1=16, color2=RGB_WHITEALPHA, blend_y2=0
|
|
playsewithpan SE_M_LEER, SOUND_PAN_ATTACKER
|
|
end
|
|
|
|
gBattleAnimMove_GrassWhistle::
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=4, color=RGB(18, 31, 12)
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_MusicNotesRainbowBlend, 2
|
|
waitforvisualfinish
|
|
panse SE_M_GRASSWHISTLE, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 7, 1, 0
|
|
delay 5
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 6, 1, 0
|
|
delay 5
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 1, 1, 0
|
|
delay 5
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 2, 1, 0
|
|
delay 5
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 3, 1, 0
|
|
delay 4
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 2, 1, 0
|
|
delay 4
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 5, 1, 0
|
|
delay 4
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 6, 1, 0
|
|
delay 4
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 2, 1, 0
|
|
delay 4
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 2, 1, 0
|
|
delay 4
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 1, 1, 0
|
|
delay 4
|
|
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 5, 1, 0
|
|
delay 4
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_MusicNotesClearRainbowBlend, 2
|
|
simple_palette_blend selector=F_PAL_BG, delay=4, initial_blend_y=4, target_blend_y=0, color=RGB(18, 31, 12)
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Tickle::
|
|
simple_palette_blend selector=F_PAL_ATTACKER, delay=0, initial_blend_y=0, target_blend_y=16, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gEyeSparkleSpriteTemplate, ANIM_ATTACKER, 0, -16, -8
|
|
createsprite gEyeSparkleSpriteTemplate, ANIM_ATTACKER, 0, 16, -8
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_ATTACKER, delay=0, initial_blend_y=16, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
delay 20
|
|
createvisualtask AnimTask_SwayMon, 3, 0, 6, 1280, 3, ANIM_ATTACKER
|
|
delay 12
|
|
createvisualtask AnimTask_RockMonBackAndForth, 3, ANIM_TARGET, 6, 2
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_TARGET, 8, 8
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_WaterSpout::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_WaterSpoutLaunch, 5
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
delay 44
|
|
playsewithpan SE_M_DIVE, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 16
|
|
createvisualtask AnimTask_WaterSpoutRain, 5
|
|
playsewithpan SE_M_SURF, SOUND_PAN_TARGET
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_ShadowPunch::
|
|
fadetobg BG_GHOST
|
|
waitbgfadein
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 9, 8
|
|
createvisualtask AnimTask_AttackerPunchWithTrace, 2, RGB_BLACK, 13
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 4, 0, 0, 8, 1, 0
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_Extrasensory::
|
|
call SetPsychicBackground
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB(27, 27, 0), 12, 1, 1
|
|
createvisualtask AnimTask_ExtrasensoryDistortion, 5, 0
|
|
playsewithpan SE_M_BIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB(27, 27, 0), 12, 1, 1
|
|
createvisualtask AnimTask_ExtrasensoryDistortion, 5, 1
|
|
playsewithpan SE_M_BIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_TransparentCloneGrowAndShrink, 5, ANIM_ATTACKER
|
|
createvisualtask AnimTask_ExtrasensoryDistortion, 5, 2
|
|
playsewithpan SE_M_LEER, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_AerialAce::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 24, 6, 1, 5
|
|
createvisualtask AnimTask_TraceMonBlended, 2, 0, 4, 7, 3
|
|
createsprite gCuttingSliceSpriteTemplate, ANIM_ATTACKER, 2, 40, -32, 0
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 10, 1
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_IronDefense::
|
|
loopsewithpan SE_SHINY, SOUND_PAN_ATTACKER, 28, 2
|
|
metallic_shine permanent=0
|
|
complex_palette_blend selector=F_PAL_BG, delay=8, num_blends=2, color1=RGB_WHITEALPHA, blend_y1=14, color2=RGB_WHITEALPHA, blend_y2=0
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Block::
|
|
createsprite gBlockXSpriteTemplate, ANIM_TARGET, 66
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
end
|
|
|
|
gBattleAnimMove_Howl::
|
|
createvisualtask AnimTask_DeepInhale, 2, ANIM_ATTACKER
|
|
delay 12
|
|
call RoarEffect
|
|
createvisualtask SoundTask_PlayCryHighPitch, 2, ANIM_ATTACKER, 3
|
|
waitforvisualfinish
|
|
delay 30
|
|
end
|
|
|
|
gBattleAnimMove_BulkUp::
|
|
createvisualtask AnimTask_GrowAndShrink, 2
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gBreathPuffSpriteTemplate, ANIM_ATTACKER, 2
|
|
loopsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER, 4, 2
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Covet::
|
|
createvisualtask AnimTask_RockMonBackAndForth, 5, ANIM_ATTACKER, 2, 0
|
|
createsprite gMagentaHeartSpriteTemplate, ANIM_ATTACKER, 3, 0, 20
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
createsprite gMagentaHeartSpriteTemplate, ANIM_ATTACKER, 3, -20, 20
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
createsprite gMagentaHeartSpriteTemplate, ANIM_ATTACKER, 3, 20, 20
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 8, 1
|
|
loopsewithpan SE_M_DIZZY_PUNCH, SOUND_PAN_TARGET, 4, 3
|
|
end
|
|
|
|
gBattleAnimMove_VoltTackle::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 8, RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gVoltTackleOrbSlideSpriteTemplate, ANIM_ATTACKER, 1
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
delay 8
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 0
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 1
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 2
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 3
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 4
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_ATTACKER
|
|
delay 8
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 10, 0, 18, 1
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gElectricPuffSpriteTemplate, ANIM_ATTACKER, 2, 1, 16, 16
|
|
delay 2
|
|
createsprite gElectricPuffSpriteTemplate, ANIM_ATTACKER, 2, 1, -16, -16
|
|
delay 8
|
|
createvisualtask AnimTask_VoltTackleAttackerReappear, 5
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 3, 0, 9, 1
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gElectricPuffSpriteTemplate, ANIM_ATTACKER, 2, 0, 16, 16
|
|
delay 2
|
|
createsprite gElectricPuffSpriteTemplate, ANIM_ATTACKER, 2, 0, -16, -16
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 8, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_WaterSport::
|
|
createvisualtask AnimTask_WaterSport, 5
|
|
delay 8
|
|
playsewithpan SE_M_SURF, SOUND_PAN_ATTACKER
|
|
delay 44
|
|
playsewithpan SE_M_SURF, SOUND_PAN_ATTACKER
|
|
delay 44
|
|
playsewithpan SE_M_SURF, SOUND_PAN_ATTACKER
|
|
delay 44
|
|
panse SE_M_SURF, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
end
|
|
|
|
gBattleAnimMove_CalmMind::
|
|
monbg ANIM_ATK_PARTNER
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, ANIM_ATTACKER, 0, 0, 16, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_SetAllNonAttackersInvisiblity, 5, TRUE
|
|
waitforvisualfinish
|
|
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_ATTACKER
|
|
delay 14
|
|
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_ATTACKER
|
|
delay 14
|
|
createsprite gThinRingShrinkingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_SetAllNonAttackersInvisiblity, 5, FALSE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, ANIM_ATTACKER, 0, 16, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_LeafBlade::
|
|
create_leaf_blade_task
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 8, 1
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 50
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 8, 1
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
delay 50
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 8, 1
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
delay 12
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 8, 0, 18, 1
|
|
create_cross_impact_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=1, duration=36
|
|
playsewithpan SE_M_LEER, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_DragonDance::
|
|
monbg ANIM_ATTACKER
|
|
splitbgprio ANIM_ATTACKER
|
|
delay 1
|
|
createvisualtask AnimTask_DragonDanceWaver, 5
|
|
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
|
delay 8
|
|
createvisualtask AnimTask_BlendPalInAndOutByTag, 5, ANIM_TAG_HOLLOW_ORB, RGB(0, 0, 19), 14, 0, 3
|
|
call CreateDragonDanceOrbs
|
|
delay 30
|
|
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 1
|
|
end
|
|
|
|
CreateDragonDanceOrbs:
|
|
create_dragon_dance_orb_sprite ANIM_ATTACKER, 2, angle=0/256
|
|
create_dragon_dance_orb_sprite ANIM_ATTACKER, 2, angle=43/256
|
|
create_dragon_dance_orb_sprite ANIM_ATTACKER, 2, angle=85/256
|
|
create_dragon_dance_orb_sprite ANIM_ATTACKER, 2, angle=128/256
|
|
create_dragon_dance_orb_sprite ANIM_ATTACKER, 2, angle=170/256
|
|
create_dragon_dance_orb_sprite ANIM_ATTACKER, 2, angle=213/256
|
|
return
|
|
|
|
gBattleAnimMove_ShockWave::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=4, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 20, 0, 2
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
createsprite gGrowingShockWaveOrbSpriteTemplate, ANIM_ATTACKER, 2
|
|
delay 30
|
|
createvisualtask AnimTask_ShockWaveProgressingBolt, 5, ANIM_TARGET
|
|
delay 12
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShockWaveLightning, 5, ANIM_TARGET
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 6, 18, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 5, F_PAL_BG, 3, 16, 0, RGB_WHITE
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 5, F_PAL_TARGET, 0, 16, 16, RGB_BLACK
|
|
delay 4
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 5, F_PAL_TARGET, 0, 0, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Harden::
|
|
loopsewithpan SE_M_HARDEN, SOUND_PAN_ATTACKER, 28, 2
|
|
metallic_shine permanent=0
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_BellyDrum::
|
|
createvisualtask AnimTask_MusicNotesRainbowBlend, 2
|
|
waitforvisualfinish
|
|
call BellyDrumRight
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 0
|
|
playsewithpan SE_M_BELLY_DRUM, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
call BellyDrumLeft
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 1, 1, 1, 0
|
|
playsewithpan SE_M_BELLY_DRUM, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
call BellyDrumRight
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 0, 3, 3, 128
|
|
playsewithpan SE_M_BELLY_DRUM, SOUND_PAN_ATTACKER
|
|
delay 7
|
|
call BellyDrumLeft
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 1, 2, 0, 128
|
|
playsewithpan SE_M_BELLY_DRUM, SOUND_PAN_ATTACKER
|
|
delay 7
|
|
call BellyDrumRight
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 1, 0
|
|
playsewithpan SE_M_BELLY_DRUM, SOUND_PAN_ATTACKER
|
|
delay 7
|
|
call BellyDrumLeft
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 3, 0
|
|
playsewithpan SE_M_BELLY_DRUM, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_MusicNotesClearRainbowBlend, 2
|
|
waitforvisualfinish
|
|
end
|
|
|
|
BellyDrumLeft:
|
|
createsprite gBellyDrumHandSpriteTemplate, ANIM_ATTACKER, 3, 0
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 8, 2, 1
|
|
return
|
|
|
|
BellyDrumRight:
|
|
createsprite gBellyDrumHandSpriteTemplate, ANIM_ATTACKER, 3, 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 8, 2, 1
|
|
return
|
|
|
|
gBattleAnimMove_MindReader::
|
|
monbg ANIM_DEF_PARTNER
|
|
playsewithpan SE_M_CONFUSE_RAY, SOUND_PAN_TARGET
|
|
createsprite gOpeningEyeSpriteTemplate, ANIM_ATTACKER, 5, 0, 0, 1, 0
|
|
createsprite gWhiteHaloSpriteTemplate, ANIM_ATTACKER, 5
|
|
delay 40
|
|
playsewithpan SE_M_LEER, SOUND_PAN_TARGET
|
|
blend_color_cycle selector=F_PAL_BG, delay=1, num_blends=2, initial_blend_y=0, target_blend_y=10, color=RGB_BLACK
|
|
call MindReaderEyeSpikeEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
MindReaderEyeSpikeEffect:
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 70, 0, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 40, 40, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 10, -60, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, -50, -40, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, -40, 40, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 50, -50, 6
|
|
delay 2
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 50, -30, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 60, 10, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 0, 60, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 0, -40, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, -60, 20, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, -60, -30, 6
|
|
delay 2
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, -50, 50, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, -60, 20, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, -40, -40, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 20, -60, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 50, -50, 6
|
|
createsprite gTealAlertSpriteTemplate, ANIM_ATTACKER, 4, 35, 40, 6
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_IcePunch::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=7, color=RGB_BLACK
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 9, RGB(12, 26, 31)
|
|
delay 20
|
|
playsewithpan SE_M_STRING_SHOT, SOUND_PAN_TARGET
|
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 0
|
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 64
|
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 128
|
|
createsprite gIceCrystalSpiralInwardSmall, ANIM_ATTACKER, 2, 192
|
|
delay 5
|
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 32
|
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 96
|
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 160
|
|
createsprite gIceCrystalSpiralInwardLarge, ANIM_ATTACKER, 2, 224
|
|
delay 17
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 4, 0, -10, 8, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=-10, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 3, 1
|
|
waitforvisualfinish
|
|
delay 15
|
|
call IceCrystalEffectShort
|
|
delay 5
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 9, 0, RGB(12, 26, 31)
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=0, initial_blend_y=7, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Rest::
|
|
playsewithpan SE_M_SNORE, SOUND_PAN_ATTACKER
|
|
createsprite gSleepLetterZSpriteTemplate, ANIM_ATTACKER, 2, 4, -10, 16, 0, 0
|
|
delay 20
|
|
createsprite gSleepLetterZSpriteTemplate, ANIM_ATTACKER, 2, 4, -10, 16, 0, 0
|
|
delay 20
|
|
createsprite gSleepLetterZSpriteTemplate, ANIM_ATTACKER, 2, 4, -10, 16, 0, 0
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Confusion::
|
|
monbg ANIM_DEF_PARTNER
|
|
call SetPsychicBackground
|
|
setalpha 8, 8
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 10, 1
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=8, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 15, 1
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -4, -4, 15, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
delay 1
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_Psychic::
|
|
monbg ANIM_DEF_PARTNER
|
|
call SetPsychicBackground
|
|
setalpha 8, 8
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 10, 1
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=8, color=RGB(31, 23, 0)
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_SUPERSONIC, SOUND_PAN_TARGET, 10, 3
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 15, 1
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -6, -6, 15, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
delay 1
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_FutureSight::
|
|
goto FutureSight
|
|
FutureSightContinue:
|
|
waitforvisualfinish
|
|
delay 1
|
|
call UnsetPsychicBg
|
|
end
|
|
FutureSight:
|
|
monbg ANIM_ATK_PARTNER
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
call SetPsychicBackground
|
|
setalpha 8, 8
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=8, color=RGB_WHITE
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -4, -4, 15, ANIM_ATTACKER, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
goto FutureSightContinue
|
|
|
|
gBattleAnimMove_Thunder::
|
|
fadetobg BG_THUNDER
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -256, 0, 1, -1
|
|
waitbgfadein
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=16, color=RGB_BLACK
|
|
delay 16
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 16, -36
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 16, -20
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 16, 12
|
|
delay 20
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 6, -16, -32
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 6, -16, -16
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 6, -16, 16
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
delay 5
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 24, -32
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 24, -16
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 24, 16
|
|
delay 30
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
delay 5
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -32
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -16
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, 16
|
|
delay 10
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
delay 1
|
|
createvisualtask AnimTask_ShakeTargetInPattern, 2, 30, 3, TRUE, 0
|
|
delay 2
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
delay 1
|
|
simple_palette_blend unused_anim_battler=ANIM_TARGET, selector=F_PAL_BG, delay=2, initial_blend_y=16, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, -1
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_ThunderPunch::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=16, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 4, 0, 0, 8, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
delay 1
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -48
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_ATTACKER, 2, 0, 16
|
|
delay 1
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 15, 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
delay 1
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=16, target_blend_y=0, color=RGB_BLACK
|
|
delay 20
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_SacredFire::
|
|
loopsewithpan SE_M_SACRED_FIRE, SOUND_PAN_ATTACKER, 7, 5
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, -32, 0, 50, 5, -2, 0
|
|
delay 1
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 66, -20, -10, 50, 5, -1, -1
|
|
delay 1
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 66, 0, -16, 50, 5, 0, -1
|
|
delay 1
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 66, 20, -10, 50, 5, 1, -1
|
|
delay 1
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, 32, 0, 50, 5, 2, 0
|
|
delay 1
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, 20, 10, 50, 5, 1, 1
|
|
delay 1
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
delay 1
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, 0, 16, 50, 5, 0, 1
|
|
delay 1
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, -20, 10, 50, 5, -1, 1
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
delay 1
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_TARGET
|
|
createsprite gLargeFlameSpriteTemplate, ANIM_TARGET, 2, -16, 0, 70, 16, 0, 1
|
|
delay 10
|
|
playsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_TARGET
|
|
createsprite gLargeFlameSpriteTemplate, ANIM_TARGET, 2, 0, 0, 70, 16, 0, 1
|
|
delay 10
|
|
playsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_TARGET
|
|
createsprite gLargeFlameSpriteTemplate, ANIM_TARGET, 2, 16, 0, 80, 16, 0, 1
|
|
delay 1
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
delay 1
|
|
waitforvisualfinish
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
delay 1
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, -1, 0
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, 0, 1
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, -1, -1
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, 2, 1
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, 1, -1
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, -1, 1
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, 1, -2
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, 3, 1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Scratch::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET
|
|
createsprite gScratchSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 1, 0
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_DragonBreath::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
loopsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER, 7, 7
|
|
create_dragon_breath_fire_sprite ANIM_TARGET, 2, initial_x=0, initial_y=0, target_x=0, target_y=0, duration=20
|
|
delay 2
|
|
create_dragon_breath_fire_sprite ANIM_TARGET, 2, initial_x=0, initial_y=0, target_x=0, target_y=0, duration=20
|
|
delay 2
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 0, 9, RGB_RED
|
|
create_dragon_breath_fire_sprite ANIM_TARGET, 2, initial_x=0, initial_y=0, target_x=0, target_y=0, duration=20
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 21, 1
|
|
create_dragon_breath_fire_sprite ANIM_TARGET, 2, initial_x=0, initial_y=0, target_x=0, target_y=0, duration=20
|
|
delay 2
|
|
create_dragon_breath_fire_sprite ANIM_TARGET, 2, initial_x=0, initial_y=0, target_x=0, target_y=0, duration=20
|
|
delay 2
|
|
create_dragon_breath_fire_sprite ANIM_TARGET, 2, initial_x=0, initial_y=0, target_x=0, target_y=0, duration=20
|
|
delay 2
|
|
create_dragon_breath_fire_sprite ANIM_TARGET, 2, initial_x=0, initial_y=0, target_x=0, target_y=0, duration=20
|
|
delay 2
|
|
create_dragon_breath_fire_sprite ANIM_TARGET, 2, initial_x=0, initial_y=0, target_x=0, target_y=0, duration=20
|
|
delay 2
|
|
create_dragon_breath_fire_sprite ANIM_TARGET, 2, initial_x=0, initial_y=0, target_x=0, target_y=0, duration=20
|
|
delay 2
|
|
create_dragon_breath_fire_sprite ANIM_TARGET, 2, initial_x=0, initial_y=0, target_x=0, target_y=0, duration=20
|
|
delay 2
|
|
create_dragon_breath_fire_sprite ANIM_TARGET, 2, initial_x=0, initial_y=0, target_x=0, target_y=0, duration=20
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 9, 0, RGB_RED
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_Roar::
|
|
monbg ANIM_ATTACKER
|
|
splitbgprio ANIM_ATTACKER
|
|
setalpha 8, 8
|
|
createvisualtask SoundTask_PlayDoubleCry, 2, ANIM_ATTACKER, DOUBLE_CRY_ROAR
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -5, -5, 10, ANIM_ATTACKER, 1
|
|
call RoarEffect
|
|
delay 20
|
|
createvisualtask AnimTask_SlideOffScreen, 5, ANIM_TARGET, 2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
waitforvisualfinish
|
|
createvisualtask SoundTask_WaitForCry, 5
|
|
waitforvisualfinish
|
|
end
|
|
|
|
RoarEffect:
|
|
createsprite gRoarNoiseLineSpriteTemplate, ANIM_ATTACKER, 2, 24, -8, 0
|
|
createsprite gRoarNoiseLineSpriteTemplate, ANIM_ATTACKER, 2, 24, 0, 2
|
|
createsprite gRoarNoiseLineSpriteTemplate, ANIM_ATTACKER, 2, 24, 8, 1
|
|
delay 15
|
|
createsprite gRoarNoiseLineSpriteTemplate, ANIM_ATTACKER, 2, 24, -8, 0
|
|
createsprite gRoarNoiseLineSpriteTemplate, ANIM_ATTACKER, 2, 24, 0, 2
|
|
createsprite gRoarNoiseLineSpriteTemplate, ANIM_ATTACKER, 2, 24, 8, 1
|
|
return
|
|
|
|
gBattleAnimMove_Growl::
|
|
createvisualtask SoundTask_PlayDoubleCry, 2, ANIM_ATTACKER, DOUBLE_CRY_GROWL
|
|
call RoarEffect
|
|
delay 10
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 9, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 9, 1
|
|
waitforvisualfinish
|
|
createvisualtask SoundTask_WaitForCry, 5
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Snore::
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 8, 8
|
|
call SnoreEffect
|
|
delay 30
|
|
call SnoreEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
SnoreEffect:
|
|
playsewithpan SE_M_SNORE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 7, ANIM_ATTACKER, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 7, 1
|
|
shake_mon_or_platform velocity=6, shake_timer=1, shake_duration=14, type=SHAKE_BG_X
|
|
createsprite gSnoreZSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, -42, -38, 24, 0, 0
|
|
createsprite gSnoreZSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 0, -42, 24, 0, 0
|
|
createsprite gSnoreZSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 42, -38, 24, 0, 0
|
|
return
|
|
|
|
gBattleAnimMove_LightScreen::
|
|
setalpha 0, 16
|
|
waitplaysewithpan SE_M_REFLECT, SOUND_PAN_ATTACKER, 15
|
|
createsprite gLightScreenWallSpriteTemplate, ANIM_ATTACKER, 1, 40, 0, ANIM_TAG_GREEN_LIGHT_WALL
|
|
delay 10
|
|
call SpecialScreenSparkle
|
|
waitforvisualfinish
|
|
delay 1
|
|
blendoff
|
|
end
|
|
|
|
SpecialScreenSparkle:
|
|
createsprite gSpecialScreenSparkleSpriteTemplate, ANIM_ATTACKER, 2, 23, 0, ANIM_ATTACKER, TRUE
|
|
delay 6
|
|
createsprite gSpecialScreenSparkleSpriteTemplate, ANIM_ATTACKER, 2, 31, -8, ANIM_ATTACKER, TRUE
|
|
delay 5
|
|
createsprite gSpecialScreenSparkleSpriteTemplate, ANIM_ATTACKER, 2, 30, 20, ANIM_ATTACKER, TRUE
|
|
delay 7
|
|
createsprite gSpecialScreenSparkleSpriteTemplate, ANIM_ATTACKER, 2, 10, -15, ANIM_ATTACKER, TRUE
|
|
delay 6
|
|
createsprite gSpecialScreenSparkleSpriteTemplate, ANIM_ATTACKER, 2, 20, 10, ANIM_ATTACKER, TRUE
|
|
delay 6
|
|
createsprite gSpecialScreenSparkleSpriteTemplate, ANIM_ATTACKER, 2, 10, 18, ANIM_ATTACKER, TRUE
|
|
return
|
|
|
|
gBattleAnimMove_MirrorCoat::
|
|
setalpha 0, 16
|
|
createsprite gMirrorCoatWallSpriteTemplate, ANIM_ATTACKER, 1, 40, 0, ANIM_TAG_RED_LIGHT_WALL
|
|
delay 10
|
|
playsewithpan SE_M_REFLECT, SOUND_PAN_ATTACKER
|
|
call SpecialScreenSparkle
|
|
waitforvisualfinish
|
|
delay 1
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Reflect::
|
|
setalpha 0, 16
|
|
waitplaysewithpan SE_M_REFLECT, SOUND_PAN_ATTACKER, 15
|
|
createsprite gReflectWallSpriteTemplate, ANIM_ATTACKER, 1, 40, 0, ANIM_TAG_BLUE_LIGHT_WALL
|
|
delay 20
|
|
createsprite gReflectSparkleSpriteTemplate, ANIM_ATTACKER, 2, 30, 0, ANIM_ATTACKER, TRUE
|
|
delay 7
|
|
createsprite gReflectSparkleSpriteTemplate, ANIM_ATTACKER, 2, 19, -12, ANIM_ATTACKER, TRUE
|
|
delay 7
|
|
createsprite gReflectSparkleSpriteTemplate, ANIM_ATTACKER, 2, 10, 20, ANIM_ATTACKER, TRUE
|
|
waitforvisualfinish
|
|
delay 1
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Barrier::
|
|
setalpha 0, 16
|
|
waitplaysewithpan SE_M_BARRIER, SOUND_PAN_ATTACKER, 15
|
|
createsprite gBarrierWallSpriteTemplate, ANIM_ATTACKER, 3, 40, 0, ANIM_TAG_GRAY_LIGHT_WALL
|
|
waitforvisualfinish
|
|
delay 1
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Bubble::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
delay 1
|
|
createsprite gWaterBubbleProjectileSpriteTemplate, ANIM_ATTACKER, 2, 18, 0, 15, -15, 10, 128, 100
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_BUBBLE2, SOUND_PAN_TARGET, 100
|
|
delay 6
|
|
createsprite gWaterBubbleProjectileSpriteTemplate, ANIM_ATTACKER, 2, 18, 0, 35, 37, 40, 128, 100
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_BUBBLE2, SOUND_PAN_TARGET, 100
|
|
delay 6
|
|
createsprite gWaterBubbleProjectileSpriteTemplate, ANIM_ATTACKER, 2, 18, 0, 10, -37, 30, 128, 100
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_BUBBLE2, SOUND_PAN_TARGET, 100
|
|
delay 6
|
|
createsprite gWaterBubbleProjectileSpriteTemplate, ANIM_ATTACKER, 2, 18, 0, 30, 10, 15, 128, 100
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_BUBBLE2, SOUND_PAN_TARGET, 100
|
|
delay 6
|
|
createsprite gWaterBubbleProjectileSpriteTemplate, ANIM_ATTACKER, 2, 18, 0, 20, 33, 20, 128, 100
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_BUBBLE2, SOUND_PAN_TARGET, 100
|
|
delay 6
|
|
createsprite gWaterBubbleProjectileSpriteTemplate, ANIM_ATTACKER, 2, 18, 0, 25, -30, 10, 128, 100
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_BUBBLE2, SOUND_PAN_TARGET, 100
|
|
waitforvisualfinish
|
|
call WaterBubblesEffectLong
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Smog::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_all
|
|
setalpha 12, 8
|
|
loopsewithpan SE_M_MIST, SOUND_PAN_TARGET, 17, 10
|
|
call SmogCloud
|
|
call SmogCloud
|
|
call SmogCloud
|
|
call SmogCloud
|
|
call SmogCloud
|
|
call SmogCloud
|
|
call SmogCloud
|
|
delay 120
|
|
loopsewithpan SE_M_TOXIC, SOUND_PAN_TARGET, 18, 2
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(26, 0, 26)
|
|
delay 10
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 15, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
SmogCloud:
|
|
createsprite gSmogCloudSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 48, 240, 1, 0
|
|
delay 7
|
|
return
|
|
|
|
gBattleAnimMove_FeintAttack::
|
|
monbg ANIM_ATTACKER
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
delay 0
|
|
playsewithpan SE_M_FAINT_ATTACK, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 1, 3
|
|
attacker_fade_to_invisible step_delay=1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
invisible ANIM_ATTACKER
|
|
delay 1
|
|
createvisualtask AnimTask_SetAttackerInvisibleWaitForSignal, 2
|
|
setalpha 12, 8
|
|
monbg ANIM_TARGET
|
|
delay 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 9, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
delay 1
|
|
setarg 7, 4096
|
|
delay 32
|
|
createvisualtask AnimTask_InitAttackerFadeFromInvisible, 2
|
|
monbg ANIM_ATTACKER
|
|
attacker_fade_from_invisible step_delay=1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 1
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_SandAttack::
|
|
monbg ANIM_ATK_PARTNER
|
|
splitbgprio ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SAND_ATTACK, SOUND_PAN_ATTACKER
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, -10, 0, 0, 3
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 2
|
|
call SandAttackDirt
|
|
call SandAttackDirt
|
|
call SandAttackDirt
|
|
call SandAttackDirt
|
|
call SandAttackDirt
|
|
call SandAttackDirt
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
SandAttackDirt:
|
|
createsprite gSandAttackDirtSpriteTemplate, ANIM_TARGET, 2, 15, 15, 20, 0, 0
|
|
createsprite gSandAttackDirtSpriteTemplate, ANIM_TARGET, 2, 15, 15, 20, 10, 10
|
|
createsprite gSandAttackDirtSpriteTemplate, ANIM_TARGET, 2, 15, 15, 20, -10, -10
|
|
createsprite gSandAttackDirtSpriteTemplate, ANIM_TARGET, 2, 15, 15, 20, 20, 5
|
|
createsprite gSandAttackDirtSpriteTemplate, ANIM_TARGET, 2, 15, 15, 20, -20, -5
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_MudSlap::
|
|
playsewithpan SE_M_SAND_ATTACK, SOUND_PAN_ATTACKER
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, -10, 0, 0, 3
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 2
|
|
call MudSlapMud
|
|
call MudSlapMud
|
|
call MudSlapMud
|
|
call MudSlapMud
|
|
call MudSlapMud
|
|
call MudSlapMud
|
|
waitforvisualfinish
|
|
end
|
|
MudSlapMud:
|
|
createsprite gMudSlapMudSpriteTemplate, ANIM_TARGET, 2, 15, 15, 20, 0, 0
|
|
createsprite gMudSlapMudSpriteTemplate, ANIM_TARGET, 2, 15, 15, 20, 10, 5
|
|
createsprite gMudSlapMudSpriteTemplate, ANIM_TARGET, 2, 15, 15, 20, -10, -5
|
|
createsprite gMudSlapMudSpriteTemplate, ANIM_TARGET, 2, 15, 15, 20, 20, 10
|
|
createsprite gMudSlapMudSpriteTemplate, ANIM_TARGET, 2, 15, 15, 20, -20, -10
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_DragonRage::
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 40, 1
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_TARGET, 2, ANIM_ATTACKER, 15, 0, 0, 4
|
|
waitforvisualfinish
|
|
create_dragon_rage_fire_spit_sprite ANIM_TARGET, 2, initial_x=30, initial_y=15, target_x=0, target_y=10, duration=10
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET, 11, 3
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 3, 25, 1
|
|
call CreateDragonRageFirePlumes
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_TARGET, 66, 0, 0, 4
|
|
waitforvisualfinish
|
|
end
|
|
|
|
CreateDragonRageFirePlumes:
|
|
create_dragon_rage_fire_plume_sprite ANIM_TARGET, 66, relative_to=1, x=5, y=0
|
|
delay 1
|
|
create_dragon_rage_fire_plume_sprite ANIM_TARGET, 66, relative_to=1, x=-10, y=-15
|
|
delay 1
|
|
create_dragon_rage_fire_plume_sprite ANIM_TARGET, 2, relative_to=1, x=0, y=25
|
|
delay 1
|
|
create_dragon_rage_fire_plume_sprite ANIM_TARGET, 66, relative_to=1, x=15, y=5
|
|
delay 1
|
|
create_dragon_rage_fire_plume_sprite ANIM_TARGET, 66, relative_to=1, x=-25, y=0
|
|
delay 1
|
|
create_dragon_rage_fire_plume_sprite ANIM_TARGET, 2, relative_to=1, x=30, y=30
|
|
delay 1
|
|
create_dragon_rage_fire_plume_sprite ANIM_TARGET, 2, relative_to=1, x=-27, y=25
|
|
delay 1
|
|
create_dragon_rage_fire_plume_sprite ANIM_TARGET, 66, relative_to=1, x=0, y=8
|
|
return
|
|
|
|
gBattleAnimMove_RainDance::
|
|
playsewithpan SE_M_RAIN_DANCE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 0, 4, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_CreateRaindrops, 2, 0, 3, 120
|
|
createvisualtask AnimTask_CreateRaindrops, 2, 0, 3, 120
|
|
delay 120
|
|
delay 30
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 4, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Bite::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
call CreateBite
|
|
delay 10
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 4, 7, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
delay 1
|
|
end
|
|
|
|
CreateBite:
|
|
playsewithpan SE_M_BITE, SOUND_PAN_TARGET
|
|
create_sharp_teeth_sprite ANIM_ATTACKER, 2, x=0, y=-32, animation=0, x_velocity=0/256, y_velocity=819/256, half_duration=10
|
|
create_sharp_teeth_sprite ANIM_ATTACKER, 2, x=0, y=32, animation=4, x_velocity=0/256, y_velocity=-819/256, half_duration=10
|
|
return
|
|
|
|
gBattleAnimMove_Crunch::
|
|
monbg ANIM_TARGET
|
|
fadetobg BG_DARK
|
|
waitbgfadein
|
|
setalpha 12, 8
|
|
call CreateCrunch1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-8, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 7, 5, 2
|
|
waitforvisualfinish
|
|
call CreateCrunch2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=8, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 8, 4, 2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
delay 1
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
CreateCrunch1:
|
|
playsewithpan SE_M_BITE, SOUND_PAN_TARGET
|
|
create_sharp_teeth_sprite ANIM_ATTACKER, 2, x=-32, y=-32, animation=1, x_velocity=819/256, y_velocity=819/256, half_duration=10
|
|
create_sharp_teeth_sprite ANIM_ATTACKER, 2, x=32, y=32, animation=5, x_velocity=-819/256, y_velocity=-819/256, half_duration=10
|
|
delay 10
|
|
return
|
|
|
|
CreateCrunch2:
|
|
playsewithpan SE_M_BITE, SOUND_PAN_TARGET
|
|
create_sharp_teeth_sprite ANIM_ATTACKER, 2, x=32, y=-32, animation=7, x_velocity=-819/256, y_velocity=819/256, half_duration=10
|
|
create_sharp_teeth_sprite ANIM_ATTACKER, 2, x=-32, y=32, animation=3, x_velocity=819/256, y_velocity=-819/256, half_duration=10
|
|
delay 10
|
|
return
|
|
|
|
gBattleAnimMove_Clamp::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
call CreateClampJaw
|
|
delay 10
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 5, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
CreateClampJaw:
|
|
playsewithpan SE_M_VICEGRIP, SOUND_PAN_TARGET
|
|
create_clamp_jaw_sprite ANIM_ATTACKER, 2, x=-32, y=0, animation=2, x_velocity=819/256, y_velocity=0/256, half_duration=10
|
|
create_clamp_jaw_sprite ANIM_ATTACKER, 2, x=32, y=0, animation=6, x_velocity=-819/256, y_velocity=0/256, half_duration=10
|
|
return
|
|
|
|
gBattleAnimMove_IceBeam::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=7, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_BUBBLE_BEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 4, 4, 0, 10
|
|
createsprite gIceBeamOuterCrystalSpriteTemplate, ANIM_ATTACKER, 2, 20, 12, 0, 12, 20
|
|
createsprite gIceBeamOuterCrystalSpriteTemplate, ANIM_ATTACKER, 2, 20, -12, 0, -12, 20
|
|
delay 1
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
simple_palette_blend selector=F_PAL_TARGET, delay=-31, initial_blend_y=0, target_blend_y=7, color=RGB(0, 20, 31)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 25, 1
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
createsprite gIceBeamInnerCrystalSpriteTemplate, ANIM_ATTACKER, 2, 20, 0, 0, 0, 11
|
|
delay 1
|
|
createsprite gIceBeamInnerCrystalSpriteTemplate, ANIM_ATTACKER, 2, 20, 0, 0, 0, 11
|
|
waitforvisualfinish
|
|
delay 20
|
|
call IceCrystalEffectShort
|
|
simple_palette_blend selector=F_PAL_TARGET, delay=5, initial_blend_y=7, target_blend_y=0, color=RGB(0, 20, 31)
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=0, initial_blend_y=7, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
IceBeamCreateCrystals:
|
|
createsprite gIceBeamOuterCrystalSpriteTemplate, ANIM_ATTACKER, 2, 20, 12, 0, 12, 20
|
|
createsprite gIceBeamOuterCrystalSpriteTemplate, ANIM_ATTACKER, 2, 20, -12, 0, -12, 20
|
|
createsprite gIceBeamInnerCrystalSpriteTemplate, ANIM_ATTACKER, 2, 20, 0, 0, 0, 11
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_Withdraw::
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_Withdraw, 5
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_AuroraBeam::
|
|
fadetobg BG_AURORA
|
|
waitbgfadein
|
|
playsewithpan SE_M_BUBBLE_BEAM, SOUND_PAN_ATTACKER
|
|
setarg 7, 0
|
|
createvisualtask AnimTask_RotateAuroraRingColors, 10, 130
|
|
call AuroraBeamCreateRings
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 1, 0, 17, 1
|
|
call AuroraBeamCreateRings
|
|
call AuroraBeamCreateRings
|
|
call AuroraBeamCreateRings
|
|
setarg 7, -1
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_BUBBLE_BEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 3, 6, 0, 10
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 2, 0, 40, 1
|
|
call AuroraBeamCreateRings
|
|
call AuroraBeamCreateRings
|
|
call AuroraBeamCreateRings
|
|
call AuroraBeamCreateRings
|
|
call AuroraBeamCreateRings
|
|
call AuroraBeamCreateRings
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
AuroraBeamCreateRings:
|
|
createsprite gAuroraBeamRingSpriteTemplate, ANIM_TARGET, 2, 20, 0, 0, 0, 17
|
|
delay 1
|
|
createsprite gAuroraBeamRingSpriteTemplate, ANIM_TARGET, 2, 20, 0, 0, 0, 17
|
|
delay 1
|
|
createsprite gAuroraBeamRingSpriteTemplate, ANIM_TARGET, 2, 20, 0, 0, 0, 17
|
|
delay 1
|
|
createsprite gAuroraBeamRingSpriteTemplate, ANIM_TARGET, 2, 20, 0, 0, 0, 17
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_SolarBeam::
|
|
choosetwoturnanim SolarBeamSetUp, SolarBeamUnleash
|
|
SolarBeamEnd:
|
|
waitforvisualfinish
|
|
end
|
|
SolarBeamSetUp:
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 12, 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=1, num_blends=4, initial_blend_y=0, target_blend_y=11, color=RGB(31, 31, 11)
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
call SolarBeamAbsorbEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
goto SolarBeamEnd
|
|
SolarBeamAbsorbEffect:
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=40, y=40, duration=16
|
|
delay 2
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=-40, y=-40, duration=16
|
|
delay 2
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=0, y=40, duration=16
|
|
delay 2
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=0, y=-40, duration=16
|
|
delay 2
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=40, y=-20, duration=16
|
|
delay 2
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=40, y=20, duration=16
|
|
delay 2
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=-40, y=-20, duration=16
|
|
delay 2
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=-40, y=20, duration=16
|
|
delay 2
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=-20, y=30, duration=16
|
|
delay 2
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=20, y=-30, duration=16
|
|
delay 2
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=-20, y=-30, duration=16
|
|
delay 2
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=20, y=30, duration=16
|
|
delay 2
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=-40, y=0, duration=16
|
|
delay 2
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=40, y=0, duration=16
|
|
delay 2
|
|
return
|
|
SolarBeamUnleash:
|
|
call SetSolarBeamBg
|
|
panse SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
createvisualtask AnimTask_CreateSmallSolarBeamOrbs, 5
|
|
create_solar_beam_big_orb_sprite ANIM_TARGET, 3, x=15, y=0, duration=20, animation=0
|
|
delay 4
|
|
create_solar_beam_big_orb_sprite ANIM_TARGET, 3, x=15, y=0, duration=20, animation=1
|
|
delay 4
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 0, 10, RGB(25, 31, 0)
|
|
create_solar_beam_big_orb_sprite ANIM_TARGET, 3, x=15, y=0, duration=20, animation=2
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 2, 0, 65, 1
|
|
create_solar_beam_big_orb_sprite ANIM_TARGET, 3, x=15, y=0, duration=20, animation=3
|
|
delay 4
|
|
create_solar_beam_big_orb_sprite ANIM_TARGET, 3, x=15, y=0, duration=20, animation=4
|
|
delay 4
|
|
create_solar_beam_big_orb_sprite ANIM_TARGET, 3, x=15, y=0, duration=20, animation=5
|
|
delay 4
|
|
create_solar_beam_big_orb_sprite ANIM_TARGET, 3, x=15, y=0, duration=20, animation=6
|
|
delay 4
|
|
call SolarBeamUnleash1
|
|
call SolarBeamUnleash1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 10, 0, RGB(25, 31, 0)
|
|
call UnsetSolarBeamBg
|
|
goto SolarBeamEnd
|
|
SolarBeamUnleash1:
|
|
create_solar_beam_big_orb_sprite ANIM_TARGET, 3, x=15, y=0, duration=20, animation=0
|
|
delay 4
|
|
create_solar_beam_big_orb_sprite ANIM_TARGET, 3, x=15, y=0, duration=20, animation=1
|
|
delay 4
|
|
create_solar_beam_big_orb_sprite ANIM_TARGET, 3, x=15, y=0, duration=20, animation=2
|
|
delay 4
|
|
create_solar_beam_big_orb_sprite ANIM_TARGET, 3, x=15, y=0, duration=20, animation=3
|
|
delay 4
|
|
create_solar_beam_big_orb_sprite ANIM_TARGET, 3, x=15, y=0, duration=20, animation=4
|
|
delay 4
|
|
create_solar_beam_big_orb_sprite ANIM_TARGET, 3, x=15, y=0, duration=20, animation=5
|
|
delay 4
|
|
create_solar_beam_big_orb_sprite ANIM_TARGET, 3, x=15, y=0, duration=20, animation=6
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimMove_Blizzard::
|
|
monbg ANIM_DEF_PARTNER
|
|
call SetHighSpeedBg
|
|
waitforvisualfinish
|
|
panse SE_M_BLIZZARD, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
call BlizzardIceCrystals
|
|
call BlizzardIceCrystals
|
|
playsewithpan SE_M_BLIZZARD2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
call IceCrystalEffectLong
|
|
waitforvisualfinish
|
|
delay 20
|
|
call UnsetHighSpeedBg
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
BlizzardIceCrystals:
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, -10, 0, -10, 72, 1
|
|
createsprite gBlizzardIceCrystalSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0, 80, 0, 0, 1
|
|
delay 3
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, -15, 0, -15, 72, 1
|
|
createsprite gBlizzardIceCrystalSpriteTemplate, ANIM_ATTACKER, 40, 0, -10, 0, -10, 80, 0, 0, 1
|
|
delay 3
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, -5, 0, -5, 72, 1
|
|
createsprite gBlizzardIceCrystalSpriteTemplate, ANIM_ATTACKER, 40, 0, 10, 0, 10, 80, 0, 0, 1
|
|
delay 3
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, -10, 0, -10, 72, 1
|
|
createsprite gBlizzardIceCrystalSpriteTemplate, ANIM_ATTACKER, 40, 0, -20, 0, -20, 80, 0, 0, 1
|
|
delay 3
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, -20, 0, -20, 72, 1
|
|
createsprite gBlizzardIceCrystalSpriteTemplate, ANIM_ATTACKER, 40, 0, 15, 0, 15, 80, 0, 0, 1
|
|
delay 3
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, -15, 0, -15, 72, 1
|
|
createsprite gBlizzardIceCrystalSpriteTemplate, ANIM_ATTACKER, 40, 0, -20, 0, -20, 80, 0, 0, 1
|
|
delay 3
|
|
createsprite gSwirlingSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, -25, 0, -25, 72, 1
|
|
createsprite gBlizzardIceCrystalSpriteTemplate, ANIM_ATTACKER, 40, 0, 20, 0, 20, 80, 0, 0, 1
|
|
delay 3
|
|
return
|
|
|
|
gBattleAnimMove_PowderSnow::
|
|
monbg ANIM_DEF_PARTNER
|
|
simple_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=1, initial_blend_y=0, target_blend_y=3, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
panse SE_M_GUST, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
call PowderSnowSnowballs
|
|
call PowderSnowSnowballs
|
|
playsewithpan SE_M_GUST2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
waitsound
|
|
call IceCrystalEffectLong
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
delay 20
|
|
simple_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=1, initial_blend_y=3, target_blend_y=0, color=RGB_BLACK
|
|
end
|
|
PowderSnowSnowballs:
|
|
createsprite gPowderSnowSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0, 56, 4, 4, 1
|
|
delay 3
|
|
createsprite gPowderSnowSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, -10, 0, -10, 56, 4, 4, 1
|
|
delay 3
|
|
createsprite gPowderSnowSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, 10, 0, 10, 56, -4, 3, 1
|
|
delay 3
|
|
createsprite gPowderSnowSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, -20, 0, -20, 56, -4, 5, 1
|
|
delay 3
|
|
createsprite gPowderSnowSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, 15, 0, 15, 56, 4, 4, 1
|
|
delay 3
|
|
createsprite gPowderSnowSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, -20, 0, -20, 56, 4, 4, 1
|
|
delay 3
|
|
createsprite gPowderSnowSnowballSpriteTemplate, ANIM_ATTACKER, 40, 0, 20, 0, 20, 56, 4, 4, 1
|
|
delay 3
|
|
return
|
|
|
|
gBattleAnimMove_HydroPump::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 40, 1
|
|
delay 6
|
|
panse SE_M_HYDRO_PUMP, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
createvisualtask AnimTask_StartSinAnimTimer, 5, 100
|
|
call HydroPumpBeams
|
|
call HydroPumpBeams
|
|
call HydroPumpBeams
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 37, 1
|
|
call HydroPumpHitSplats
|
|
call HydroPumpBeams
|
|
call HydroPumpBeams
|
|
call HydroPumpHitSplats
|
|
call HydroPumpBeams
|
|
call HydroPumpBeams
|
|
call HydroPumpHitSplats
|
|
call HydroPumpBeams
|
|
call HydroPumpBeams
|
|
call HydroPumpHitSplats
|
|
call HydroPumpBeams
|
|
call HydroPumpBeams
|
|
call HydroPumpHitSplats
|
|
delay 1
|
|
delay 1
|
|
call HydroPumpHitSplats
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
HydroPumpBeams:
|
|
createsprite gHydroPumpOrbSpriteTemplate, ANIM_ATTACKER, 3, 10, 10, 0, 16
|
|
createsprite gHydroPumpOrbSpriteTemplate, ANIM_ATTACKER, 3, 10, 10, 0, -16
|
|
delay 1
|
|
createsprite gHydroPumpOrbSpriteTemplate, ANIM_ATTACKER, 3, 10, 10, 0, 16
|
|
createsprite gHydroPumpOrbSpriteTemplate, ANIM_ATTACKER, 3, 10, 10, 0, -16
|
|
delay 1
|
|
return
|
|
HydroPumpHitSplats:
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 4, 0, 15, ANIM_TARGET, 1
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 4, 0, -15, ANIM_TARGET, 1
|
|
return
|
|
|
|
gBattleAnimMove_SignalBeam::
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 25, 1
|
|
delay 6
|
|
panse SE_M_BUBBLE_BEAM, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +1, 0
|
|
createvisualtask AnimTask_StartSinAnimTimer, 5, 100
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 25, 1
|
|
complex_palette_blend selector=F_PAL_TARGET, delay=8, num_blends=5, color1=RGB_RED, blend_y1=8, color2=RGB(1, 30, 0), blend_y2=8
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
call SignalBeamOrbs
|
|
waitforvisualfinish
|
|
end
|
|
SignalBeamOrbs:
|
|
createsprite gSignalBeamRedOrbSpriteTemplate, ANIM_TARGET, 3, 10, 10, 0, 16
|
|
createsprite gSignalBeamGreenOrbSpriteTemplate, ANIM_TARGET, 3, 10, 10, 0, -16
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_Absorb::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_foes ANIM_TARGET
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=4, color=RGB(13, 31, 12)
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_ABSORB, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 5, 1
|
|
waitforvisualfinish
|
|
delay 3
|
|
call AbsorbEffect
|
|
waitforvisualfinish
|
|
delay 15
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=4, target_blend_y=0, color=RGB(13, 31, 12)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
AbsorbEffect:
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-8, wave_period=26
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-5, y=15, wave_amplitude=16, wave_period=33
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=-15, wave_amplitude=-16, wave_period=36
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-8, wave_period=26
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-10, y=20, wave_amplitude=20, wave_period=39
|
|
delay 4
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=5, y=-18, wave_amplitude=-20, wave_period=35
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimMove_MegaDrain::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_foes ANIM_TARGET
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=8, color=RGB(13, 31, 12)
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_ABSORB, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 5, 1
|
|
waitforvisualfinish
|
|
delay 3
|
|
call MegaDrainAbsorbEffect
|
|
waitforvisualfinish
|
|
delay 15
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=8, target_blend_y=0, color=RGB(13, 31, 12)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
MegaDrainAbsorbEffect:
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=5, y=-18, wave_amplitude=-20, wave_period=35
|
|
delay 4
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-10, y=20, wave_amplitude=20, wave_period=39
|
|
delay 4
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-5, y=15, wave_amplitude=16, wave_period=33
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-8, wave_period=26
|
|
delay 4
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=-15, wave_amplitude=-16, wave_period=36
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
delay 4
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=-15, wave_amplitude=-16, wave_period=36
|
|
delay 4
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-5, y=15, wave_amplitude=16, wave_period=33
|
|
delay 4
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-10, y=20, wave_amplitude=20, wave_period=39
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-8, wave_period=26
|
|
delay 4
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=5, y=-18, wave_amplitude=-20, wave_period=35
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimMove_GigaDrain::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_foes ANIM_TARGET
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=12, color=RGB(13, 31, 12)
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_ABSORB, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 5, 1
|
|
waitforvisualfinish
|
|
delay 3
|
|
call GigaDrainAbsorbEffect
|
|
waitforvisualfinish
|
|
delay 15
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=12, target_blend_y=0, color=RGB(13, 31, 12)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
GigaDrainAbsorbEffect:
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=5, y=-18, wave_amplitude=-40, wave_period=35
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-10, y=20, wave_amplitude=20, wave_period=39
|
|
delay 4
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=28, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-10, y=20, wave_amplitude=40, wave_period=39
|
|
delay 4
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-5, y=15, wave_amplitude=16, wave_period=33
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-32, wave_period=26
|
|
delay 4
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=-15, wave_amplitude=-16, wave_period=36
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-8, wave_period=26
|
|
delay 4
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-5, y=15, wave_amplitude=16, wave_period=33
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=-15, wave_amplitude=-16, wave_period=36
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
delay 4
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-5, y=15, wave_amplitude=16, wave_period=33
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-40, wave_period=26
|
|
delay 4
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-5, y=15, wave_amplitude=36, wave_period=33
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-10, y=20, wave_amplitude=20, wave_period=39
|
|
delay 4
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=5, y=-18, wave_amplitude=-20, wave_period=35
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimMove_LeechLife::
|
|
delay 1
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_foes ANIM_TARGET
|
|
setalpha 12, 8
|
|
delay 1
|
|
create_leech_life_needle_sprite ANIM_ATTACKER, 2, x=-20, y=15, duration=12
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_ABSORB, SOUND_PAN_TARGET
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 5, 1
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=7, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
.if B_UPDATED_MOVE_DATA >= GEN_7
|
|
call GigaDrainAbsorbEffect
|
|
.else
|
|
call AbsorbEffect
|
|
.endif
|
|
waitforvisualfinish
|
|
delay 15
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=7, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Synthesis::
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=16, color=RGB(27, 31, 18)
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
call GrantingStarsEffect
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_SPARKLE_2
|
|
unloadspritepal ANIM_TAG_SPARKLE_2
|
|
delay 1
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Toxic::
|
|
call ToxicBubbles
|
|
call ToxicBubbles
|
|
waitforvisualfinish
|
|
delay 15
|
|
call PoisonBubblesEffect
|
|
waitforvisualfinish
|
|
end
|
|
ToxicBubbles:
|
|
createsprite gToxicBubbleSpriteTemplate, ANIM_TARGET, 2, -24, 16, 1, 1
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
delay 15
|
|
createsprite gToxicBubbleSpriteTemplate, ANIM_TARGET, 2, 8, 16, 1, 1
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
delay 15
|
|
createsprite gToxicBubbleSpriteTemplate, ANIM_TARGET, 2, -8, 16, 1, 1
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
delay 15
|
|
createsprite gToxicBubbleSpriteTemplate, ANIM_TARGET, 2, 24, 16, 1, 1
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
delay 15
|
|
return
|
|
|
|
gBattleAnimMove_Sludge::
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
createsprite gSludgeProjectileSpriteTemplate, ANIM_TARGET, 2, 20, 0, 40, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 5, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=1, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(30, 0, 31)
|
|
call PoisonBubblesEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SludgeBomb::
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
call SludgeBombProjectile
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 3, 0, 15, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=1, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(30, 0, 31)
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 42, 27, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -27, 44, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 39, -28, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -42, -42, 20
|
|
playsewithpan SE_M_DIG, SOUND_PAN_TARGET
|
|
delay 5
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 0, 40, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -8, -44, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -46, -28, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 46, 9, 20
|
|
playsewithpan SE_M_DIG, SOUND_PAN_TARGET
|
|
delay 5
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 42, 0, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -43, -12, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, 16, -46, 20
|
|
createsprite gSludgeBombHitParticleSpriteTemplate, ANIM_TARGET, 2, -16, 44, 20
|
|
playsewithpan SE_M_DIG, SOUND_PAN_TARGET
|
|
delay 0
|
|
waitsound
|
|
waitforvisualfinish
|
|
call PoisonBubblesEffect
|
|
waitforvisualfinish
|
|
end
|
|
SludgeBombProjectile:
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
createsprite gSludgeProjectileSpriteTemplate, ANIM_TARGET, 2, 20, 0, 40, 0
|
|
delay 3
|
|
return
|
|
|
|
gBattleAnimMove_Acid::
|
|
monbg ANIM_DEF_PARTNER
|
|
createsprite gAcidPoisonBubbleSpriteTemplate, ANIM_TARGET, 2, 20, 0, 40, 1, 0, 0, TRUE
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
createsprite gAcidPoisonBubbleSpriteTemplate, ANIM_TARGET, 2, 20, 0, 40, 1, 24, 0, TRUE
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
createsprite gAcidPoisonBubbleSpriteTemplate, ANIM_TARGET, 2, 20, 0, 40, 1, -24, 0, TRUE
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 2, 0, 10, 1
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_DEF_PARTNER, 2, 0, 10, 1
|
|
blend_color_cycle selector=F_PAL_DEF_SIDE, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(30, 0, 31)
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 0, -22, 0, 15, 55, TRUE
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, -26, -24, 0, 15, 55, TRUE
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 15, -27, 0, 15, 50, TRUE
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, -15, -17, 0, 10, 45, TRUE
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gAcidPoisonDropletSpriteTemplate, ANIM_TARGET, 2, 27, -22, 0, 15, 50, TRUE
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_Bonemerang::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_BONEMERANG, SOUND_PAN_ATTACKER
|
|
createsprite gBonemerangSpriteTemplate, ANIM_ATTACKER, 2
|
|
delay 20
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 5, 0, 5, 1
|
|
delay 17
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_ATTACKER
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 6, -4
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_BoneClub::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_BONEMERANG, SOUND_PAN_TARGET
|
|
createsprite gSpinningBoneSpriteTemplate, ANIM_ATTACKER, 2, -42, -25, 0, 0, 15
|
|
delay 12
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 5, 1
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_ATTACKER | F_PAL_TARGET, delay=5, num_blends=1, color1=RGB_BLACK, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_BoneRush::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_BONEMERANG, SOUND_PAN_TARGET
|
|
createsprite gSpinningBoneSpriteTemplate, ANIM_ATTACKER, 2, -42, -25, 0, 0, 15
|
|
delay 12
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 3, 5, 1
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Spikes::
|
|
monbg ANIM_DEF_PARTNER
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET, 28
|
|
createsprite gSpikesSpriteTemplate, ANIM_TARGET, 2, 20, 0, 0, 24, 30
|
|
delay 10
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET, 28
|
|
createsprite gSpikesSpriteTemplate, ANIM_TARGET, 2, 20, 0, -24, 24, 30
|
|
delay 10
|
|
waitplaysewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET, 28
|
|
createsprite gSpikesSpriteTemplate, ANIM_TARGET, 2, 20, 0, 24, 24, 30
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_Megahorn::
|
|
monbg ANIM_DEF_PARTNER
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
jumpifcontest MegahornInContest
|
|
fadetobg BG_DRILL
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -2304, 768, 1, -1
|
|
MegahornContinue:
|
|
waitbgfadein
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 2, 0, 15, 1
|
|
waitforvisualfinish
|
|
delay 10
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 24, 0, 0, 6
|
|
delay 3
|
|
create_megahorn_horn_sprite ANIM_ATTACKER, 3, x1=-42, y1=25, x2=0, y2=0, duration=6
|
|
delay 4
|
|
playsewithpan SE_M_VICEGRIP, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -16, 4, 1, 4
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, -4, 1, 12, 1
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_ATTACKER | F_PAL_TARGET, delay=5, num_blends=1, color1=RGB_WHITE, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
delay 10
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 11
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 7
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, -1
|
|
waitbgfadein
|
|
end
|
|
MegahornInContest:
|
|
fadetobg BG_DRILL_CONTESTS
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 2304, 768, 0, -1
|
|
goto MegahornContinue
|
|
|
|
gBattleAnimMove_Gust::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_GUST, SOUND_PAN_TARGET
|
|
createsprite gEllipticalGustSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
createvisualtask AnimTask_AnimateGustTornadoPalette, 5, 1, 70
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 1, 0, 7, 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_GUST2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_WingAttack::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
loopsewithpan SE_M_WING_ATTACK, SOUND_PAN_ATTACKER, 20, 2
|
|
createvisualtask AnimTask_TranslateMonElliptical, 2, 0, 12, 4, 1, 4
|
|
createvisualtask AnimTask_AnimateGustTornadoPalette, 5, 1, 70
|
|
createsprite gGustToTargetSpriteTemplate, ANIM_ATTACKER, 2, -25, 0, 0, 0, 20
|
|
createsprite gGustToTargetSpriteTemplate, ANIM_ATTACKER, 2, 25, 0, 0, 0, 20
|
|
delay 24
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 24, 0, 0, 9
|
|
delay 17
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=16, y=0, relative_to=ANIM_TARGET, animation=1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-16, y=0, relative_to=ANIM_TARGET, animation=1
|
|
loopsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET, 5, 2
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 11
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Peck::
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_RotateMonToSideAndRestore, 2, 3, -768, ANIM_TARGET, 2
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=-12, y=0, relative_to=ANIM_TARGET, animation=3
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Aeroblast::
|
|
monbg ANIM_DEF_PARTNER
|
|
call SetSkyBg
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
call AeroblastBeam
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 5, 0, 50, 1
|
|
call AeroblastBeam
|
|
call AeroblastBeam
|
|
call AeroblastBeam
|
|
call AeroblastBeam
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
delay 0
|
|
call UnsetSkyBg
|
|
end
|
|
AeroblastBeam:
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gAirWaveCrescentSpriteTemplate, ANIM_ATTACKER, 2, 14, -12, 0, -12, 15, 0, 0
|
|
createsprite gAirWaveCrescentSpriteTemplate, ANIM_ATTACKER, 2, 26, 8, 12, 8, 15, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gAirWaveCrescentSpriteTemplate, ANIM_ATTACKER, 2, 14, -12, 0, -12, 15, 1, 0
|
|
createsprite gAirWaveCrescentSpriteTemplate, ANIM_ATTACKER, 2, 26, 8, 12, 8, 15, 1, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gAirWaveCrescentSpriteTemplate, ANIM_ATTACKER, 2, 14, -12, 0, -12, 15, 2, 0
|
|
createsprite gAirWaveCrescentSpriteTemplate, ANIM_ATTACKER, 2, 26, 8, 12, 8, 15, 2, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gAirWaveCrescentSpriteTemplate, ANIM_ATTACKER, 2, 14, -12, 0, -12, 15, 3, 0
|
|
createsprite gAirWaveCrescentSpriteTemplate, ANIM_ATTACKER, 2, 26, 8, 12, 8, 15, 3, 0
|
|
delay 3
|
|
return
|
|
|
|
gBattleAnimMove_WaterGun::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gWaterGunProjectileSpriteTemplate, ANIM_ATTACKER, 2, 20, 0, 0, 0, 40, -25
|
|
playsewithpan SE_M_BUBBLE, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 1, 0, 8, 1
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, ANIM_TARGET, 2
|
|
createsprite gWaterGunDropletSpriteTemplate, ANIM_ATTACKER, 2, 0, -15, 0, 15, 55
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gWaterGunDropletSpriteTemplate, ANIM_ATTACKER, 2, 15, -20, 0, 15, 50
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gWaterGunDropletSpriteTemplate, ANIM_ATTACKER, 2, -15, -10, 0, 10, 45
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Crabhammer::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, ANIM_TARGET, 0
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 1
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=1, color1=RGB(13, 21, 31), blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -24, 0, 0, 4
|
|
waitforvisualfinish
|
|
delay 8
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 4
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET, 20, 3
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 4, 8, 1
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 10, 10, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 20, -20, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -15, 15, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -10, -20, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 16, -8, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 5, 8, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -16, 0, 20, ANIM_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Surf::
|
|
create_surf_wave palette=ANIM_SURF_PAL_SURF
|
|
delay 24
|
|
panse SE_M_SURF, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Flamethrower::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 46, 1
|
|
delay 6
|
|
createvisualtask AnimTask_StartSinAnimTimer, 5, 100
|
|
panse SE_M_FLAMETHROWER, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
call FlamethrowerCreateFlames
|
|
call FlamethrowerCreateFlames
|
|
call FlamethrowerCreateFlames
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 43, 1
|
|
call FlamethrowerCreateFlames
|
|
call FlamethrowerCreateFlames
|
|
call FlamethrowerCreateFlames
|
|
call FlamethrowerCreateFlames
|
|
call FlamethrowerCreateFlames
|
|
call FlamethrowerCreateFlames
|
|
call FlamethrowerCreateFlames
|
|
call FlamethrowerCreateFlames
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
FlamethrowerCreateFlames:
|
|
createsprite gFlamethrowerFlameSpriteTemplate, ANIM_ATTACKER, 3, 10, 10, 0, 16
|
|
delay 2
|
|
createsprite gFlamethrowerFlameSpriteTemplate, ANIM_ATTACKER, 3, 10, 10, 0, 16
|
|
delay 2
|
|
return
|
|
|
|
@ Also used by Sandstorm weather
|
|
gBattleAnimMove_Sandstorm::
|
|
playsewithpan SE_M_SANDSTORM, 0
|
|
createvisualtask AnimTask_LoadSandstormBackground, 5, FALSE
|
|
delay 16
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 10, 2304, 96, 0
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 90, 2048, 96, 0
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 50, 2560, 96, 0
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 20, 2304, 96, 0
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 70, 1984, 96, 0
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 0, 2816, 96, 0
|
|
delay 10
|
|
createsprite gFlyingSandCrescentSpriteTemplate, ANIM_ATTACKER, 40, 60, 2560, 96, 0
|
|
end
|
|
|
|
gBattleAnimMove_Whirlpool::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
delay 0
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_TARGET, delay=2, initial_blend_y=0, target_blend_y=7, color=RGB(0, 13, 23)
|
|
playsewithpan SE_M_WHIRLPOOL, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 50, 1
|
|
call WhirlpoolEffect
|
|
call WhirlpoolEffect
|
|
call WhirlpoolEffect
|
|
delay 12
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_TARGET, delay=2, initial_blend_y=7, target_blend_y=0, color=RGB(0, 13, 23)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
WhirlpoolEffect:
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 28, 384, 50, 8, 50, ANIM_TARGET
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 32, 240, 40, 11, -46, ANIM_TARGET
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 33, 416, 40, 4, 42, ANIM_TARGET
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 31, 288, 45, 6, -42, ANIM_TARGET
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 28, 448, 45, 11, 46, ANIM_TARGET
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 50, 10, -50, ANIM_TARGET
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_Fly::
|
|
choosetwoturnanim FlySetUp, FlyUnleash
|
|
FlyEnd:
|
|
waitforvisualfinish
|
|
end
|
|
|
|
FlySetUp:
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
createsprite gFlyBallUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
goto FlyEnd
|
|
|
|
FlyUnleash:
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gFlyBallAttackSpriteTemplate, ANIM_ATTACKER, 2, 20, FALSE
|
|
delay 20
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 8, 1
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
goto FlyEnd
|
|
|
|
gBattleAnimMove_Bounce::
|
|
choosetwoturnanim BounceSetUp, BounceUnleash
|
|
BounceEnd:
|
|
end
|
|
|
|
BounceSetUp:
|
|
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
|
createsprite gBounceBallShrinkSpriteTemplate, ANIM_ATTACKER, 2, 0, 0
|
|
goto BounceEnd
|
|
|
|
BounceUnleash:
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
createsprite gBounceBallLandSpriteTemplate, ANIM_TARGET, 3
|
|
delay 7
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 5, 11, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
goto BounceEnd
|
|
|
|
gBattleAnimMove_KarateChop::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
createsprite gKarateChopSpriteTemplate, ANIM_ATTACKER, 2, -16, 0, 0, 0, 10, 1, 3, 0
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 6, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_CrossChop::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_TARGET
|
|
createsprite gCrossChopHandSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 0
|
|
createsprite gCrossChopHandSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 1
|
|
delay 40
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=1, color1=RGB_WHITE, blend_y1=10, color2=RGB_BLACK, blend_y2=10
|
|
create_cross_impact_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=1, duration=20
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 7, 0, 9, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_JumpKick::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4
|
|
delay 3
|
|
createsprite gJumpKickSpriteTemplate, ANIM_ATTACKER, 2, -16, 8, 0, 0, 10, ANIM_TARGET, 1, 1
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 1, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 5, 0, 7, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_HighJumpKick::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, -24, 0, 0, 8
|
|
waitforvisualfinish
|
|
delay 10
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 3
|
|
delay 2
|
|
createsprite gJumpKickSpriteTemplate, ANIM_ATTACKER, 2, -16, 8, 0, 0, 10, ANIM_TARGET, 1, 1
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -28, 0, 0, 3
|
|
delay 3
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 3, 0, 11, 1
|
|
waitforvisualfinish
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 6
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_DoubleKick::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
createsprite gFistFootRandomPosSpriteTemplate, ANIM_ATTACKER, 3, 1, 20, 1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 6, 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_TripleKick::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
jumpifmoveturn 0, TripleKickLeft
|
|
jumpifmoveturn 1, TripleKickRight
|
|
goto TripleKickCenter
|
|
TripleKickContinue:
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
TripleKickLeft:
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 4, -16, -8, 20, 1, 1
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-16, y=-16, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 6, 1
|
|
goto TripleKickContinue
|
|
|
|
TripleKickRight:
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 4, 8, 8, 20, 1, 1
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=8, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 6, 1
|
|
goto TripleKickContinue
|
|
|
|
TripleKickCenter:
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 4, 0, 0, 20, 1, 1
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=-8, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 8, 1
|
|
goto TripleKickContinue
|
|
|
|
gBattleAnimMove_DynamicPunch::
|
|
delay 1
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 3, 0, 0, 20, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 5, 0, 7, 1
|
|
delay 1
|
|
waitsound
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 5, 0, 28, 1
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 24, -24, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, 1, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Counter::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 1, 4
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 0, 0, 4
|
|
delay 4
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-15, y=18, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 25, 1
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 3, -15, 18, 8, 1, 0
|
|
delay 3
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=-4, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 3, 0, -4, 8, 1, 0
|
|
delay 3
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=15, y=9, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 3, 15, 9, 8, 1, 0
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_VitalThrow::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 12, 4, 1, 2
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 20, 0, 0, 4
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -24, 0, 0, 4
|
|
waitforvisualfinish
|
|
delay 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 7
|
|
delay 11
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 10
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_RockSmash::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
delay 1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gFistFootSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 8, 1, 0
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 5, 1
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 20, 24, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 5, 0, -20, 24, 14, 1
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 0, 5, 20, -24, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, -5, 0, -20, -24, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 30, 18, 8, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 30, -18, 8, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, -30, 18, 8, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, -30, -18, 8, 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 7, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Submission::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET, 10
|
|
waitplaysewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER, 20
|
|
waitplaysewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET, 30
|
|
waitplaysewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER, 40
|
|
waitplaysewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET, 50
|
|
waitplaysewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER, 60
|
|
waitplaysewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET, 70
|
|
waitplaysewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER, 80
|
|
waitplaysewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET, 90
|
|
createvisualtask AnimTask_TranslateMonElliptical, 2, 0, -18, 6, 6, 4
|
|
createvisualtask AnimTask_TranslateMonElliptical, 2, 1, 18, 6, 6, 4
|
|
call SubmissionHit
|
|
call SubmissionHit
|
|
call SubmissionHit
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
SubmissionHit:
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=-12, relative_to=ANIM_TARGET, animation=1
|
|
delay 8
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=-12, y=8, relative_to=ANIM_TARGET, animation=1
|
|
delay 8
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=12, y=0, relative_to=ANIM_TARGET, animation=1
|
|
delay 8
|
|
return
|
|
|
|
@ Also used by Sunny weather
|
|
gBattleAnimMove_SunnyDay::
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 13, 3
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 1, 0, 6, RGB_WHITE
|
|
waitforvisualfinish
|
|
panse_adjustnone SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +1, 0
|
|
call SunnyDayLightRay
|
|
call SunnyDayLightRay
|
|
call SunnyDayLightRay
|
|
call SunnyDayLightRay
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 1, 6, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
SunnyDayLightRay:
|
|
createsprite gSunlightRaySpriteTemplate, ANIM_ATTACKER, 40
|
|
delay 6
|
|
return
|
|
|
|
gBattleAnimMove_CottonSpore::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
loopsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET, 18, 10
|
|
call CreateCottonSpores
|
|
call CreateCottonSpores
|
|
call CreateCottonSpores
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
CreateCottonSpores:
|
|
create_spore_particle_sprite ANIM_ATTACKER, 2, x=0, y=-20, wave_offset=85, duration=80, blend=0
|
|
delay 12
|
|
create_spore_particle_sprite ANIM_ATTACKER, 2, x=0, y=-10, wave_offset=170, duration=80, blend=0
|
|
delay 12
|
|
create_spore_particle_sprite ANIM_ATTACKER, 2, x=0, y=-15, wave_offset=0, duration=80, blend=0
|
|
delay 12
|
|
return
|
|
|
|
gBattleAnimMove_Spore::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_SporeDoubleBattle, 2
|
|
loopsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET, 16, 11
|
|
call CreateSpore
|
|
call CreateSpore
|
|
call CreateSpore
|
|
waitforvisualfinish
|
|
delay 1
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
CreateSpore:
|
|
create_spore_particle_sprite ANIM_TARGET, 2, x=0, y=-20, wave_offset=85, duration=80, blend=1
|
|
delay 12
|
|
create_spore_particle_sprite ANIM_TARGET, 2, x=0, y=-10, wave_offset=170, duration=80, blend=1
|
|
delay 12
|
|
create_spore_particle_sprite ANIM_TARGET, 2, x=0, y=-15, wave_offset=0, duration=80, blend=1
|
|
delay 12
|
|
return
|
|
|
|
gBattleAnimMove_PetalDance::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 12, 6, 6, 3
|
|
call CreatePetals
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 24, 0, 0, 5
|
|
delay 3
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 6, 0, 8, 1
|
|
waitforvisualfinish
|
|
delay 8
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 7
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
CreatePetals:
|
|
create_petal_dance_big_flower_sprite ANIM_ATTACKER, 2, initial_x=0, initial_y=-24, target_y=8, duration=140
|
|
create_petal_dance_small_flower_sprite ANIM_ATTACKER, 2, initial_x=16, initial_y=-24, target_y=8, duration=100
|
|
create_petal_dance_small_flower_sprite ANIM_ATTACKER, 2, initial_x=-16, initial_y=-24, target_y=8, duration=100
|
|
delay 15
|
|
create_petal_dance_big_flower_sprite ANIM_ATTACKER, 2, initial_x=0, initial_y=-24, target_y=8, duration=140
|
|
create_petal_dance_small_flower_sprite ANIM_ATTACKER, 2, initial_x=32, initial_y=-24, target_y=8, duration=100
|
|
create_petal_dance_small_flower_sprite ANIM_ATTACKER, 2, initial_x=-32, initial_y=-24, target_y=8, duration=100
|
|
delay 15
|
|
create_petal_dance_big_flower_sprite ANIM_ATTACKER, 2, initial_x=0, initial_y=-24, target_y=8, duration=140
|
|
create_petal_dance_small_flower_sprite ANIM_ATTACKER, 2, initial_x=24, initial_y=-24, target_y=8, duration=100
|
|
create_petal_dance_small_flower_sprite ANIM_ATTACKER, 2, initial_x=-24, initial_y=-24, target_y=8, duration=100
|
|
delay 30
|
|
create_petal_dance_small_flower_sprite ANIM_ATTACKER, 2, initial_x=16, initial_y=-24, target_y=0, duration=100
|
|
create_petal_dance_small_flower_sprite ANIM_ATTACKER, 2, initial_x=-16, initial_y=-24, target_y=0, duration=100
|
|
delay 30
|
|
create_petal_dance_small_flower_sprite ANIM_ATTACKER, 2, initial_x=20, initial_y=-16, target_y=14, duration=80
|
|
create_petal_dance_small_flower_sprite ANIM_ATTACKER, 2, initial_x=-20, initial_y=-14, target_y=16, duration=80
|
|
return
|
|
|
|
gBattleAnimMove_RazorLeaf::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
delay 1
|
|
loopsewithpan SE_M_POISON_POWDER, SOUND_PAN_ATTACKER, 10, 5
|
|
call CreateRazorLeaves
|
|
delay 60
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
call CreateRazorLeafCutters
|
|
delay 20
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 8, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 2, 0, 8, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
CreateRazorLeaves:
|
|
create_razor_leaf_particle_sprite ANIM_ATTACKER, 2, upward_delta_x=-3, upward_delta_y=-2, upward_duration=10
|
|
delay 2
|
|
create_razor_leaf_particle_sprite ANIM_ATTACKER, 2, upward_delta_x=-1, upward_delta_y=-1, upward_duration=15
|
|
delay 2
|
|
create_razor_leaf_particle_sprite ANIM_ATTACKER, 2, upward_delta_x=-4, upward_delta_y=-4, upward_duration=7
|
|
delay 2
|
|
create_razor_leaf_particle_sprite ANIM_ATTACKER, 2, upward_delta_x=3, upward_delta_y=-3, upward_duration=11
|
|
delay 2
|
|
create_razor_leaf_particle_sprite ANIM_ATTACKER, 2, upward_delta_x=-1, upward_delta_y=-6, upward_duration=8
|
|
delay 2
|
|
create_razor_leaf_particle_sprite ANIM_ATTACKER, 2, upward_delta_x=2, upward_delta_y=-1, upward_duration=12
|
|
delay 2
|
|
create_razor_leaf_particle_sprite ANIM_ATTACKER, 2, upward_delta_x=-3, upward_delta_y=-4, upward_duration=13
|
|
delay 2
|
|
create_razor_leaf_particle_sprite ANIM_ATTACKER, 2, upward_delta_x=4, upward_delta_y=-5, upward_duration=7
|
|
delay 2
|
|
create_razor_leaf_particle_sprite ANIM_ATTACKER, 2, upward_delta_x=2, upward_delta_y=-6, upward_duration=11
|
|
delay 2
|
|
create_razor_leaf_particle_sprite ANIM_ATTACKER, 2, upward_delta_x=-3, upward_delta_y=-5, upward_duration=8
|
|
return
|
|
|
|
CreateRazorLeafCutters:
|
|
create_razor_leaf_cutter_sprite ANIM_TARGET, 3, initial_x=20, initial_y=-10, target_x=20, target_y=0, duration=22, wave_amplitude=20, target_both=1
|
|
create_razor_leaf_cutter_sprite ANIM_TARGET, 3, initial_x=20, initial_y=-10, target_x=20, target_y=0, duration=22, wave_amplitude=-20, target_both=1
|
|
return
|
|
|
|
gBattleAnimMove_NaturePower::
|
|
@ No actual animation, uses the animation of a move from src/data/battle_environment.h instead
|
|
|
|
gBattleAnimMove_AncientPower::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
shake_mon_or_platform velocity=4, shake_timer=1, shake_duration=10, type=SHAKE_BG_Y
|
|
createsprite gAncientPowerRockSpriteTemplate, ANIM_ATTACKER, 2, 20, 32, -48, 50, 2
|
|
createsprite gAncientPowerRockSpriteTemplate, ANIM_ATTACKER, 2, 0, 32, -38, 25, 5
|
|
createsprite gAncientPowerRockSpriteTemplate, ANIM_ATTACKER, 2, 32, 32, -28, 40, 3
|
|
createsprite gAncientPowerRockSpriteTemplate, ANIM_ATTACKER, 2, -20, 32, -48, 50, 2
|
|
createsprite gAncientPowerRockSpriteTemplate, ANIM_ATTACKER, 2, 20, 32, -28, 60, 1
|
|
createsprite gAncientPowerRockSpriteTemplate, ANIM_ATTACKER, 2, 0, 32, -28, 30, 4
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 30, 1
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
delay 10
|
|
createsprite gAncientPowerRockSpriteTemplate, ANIM_ATTACKER, 2, 15, 32, -48, 25, 5
|
|
createsprite gAncientPowerRockSpriteTemplate, ANIM_ATTACKER, 2, -10, 32, -42, 30, 4
|
|
delay 10
|
|
createsprite gAncientPowerRockSpriteTemplate, ANIM_ATTACKER, 2, 0, 32, -42, 25, 5
|
|
createsprite gAncientPowerRockSpriteTemplate, ANIM_ATTACKER, 2, -25, 32, -48, 30, 4
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 16, 0, 0, 4
|
|
delay 3
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 7
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Octazooka::
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_ATTACKER
|
|
createsprite gOctazookaBallSpriteTemplate, ANIM_TARGET, 2, 20, 0, 0, 0, 20, 0
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, 8, 8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, -8, -8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, 8, -8, 1, 0
|
|
delay 2
|
|
createsprite gOctazookaSmokeSpriteTemplate, ANIM_TARGET, 2, -8, 8, 1, 0
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Mist::
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 12, 8
|
|
loopsewithpan SE_M_MIST, SOUND_PAN_ATTACKER, 20, 15
|
|
call MistCloud
|
|
call MistCloud
|
|
call MistCloud
|
|
call MistCloud
|
|
call MistCloud
|
|
call MistCloud
|
|
call MistCloud
|
|
delay 32
|
|
blend_color_cycle selector=F_PAL_ATK_SIDE, delay=8, num_blends=2, initial_blend_y=0, target_blend_y=14, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
MistCloud:
|
|
createsprite gMistCloudSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 48, 240, 0, 1
|
|
delay 7
|
|
return
|
|
|
|
gBattleAnimMove_Haze::
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_HAZE, 0
|
|
createvisualtask AnimTask_HazeScrollingFog, 5
|
|
delay 30
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BATTLERS_2, 2, 0, 16, RGB_BLACK
|
|
delay 90
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BATTLERS_2, 1, 16, 0, RGB_BLACK
|
|
end
|
|
|
|
gBattleAnimMove_FirePunch::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 9, RGB_RED
|
|
createsprite gFireSpiralInwardSpriteTemplate, ANIM_TARGET, 1, 0
|
|
createsprite gFireSpiralInwardSpriteTemplate, ANIM_TARGET, 1, 64
|
|
createsprite gFireSpiralInwardSpriteTemplate, ANIM_TARGET, 1, 128
|
|
createsprite gFireSpiralInwardSpriteTemplate, ANIM_TARGET, 1, 196
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createsprite gFistFootSpriteTemplate, ANIM_TARGET, 3, 0, 0, 8, 1, 0
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 15, 1
|
|
call FireSpreadEffect
|
|
delay 4
|
|
playsewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 0, 9, 0, RGB_RED
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
FireSpreadEffect:
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, 192, 176, 40
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, -192, 240, 40
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, 192, -160, 40
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, -192, -112, 40
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, 160, 48, 40
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, -224, -32, 40
|
|
createsprite gFireSpreadSpriteTemplate, ANIM_TARGET, 1, 0, 10, 112, -128, 40
|
|
return
|
|
|
|
gBattleAnimMove_Leer::
|
|
monbg ANIM_ATTACKER
|
|
splitbgprio ANIM_ATTACKER
|
|
setalpha 8, 8
|
|
playsewithpan SE_M_LEER, SOUND_PAN_ATTACKER
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, 24, -12
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -5, -5, 10, ANIM_ATTACKER, 1
|
|
waitforvisualfinish
|
|
delay 10
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 9, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 9, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
delay 1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_DreamEater::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_foes ANIM_TARGET
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
call SetPsychicBackground
|
|
setalpha 8, 8
|
|
playsewithpan SE_M_MINIMIZE, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 5, 0, 15, 1
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -6, -6, 15, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 2, 25, 1
|
|
call DreamEaterAbsorb
|
|
waitforvisualfinish
|
|
delay 15
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
delay 1
|
|
call UnsetPsychicBg
|
|
end
|
|
DreamEaterAbsorb:
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=5, y=-18, wave_amplitude=-40, wave_period=35
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-10, y=20, wave_amplitude=20, wave_period=39
|
|
delay 4
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=28, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-10, y=20, wave_amplitude=40, wave_period=39
|
|
delay 4
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-5, y=15, wave_amplitude=16, wave_period=33
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-32, wave_period=26
|
|
delay 4
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=-15, wave_amplitude=-16, wave_period=36
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-8, wave_period=26
|
|
delay 4
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-5, y=15, wave_amplitude=16, wave_period=33
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=-15, wave_amplitude=-16, wave_period=36
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
delay 4
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-5, y=15, wave_amplitude=16, wave_period=33
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-40, wave_period=26
|
|
delay 4
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-5, y=15, wave_amplitude=36, wave_period=33
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=10, y=-5, wave_amplitude=-8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=-10, y=20, wave_amplitude=20, wave_period=39
|
|
delay 4
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=0, y=5, wave_amplitude=8, wave_period=26
|
|
create_absorption_orb_sprite ANIM_ATTACKER, 3, x=5, y=-18, wave_amplitude=-20, wave_period=35
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimMove_PoisonGas::
|
|
delay 0
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_all
|
|
setalpha 12, 8
|
|
delay 0
|
|
playsewithpan SE_M_MIST, SOUND_PAN_ATTACKER
|
|
createsprite gPoisonGasCloudSpriteTemplate, ANIM_TARGET, 0, 64, 0, 0, -32, -6, 4192, 1072, 0
|
|
delay 4
|
|
playsewithpan SE_M_MIST, SOUND_PAN_ATTACKER
|
|
createsprite gPoisonGasCloudSpriteTemplate, ANIM_TARGET, 0, 64, 0, 0, -32, -6, 4192, 1072, 0
|
|
delay 4
|
|
playsewithpan SE_M_MIST, SOUND_PAN_ATTACKER
|
|
createsprite gPoisonGasCloudSpriteTemplate, ANIM_TARGET, 0, 64, 0, 0, -32, -6, 4192, 1072, 0
|
|
delay 4
|
|
playsewithpan SE_M_MIST, SOUND_PAN_ATTACKER
|
|
createsprite gPoisonGasCloudSpriteTemplate, ANIM_TARGET, 0, 64, 0, 0, -32, -6, 4192, 1072, 0
|
|
delay 4
|
|
playsewithpan SE_M_MIST, SOUND_PAN_ATTACKER
|
|
createsprite gPoisonGasCloudSpriteTemplate, ANIM_TARGET, 0, 64, 0, 0, -32, -6, 4192, 1072, 0
|
|
delay 4
|
|
playsewithpan SE_M_MIST, SOUND_PAN_ATTACKER
|
|
createsprite gPoisonGasCloudSpriteTemplate, ANIM_TARGET, 0, 64, 0, 0, -32, -6, 4192, 1072, 0
|
|
delay 40
|
|
loopsewithpan SE_M_MIST, SOUND_PAN_TARGET, 28, 6
|
|
.if B_UPDATED_MOVE_DATA >= GEN_5
|
|
blend_color_cycle selector=F_PAL_DEF_SIDE, delay=6, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(26, 0, 26)
|
|
.else
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=6, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(26, 0, 26)
|
|
.endif
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
delay 0
|
|
end
|
|
|
|
gBattleAnimMove_Bind::
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 6, 3328, 4, ANIM_ATTACKER
|
|
goto BindWrap
|
|
|
|
BindWrap:
|
|
playsewithpan SE_M_BIND, SOUND_PAN_TARGET
|
|
call BindWrapSqueezeTarget
|
|
call BindWrapSqueezeTarget
|
|
waitforvisualfinish
|
|
end
|
|
BindWrapSqueezeTarget:
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, 10, -5, 5, ANIM_TARGET, 0
|
|
delay 16
|
|
return
|
|
|
|
gBattleAnimMove_Wrap::
|
|
createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 6, 4, 2, 4
|
|
goto BindWrap
|
|
|
|
gBattleAnimMove_Psybeam::
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
call SetPsychicBackground
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_PSYBEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 3, 4, 0, 15
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 6, 2048, 4, ANIM_TARGET
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(31, 18, 31)
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
call PsybeamRings
|
|
waitforvisualfinish
|
|
delay 1
|
|
call UnsetPsychicBg
|
|
end
|
|
PsybeamRings:
|
|
createsprite gGoldRingSpriteTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 13, 0
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimMove_Hypnosis::
|
|
call SetPsychicBackground
|
|
call HypnosisRings
|
|
call HypnosisRings
|
|
call HypnosisRings
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(31, 18, 31)
|
|
waitforvisualfinish
|
|
delay 1
|
|
call UnsetPsychicBg
|
|
end
|
|
HypnosisRings:
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_ATTACKER
|
|
createsprite gGoldRingSpriteTemplate, ANIM_TARGET, 2, 0, 8, 0, 8, 27, 0
|
|
createsprite gGoldRingSpriteTemplate, ANIM_TARGET, 2, 16, -8, 0, -8, 27, 0
|
|
delay 6
|
|
return
|
|
|
|
gBattleAnimMove_Psywave::
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
call SetPsychicBackground
|
|
createvisualtask AnimTask_StartSinAnimTimer, 5, 100
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_TELEPORT, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 9, 0, 10
|
|
call PsywaveRings
|
|
call PsywaveRings
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=1, num_blends=4, initial_blend_y=0, target_blend_y=12, color=RGB(31, 18, 31)
|
|
call PsywaveRings
|
|
call PsywaveRings
|
|
call PsywaveRings
|
|
call PsywaveRings
|
|
waitforvisualfinish
|
|
delay 1
|
|
call UnsetPsychicBg
|
|
end
|
|
PsywaveRings:
|
|
createsprite gPsywaveRingSpriteTemplate, ANIM_TARGET, 3, 10, 10, 0, 16
|
|
delay 4
|
|
createsprite gPsywaveRingSpriteTemplate, ANIM_TARGET, 3, 10, 10, 0, 16
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimMove_ZapCannon::
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_ATTACKER
|
|
createsprite gZapCannonBallSpriteTemplate, ANIM_TARGET, 3, 10, 0, 0, 0, 30, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 0, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 64, 40, 1
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 128, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 16, 30, 192, 40, 2
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 32, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 96, 40, 1
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 160, 40, 0
|
|
createsprite gZapCannonSparkSpriteTemplate, ANIM_TARGET, 4, 10, 0, 8, 30, 224, 40, 2
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 5, 1
|
|
delay 15
|
|
waitplaysewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET, 19
|
|
call ElectricityEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SteelWing::
|
|
loopsewithpan SE_M_HARDEN, SOUND_PAN_ATTACKER, 28, 2
|
|
metallic_shine permanent=0
|
|
waitforvisualfinish
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
loopsewithpan SE_M_WING_ATTACK, SOUND_PAN_ATTACKER, 20, 2
|
|
createvisualtask AnimTask_TranslateMonElliptical, 2, 0, 12, 4, 1, 4
|
|
createvisualtask AnimTask_AnimateGustTornadoPalette, 5, 1, 70
|
|
createsprite gGustToTargetSpriteTemplate, ANIM_ATTACKER, 2, -25, 0, 0, 0, 20
|
|
createsprite gGustToTargetSpriteTemplate, ANIM_ATTACKER, 2, 25, 0, 0, 0, 20
|
|
delay 24
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 24, 0, 0, 9
|
|
delay 17
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=16, y=0, relative_to=ANIM_TARGET, animation=1
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-16, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 11
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_IronTail::
|
|
loopsewithpan SE_M_HARDEN, SOUND_PAN_ATTACKER, 28, 2
|
|
metallic_shine permanent=1
|
|
waitforvisualfinish
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
set_original_pal battler=ANIM_ATTACKER
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_PoisonTail::
|
|
loopsewithpan SE_M_HARDEN, SOUND_PAN_ATTACKER, 28, 2
|
|
metallic_shine permanent=1, color=RGB(24, 6, 23)
|
|
waitforvisualfinish
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
set_original_pal battler=ANIM_ATTACKER
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
call PoisonBubblesEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_MetalClaw::
|
|
loopsewithpan SE_M_HARDEN, SOUND_PAN_ATTACKER, 28, 2
|
|
metallic_shine permanent=0
|
|
waitforvisualfinish
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 6, 4
|
|
delay 2
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
call CreateClawSlashes1
|
|
shake_mon_or_platform velocity=-4, shake_timer=1, shake_duration=10, type=SHAKE_MON_Y, battler_selector=SHAKE_MON_TARGET
|
|
delay 8
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 6, 4
|
|
delay 2
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
call CreateClawSlashes2
|
|
shake_mon_or_platform velocity=-4, shake_timer=1, shake_duration=10, type=SHAKE_MON_Y, battler_selector=SHAKE_MON_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_NightShade::
|
|
monbg ANIM_ATTACKER
|
|
splitbgprio ANIM_ATTACKER
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
fadetobg BG_GHOST
|
|
waitbgfadein
|
|
delay 10
|
|
playsewithpan SE_M_LEER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_NightShadeClone, 5, 85
|
|
delay 70
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 12, 1
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=13, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 1
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_EggBomb::
|
|
playsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
createsprite gEggThrowSpriteTemplate, ANIM_TARGET, 2, 10, 0, 0, 0, 25, -32
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 16, 1
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 6, 5, 1, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 3
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, -16, -15, 1, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 3
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 16, -5, 1, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 3
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, -12, 18, 1, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 3
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 4, 0, 5, 1, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 3
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_ShadowBall::
|
|
fadetobg BG_GHOST
|
|
waitbgfadein
|
|
delay 15
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_MIST, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 5, 5, 0, 5
|
|
createsprite gShadowBallSpriteTemplate, ANIM_TARGET, 2, 16, 16, 8
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SAND_ATTACK, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 8, 1
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_Lick::
|
|
delay 15
|
|
playsewithpan SE_M_LICK, SOUND_PAN_TARGET
|
|
createsprite gLickSpriteTemplate, ANIM_TARGET, 2, 0, 0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 16, 1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_FocusEnergy::
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call EndureEffect
|
|
delay 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_WHITE
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call EndureEffect
|
|
delay 8
|
|
call EndureEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Bide::
|
|
choosetwoturnanim BideSetUp, BideUnleash
|
|
end
|
|
BideSetUp:
|
|
loopsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER, 9, 2
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_RED
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
BideUnleash:
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
loopsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER, 9, 2
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 11, RGB_RED
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 24, 0, 0, 4
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 2, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 16, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 1, x=18, y=-8, relative_to=ANIM_TARGET, animation=1
|
|
delay 5
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 1, x=-18, y=8, relative_to=ANIM_TARGET, animation=1
|
|
delay 5
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 1, x=-8, y=-5, relative_to=ANIM_TARGET, animation=1
|
|
waitforvisualfinish
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 7
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 11, 0, RGB_RED
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_StringShot::
|
|
monbg ANIM_DEF_PARTNER
|
|
delay 0
|
|
simple_palette_blend unused_subpriority_offset=5, selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=9, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
loopsewithpan SE_M_STRING_SHOT, SOUND_PAN_ATTACKER, 9, 6
|
|
call StringShotThread
|
|
call StringShotThread
|
|
call StringShotThread
|
|
call StringShotThread
|
|
call StringShotThread
|
|
call StringShotThread
|
|
call StringShotThread
|
|
call StringShotThread
|
|
call StringShotThread
|
|
call StringShotThread
|
|
call StringShotThread
|
|
call StringShotThread
|
|
call StringShotThread
|
|
call StringShotThread
|
|
call StringShotThread
|
|
call StringShotThread
|
|
call StringShotThread
|
|
call StringShotThread
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_STRING_SHOT2, SOUND_PAN_TARGET
|
|
create_string_wrap_sprite ANIM_TARGET, 2, x=0, y=10
|
|
delay 4
|
|
create_string_wrap_sprite ANIM_TARGET, 2, x=0, y=-2
|
|
delay 4
|
|
create_string_wrap_sprite ANIM_TARGET, 2, x=0, y=22
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
delay 1
|
|
waitforvisualfinish
|
|
simple_palette_blend unused_subpriority_offset=5, selector=F_PAL_BG, delay=2, initial_blend_y=9, target_blend_y=0, color=RGB_BLACK
|
|
end
|
|
|
|
StringShotThread:
|
|
create_web_thread_sprite ANIM_TARGET, 2, x=20, y=0, unk2=512, amplitude=20, targets_both=1
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_SpiderWeb::
|
|
monbg ANIM_DEF_PARTNER
|
|
delay 0
|
|
simple_palette_blend unused_subpriority_offset=5, selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=9, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
splitbgprio ANIM_TARGET
|
|
loopsewithpan SE_M_STRING_SHOT, SOUND_PAN_ATTACKER, 9, 6
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
call SpiderWebThread
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_STRING_SHOT2, SOUND_PAN_TARGET
|
|
createsprite gSpiderWebSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, FALSE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
delay 1
|
|
simple_palette_blend unused_subpriority_offset=5, selector=F_PAL_BG, delay=2, initial_blend_y=9, target_blend_y=0, color=RGB_BLACK
|
|
end
|
|
|
|
SpiderWebThread:
|
|
create_web_thread_sprite ANIM_TARGET, 2, x=20, y=0, unk2=512, amplitude=20, targets_both=0
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_RazorWind::
|
|
choosetwoturnanim RazorWindSetUp, RazorWindUnleash
|
|
RazorWindEnd:
|
|
waitforvisualfinish
|
|
end
|
|
|
|
RazorWindSetUp:
|
|
playsewithpan SE_M_GUST, SOUND_PAN_ATTACKER
|
|
createsprite gRazorWindTornadoSpriteTemplate, ANIM_ATTACKER, 2, 32, 0, 16, 16, 0, 7, 40
|
|
createsprite gRazorWindTornadoSpriteTemplate, ANIM_ATTACKER, 2, 32, 0, 16, 16, 85, 7, 40
|
|
createsprite gRazorWindTornadoSpriteTemplate, ANIM_ATTACKER, 2, 32, 0, 16, 16, 170, 7, 40
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_GUST2, SOUND_PAN_ATTACKER
|
|
goto RazorWindEnd
|
|
|
|
RazorWindUnleash:
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
createsprite gAirWaveCrescentSpriteTemplate, ANIM_ATTACKER, 2, 14, 8, 0, 0, 22, 2, 1
|
|
delay 2
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
createsprite gAirWaveCrescentSpriteTemplate, ANIM_ATTACKER, 2, 14, -8, 16, 14, 22, 1, 1
|
|
delay 2
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
createsprite gAirWaveCrescentSpriteTemplate, ANIM_ATTACKER, 2, 14, 12, -16, -14, 22, 0, 1
|
|
delay 17
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 10, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 2, 0, 10, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
goto RazorWindEnd
|
|
|
|
gBattleAnimMove_Disable::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 8, 8
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
createsprite gSpinningSparkleSpriteTemplate, ANIM_ATTACKER, 13, 24, -16
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_GrowAndGrayscale, 5
|
|
loopsewithpan SE_M_BIND, SOUND_PAN_TARGET, 15, 4
|
|
waitforvisualfinish
|
|
delay 1
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Recover::
|
|
monbg ANIM_ATK_PARTNER
|
|
setalpha 12, 8
|
|
loopsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER, 13, 3
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=6, initial_blend_y=0, target_blend_y=11, color=RGB(31, 31, 11)
|
|
call RecoverAbsorbEffect
|
|
call RecoverAbsorbEffect
|
|
call RecoverAbsorbEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
delay 1
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
RecoverAbsorbEffect:
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=40, y=-10, duration=13
|
|
delay 3
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=-35, y=-10, duration=13
|
|
delay 3
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=15, y=-40, duration=13
|
|
delay 3
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=-10, y=-32, duration=13
|
|
delay 3
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=25, y=-20, duration=13
|
|
delay 3
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=-40, y=-20, duration=13
|
|
delay 3
|
|
create_power_absorption_orb_sprite ANIM_ATTACKER, 2, x=5, y=-40, duration=13
|
|
delay 3
|
|
return
|
|
|
|
gBattleAnimMove_Mimic::
|
|
setalpha 11, 5
|
|
monbg_static ANIM_DEF_PARTNER
|
|
splitbgprio_all
|
|
panse SE_M_MINIMIZE, SOUND_PAN_TARGET, SOUND_PAN_ATTACKER, -3, 0
|
|
shrink_target_copy unk0=128, unk1=24
|
|
delay 15
|
|
create_mimic_orb_sprite ANIM_TARGET, 2, initial_x=-12, initial_y=24
|
|
delay 10
|
|
setarg 7, -1
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
clearmonbg_static ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_Constrict::
|
|
call CreateConstrictBinding
|
|
playsewithpan SE_M_BIND, SOUND_PAN_TARGET
|
|
setarg 7, -1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
CreateConstrictBinding:
|
|
loopsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET, 6, 4
|
|
create_constrict_binding_sprite ANIM_TARGET, 4, initial_x=0, initial_y=16, affine_animation=0, squeezes=2
|
|
delay 7
|
|
create_constrict_binding_sprite ANIM_TARGET, 3, initial_x=0, initial_y=0, affine_animation=0, squeezes=2
|
|
create_constrict_binding_sprite ANIM_TARGET, 2, initial_x=0, initial_y=8, affine_animation=1, squeezes=2
|
|
delay 7
|
|
create_constrict_binding_sprite ANIM_TARGET, 3, initial_x=0, initial_y=-8, affine_animation=1, squeezes=2
|
|
delay 8
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
delay 20
|
|
return
|
|
|
|
gBattleAnimMove_Curse::
|
|
choosetwoturnanim CurseGhost, CurseStats
|
|
CurseGhost:
|
|
monbg ANIM_ATK_PARTNER
|
|
createvisualtask AnimTask_CurseStretchingBlackBg, 5
|
|
waitforvisualfinish
|
|
delay 20
|
|
createsprite gCurseNailSpriteTemplate, ANIM_ATTACKER, 2
|
|
delay 60
|
|
call CurseGhostShakeFromNail
|
|
delay 41
|
|
call CurseGhostShakeFromNail
|
|
delay 41
|
|
call CurseGhostShakeFromNail
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
delay 1
|
|
monbg ANIM_DEF_PARTNER
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_TARGET
|
|
createsprite gCurseGhostSpriteTemplate, ANIM_TARGET, 2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 14, 1
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=16, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
CurseGhostShakeFromNail:
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 4, 0, 10, 0
|
|
playsewithpan SE_M_BIND, SOUND_PAN_ATTACKER
|
|
return
|
|
CurseStats:
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 10, 1536, 3, ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
delay 10
|
|
call CurseStats1
|
|
waitforvisualfinish
|
|
end
|
|
CurseStats1:
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_DrawFallingWhiteLinesOnAttacker, 5
|
|
blend_color_cycle priority=5, selector=F_PAL_ATTACKER, delay=4, num_blends=2, initial_blend_y=0, target_blend_y=10, color=RGB_RED
|
|
return
|
|
|
|
gBattleAnimMove_SoftBoiled::
|
|
monbg ANIM_ATK_PARTNER
|
|
playsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 2, 6, 1
|
|
createsprite gSoftBoiledEggSpriteTemplate, ANIM_ATTACKER, 4, 0, 16, 0
|
|
createsprite gSoftBoiledEggSpriteTemplate, ANIM_ATTACKER, 4, 0, 16, 1
|
|
delay 120
|
|
delay 7
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_ATTACKER
|
|
simple_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, initial_blend_y=10, target_blend_y=0, color=RGB(12, 24, 30)
|
|
createsprite gThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 3, 31, 16, 0, 1
|
|
delay 8
|
|
createsprite gThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 3, 31, 16, 0, 1
|
|
delay 60
|
|
setarg 7, -1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
call HealingEffect2
|
|
end
|
|
|
|
gBattleAnimMove_HealBell::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATK_SIDE, 0, 0, 10, RGB_WHITE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_LoadMusicNotesPals, 5
|
|
createsprite gBellSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 0, 1
|
|
delay 12
|
|
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, 48, -18, 35, 0, 0
|
|
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, -48, 20, 30, 1, 1
|
|
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, -38, -29, 30, 2, 2
|
|
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, 36, 18, 30, 3, 3
|
|
call HealBellRing
|
|
delay 33
|
|
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, 19, 26, 35, 4, 4
|
|
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, -34, -12, 30, 5, 5
|
|
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, 41, -20, 34, 6, 2
|
|
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, -15, 26, 32, 7, 0
|
|
call HealBellRing
|
|
delay 33
|
|
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, -48, 18, 31, 0, 2
|
|
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, 48, -20, 30, 2, 5
|
|
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, 38, 29, 33, 4, 3
|
|
createsprite gHealBellMusicNoteSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, -36, -18, 30, 6, 1
|
|
call HealBellRing
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_FreeMusicNotesPals, 5
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_BELL
|
|
unloadspritepal ANIM_TAG_BELL
|
|
unloadspritegfx ANIM_TAG_MUSIC_NOTES_2
|
|
unloadspritepal ANIM_TAG_MUSIC_NOTES_2
|
|
unloadspritegfx ANIM_TAG_THIN_RING
|
|
unloadspritepal ANIM_TAG_THIN_RING
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
createsprite gSparklingStarsSpriteTemplate, ANIM_ATTACKER, 16, -15, 0, 0, 0, 32, 60, 1
|
|
delay 8
|
|
createsprite gSparklingStarsSpriteTemplate, ANIM_ATTACKER, 16, 12, -5, 0, 0, 32, 60, 1
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_SPARKLE_2
|
|
unloadspritepal ANIM_TAG_SPARKLE_2
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 10, 4, 3, 10, 0, RGB(12, 24, 30)
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATK_SIDE, 3, 10, 0, RGB_WHITE
|
|
createsprite gBlendThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 16, 0, 0, 0, 1
|
|
end
|
|
HealBellRing:
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 10, 4, 3, 8, 0, RGB(12, 24, 30)
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATK_SIDE, 3, 2, 10, RGB_WHITE
|
|
createsprite gThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 40, 0, -24, 0, 1
|
|
playsewithpan SE_M_HEAL_BELL, SOUND_PAN_ATTACKER
|
|
return
|
|
|
|
gBattleAnimMove_FakeOut::
|
|
playsewithpan SE_M_FLATTER, 0
|
|
createvisualtask AnimTask_FakeOut, 5
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SKETCH, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 5, 1
|
|
createvisualtask AnimTask_StretchTargetUp, 3
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=3, initial_blend_y=16, target_blend_y=0, color=RGB_WHITE
|
|
end
|
|
|
|
gBattleAnimMove_ScaryFace::
|
|
simple_palette_blend selector=(F_PAL_BG | F_PAL_ATK_SIDE | F_PAL_DEF_PARTNER), delay=3, initial_blend_y=0, target_blend_y=16, color=RGB_BLACK
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_LEER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaryFace, 5
|
|
delay 13
|
|
createsprite gEyeSparkleSpriteTemplate, ANIM_ATTACKER, 0, -16, -8
|
|
createsprite gEyeSparkleSpriteTemplate, ANIM_ATTACKER, 0, 16, -8
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeTargetInPattern, 3, 20, 1, FALSE
|
|
playsewithpan SE_M_STRING_SHOT2, SOUND_PAN_TARGET
|
|
simple_palette_blend selector=(F_PAL_BG | F_PAL_ATK_SIDE | F_PAL_DEF_PARTNER), delay=3, initial_blend_y=16, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SweetKiss::
|
|
createsprite gAngelSpriteTemplate, ANIM_TARGET, 2, 16, -48
|
|
playsewithpan SE_M_HEAL_BELL, SOUND_PAN_TARGET
|
|
delay 23
|
|
playsewithpan SE_M_HEAL_BELL, SOUND_PAN_TARGET
|
|
delay 23
|
|
playsewithpan SE_M_HEAL_BELL, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 160, -30
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_TARGET
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -256, -42
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 128, -14
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 416, -38
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -128, -22
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -384, -31
|
|
end
|
|
|
|
gBattleAnimMove_LovelyKiss::
|
|
createsprite gDevilSpriteTemplate, ANIM_TARGET, 2, 0, -24
|
|
playsewithpan SE_M_PSYBEAM2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_TARGET
|
|
createsprite gPinkHeartSpriteTemplate, ANIM_TARGET, 3, -256, -42
|
|
createsprite gPinkHeartSpriteTemplate, ANIM_TARGET, 3, 128, -14
|
|
createsprite gPinkHeartSpriteTemplate, ANIM_TARGET, 3, 416, -38
|
|
createsprite gPinkHeartSpriteTemplate, ANIM_TARGET, 3, -128, -22
|
|
end
|
|
|
|
gBattleAnimMove_FurySwipes::
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 5, 5
|
|
delay 4
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET
|
|
createsprite gFurySwipesSpriteTemplate, ANIM_TARGET, 2, 16, 0, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 5, 1
|
|
delay 10
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_TARGET, 2, 5, 5
|
|
delay 4
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET
|
|
createsprite gFurySwipesSpriteTemplate, ANIM_TARGET, 2, -16, 0, 0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 7, 1
|
|
end
|
|
|
|
gBattleAnimMove_Ingrain::
|
|
call CreateIngrainRoots
|
|
call CreateIngrainOrbs
|
|
waitforvisualfinish
|
|
end
|
|
|
|
CreateIngrainRoots:
|
|
create_ingrain_root_sprite ANIM_ATTACKER, 2, offset_x=16, offset_y=26, subpriority=-1, animation=2, duration=150
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_ATTACKER
|
|
delay 10
|
|
create_ingrain_root_sprite ANIM_ATTACKER, 2, offset_x=-32, offset_y=20, subpriority=1, animation=1, duration=140
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_ATTACKER
|
|
delay 10
|
|
create_ingrain_root_sprite ANIM_ATTACKER, 2, offset_x=32, offset_y=22, subpriority=1, animation=0, duration=130
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_ATTACKER
|
|
delay 10
|
|
create_ingrain_root_sprite ANIM_ATTACKER, 2, offset_x=-16, offset_y=25, subpriority=-1, animation=3, duration=120
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_ATTACKER
|
|
delay 40
|
|
return
|
|
|
|
CreateIngrainOrbs:
|
|
create_ingrain_orb_sprite ANIM_ATTACKER, 3, initial_x=32, initial_y=26, velocity_x=-1, wave_amplitude=3, duration=30
|
|
delay 5
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
create_ingrain_orb_sprite ANIM_ATTACKER, 3, initial_x=-48, initial_y=20, velocity_x=1, wave_amplitude=2, duration=30
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
create_ingrain_orb_sprite ANIM_ATTACKER, 3, initial_x=48, initial_y=26, velocity_x=-2, wave_amplitude=3, duration=18
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
delay 10
|
|
return
|
|
|
|
gBattleAnimMove_Present::
|
|
createvisualtask AnimTask_IsHealingMove, 2
|
|
create_present_sprite ANIM_TARGET, 2, initial_x=0, initial_y=-5, unk2=10, unk3=2, unk4=-1
|
|
playsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
delay 14
|
|
playsewithpan SE_M_BUBBLE2, SOUND_PAN_ATTACKER
|
|
delay 14
|
|
playsewithpan SE_M_BUBBLE2, 0
|
|
delay 20
|
|
playsewithpan SE_M_BUBBLE2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
jumpretfalse PresentDamage
|
|
jumprettrue PresentHeal
|
|
end
|
|
|
|
PresentDamage:
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, 1, 1
|
|
end
|
|
|
|
PresentHeal:
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_TARGET
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=-16, initial_y=32, velocity_y=-3
|
|
delay 3
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=16, initial_y=32, velocity_y=-3, unused3=-1
|
|
delay 3
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=32, initial_y=32, velocity_y=-3
|
|
delay 3
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=-32, initial_y=32, velocity_y=-3
|
|
delay 3
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=0, initial_y=32, velocity_y=-3
|
|
delay 3
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=-8, initial_y=32, velocity_y=-3
|
|
delay 3
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=-8, initial_y=32, velocity_y=-3
|
|
delay 3
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=24, initial_y=32, velocity_y=-3
|
|
delay 3
|
|
create_present_heal_particle_sprite ANIM_TARGET, 4, initial_x=-24, initial_y=32, velocity_y=-3
|
|
waitforvisualfinish
|
|
waitsound
|
|
call HealingEffect2
|
|
end
|
|
|
|
gBattleAnimMove_BatonPass::
|
|
playsewithpan SE_M_BATON_PASS, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=(F_PAL_BG | F_PAL_BATTLERS), delay=1, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB(31, 22, 30)
|
|
createsprite gBatonPassPokeballSpriteTemplate, ANIM_ATTACKER, 2
|
|
end
|
|
|
|
gBattleAnimMove_PerishSong::
|
|
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 0
|
|
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 1, 1, 16
|
|
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 2, 1, 32
|
|
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 3, 2, 48
|
|
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 4, 2, 64
|
|
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 5, 0, 80
|
|
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 6, 0, 96
|
|
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 7, 1, 112
|
|
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 8, 2, 128
|
|
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 9, 0, 144
|
|
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 10, 2, 160
|
|
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 11, 0, 176
|
|
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 12, 1, 192
|
|
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 13, 3, 208
|
|
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 14, 3, 224
|
|
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 15, 0, 240
|
|
createsprite gPerishSongMusicNote2SpriteTemplate, ANIM_ATTACKER, 4, 15, 0, 0
|
|
delay 20
|
|
panse SE_M_PERISH_SONG, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
delay 80
|
|
simple_palette_blend selector=F_PAL_BG, delay=3, initial_blend_y=0, target_blend_y=16, color=RGB_BLACK
|
|
set_grayscale_pal battler=ANIM_PLAYER_LEFT
|
|
set_grayscale_pal battler=ANIM_PLAYER_RIGHT
|
|
set_grayscale_pal battler=ANIM_OPPONENT_LEFT
|
|
set_grayscale_pal battler=ANIM_OPPONENT_RIGHT
|
|
delay 100
|
|
simple_palette_blend selector=F_PAL_BG, delay=3, initial_blend_y=16, target_blend_y=0, color=RGB_BLACK
|
|
set_original_pal battler=ANIM_PLAYER_LEFT
|
|
set_original_pal battler=ANIM_PLAYER_RIGHT
|
|
set_original_pal battler=ANIM_OPPONENT_LEFT
|
|
set_original_pal battler=ANIM_OPPONENT_RIGHT
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SleepTalk::
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 4, 4096, 2, ANIM_ATTACKER
|
|
delay 20
|
|
createsprite gLetterZSpriteTemplate, ANIM_TARGET, 2, 0, 20, 5, -1
|
|
playsewithpan SE_M_SNORE, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
createsprite gLetterZSpriteTemplate, ANIM_TARGET, 2, 0, 20, 5, -1
|
|
delay 6
|
|
createsprite gLetterZSpriteTemplate, ANIM_TARGET, 2, 0, 20, 5, -1
|
|
delay 20
|
|
createsprite gLetterZSpriteTemplate, ANIM_TARGET, 2, 0, 20, 5, -5
|
|
playsewithpan SE_M_SNORE, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
createsprite gLetterZSpriteTemplate, ANIM_TARGET, 2, 0, 20, 5, -5
|
|
delay 6
|
|
createsprite gLetterZSpriteTemplate, ANIM_TARGET, 2, 0, 20, 5, -5
|
|
delay 20
|
|
createsprite gLetterZSpriteTemplate, ANIM_TARGET, 2, 0, 20, 5, -3
|
|
playsewithpan SE_M_SNORE, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
createsprite gLetterZSpriteTemplate, ANIM_TARGET, 2, 0, 20, 5, -3
|
|
delay 6
|
|
createsprite gLetterZSpriteTemplate, ANIM_TARGET, 2, 0, 20, 5, -3
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_HyperFang::
|
|
playsewithpan SE_M_BITE, SOUND_PAN_TARGET
|
|
delay 1
|
|
delay 2
|
|
createvisualtask AnimTask_IsContest, 2
|
|
jumprettrue HyperFangInContest
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpretfalse HyperFangOnOpponent
|
|
goto HyperFangOnPlayer
|
|
HyperFangContinue:
|
|
waitbgfadeout
|
|
createsprite gFangSpriteTemplate, ANIM_TARGET, 2
|
|
waitbgfadein
|
|
createvisualtask AnimTask_ShakeMon, 3, ANIM_TARGET, 0, 10, 10, 1
|
|
playsewithpan SE_M_LEER, SOUND_PAN_TARGET
|
|
delay 20
|
|
restorebg
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
end
|
|
HyperFangOnOpponent:
|
|
fadetobg BG_IMPACT_OPPONENT
|
|
goto HyperFangContinue
|
|
HyperFangOnPlayer:
|
|
fadetobg BG_IMPACT_PLAYER
|
|
goto HyperFangContinue
|
|
HyperFangInContest:
|
|
fadetobg BG_IMPACT_CONTESTS
|
|
goto HyperFangContinue
|
|
|
|
gBattleAnimMove_TriAttack::
|
|
createsprite gTriAttackTriangleSpriteTemplate, ANIM_TARGET, 2, 16, 0
|
|
playsewithpan SE_M_TRI_ATTACK, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
playsewithpan SE_M_TRI_ATTACK, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_TRI_ATTACK, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 5, 6, 0, 7
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=16, color=RGB_BLACK
|
|
delay 16
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, -1, 0
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, 0, 1
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, -1, -1
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, 2, 1
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, 1, -1
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, -1, 1
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, 1, -2
|
|
delay 1
|
|
createsprite gLargeFlameScatterSpriteTemplate, ANIM_TARGET, 2, 0, 0, 30, 30, 3, 1
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeTargetInPattern, 2, 20, 3, TRUE, 1
|
|
waitforvisualfinish
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -48
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -16
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, 16
|
|
delay 20
|
|
createvisualtask AnimTask_ShakeTargetInPattern, 2, 20, 3, TRUE, 0
|
|
delay 2
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
waitforvisualfinish
|
|
call IceCrystalEffectShort
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=16, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_WillOWisp::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_foes ANIM_TARGET
|
|
playsewithpan SE_M_EMBER, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_EMBER, SOUND_PAN_ATTACKER, 10
|
|
createvisualtask SoundTask_AdjustPanningVar, 2, SOUND_PAN_ATTACKER, SOUND_PAN_ATTACKER, 1, 0
|
|
createsprite gWillOWispOrbSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 0
|
|
delay 3
|
|
createsprite gWillOWispOrbSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1
|
|
delay 3
|
|
createsprite gWillOWispOrbSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 2
|
|
delay 3
|
|
createsprite gWillOWispOrbSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 3
|
|
delay 40
|
|
createvisualtask SoundTask_AdjustPanningVar, 2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
waitforvisualfinish
|
|
splitbgprio_all
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 13, 1
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_ATTACKER, 2, 42
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_ATTACKER, 2, 84
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_ATTACKER, 2, 126
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_ATTACKER, 2, 168
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_ATTACKER, 2, 210
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_Encore::
|
|
createvisualtask AnimTask_CreateSpotlight, 2
|
|
createvisualtask AnimTask_HardwarePaletteFade, 2, (BLDCNT_TGT1_BG3 | BLDCNT_TGT1_OBJ | BLDCNT_TGT1_BD | BLDCNT_EFFECT_DARKEN), 3, 0, 10, FALSE
|
|
waitforvisualfinish
|
|
createsprite gSpotlightSpriteTemplate, ANIM_TARGET, 2, 0, -8
|
|
createsprite gClappingHandSpriteTemplate, ANIM_ATTACKER, 2, -2, 0, 0, 0, 9
|
|
createsprite gClappingHandSpriteTemplate, ANIM_ATTACKER, 2, 2, 0, 1, 0, 9
|
|
createsprite gClappingHand2SpriteTemplate, ANIM_ATTACKER, 3, -2, 0, 0, 0, 9
|
|
createsprite gClappingHand2SpriteTemplate, ANIM_ATTACKER, 3, 2, 0, 1, 0, 9
|
|
delay 16
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_ENCORE2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_SwayMon, 5, 1, 8, 1536, 5, ANIM_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_HardwarePaletteFade, 2, (BLDCNT_TGT1_BG3 | BLDCNT_TGT1_OBJ | BLDCNT_TGT1_BD | BLDCNT_EFFECT_DARKEN), 3, 10, 0, TRUE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RemoveSpotlight, 2
|
|
end
|
|
|
|
gBattleAnimMove_Trick::
|
|
call SwapItems
|
|
end
|
|
|
|
SwapItems:
|
|
create_trick_bag_sprite ANIM_ATTACKER, 2, initial_y=-40, wave_offset=80
|
|
create_trick_bag_sprite ANIM_ATTACKER, 2, initial_y=-40, wave_offset=208
|
|
delay 16
|
|
playsewithpan SE_M_SKETCH, 0
|
|
createvisualtask AnimTask_StretchTargetUp, 3
|
|
createvisualtask AnimTask_StretchAttackerUp, 3
|
|
delay 30
|
|
playsewithpan SE_M_DOUBLE_TEAM, 0
|
|
delay 24
|
|
playsewithpan SE_M_DOUBLE_TEAM, 0
|
|
delay 16
|
|
playsewithpan SE_M_DOUBLE_TEAM, 0
|
|
delay 16
|
|
playsewithpan SE_M_DOUBLE_TEAM, 0
|
|
delay 16
|
|
playsewithpan SE_M_DOUBLE_TEAM, 0
|
|
delay 16
|
|
playsewithpan SE_M_DOUBLE_TEAM, 0
|
|
delay 16
|
|
playsewithpan SE_M_ATTRACT, 0
|
|
createvisualtask AnimTask_ShakeMon, 3, ANIM_ATTACKER, 5, 0, 7, 2
|
|
createvisualtask AnimTask_ShakeMon, 3, ANIM_TARGET, 5, 0, 7, 2
|
|
waitforvisualfinish
|
|
return
|
|
|
|
gBattleAnimMove_Wish::
|
|
simple_palette_blend selector=F_PAL_BG, delay=3, initial_blend_y=0, target_blend_y=10, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
panse_adjustall SE_M_REFLECT, SOUND_PAN_TARGET, SOUND_PAN_ATTACKER, -3, 0
|
|
createsprite gWishStarSpriteTemplate, ANIM_ATTACKER, 40
|
|
waitforvisualfinish
|
|
delay 60
|
|
loopsewithpan SE_M_HEAL_BELL, SOUND_PAN_ATTACKER, 16, 3
|
|
call GrantingStarsEffect
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=3, initial_blend_y=10, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Stockpile::
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=8, num_blends=1, initial_blend_y=0, target_blend_y=12, color=RGB_WHITE
|
|
createvisualtask AnimTask_StockpileDeformMon, 5
|
|
call StockpileAbsorb
|
|
call StockpileAbsorb
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_ATTACKER, delay=0, initial_blend_y=12, target_blend_y=0, color=RGB_WHITE
|
|
end
|
|
StockpileAbsorb:
|
|
create_stockpile_absorption_orb_sprite ANIM_ATTACKER, 2, x=55, y=55, duration=13
|
|
delay 1
|
|
create_stockpile_absorption_orb_sprite ANIM_ATTACKER, 2, x=-55, y=-55, duration=13
|
|
delay 1
|
|
create_stockpile_absorption_orb_sprite ANIM_ATTACKER, 2, x=0, y=55, duration=13
|
|
delay 1
|
|
create_stockpile_absorption_orb_sprite ANIM_ATTACKER, 2, x=0, y=-55, duration=13
|
|
delay 1
|
|
create_stockpile_absorption_orb_sprite ANIM_ATTACKER, 2, x=55, y=-34, duration=13
|
|
delay 1
|
|
create_stockpile_absorption_orb_sprite ANIM_ATTACKER, 2, x=55, y=34, duration=13
|
|
delay 1
|
|
create_stockpile_absorption_orb_sprite ANIM_ATTACKER, 2, x=-55, y=-34, duration=13
|
|
delay 1
|
|
create_stockpile_absorption_orb_sprite ANIM_ATTACKER, 2, x=-55, y=34, duration=13
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_SpitUp::
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_SpitUpDeformMon, 5
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 8, 2
|
|
delay 45
|
|
playsewithpan SE_M_SPIT_UP, SOUND_PAN_ATTACKER
|
|
delay 3
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 0, 12
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 32, 12
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 64, 12
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 96, 12
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 128, 12
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 160, 12
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 192, 12
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 224, 12
|
|
delay 5
|
|
createvisualtask AnimTask_GetStockpileCounter, 2
|
|
jumpreteq 2, SpitUpStrong
|
|
jumpreteq 3, SpitUpStrongest
|
|
SpitUpContinue:
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, FALSE, 1, 8, 1, 0
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=-12, y=10, relative_to=ANIM_TARGET, animation=1
|
|
delay 5
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
create_flashing_hitsplat_sprite ANIM_TARGET, 3, x=12, y=-10, relative_to=ANIM_TARGET, animation=1
|
|
waitforvisualfinish
|
|
end
|
|
SpitUpStrong:
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 16
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 80
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 144
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 208
|
|
goto SpitUpContinue
|
|
SpitUpStrongest:
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 16
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 48
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 80
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 112
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 144
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 176
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 208
|
|
createsprite gSpitUpOrbSpriteTemplate, ANIM_ATTACKER, 2, 240
|
|
goto SpitUpContinue
|
|
|
|
gBattleAnimMove_Swallow::
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_SwallowDeformMon, 5
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 8, 2
|
|
delay 38
|
|
playsewithpan SE_M_SPIT_UP, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 2, 0, 12, 1
|
|
call SwallowEffect
|
|
jumpifmoveturn 2, SwallowGood
|
|
jumpifmoveturn 3, SwallowBest
|
|
SwallowContinue:
|
|
waitforvisualfinish
|
|
call HealingEffect
|
|
end
|
|
SwallowEffect:
|
|
createsprite gSwallowBlueOrbSpriteTemplate, ANIM_ATTACKER, 2, 0, -8
|
|
delay 1
|
|
createsprite gSwallowBlueOrbSpriteTemplate, ANIM_ATTACKER, 2, -24, -8
|
|
delay 1
|
|
createsprite gSwallowBlueOrbSpriteTemplate, ANIM_ATTACKER, 2, 16, -8
|
|
delay 1
|
|
createsprite gSwallowBlueOrbSpriteTemplate, ANIM_ATTACKER, 2, -16, -8
|
|
delay 1
|
|
createsprite gSwallowBlueOrbSpriteTemplate, ANIM_ATTACKER, 2, 24, -8
|
|
delay 1
|
|
return
|
|
SwallowGood:
|
|
call SwallowEffect
|
|
goto SwallowContinue
|
|
SwallowBest:
|
|
call SwallowEffect
|
|
call SwallowEffect
|
|
goto SwallowContinue
|
|
|
|
gBattleAnimMove_Transform::
|
|
monbg ANIM_ATTACKER
|
|
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_MINIMIZE, SOUND_PAN_ATTACKER, 48
|
|
createvisualtask AnimTask_TransformMon, 2, SPECIES_GFX_CHANGE_TRANSFORM
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
gBattleAnimMove_MorningSun::
|
|
createvisualtask AnimTask_MorningSunLightBeam, 5
|
|
delay 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 8, 0, 12, RGB_WHITE
|
|
delay 14
|
|
call MorningSunStar
|
|
call MorningSunStar
|
|
call MorningSunStar
|
|
call MorningSunStar
|
|
call MorningSunStar
|
|
call MorningSunStar
|
|
call MorningSunStar
|
|
call MorningSunStar
|
|
call MorningSunStar
|
|
call MorningSunStar
|
|
call MorningSunStar
|
|
call MorningSunStar
|
|
call MorningSunStar
|
|
call MorningSunStar
|
|
call MorningSunStar
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 3, 12, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
waitsound
|
|
call HealingEffect
|
|
end
|
|
MorningSunStar:
|
|
createsprite gGreenStarSpriteTemplate, ANIM_ATTACKER, 2, 30, 640
|
|
delay 5
|
|
return
|
|
|
|
gBattleAnimMove_SweetScent::
|
|
playsewithpan SE_M_SWEET_SCENT, SOUND_PAN_ATTACKER
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 100, 0, 100
|
|
delay 25
|
|
setpan 0
|
|
call SweetScentEffect
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 55, 0
|
|
setpan SOUND_PAN_TARGET
|
|
blend_color_cycle selector=F_PAL_DEF_SIDE, delay=1, num_blends=5, initial_blend_y=5, target_blend_y=13, color=RGB(31, 21, 21)
|
|
call SweetScentEffect
|
|
waitforvisualfinish
|
|
end
|
|
SweetScentEffect:
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 70, 1, 64
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 60, 0, 64
|
|
delay 5
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 80, 1, 64
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 58, 0, 120
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 100, 0, 120
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 90, 0, 64
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 48, 0, 64
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 95, 1, 80
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 100, 0, 120
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 75, 1, 64
|
|
delay 2
|
|
createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 85, 0, 120
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_HyperBeam::
|
|
simple_palette_blend selector=F_PAL_BG, delay=4, initial_blend_y=0, target_blend_y=16, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_HYPER_BEAM, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 4, 1
|
|
waitforvisualfinish
|
|
delay 30
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, SE_M_HYPER_BEAM2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 1, 15, 0, 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 4, 50, 1
|
|
flash_anim_tag_with_color tag=ANIM_TAG_ORBS, delay=1, num_blends=12, color1=RGB_RED, blend_y1=16, color2=0, blend_y2=0
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 50, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 11, RGB(25, 25, 25)
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
call HyperBeamOrbs
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 11, 0, RGB(25, 25, 25)
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=4, initial_blend_y=16, target_blend_y=0, color=RGB_BLACK
|
|
end
|
|
HyperBeamOrbs:
|
|
create_hyper_beam_orb_sprite ANIM_TARGET, 2
|
|
create_hyper_beam_orb_sprite ANIM_TARGET, 2
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimMove_Flatter::
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_ENCORE2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_CreateSpotlight, 2
|
|
createvisualtask AnimTask_HardwarePaletteFade, 2, (BLDCNT_TGT1_BG3 | BLDCNT_TGT1_OBJ | BLDCNT_TGT1_BD | BLDCNT_EFFECT_DARKEN), 3, 0, 10, FALSE
|
|
waitforvisualfinish
|
|
createsprite gFlatterSpotlightSpriteTemplate, ANIM_TARGET, 2, 0, -8, 80
|
|
delay 0
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 5, 2, ANIM_TARGET
|
|
delay 10
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 5, 2, ANIM_TARGET
|
|
delay 0
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_FLATTER, SOUND_PAN_ATTACKER
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
call CreateFlatterConfetti
|
|
delay 5
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_FLATTER, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_HardwarePaletteFade, 2, (BLDCNT_TGT1_BG3 | BLDCNT_TGT1_OBJ | BLDCNT_TGT1_BD | BLDCNT_EFFECT_DARKEN), 3, 10, 0, TRUE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RemoveSpotlight, 2
|
|
end
|
|
CreateFlatterConfetti:
|
|
createsprite gFlatterConfettiSpriteTemplate, ANIM_ATTACKER, 40, ANIM_ATTACKER
|
|
createsprite gFlatterConfettiSpriteTemplate, ANIM_ATTACKER, 40, ANIM_TARGET
|
|
return
|
|
|
|
gBattleAnimMove_RolePlay::
|
|
monbg ANIM_ATK_PARTNER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 16, RGB_WHITE
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=10, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_TRI_ATTACK, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_DETECT, SOUND_PAN_ATTACKER, 30
|
|
createvisualtask AnimTask_RolePlaySilhouette, 2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 16, 0, RGB_WHITE
|
|
delay 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=2, initial_blend_y=10, target_blend_y=0, color=RGB_BLACK
|
|
end
|
|
|
|
gBattleAnimMove_Refresh::
|
|
playsewithpan SE_M_STAT_INCREASE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_StatusClearedEffect, 2, 0
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
call GrantingStarsEffect
|
|
waitforvisualfinish
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
simple_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, initial_blend_y=10, target_blend_y=0, color=RGB(12, 24, 30)
|
|
createsprite gThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
end
|
|
|
|
gBattleAnimMove_BlazeKick::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_TARGET
|
|
createsprite gSpinningHandOrFootSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 30
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 7, RGB_WHITE
|
|
delay 30
|
|
playsewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 14, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 0, RGB_WHITE
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, num_blends=1, color1=RGB_BLACK, blend_y1=8, color2=RGB_BLACK, blend_y2=0
|
|
call FireSpreadEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_HyperVoice::
|
|
createvisualtask SoundTask_PlayCryWithEcho, 5, FALSE
|
|
call HyperVoiceEffect
|
|
waitforvisualfinish
|
|
delay 8
|
|
createvisualtask SoundTask_PlayCryWithEcho, 5, TRUE
|
|
call HyperVoiceEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
HyperVoiceEffect:
|
|
simple_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=3, initial_blend_y=8, target_blend_y=0, color=RGB_YELLOW
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -5, -5, 5, ANIM_ATTACKER, 0
|
|
createsprite gHyperVoiceRingSpriteTemplate, ANIM_ATTACKER, 0, 45, 0, 0, 0, 0, 0, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 6, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 6, 1
|
|
shake_battle_platforms x_offset=1, y_offset=0, shakes=6, delay=1
|
|
createvisualtask SoundTask_WaitForCry, 5
|
|
return
|
|
|
|
gBattleAnimMove_SandTomb::
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_TARGET, delay=2, initial_blend_y=0, target_blend_y=7, color=RGB(19, 17, 0)
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 43, 1
|
|
playsewithpan SE_M_SAND_TOMB, SOUND_PAN_TARGET
|
|
call SandTombSwirlingDirt
|
|
call SandTombSwirlingDirt
|
|
call SandTombSwirlingDirt
|
|
delay 22
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_TARGET, delay=2, initial_blend_y=7, target_blend_y=0, color=RGB(19, 17, 0)
|
|
waitforvisualfinish
|
|
end
|
|
|
|
SandTombSwirlingDirt:
|
|
createsprite gSwirlingDirtSpriteTemplate, ANIM_TARGET, 2, 0, 32, 528, 30, 10, 50, ANIM_TARGET
|
|
delay 2
|
|
createsprite gSwirlingDirtSpriteTemplate, ANIM_TARGET, 2, 0, 36, 480, 20, 13, -46, ANIM_TARGET
|
|
delay 2
|
|
createsprite gSwirlingDirtSpriteTemplate, ANIM_TARGET, 2, 0, 37, 576, 20, 5, 42, ANIM_TARGET
|
|
delay 2
|
|
createsprite gSwirlingDirtSpriteTemplate, ANIM_TARGET, 2, 0, 35, 400, 25, 8, -42, ANIM_TARGET
|
|
delay 2
|
|
createsprite gSwirlingDirtSpriteTemplate, ANIM_TARGET, 2, 0, 32, 512, 25, 13, 46, ANIM_TARGET
|
|
delay 2
|
|
createsprite gSwirlingDirtSpriteTemplate, ANIM_TARGET, 2, 0, 37, 464, 30, 12, -50, ANIM_TARGET
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_SheerCold::
|
|
fadetobg BG_ICE
|
|
waitbgfadeout
|
|
playsewithpan SE_M_ICY_WIND, 0
|
|
waitbgfadein
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_FrozenIceCube, 2
|
|
waitplaysewithpan SE_M_HAIL, SOUND_PAN_TARGET, 17
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_ArmThrust::
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 5, 8, 5, ANIM_ATTACKER, 0
|
|
delay 6
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 3
|
|
delay 4
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
createsprite gArmThrustHandSpriteTemplate, ANIM_TARGET, 2, 10, -8, 14, 3
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 5, 8, 5, ANIM_ATTACKER, 1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
choosetwoturnanim ArmThrustRight, ArmThrustLeft
|
|
ArmThrustContinue:
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 6, 1
|
|
waitforvisualfinish
|
|
blendoff
|
|
end
|
|
ArmThrustRight:
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=8, y=0, relative_to=ANIM_TARGET, animation=2
|
|
goto ArmThrustContinue
|
|
ArmThrustLeft:
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-8, y=0, relative_to=ANIM_TARGET, animation=2
|
|
goto ArmThrustContinue
|
|
|
|
gBattleAnimMove_MuddyWater::
|
|
panse SE_M_WHIRLPOOL, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
create_surf_wave palette=ANIM_SURF_PAL_MUDDY_WATER
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_BulletSeed::
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
delay 5
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
delay 5
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
delay 5
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 30, 1
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
delay 5
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
delay 5
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
delay 5
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
delay 5
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
delay 5
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
delay 5
|
|
createsprite gBulletSeedSpriteTemplate, ANIM_TARGET, 2, 20, 0
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_DragonClaw::
|
|
playsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 4, 0, 8, RGB(31, 19, 0)
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 15, 1
|
|
call DragonClawFireSpiral
|
|
call DragonClawFireSpiral
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 6, 4
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 528, 30, 13, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
call CreateClawSlashes1
|
|
shake_mon_or_platform velocity=-4, shake_timer=1, shake_duration=10, type=SHAKE_MON_Y, battler_selector=SHAKE_MON_TARGET
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 32, 480, 20, 16, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 33, 576, 20, 8, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 31, 400, 25, 11, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 6, 4
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 512, 25, 16, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
call CreateClawSlashes2
|
|
shake_mon_or_platform velocity=-4, shake_timer=1, shake_duration=10, type=SHAKE_MON_Y, battler_selector=SHAKE_MON_TARGET
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 33, 464, 30, 15, -50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 528, 30, 13, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 32, 480, 20, 16, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 33, 576, 20, 8, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 31, 400, 25, 11, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 512, 25, 16, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 33, 464, 30, 15, -50, ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 4, 8, 0, RGB(31, 19, 0)
|
|
waitforvisualfinish
|
|
end
|
|
DragonClawFireSpiral:
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 528, 30, 13, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 32, 480, 20, 16, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 33, 576, 20, 8, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 31, 400, 25, 11, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 512, 25, 16, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_ATTACKER, 2, 0, 33, 464, 30, 15, -50, ANIM_ATTACKER
|
|
delay 2
|
|
return
|
|
end
|
|
|
|
gBattleAnimMove_MudShot::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 46, 1
|
|
delay 6
|
|
createvisualtask AnimTask_StartSinAnimTimer, 5, 100
|
|
panse SE_M_WHIRLPOOL, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +1, 0
|
|
call MudShotOrbs
|
|
call MudShotOrbs
|
|
call MudShotOrbs
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 43, 1
|
|
call MudShotOrbs
|
|
call MudShotOrbs
|
|
call MudShotOrbs
|
|
call MudShotOrbs
|
|
call MudShotOrbs
|
|
call MudShotOrbs
|
|
call MudShotOrbs
|
|
call MudShotOrbs
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
MudShotOrbs:
|
|
createsprite gMudShotOrbSpriteTemplate, ANIM_ATTACKER, 3, 10, 10, 0, 16
|
|
delay 2
|
|
createsprite gMudShotOrbSpriteTemplate, ANIM_ATTACKER, 3, 10, 10, 0, 16
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_MeteorMash::
|
|
panse SE_M_BARRIER, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +3, 0
|
|
fadetobg BG_COSMIC
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
createsprite gMeteorMashStarSpriteTemplate, ANIM_TARGET, 3, -48, -64, 72, 32, 30
|
|
delay 10
|
|
createsprite gMeteorMashStarSpriteTemplate, ANIM_TARGET, 3, -112, -64, 8, 32, 30
|
|
delay 40
|
|
createsprite gSpinningHandOrFootSpriteTemplate, ANIM_TARGET, 3, 0, 0, 0, 30
|
|
createsprite gMeteorMashStarSpriteTemplate, ANIM_TARGET, 3, -80, -64, 40, 32, 30
|
|
delay 20
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 5, 0, 20, 1
|
|
waitforvisualfinish
|
|
delay 10
|
|
restorebg
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Revenge::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createsprite gRevengeSmallScratchSpriteTemplate, ANIM_ATTACKER, 2, 10, -10
|
|
waitforvisualfinish
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=4, initial_blend_y=2, target_blend_y=8, color=RGB_RED
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_PURPLE_SCRATCH
|
|
unloadspritepal ANIM_TAG_PURPLE_SCRATCH
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 6, 4
|
|
delay 4
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
createsprite gRevengeBigScratchSpriteTemplate, ANIM_TARGET, 2, 10, -10
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_PURPLE_SWIPE
|
|
unloadspritepal ANIM_TAG_PURPLE_SWIPE
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 3, 0, 10, 1
|
|
create_persist_hitsplat_sprite ANIM_TARGET, 3, x=-10, y=-8, relative_to=ANIM_TARGET, animation=1, duration=8
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 8
|
|
create_persist_hitsplat_sprite ANIM_TARGET, 3, x=10, y=8, relative_to=ANIM_TARGET, animation=1, duration=8
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_PoisonFang::
|
|
playsewithpan SE_M_BITE, SOUND_PAN_TARGET
|
|
createsprite gFangSpriteTemplate, ANIM_TARGET, 2
|
|
delay 10
|
|
createvisualtask AnimTask_ShakeMon, 3, ANIM_TARGET, 3, 0, 10, 1
|
|
waitforvisualfinish
|
|
blend_color_cycle selector=F_PAL_TARGET, delay=0, num_blends=4, initial_blend_y=0, target_blend_y=12, color=RGB(26, 0, 26)
|
|
call PoisonBubblesEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Substitute::
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_MonToSubstitute, 2
|
|
end
|
|
|
|
gBattleAnimMove_FrenzyPlant::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_BG, delay=2, initial_blend_y=0, target_blend_y=5, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
create_frenzy_plant_root_sprite ANIM_ATTACKER, 2, interpolate_percent=10, offset_x=8, offset_y=2, subpriority=0, animation=0, duration=100
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
create_frenzy_plant_root_sprite ANIM_ATTACKER, 2, interpolate_percent=20, offset_x=-8, offset_y=-2, subpriority=0, animation=1, duration=95
|
|
playsewithpan SE_M_SCRATCH, -43
|
|
delay 5
|
|
create_frenzy_plant_root_sprite ANIM_ATTACKER, 2, interpolate_percent=30, offset_x=8, offset_y=-4, subpriority=0, animation=0, duration=90
|
|
playsewithpan SE_M_SCRATCH, -22
|
|
delay 5
|
|
create_frenzy_plant_root_sprite ANIM_ATTACKER, 2, interpolate_percent=40, offset_x=-8, offset_y=4, subpriority=0, animation=1, duration=85
|
|
playsewithpan SE_M_SCRATCH, 0
|
|
delay 5
|
|
create_frenzy_plant_root_sprite ANIM_ATTACKER, 2, interpolate_percent=50, offset_x=8, offset_y=0, subpriority=0, animation=0, duration=85
|
|
playsewithpan SE_M_SCRATCH, +21
|
|
delay 5
|
|
create_frenzy_plant_root_sprite ANIM_ATTACKER, 2, interpolate_percent=60, offset_x=-8, offset_y=-2, subpriority=0, animation=1, duration=85
|
|
playsewithpan SE_M_SCRATCH, +42
|
|
delay 5
|
|
create_frenzy_plant_root_sprite ANIM_ATTACKER, 2, interpolate_percent=75, offset_x=8, offset_y=0, subpriority=0, animation=0, duration=85
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_frenzy_plant_root_sprite ANIM_ATTACKER, 2, interpolate_percent=85, offset_x=16, offset_y=6, subpriority=0, animation=3, duration=80
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_frenzy_plant_root_sprite ANIM_ATTACKER, 2, interpolate_percent=85, offset_x=-16, offset_y=-6, subpriority=0, animation=2, duration=75
|
|
playsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-10, y=-10, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 3, ANIM_TARGET, 8, 0, 20, 1
|
|
delay 3
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=10, y=8, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=10, y=-3, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
delay 3
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-3, y=1, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-10, y=1, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=10, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_BG, delay=2, initial_blend_y=5, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_MetalSound::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_foes ANIM_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 2, 0, 8, 1
|
|
call MetalSoundRings
|
|
call MetalSoundRings
|
|
call MetalSoundRings
|
|
call MetalSoundRings
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
delay 0
|
|
waitforvisualfinish
|
|
end
|
|
MetalSoundRings:
|
|
panse SE_M_SCREECH, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
createsprite gMetalSoundSpriteTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 30, 0
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimMove_FocusPunch::
|
|
goto FocusPunch
|
|
FocusPunchEnd:
|
|
waitforvisualfinish
|
|
end
|
|
FocusPunch:
|
|
delay 1
|
|
createvisualtask AnimTask_IsContest, 2
|
|
jumprettrue FocusPunchInContest
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpretfalse FocusPunchOnOpponent
|
|
jumprettrue FocusPunchOnPlayer
|
|
FocusPunchContinue:
|
|
waitbgfadein
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
createsprite gFocusPunchFistSpriteTemplate, ANIM_TARGET, 2
|
|
delay 10
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-10, y=-8, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 8, 0, 24, 1
|
|
delay 8
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=10, y=2, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 8
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=10, y=-6, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 8
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=8, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
goto FocusPunchEnd
|
|
FocusPunchOnOpponent:
|
|
fadetobg BG_IMPACT_OPPONENT
|
|
goto FocusPunchContinue
|
|
FocusPunchOnPlayer:
|
|
fadetobg BG_IMPACT_PLAYER
|
|
goto FocusPunchContinue
|
|
FocusPunchInContest:
|
|
fadetobg BG_IMPACT_CONTESTS
|
|
goto FocusPunchContinue
|
|
|
|
gBattleAnimMove_Return::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_GetReturnPowerLevel, 2
|
|
delay 2
|
|
jumpreteq 0, ReturnWeak
|
|
jumpreteq 1, ReturnMedium
|
|
jumpreteq 2, ReturnStrong
|
|
jumpreteq 3, ReturnStrongest
|
|
ReturnContinue:
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
ReturnWeak:
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 16, 1, ANIM_ATTACKER
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 16, 1, ANIM_ATTACKER
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-10, y=-8, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
goto ReturnContinue
|
|
ReturnMedium:
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 6, 1, ANIM_ATTACKER
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 6, 1, ANIM_ATTACKER
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
delay 11
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 5, 4
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
goto ReturnContinue
|
|
ReturnStrong:
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 6, 1, ANIM_ATTACKER
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 6, 1, ANIM_ATTACKER
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 6, 1, ANIM_ATTACKER
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 6, 1, ANIM_ATTACKER
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-10, y=-8, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 8, 1
|
|
delay 8
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=10, y=10, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 8, 1
|
|
delay 8
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=3, y=-5, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 8, 1
|
|
delay 8
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-5, y=3, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 8, 1
|
|
goto ReturnContinue
|
|
ReturnStrongest:
|
|
simple_palette_blend selector=F_PAL_BG, delay=0, initial_blend_y=0, target_blend_y=6, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 16, 1, ANIM_ATTACKER
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
delay 8
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=3, y=-5, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 12, 1, ANIM_ATTACKER
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-10, y=-8, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 8, 1
|
|
waitforvisualfinish
|
|
delay 4
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 8, 1, ANIM_ATTACKER
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-10, y=-8, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 8, 1
|
|
waitforvisualfinish
|
|
delay 2
|
|
createvisualtask AnimTask_TraceMonBlended, 2, 0, 4, 5, 1
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 4, 1, ANIM_ATTACKER
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-10, y=-8, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 8, 1
|
|
createvisualtask AnimTask_TraceMonBlended, 2, 0, 4, 5, 1
|
|
waitforvisualfinish
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 4, 2, ANIM_ATTACKER
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-10, y=-8, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 8, 1
|
|
createvisualtask AnimTask_TraceMonBlended, 2, 0, 4, 5, 1
|
|
waitforvisualfinish
|
|
call ReturnStrongestHit
|
|
call ReturnStrongestHit
|
|
call ReturnStrongestHit
|
|
call ReturnStrongestHit
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-10, y=-8, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 8, 0, 24, 1
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=10, y=10, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=3, y=-5, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=-5, y=3, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=0, initial_blend_y=6, target_blend_y=0, color=RGB_BLACK
|
|
goto ReturnContinue
|
|
ReturnStrongestHit:
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 4, 3, ANIM_ATTACKER
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 8, 1
|
|
createvisualtask AnimTask_TraceMonBlended, 2, 0, 4, 5, 1
|
|
waitforvisualfinish
|
|
return
|
|
|
|
gBattleAnimMove_CosmicPower::
|
|
createvisualtask SoundTask_PlaySE2WithPanning, 5, SE_M_COSMIC_POWER, 0
|
|
playsewithpan SE_M_COSMIC_POWER, 0
|
|
createvisualtask AnimTask_BlendNonAttackerPalettes, 2, 0, 0, 15, RGB_BLACK
|
|
waitforvisualfinish
|
|
fadetobg BG_COSMIC
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 2, 0, 128, 0, -1
|
|
waitbgfadein
|
|
delay 70
|
|
createvisualtask SoundTask_PlaySE1WithPanning, 5, SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 2, -15, 0, 0, 0, 32, 60
|
|
delay 8
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 2, 12, -5, 0, 0, 32, 60
|
|
delay 40
|
|
createvisualtask AnimTask_BlendNonAttackerPalettes, 2, 0, 15, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, -1
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_BlastBurn::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SACRED_FIRE, SOUND_PAN_ATTACKER
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, -32, 0, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, -20, -10, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 66, 0, -16, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 66, 20, -10, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 66, 32, 0, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 66, 20, 10, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, 0, 16, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, -20, 10, 24, 0, 0, 0
|
|
delay 25
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_ATTACKER
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, -64, 0, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 6, -40, -20, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 70, 0, -32, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 70, 40, -20, 24, 0, 0, 0
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 8, 1
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 66, 64, 0, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 66, 40, 20, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, 0, 32, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, -40, 20, 24, 0, 0, 0
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
delay 25
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_ATTACKER
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, -96, 0, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 6, -60, -30, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 70, 0, -48, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 70, 60, -30, 24, 0, 0, 0
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-4, y=3, relative_to=ANIM_TARGET, animation=0
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 12, 0, 20, 1
|
|
shake_battle_platforms x_offset=2, y_offset=0, shakes=10, delay=1
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 66, 96, 0, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 66, 60, 30, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, 0, 48, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, -60, 30, 24, 0, 0, 0
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_RockTomb::
|
|
shake_battle_platforms x_offset=2, y_offset=0, shakes=10, delay=1
|
|
waitforvisualfinish
|
|
createsprite gRockTombRockSpriteTemplate, ANIM_TARGET, 2, 20, 12, 64, 114, 0
|
|
delay 8
|
|
shake_battle_platforms x_offset=0, y_offset=2, shakes=3, delay=1
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET
|
|
delay 8
|
|
createsprite gRockTombRockSpriteTemplate, ANIM_TARGET, 2, -20, 12, 64, 98, 0
|
|
delay 8
|
|
shake_battle_platforms x_offset=0, y_offset=2, shakes=3, delay=1
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET
|
|
delay 8
|
|
createsprite gRockTombRockSpriteTemplate, ANIM_TARGET, 66, 3, 6, 64, 82, 0
|
|
delay 8
|
|
shake_battle_platforms x_offset=0, y_offset=2, shakes=3, delay=1
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET
|
|
delay 8
|
|
createsprite gRockTombRockSpriteTemplate, ANIM_TARGET, 2, -3, 13, 64, 66, 0
|
|
delay 8
|
|
shake_battle_platforms x_offset=0, y_offset=2, shakes=3, delay=1
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET
|
|
delay 24
|
|
playsewithpan SE_M_HYPER_BEAM, SOUND_PAN_TARGET
|
|
createsprite gRedXSpriteTemplate, ANIM_TARGET, 5, ANIM_TARGET, 50
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 20, 1
|
|
shake_battle_platforms x_offset=2, y_offset=0, shakes=10, delay=1
|
|
waitforvisualfinish
|
|
end
|
|
|
|
SetBugBg:
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 10, ANIM_TARGET, 0, 0, 4, RGB_BLACK
|
|
createvisualtask AnimTask_GetAttackerSide, 2
|
|
jumprettrue SetBugBgPlayer
|
|
fadetobg BG_BUG_OPPONENT
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 1536, 0, 0, -1
|
|
goto SetBugBgFade
|
|
SetBugBgPlayer:
|
|
fadetobg BG_BUG_PLAYER
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -1536, 0, 0, -1
|
|
SetBugBgFade:
|
|
delay 0
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 4, 4, RGB_BLACK
|
|
waitbgfadein
|
|
return
|
|
|
|
UnsetBugBg:
|
|
restorebg
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 10, ANIM_TARGET, 0, 4, 0, RGB_BLACK
|
|
setarg 7, -1
|
|
waitbgfadein
|
|
return
|
|
|
|
gBattleAnimMove_SilverWind::
|
|
panse SE_M_GUST, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
playsewithpan SE_M_MORNING_SUN, 0
|
|
delay 0
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio_all
|
|
delay 0
|
|
call SetBugBg
|
|
createsprite gSilverWindBigSparkSpriteTemplate, ANIM_TARGET, 66, -32, 16, 0, 6, 2, 3, 1
|
|
createsprite gSilverWindBigSparkSpriteTemplate, ANIM_TARGET, 66, -8, 18, 64, 3, 2, 2, 1
|
|
createsprite gSilverWindBigSparkSpriteTemplate, ANIM_ATTACKER, 120, -24, 18, 90, 5, 1, 2, 1
|
|
createsprite gSilverWindBigSparkSpriteTemplate, ANIM_ATTACKER, 120, -40, 14, 128, 4, 1, 2, 1
|
|
delay 0
|
|
createsprite gSilverWindMediumSparkSpriteTemplate, ANIM_TARGET, 66, -32, 16, 0, 6, 2, 3, 1
|
|
createsprite gSilverWindMediumSparkSpriteTemplate, ANIM_TARGET, 66, -8, 18, 64, 3, 2, 2, 1
|
|
createsprite gSilverWindMediumSparkSpriteTemplate, ANIM_ATTACKER, 120, -24, 18, 90, 5, 1, 2, 1
|
|
createsprite gSilverWindMediumSparkSpriteTemplate, ANIM_ATTACKER, 120, -40, 14, 128, 4, 1, 2, 1
|
|
delay 0
|
|
createsprite gSilverWindSmallSparkSpriteTemplate, ANIM_TARGET, 66, -32, 16, 0, 6, 2, 3, 1
|
|
createsprite gSilverWindSmallSparkSpriteTemplate, ANIM_TARGET, 66, -8, 18, 64, 3, 2, 2, 1
|
|
createsprite gSilverWindSmallSparkSpriteTemplate, ANIM_ATTACKER, 120, -24, 18, 90, 5, 1, 2, 1
|
|
createsprite gSilverWindSmallSparkSpriteTemplate, ANIM_ATTACKER, 120, -40, 14, 128, 4, 1, 2, 1
|
|
delay 6
|
|
createsprite gSilverWindBigSparkSpriteTemplate, ANIM_TARGET, 66, -4, 16, 0, 6, 1, 2, 1
|
|
createsprite gSilverWindBigSparkSpriteTemplate, ANIM_TARGET, 66, -16, 12, 192, 5, 2, 3, 1
|
|
delay 0
|
|
createsprite gSilverWindMediumSparkSpriteTemplate, ANIM_TARGET, 66, -4, 16, 0, 6, 1, 2, 1
|
|
createsprite gSilverWindMediumSparkSpriteTemplate, ANIM_TARGET, 66, -16, 12, 192, 5, 2, 3, 1
|
|
delay 0
|
|
createsprite gSilverWindSmallSparkSpriteTemplate, ANIM_TARGET, 66, -4, 16, 0, 6, 1, 2, 1
|
|
createsprite gSilverWindSmallSparkSpriteTemplate, ANIM_TARGET, 66, -16, 12, 192, 5, 2, 3, 1
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_GUST2, SOUND_PAN_TARGET
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
delay 0
|
|
call UnsetBugBg
|
|
end
|
|
|
|
gBattleAnimMove_Snatch::
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_WindUpLunge, 5, ANIM_ATTACKER, -12, 4, 10, 10, 12, 6
|
|
end
|
|
|
|
gBattleAnimMove_Dive::
|
|
choosetwoturnanim DiveSetUp, DiveAttack
|
|
DiveSetUp:
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
createsprite gDiveBallSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DIVE, SOUND_PAN_ATTACKER
|
|
createsprite gDiveWaterSplashSpriteTemplate, ANIM_ATTACKER, 3, 0
|
|
call DiveSetUpWaterDroplets
|
|
call DiveSetUpWaterDroplets
|
|
call DiveSetUpWaterDroplets
|
|
call DiveSetUpWaterDroplets
|
|
call DiveSetUpWaterDroplets
|
|
end
|
|
DiveSetUpWaterDroplets:
|
|
createsprite gSprayWaterDropletSpriteTemplate, ANIM_ATTACKER, 5, 0, 0
|
|
createsprite gSprayWaterDropletSpriteTemplate, ANIM_ATTACKER, 5, 1, 0
|
|
return
|
|
DiveAttack:
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gDiveWaterSplashSpriteTemplate, ANIM_TARGET, 3, 1
|
|
call DiveAttackWaterDroplets
|
|
call DiveAttackWaterDroplets
|
|
call DiveAttackWaterDroplets
|
|
call DiveAttackWaterDroplets
|
|
call DiveAttackWaterDroplets
|
|
delay 12
|
|
call RisingWaterHitEffect
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
DiveAttackWaterDroplets:
|
|
createsprite gSprayWaterDropletSpriteTemplate, ANIM_TARGET, 5, 0, 1
|
|
createsprite gSprayWaterDropletSpriteTemplate, ANIM_TARGET, 5, 1, 1
|
|
return
|
|
|
|
gBattleAnimMove_RockBlast::
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 6
|
|
delay 3
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
createsprite gRockBlastRockSpriteTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 25, 257
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 2, 0, 0, 20, 24, 14, 2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 5, 1
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 2, 5, 0, -20, 24, 14, 1
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 2, 0, 5, 20, -24, 14, 2
|
|
createsprite gRockFragmentSpriteTemplate, ANIM_TARGET, 2, -5, 0, -20, -24, 14, 2
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Overheat::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 18
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=5, color=RGB(28, 0, 0)
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_AllocBackupPalBuffer, 5
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_CopyPalUnfadedToBackup, 5, 0, 1
|
|
delay 1
|
|
createvisualtask AnimTask_CopyPalFadedToUnfaded, 5, 0
|
|
delay 1
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_CopyPalUnfadedToBackup, 5, 1, 0
|
|
delay 1
|
|
simple_palette_blend selector=F_PAL_ATTACKER, delay=1, initial_blend_y=0, target_blend_y=13, color=RGB(28, 0, 0)
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 2, 0, 15, 1
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_ATTACKER
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=0, unk2=30, duration=25, y=-20
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=32, unk2=30, duration=25, y=-20
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=64, unk2=30, duration=25, y=-20
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=96, unk2=30, duration=25, y=-20
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=128, unk2=30, duration=25, y=-20
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=160, unk2=30, duration=25, y=-20
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=192, unk2=30, duration=25, y=-20
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=224, unk2=30, duration=25, y=-20
|
|
delay 5
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=0, unk2=30, duration=25, y=0
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=32, unk2=30, duration=25, y=0
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=64, unk2=30, duration=25, y=0
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=96, unk2=30, duration=25, y=0
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=128, unk2=30, duration=25, y=0
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=160, unk2=30, duration=25, y=0
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=192, unk2=30, duration=25, y=0
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=224, unk2=30, duration=25, y=0
|
|
delay 5
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=0, unk2=30, duration=25, y=10
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=32, unk2=30, duration=25, y=10
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=64, unk2=30, duration=25, y=10
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=96, unk2=30, duration=25, y=10
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 2, speed=1, unk1=128, unk2=30, duration=25, y=10
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=160, unk2=30, duration=25, y=10
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=192, unk2=30, duration=25, y=10
|
|
create_overheat_flame_sprite ANIM_ATTACKER, 66, speed=1, unk1=224, unk2=30, duration=25, y=10
|
|
delay 5
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-5, y=3, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET
|
|
createvisualtaskontargets AnimTask_ShakeMon, 2, 0, ANIM_TARGET, 10, 0, 25, 1
|
|
delay 6
|
|
createspriteontargets gBasicHitSplatSpriteTemplate, ANIM_TARGET, 3, 2, 8, -5, ANIM_TARGET, 0
|
|
playsewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET
|
|
delay 8
|
|
createspriteontargets gBasicHitSplatSpriteTemplate, ANIM_TARGET, 3, 2, 10, 10, ANIM_TARGET, 0
|
|
playsewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET
|
|
delay 8
|
|
createspriteontargets gBasicHitSplatSpriteTemplate, ANIM_TARGET, 3, 2, 0, 0, ANIM_TARGET, 0
|
|
playsewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_CopyPalFadedToUnfaded, 5, 1
|
|
delay 1
|
|
simple_palette_blend selector=F_PAL_ATTACKER, delay=-1, initial_blend_y=0, target_blend_y=13, color=RGB(18, 18, 18)
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 3, 0, 15, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_CopyPalUnfadedFromBackup, 5, 0, 1
|
|
delay 1
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=5, target_blend_y=0, color=RGB(28, 0, 0)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
waitforvisualfinish
|
|
delay 15
|
|
createvisualtask AnimTask_CopyPalUnfadedFromBackup, 5, 1, 0
|
|
delay 1
|
|
simple_palette_blend selector=F_PAL_ATTACKER, delay=0, initial_blend_y=13, target_blend_y=0, color=RGB(18, 18, 18)
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_FreeBackupPalBuffer, 5
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_HydroCannon::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SURF, SOUND_PAN_ATTACKER
|
|
createsprite gHydroCannonChargeSpriteTemplate, ANIM_TARGET, 2
|
|
delay 10
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
delay 30
|
|
panse SE_M_HYDRO_PUMP, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
|
|
call HydroCannonBeam
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 10, 0, 40, 1
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_TARGET, 2, 0, 0, ANIM_TARGET, 0
|
|
call HydroCannonBeam
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_TARGET, 2, 0, 0, ANIM_TARGET, 0
|
|
call HydroCannonBeam
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_TARGET, 2, 0, 0, ANIM_TARGET, 0
|
|
call HydroCannonBeam
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_TARGET, 2, 0, 0, ANIM_TARGET, 0
|
|
call HydroCannonBeam
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_TARGET, 2, 0, 0, ANIM_TARGET, 0
|
|
call HydroCannonBeam
|
|
createsprite gWaterHitSplatSpriteTemplate, ANIM_TARGET, 2, 0, 0, ANIM_TARGET, 0
|
|
waitforvisualfinish
|
|
invert_screen_color scenery=1 | 2 | 4
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
HydroCannonBeam:
|
|
createsprite gHydroCannonBeamSpriteTemplate, ANIM_TARGET, 2, 10, -10, 0, 0, 15, 257
|
|
delay 1
|
|
createsprite gHydroCannonBeamSpriteTemplate, ANIM_TARGET, 2, 10, -10, 0, 0, 15, 257
|
|
delay 1
|
|
createsprite gHydroCannonBeamSpriteTemplate, ANIM_TARGET, 2, 10, -10, 0, 0, 15, 257
|
|
delay 1
|
|
createsprite gHydroCannonBeamSpriteTemplate, ANIM_TARGET, 2, 10, -10, 0, 0, 15, 257
|
|
delay 1
|
|
createsprite gHydroCannonBeamSpriteTemplate, ANIM_TARGET, 2, 10, -10, 0, 0, 15, 257
|
|
return
|
|
|
|
gBattleAnimMove_Astonish::
|
|
playsewithpan SE_M_ENCORE, SOUND_PAN_ATTACKER
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 6
|
|
delay 25
|
|
createsprite gSprayWaterDropletSpriteTemplate, ANIM_TARGET, 5, 0, 1
|
|
playsewithpan SE_M_SKETCH, SOUND_PAN_TARGET
|
|
createsprite gSprayWaterDropletSpriteTemplate, ANIM_TARGET, 5, 1, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 5, 1
|
|
createvisualtask AnimTask_StretchTargetUp, 3
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_SeismicToss::
|
|
setarg 7, 0
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_GetSeismicTossDamageLevel, 3
|
|
delay 1
|
|
fadetobg BG_IN_AIR
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_MoveSeismicTossBg, 3
|
|
playsewithpan SE_M_SKY_UPPERCUT, 0
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_SeismicTossBgAccelerateDownAtEnd, 3
|
|
jumpreteq 0, SeismicTossWeak
|
|
jumpreteq 1, SeismicTossMedium
|
|
jumpreteq 2, SeismicTossStrong
|
|
SeismicTossContinue:
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, 4095
|
|
waitbgfadein
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
SeismicTossWeak:
|
|
call SeismicTossRockScatter1
|
|
delay 16
|
|
call SeismicTossRockScatter2
|
|
goto SeismicTossContinue
|
|
SeismicTossMedium:
|
|
call SeismicTossRockScatter1
|
|
delay 14
|
|
call SeismicTossRockScatter2
|
|
delay 14
|
|
call SeismicTossRockScatter1
|
|
goto SeismicTossContinue
|
|
SeismicTossStrong:
|
|
call SeismicTossRockScatter2
|
|
delay 10
|
|
call SeismicTossRockScatter1
|
|
delay 10
|
|
call SeismicTossRockScatter2
|
|
delay 10
|
|
call SeismicTossRockScatter1
|
|
goto SeismicTossContinue
|
|
SeismicTossRockScatter1:
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-10, y=-8, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 5, 1
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -12, 27, 2, 3
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 8, 28, 3, 4
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -4, 30, 2, 3
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 12, 25, 4, 4
|
|
return
|
|
SeismicTossRockScatter2:
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=10, y=-8, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 5, 1
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -12, 32, 3, 4
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 8, 31, 2, 2
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -4, 28, 2, 3
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 12, 30, 4, 3
|
|
return
|
|
|
|
gBattleAnimMove_MagicCoat::
|
|
setalpha 0, 16
|
|
waitplaysewithpan SE_M_BARRIER, SOUND_PAN_ATTACKER, 15
|
|
createsprite gMagicCoatWallSpriteTemplate, ANIM_ATTACKER, 3, 40, 0, ANIM_TAG_ORANGE_LIGHT_WALL
|
|
waitforvisualfinish
|
|
delay 1
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_WaterPulse::
|
|
monbg ANIM_TARGET
|
|
splitbgprio ANIM_TARGET
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
|
|
simple_palette_blend selector=F_PAL_BG, delay=0, initial_blend_y=0, target_blend_y=7, color=RGB(0, 25, 28)
|
|
delay 10
|
|
createsprite gWaterPulseBubbleSpriteTemplate, ANIM_ATTACKER, 66, 100, 100, 8, 1, 20, 40, 0
|
|
createsprite gWaterPulseBubbleSpriteTemplate, ANIM_ATTACKER, 66, 20, 100, 16, 2, 10, 35, 1
|
|
createsprite gWaterPulseBubbleSpriteTemplate, ANIM_ATTACKER, 66, 200, 80, 8, 1, 40, 20, 0
|
|
createsprite gWaterPulseBubbleSpriteTemplate, ANIM_ATTACKER, 66, 80, 60, 10, 3, 20, 50, 0
|
|
createsprite gWaterPulseBubbleSpriteTemplate, ANIM_ATTACKER, 66, 140, 100, 16, 1, 20, 30, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_ATTACKER
|
|
createsprite gWaterPulseRingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 40, 15
|
|
delay 5
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_ATTACKER
|
|
createsprite gWaterPulseRingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 40, 15
|
|
delay 5
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_ATTACKER
|
|
createsprite gWaterPulseRingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 40, 15
|
|
delay 13
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 8, 18, 1
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=7, target_blend_y=0, color=RGB(0, 25, 28)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimMove_PsychoBoost::
|
|
monbg ANIM_ATK_PARTNER
|
|
fadetobg BG_PSYCHIC
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_FadeScreenToWhite, 5
|
|
waitbgfadein
|
|
delay 6
|
|
blend_color_cycle selector=F_PAL_BG, delay=2, num_blends=8, initial_blend_y=0, target_blend_y=10, color=RGB_BLACK
|
|
delay 0
|
|
splitbgprio ANIM_ATTACKER
|
|
setalpha 8, 8
|
|
delay 10
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 3, 0, 240, 0
|
|
loopsewithpan SE_M_PSYBEAM2, SOUND_PAN_ATTACKER, 14, 10
|
|
createsprite gPsychoBoostOrbSpriteTemplate, ANIM_ATTACKER, 2
|
|
delay 110
|
|
loopsewithpan SE_M_PSYBEAM2, SOUND_PAN_ATTACKER, 7, 10
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, -8, 1, 24, 1
|
|
playsewithpan SE_M_LEER, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimMove_KnockOff::
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 6
|
|
delay 4
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_TARGET
|
|
createsprite gKnockOffStrikeSpriteTemplate, ANIM_TARGET, 2, -16, -16
|
|
delay 8
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=5, num_blends=1, color1=RGB_WHITE, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -12, 10, 0, 3
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 5
|
|
delay 3
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 0, 3, 6, 1
|
|
delay 5
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 6
|
|
delay 10
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_DoomDesire::
|
|
createvisualtask GetIsDoomDesireHitTurn, 2
|
|
delay 1
|
|
monbg ANIM_ATK_PARTNER
|
|
set_grayscale_pal battler=ANIM_TARGET
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=4, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
setalpha 8, 8
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -4, -4, 15, ANIM_ATTACKER, 1
|
|
waitforvisualfinish
|
|
delay 20
|
|
set_original_pal battler=ANIM_TARGET
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=4, target_blend_y=0, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_SkyUppercut::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
fadetobg BG_IN_AIR
|
|
waitbgfadeout
|
|
playsewithpan SE_M_SKY_UPPERCUT, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_MoveSkyUppercutBg, 5, 55
|
|
waitbgfadein
|
|
setalpha 12, 8
|
|
delay 38
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 28, 0, 0, 5
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 6, 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-28, y=28, relative_to=ANIM_TARGET, animation=1
|
|
delay 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-15, y=8, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-5, y=-12, relative_to=ANIM_TARGET, animation=1
|
|
delay 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=-32, relative_to=ANIM_TARGET, animation=1
|
|
delay 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=5, y=-52, relative_to=ANIM_TARGET, animation=1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -26, 16, 1, 4
|
|
delay 4
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 0, 3, 6, 1
|
|
delay 30
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 6
|
|
delay 4
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 6
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, -1
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimMove_SecretPower::
|
|
@ No actual animation, uses the animation of a move from src/data/battle_environment.h instead
|
|
|
|
gBattleAnimMove_Twister::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
playsewithpan SE_M_TWISTER, SOUND_PAN_TARGET
|
|
create_twister_leaf_sprite ANIM_TARGET, 2, duration=120, distance_y=70, wave_period=5, wave_amplitude=70, speed_up_on_frame=30
|
|
delay 1
|
|
create_twister_leaf_sprite ANIM_TARGET, 2, duration=115, distance_y=55, wave_period=6, wave_amplitude=60, speed_up_on_frame=25
|
|
delay 1
|
|
create_twister_leaf_sprite ANIM_TARGET, 2, duration=115, distance_y=60, wave_period=7, wave_amplitude=60, speed_up_on_frame=30
|
|
create_twister_leaf_sprite ANIM_TARGET, 2, duration=115, distance_y=55, wave_period=10, wave_amplitude=60, speed_up_on_frame=30
|
|
delay 3
|
|
createsprite gTwisterRockSpriteTemplate, ANIM_TARGET, 2, 100, 50, 4, 50, 26
|
|
delay 1
|
|
create_twister_leaf_sprite ANIM_TARGET, 2, duration=105, distance_y=25, wave_period=8, wave_amplitude=60, speed_up_on_frame=20
|
|
delay 1
|
|
create_twister_leaf_sprite ANIM_TARGET, 2, duration=115, distance_y=40, wave_period=10, wave_amplitude=48, speed_up_on_frame=30
|
|
delay 3
|
|
createsprite gTwisterRockSpriteTemplate, ANIM_TARGET, 2, 120, 30, 6, 45, 25
|
|
create_twister_leaf_sprite ANIM_TARGET, 2, duration=115, distance_y=35, wave_period=10, wave_amplitude=60, speed_up_on_frame=30
|
|
delay 3
|
|
createsprite gTwisterRockSpriteTemplate, ANIM_TARGET, 2, 105, 20, 8, 40, 0
|
|
delay 3
|
|
create_twister_leaf_sprite ANIM_TARGET, 2, duration=20, distance_y=255, wave_period=15, wave_amplitude=32, speed_up_on_frame=0
|
|
create_twister_leaf_sprite ANIM_TARGET, 2, duration=110, distance_y=10, wave_period=8, wave_amplitude=32, speed_up_on_frame=20
|
|
waitforvisualfinish
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-32, y=-16, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 3, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_DEF_PARTNER, 3, 0, 12, 1
|
|
delay 4
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_random_pos_hitsplat_sprite ANIM_TARGET, 3, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
delay 4
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=32, y=20, relative_to=ANIM_TARGET, animation=3
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_MagicalLeaf::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
delay 1
|
|
loopsewithpan SE_M_POISON_POWDER, SOUND_PAN_ATTACKER, 10, 5
|
|
createvisualtask AnimTask_CycleMagicalLeafPal, 5
|
|
call CreateRazorLeaves
|
|
delay 60
|
|
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
|
|
create_razor_leaf_cutter_sprite ANIM_TARGET, 3, initial_x=20, initial_y=-10, target_x=20, target_y=0, duration=32, wave_amplitude=20, target_both=0
|
|
create_razor_leaf_cutter_sprite ANIM_TARGET, 3, initial_x=20, initial_y=-10, target_x=20, target_y=0, duration=32, wave_amplitude=-20, target_both=0
|
|
delay 30
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=-10, y=-4, relative_to=ANIM_TARGET, animation=2
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=10, y=4, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 8, 1
|
|
delay 20
|
|
setarg 7, -1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimMove_IceBall::
|
|
createvisualtask AnimTask_GetIceBallCounter, 5, 0
|
|
jumpargeq 0, 4, IceBallSetIceBg
|
|
IceBallContinue:
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_ATTACKER
|
|
createsprite gIceBallChunkSpriteTemplate, ANIM_TARGET, 2, 15, 0, -12, -16, 30, -40
|
|
delay 28
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_GetIceBallCounter, 5, 0
|
|
jumpargeq 0, 0, IceBallWeakest
|
|
jumpargeq 0, 1, IceBallWeak
|
|
jumpargeq 0, 2, IceBallMediun
|
|
jumpargeq 0, 3, IceBallStrong
|
|
jumpargeq 0, 4, IceBallStrongest
|
|
IceBallContinue2:
|
|
createvisualtask AnimTask_GetIceBallCounter, 5, 0
|
|
jumpargeq 0, 4, IceBallUnsetIceBg
|
|
IceBallEnd:
|
|
end
|
|
IceBallSetIceBg:
|
|
fadetobg BG_ICE
|
|
goto IceBallContinue
|
|
IceBallUnsetIceBg:
|
|
waitbgfadein
|
|
delay 45
|
|
restorebg
|
|
waitbgfadein
|
|
goto IceBallEnd
|
|
IceBallWeakest:
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, FALSE, 1, 8, 1, 0
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
goto IceBallContinue2
|
|
IceBallWeak:
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, FALSE, 1, 10, 1, 0
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
goto IceBallContinue2
|
|
IceBallMediun:
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, FALSE, 1, 14, 1, 0
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
goto IceBallContinue2
|
|
IceBallStrong:
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, FALSE, 1, 18, 1, 0
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
goto IceBallContinue2
|
|
IceBallStrongest:
|
|
createvisualtask AnimTask_ShakeTargetBasedOnMovePowerOrDmg, 2, FALSE, 1, 30, 1, 0
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
call IceBallImpactShard
|
|
goto IceBallContinue2
|
|
IceBallImpactShard:
|
|
createsprite gIceBallImpactShardSpriteTemplate, ANIM_TARGET, 4, -12, -16
|
|
return
|
|
|
|
gBattleAnimMove_WeatherBall::
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 8, 1, ANIM_ATTACKER
|
|
delay 8
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
createsprite gWeatherBallUpSpriteTemplate, ANIM_ATTACKER, 2
|
|
waitforvisualfinish
|
|
delay 15
|
|
playsewithpan SE_M_DETECT, 0
|
|
complex_palette_blend selector=F_PAL_BG | F_PAL_BATTLERS, delay=5, num_blends=1, color1=RGB_WHITE, blend_y1=10, color2=RGB_BLACK, blend_y2=0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_GetWeather, 2
|
|
delay 1
|
|
jumpreteq ANIM_WEATHER_NONE, WeatherBallNormal
|
|
jumpreteq ANIM_WEATHER_SUN, WeatherBallFire
|
|
jumpreteq ANIM_WEATHER_RAIN, WeatherBallWater
|
|
jumpreteq ANIM_WEATHER_SANDSTORM, WeatherBallSandstorm
|
|
jumpreteq ANIM_WEATHER_HAIL, WeatherBallIce
|
|
jumpreteq ANIM_WEATHER_SNOW, WeatherBallIce
|
|
jumpreteq ANIM_WEATHER_FOG, WeatherBallNormal
|
|
WeatherBallNormal:
|
|
createsprite gWeatherBallNormalDownSpriteTemplate, ANIM_TARGET, 2, -30, -100, 25, 1, 0, 0
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 4, x=-10, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 8, 1
|
|
waitforvisualfinish
|
|
end
|
|
WeatherBallFire:
|
|
createsprite gWeatherBallFireDownSpriteTemplate, ANIM_TARGET, 2, -30, -100, 25, 1, 40, 10
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gWeatherBallFireDownSpriteTemplate, ANIM_TARGET, 2, -30, -100, 25, 1, -40, 20
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gWeatherBallFireDownSpriteTemplate, ANIM_TARGET, 2, -30, -100, 25, 1, 0, 0
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 8, 1
|
|
waitforvisualfinish
|
|
end
|
|
WeatherBallWater:
|
|
createsprite gWeatherBallWaterDownSpriteTemplate, ANIM_TARGET, 2, -30, -100, 25, 1, 50, 10
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
delay 8
|
|
createsprite gWeatherBallWaterDownSpriteTemplate, ANIM_TARGET, 2, -30, -100, 25, 1, -20, 20
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
delay 13
|
|
createsprite gWeatherBallWaterDownSpriteTemplate, ANIM_TARGET, 2, -30, -100, 25, 1, 0, 0
|
|
playsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 8, 1
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
WeatherBallSandstorm:
|
|
createsprite gWeatherBallRockDownSpriteTemplate, ANIM_TARGET, 2, -30, -100, 25, 1, 30, 0
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 5
|
|
createsprite gWeatherBallRockDownSpriteTemplate, ANIM_TARGET, 2, -30, -100, 25, 1, -40, 20
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 14
|
|
createsprite gWeatherBallRockDownSpriteTemplate, ANIM_TARGET, 2, -30, -100, 25, 1, 0, 0
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_STRENGTH, SOUND_PAN_TARGET
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -12, 27, 2, 3
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 8, 28, 3, 4
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, -4, 30, 2, 3
|
|
createsprite gRockScatterSpriteTemplate, ANIM_TARGET, 2, 12, 25, 4, 4
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 8, 1
|
|
waitforvisualfinish
|
|
end
|
|
WeatherBallIce:
|
|
createsprite gWeatherBallIceDownSpriteTemplate, ANIM_TARGET, 2, -30, -100, 25, 25, -40, 20
|
|
playsewithpan SE_M_HAIL, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gWeatherBallIceDownSpriteTemplate, ANIM_TARGET, 2, -30, -100, 25, 25, 40, 0
|
|
playsewithpan SE_M_HAIL, SOUND_PAN_TARGET
|
|
delay 10
|
|
createsprite gWeatherBallIceDownSpriteTemplate, ANIM_TARGET, 2, -30, -100, 25, 25, 0, 0
|
|
playsewithpan SE_M_HAIL, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 8, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
call IceCrystalEffectShort
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimMove_Count::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
IceCrystalEffectShort:
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, -10, -10, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 10, 20, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, -5, 10, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 17, -12, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, -15, 15, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 0, 0, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, 20, 2, 0
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
return
|
|
|
|
IceCrystalEffectLong:
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, -10, -10, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 10, 20, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, -29, 0, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 29, -20, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, -5, 10, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 17, -12, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, -20, 0, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, -15, 15, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 26, -5, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 0, 0, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, 20, 2, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
return
|
|
|
|
IceSpikesEffectShort: @ Unused
|
|
loopsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET, 6, 4
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, 0, 24, 0
|
|
delay 4
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, 8, 24, 0
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, -8, 24, 0
|
|
delay 4
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, 16, 24, 0
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, -16, 24, 0
|
|
delay 4
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, 24, 24, 0
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, -24, 24, 0
|
|
delay 4
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, 32, 24, 0
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, -32, 24, 0
|
|
return
|
|
|
|
IceSpikesEffectLong:
|
|
loopsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET, 6, 4
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, 0, 24, 1
|
|
delay 4
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, 8, 24, 1
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, -8, 24, 1
|
|
delay 4
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, 16, 24, 1
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, -16, 24, 1
|
|
delay 4
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, 24, 24, 1
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, -24, 24, 1
|
|
delay 4
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, 32, 24, 1
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, -32, 24, 1
|
|
delay 4
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, 40, 24, 1
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, -40, 24, 1
|
|
delay 4
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, 48, 24, 1
|
|
createsprite gIceGroundSpikeSpriteTemplate, ANIM_TARGET, 2, -48, 24, 1
|
|
return
|
|
|
|
GrantingStarsEffect:
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 2, -15, 0, 0, 0, 32, 60
|
|
delay 8
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 2, 12, -5, 0, 0, 32, 60
|
|
delay 8
|
|
return
|
|
|
|
HealingEffect:
|
|
playsewithpan SE_M_ABSORB_2, SOUND_PAN_ATTACKER
|
|
createsprite gHealingBlueStarSpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 0, 0
|
|
delay 7
|
|
createsprite gHealingBlueStarSpriteTemplate, ANIM_ATTACKER, 2, -15, 10, 0, 0
|
|
delay 7
|
|
createsprite gHealingBlueStarSpriteTemplate, ANIM_ATTACKER, 2, -15, -15, 0, 0
|
|
delay 7
|
|
createsprite gHealingBlueStarSpriteTemplate, ANIM_ATTACKER, 2, 10, -5, 0, 0
|
|
delay 7
|
|
return
|
|
|
|
HealingEffect2:
|
|
playsewithpan SE_M_ABSORB_2, SOUND_PAN_TARGET
|
|
createsprite gHealingBlueStarSpriteTemplate, ANIM_TARGET, 2, 0, -5, 1, 0
|
|
delay 7
|
|
createsprite gHealingBlueStarSpriteTemplate, ANIM_TARGET, 2, -15, 10, 1, 0
|
|
delay 7
|
|
createsprite gHealingBlueStarSpriteTemplate, ANIM_TARGET, 2, -15, -15, 1, 0
|
|
delay 7
|
|
createsprite gHealingBlueStarSpriteTemplate, ANIM_TARGET, 2, 10, -5, 1, 0
|
|
delay 7
|
|
return
|
|
|
|
PoisonBubblesEffect:
|
|
createsprite gPoisonBubbleSpriteTemplate, ANIM_TARGET, 2, 10, 10, 0
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gPoisonBubbleSpriteTemplate, ANIM_TARGET, 2, 20, -20, 0
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gPoisonBubbleSpriteTemplate, ANIM_TARGET, 2, -20, 15, 0
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gPoisonBubbleSpriteTemplate, ANIM_TARGET, 2, 0, 0, 0
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gPoisonBubbleSpriteTemplate, ANIM_TARGET, 2, -20, -20, 0
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gPoisonBubbleSpriteTemplate, ANIM_TARGET, 2, 16, -8, 0
|
|
playsewithpan SE_M_TOXIC, SOUND_PAN_TARGET
|
|
return
|
|
|
|
WaterBubblesEffectShort:
|
|
createsprite gWaterBubbleSpriteTemplate, ANIM_ATTACKER, 2, 10, 10, 0
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gWaterBubbleSpriteTemplate, ANIM_ATTACKER, 2, 20, -20, 0
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gWaterBubbleSpriteTemplate, ANIM_ATTACKER, 2, -20, 15, 0
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gWaterBubbleSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 0
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gWaterBubbleSpriteTemplate, ANIM_ATTACKER, 2, -20, -20, 0
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gWaterBubbleSpriteTemplate, ANIM_ATTACKER, 2, 16, -8, 0
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
return
|
|
|
|
WaterBubblesEffectLong:
|
|
createsprite gWaterBubbleSpriteTemplate, ANIM_ATTACKER, 2, 10, 10, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gWaterBubbleSpriteTemplate, ANIM_ATTACKER, 2, -28, -10, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gWaterBubbleSpriteTemplate, ANIM_ATTACKER, 2, 20, -20, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gWaterBubbleSpriteTemplate, ANIM_ATTACKER, 2, -20, 15, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gWaterBubbleSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gWaterBubbleSpriteTemplate, ANIM_ATTACKER, 2, 27, 8, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gWaterBubbleSpriteTemplate, ANIM_ATTACKER, 2, -20, -20, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
delay 6
|
|
createsprite gWaterBubbleSpriteTemplate, ANIM_ATTACKER, 2, 16, -8, 1
|
|
playsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET
|
|
return
|
|
|
|
ElectricityEffect:
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET
|
|
ElectricityEffectNoSound:
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 5, 0, 5, 0, ANIM_TARGET
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -5, 10, 5, 1, ANIM_TARGET
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 15, 20, 5, 2, ANIM_TARGET
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -15, -10, 5, 0, ANIM_TARGET
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 25, 0, 5, 1, ANIM_TARGET
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -8, 8, 5, 2, ANIM_TARGET
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, 2, -8, 5, 0, ANIM_TARGET
|
|
delay 2
|
|
createsprite gElectricitySpriteTemplate, ANIM_TARGET, 2, -20, 15, 5, 1, ANIM_TARGET
|
|
return
|
|
|
|
ElectricityEffect_OnTargets:
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET
|
|
createspriteontargets gElectricitySpriteTemplate, ANIM_TARGET, 2, 4, 5, 0, 5, 0, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gElectricitySpriteTemplate, ANIM_TARGET, 2, 4, -5, 10, 5, 1, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gElectricitySpriteTemplate, ANIM_TARGET, 2, 4, 15, 20, 5, 2, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gElectricitySpriteTemplate, ANIM_TARGET, 2, 4, -15, -10, 5, 0, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gElectricitySpriteTemplate, ANIM_TARGET, 2, 4, 25, 0, 5, 1, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gElectricitySpriteTemplate, ANIM_TARGET, 2, 4, -8, 8, 5, 2, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gElectricitySpriteTemplate, ANIM_TARGET, 2, 4, 2, -8, 5, 0, ANIM_TARGET
|
|
delay 2
|
|
createspriteontargets gElectricitySpriteTemplate, ANIM_TARGET, 2, 4, -20, 15, 5, 1, ANIM_TARGET
|
|
return
|
|
|
|
ConfusionEffect:
|
|
loopsewithpan SE_M_DIZZY_PUNCH, SOUND_PAN_TARGET, 13, 6
|
|
create_confusion_duck_sprite ANIM_TARGET, 2, x=0, y=-15, wave_offset=0, wave_period=3, duration=90
|
|
create_confusion_duck_sprite ANIM_TARGET, 2, x=0, y=-15, wave_offset=51, wave_period=3, duration=90
|
|
create_confusion_duck_sprite ANIM_TARGET, 2, x=0, y=-15, wave_offset=102, wave_period=3, duration=90
|
|
create_confusion_duck_sprite ANIM_TARGET, 2, x=0, y=-15, wave_offset=153, wave_period=3, duration=90
|
|
create_confusion_duck_sprite ANIM_TARGET, 2, x=0, y=-15, wave_offset=204, wave_period=3, duration=90
|
|
return
|
|
|
|
SetPsychicBackground:
|
|
fadetobg BG_PSYCHIC
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_SetPsychicBackground, 5
|
|
waitbgfadein
|
|
return
|
|
|
|
UnsetPsychicBg:
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, -1
|
|
waitbgfadein
|
|
return
|
|
|
|
SetSkyBg:
|
|
jumpifcontest SetSkyBgContest
|
|
fadetobg BG_SKY
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -2304, 768, 1, -1
|
|
SetSkyBgContinue:
|
|
waitbgfadein
|
|
return
|
|
SetSkyBgContest:
|
|
fadetobg BG_SKY_CONTESTS
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 2304, 768, 0, -1
|
|
goto SetSkyBgContinue
|
|
|
|
UnsetSkyBg:
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, -1
|
|
waitbgfadein
|
|
return
|
|
|
|
SetSolarBeamBg:
|
|
createvisualtask AnimTask_IsContest, 2
|
|
jumprettrue SetSolarBeamBgContest
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpretfalse SetSolarBeamBgOpponent
|
|
goto SetSolarBeamBgPlayer
|
|
SetSolarBeamBgContinue:
|
|
waitbgfadein
|
|
return
|
|
SetSolarBeamBgContest:
|
|
fadetobg BG_SOLAR_BEAM_CONTESTS
|
|
goto SetSolarBeamBgContinue
|
|
SetSolarBeamBgPlayer:
|
|
fadetobg BG_SOLAR_BEAM_PLAYER
|
|
goto SetSolarBeamBgContinue
|
|
SetSolarBeamBgOpponent:
|
|
fadetobg BG_SOLAR_BEAM_OPPONENT
|
|
goto SetSolarBeamBgContinue
|
|
|
|
UnsetSolarBeamBg:
|
|
restorebg
|
|
waitbgfadein
|
|
return
|
|
|
|
gBattleAnimStatus_Poison::
|
|
loopsewithpan SE_M_TOXIC, SOUND_PAN_TARGET, 13, 6
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 18, 2
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(30, 0, 31)
|
|
end
|
|
|
|
gBattleAnimStatus_Confusion::
|
|
call ConfusionEffect
|
|
end
|
|
|
|
gBattleAnimStatus_Burn::
|
|
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_TARGET
|
|
call BurnFlame
|
|
call BurnFlame
|
|
call BurnFlame
|
|
waitforvisualfinish
|
|
end
|
|
BurnFlame:
|
|
createsprite gBurnFlameSpriteTemplate, ANIM_TARGET, 2, -24, 24, 24, 24, 20, 1, 1
|
|
delay 4
|
|
return
|
|
|
|
gBattleAnimStatus_Infatuation::
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
createsprite gMagentaHeartSpriteTemplate, ANIM_ATTACKER, 3, 0, 20
|
|
delay 15
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
createsprite gMagentaHeartSpriteTemplate, ANIM_ATTACKER, 3, -20, 20
|
|
delay 15
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
createsprite gMagentaHeartSpriteTemplate, ANIM_ATTACKER, 3, 20, 20
|
|
end
|
|
|
|
gBattleAnimStatus_Sleep::
|
|
playsewithpan SE_M_SNORE, SOUND_PAN_ATTACKER
|
|
createsprite gSleepLetterZSpriteTemplate, ANIM_ATTACKER, 2, 4, -10, 16, 0, 0
|
|
delay 30
|
|
createsprite gSleepLetterZSpriteTemplate, ANIM_ATTACKER, 2, 4, -10, 16, 0, 0
|
|
end
|
|
|
|
gBattleAnimStatus_Paralysis::
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 10, 1
|
|
call ElectricityEffect
|
|
end
|
|
|
|
gBattleAnimStatus_Freeze::
|
|
playsewithpan SE_M_ICY_WIND, 0
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
waitplaysewithpan SE_M_HAIL, SOUND_PAN_TARGET, 17
|
|
createvisualtask AnimTask_FrozenIceCube, 2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimStatus_Curse::
|
|
monbg ANIM_DEF_PARTNER
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_TARGET
|
|
createsprite gCurseGhostSpriteTemplate, ANIM_TARGET, 2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 14, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimStatus_Nightmare::
|
|
monbg ANIM_DEF_PARTNER
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_TARGET
|
|
createsprite gNightmareDevilSpriteTemplate, ANIM_TARGET, 2
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 14, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimStatus_Frostbite::
|
|
playsewithpan SE_M_ICY_WIND, 0
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
call IceCrystalEffectShort
|
|
simple_palette_blend selector=F_PAL_TARGET, delay=5, initial_blend_y=7, target_blend_y=0, color=RGB(0, 20, 31)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimGeneral_StatsChange::
|
|
createvisualtask AnimTask_StatsChange, 5
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimGeneral_SubstituteFade::
|
|
monbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_SubstituteFadeToInvisible, 5
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 0, 0, 16, RGB_WHITE
|
|
waitforvisualfinish
|
|
delay 1
|
|
clearmonbg ANIM_ATTACKER
|
|
delay 2
|
|
blendoff
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 0, 0, 0, RGB_WHITE
|
|
createvisualtask AnimTask_SwapMonSpriteToFromSubstitute, 2, TRUE
|
|
end
|
|
|
|
gBattleAnimGeneral_SubstituteAppear::
|
|
createvisualtask AnimTask_MonToSubstitute, 2
|
|
end
|
|
|
|
gBattleAnimGeneral_PokeblockThrow::
|
|
createvisualtask AnimTask_SetAttackerTargetLeftPos, 2, 0
|
|
createvisualtask AnimTask_LoadPokeblockGfx, 2
|
|
delay 0
|
|
waitplaysewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER, 22
|
|
createsprite gPokeblockSpriteTemplate, ANIM_TARGET, 3, -18, 12, 0, 32
|
|
delay 50
|
|
loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_TARGET, 19, 2
|
|
createvisualtask AnimTask_SwayMon, 5, 1, 8, 1536, 2, ANIM_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_FreePokeblockGfx, 2
|
|
end
|
|
|
|
gBattleAnimGeneral_ItemKnockoff::
|
|
createsprite gKnockOffItemSpriteTemplate, ANIM_TARGET, 2
|
|
end
|
|
|
|
gBattleAnimGeneral_TurnTrap::
|
|
createvisualtask AnimTask_GetTrappedMoveAnimId, 5
|
|
jumpargeq 0, TRAP_ANIM_FIRE_SPIN, Status_FireSpin
|
|
jumpargeq 0, TRAP_ANIM_WHIRLPOOL, Status_Whirlpool
|
|
jumpargeq 0, TRAP_ANIM_CLAMP, Status_Clamp
|
|
jumpargeq 0, TRAP_ANIM_SAND_TOMB, Status_SandTomb
|
|
jumpargeq 0, TRAP_ANIM_MAGMA_STORM, Status_MagmaStorm
|
|
jumpargeq 0, TRAP_ANIM_INFESTATION, Status_Infestation
|
|
jumpargeq 0, TRAP_ANIM_SNAP_TRAP, Status_Snap_Trap
|
|
jumpargeq 0, TRAP_ANIM_THUNDER_CAGE, Status_Thunder_Cage
|
|
goto Status_BindWrap
|
|
Status_BindWrap:
|
|
loopsewithpan SE_M_SCRATCH, SOUND_PAN_TARGET, 6, 2
|
|
create_constrict_binding_sprite ANIM_TARGET, 4, initial_x=0, initial_y=16, affine_animation=0, squeezes=1
|
|
delay 7
|
|
create_constrict_binding_sprite ANIM_TARGET, 2, initial_x=0, initial_y=8, affine_animation=1, squeezes=1
|
|
delay 3
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 8, 1
|
|
delay 20
|
|
setarg 7, -1
|
|
playsewithpan SE_M_BIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
|
|
Status_FireSpin:
|
|
playsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 30, 1
|
|
call FireSpinEffect
|
|
call FireSpinEffect
|
|
waitforvisualfinish
|
|
stopsound
|
|
end
|
|
|
|
Status_MagmaStorm:
|
|
fadetobg BG_MAGMA_STORM
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_MoveSeismicTossBg, 3
|
|
playsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_TARGET
|
|
loopsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_TARGET, 5, 8
|
|
createvisualtask AnimTask_SeismicTossBgAccelerateDownAtEnd, 3
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 47, 1
|
|
blend_color_cycle selector=(F_PAL_ATTACKER | F_PAL_TARGET), delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB(22, 9, 7)
|
|
call FireSpinEffect
|
|
call FireSpinEffect
|
|
call FireSpinEffect
|
|
call FireSpinEffect
|
|
call FireSpinEffect
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, 4095
|
|
waitbgfadein
|
|
stopsound
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
Status_Whirlpool:
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
setalpha 12, 8
|
|
delay 0
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_TARGET, delay=2, initial_blend_y=0, target_blend_y=7, color=RGB(0, 13, 23)
|
|
playsewithpan SE_M_WHIRLPOOL, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 30, 1
|
|
call WhirlpoolEffect
|
|
call WhirlpoolEffect
|
|
delay 12
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_TARGET, delay=2, initial_blend_y=7, target_blend_y=0, color=RGB(0, 13, 23)
|
|
waitforvisualfinish
|
|
stopsound
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
Status_Clamp:
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
call CreateClampJaw
|
|
delay 10
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 3, 0, 5, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
waitforvisualfinish
|
|
end
|
|
|
|
Status_Thunder_Cage:
|
|
@ TODO
|
|
goto gBattleAnimMove_ThunderCage
|
|
|
|
Status_Snap_Trap:
|
|
goto gBattleAnimMove_SnapTrap
|
|
|
|
Status_SandTomb:
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_TARGET, delay=2, initial_blend_y=0, target_blend_y=7, color=RGB(19, 17, 0)
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 30, 1
|
|
playsewithpan SE_M_SAND_TOMB, SOUND_PAN_TARGET
|
|
call SandTombSwirlingDirt
|
|
call SandTombSwirlingDirt
|
|
delay 22
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_TARGET, delay=2, initial_blend_y=7, target_blend_y=0, color=RGB(19, 17, 0)
|
|
waitforvisualfinish
|
|
stopsound
|
|
end
|
|
|
|
Status_Infestation:
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 9, RGB(0, 25, 28)
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 30, 1
|
|
loopsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER, 0, 30
|
|
call InfestationVortex
|
|
call InfestationVortex
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 9, 0, RGB(0, 25, 28)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
end
|
|
|
|
gBattleAnimGeneral_HeldItemEffect::
|
|
delay 0
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_RotateMonToSideAndRestore, 2, 16, 128, ANIM_ATTACKER, 2
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_RotateMonToSideAndRestore, 2, 16, 128, ANIM_ATTACKER, 2
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_RotateMonToSideAndRestore, 2, 16, 128, ANIM_ATTACKER, 2
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
call GrantingStarsEffect
|
|
waitforvisualfinish
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
simple_palette_blend selector=F_PAL_ATTACKER, delay=3, initial_blend_y=7, target_blend_y=0, color=RGB(17, 31, 25)
|
|
createsprite gThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimGeneral_SmokeballEscape::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 4
|
|
delay 0
|
|
playsewithpan SE_BALL_OPEN, SOUND_PAN_TARGET
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_TARGET, 0, 0, 32, 28, 30
|
|
delay 4
|
|
playsewithpan SE_BALL_OPEN, SOUND_PAN_TARGET
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 127, 2, 12, 20, 30
|
|
delay 12
|
|
playsewithpan SE_BALL_OPEN, SOUND_PAN_TARGET
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 126, 2, -28, 4, 30
|
|
delay 12
|
|
playsewithpan SE_BALL_OPEN, SOUND_PAN_TARGET
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 124, 2, 14, -20, 30
|
|
delay 4
|
|
playsewithpan SE_BALL_OPEN, SOUND_PAN_TARGET
|
|
attacker_fade_to_invisible step_delay=2
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 123, 3, 4, 4, 30
|
|
delay 14
|
|
playsewithpan SE_BALL_OPEN, SOUND_PAN_TARGET
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 122, 3, -14, 18, 46
|
|
delay 0
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 121, 3, 14, -14, 46
|
|
delay 0
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 120, 3, -12, -10, 46
|
|
delay 0
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 119, 3, 14, 14, 46
|
|
delay 0
|
|
createsprite gSmokeBallEscapeCloudSpriteTemplate, ANIM_ATTACKER, 118, 3, 0, 0, 46
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
invisible ANIM_ATTACKER
|
|
delay 0
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimGeneral_HangedOn::
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_ATTACKER, delay=7, initial_blend_y=0, target_blend_y=9, color=RGB_RED
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_SlideMonForFocusBand, 5, 30, 128, 0, 1, 2, 0, 1
|
|
waitforvisualfinish
|
|
simple_palette_blend unused_subpriority_offset=0, selector=F_PAL_ATTACKER, delay=4, initial_blend_y=9, target_blend_y=0, color=RGB_RED
|
|
waitforvisualfinish
|
|
delay 6
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 0, 0, 0, 15
|
|
end
|
|
|
|
gBattleAnimGeneral_Rain::
|
|
call RainDrops
|
|
end
|
|
|
|
RainDrops:
|
|
playsewithpan SE_M_RAIN_DANCE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 0, 4, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_CreateRaindrops, 2, 0, 3, 60
|
|
createvisualtask AnimTask_CreateRaindrops, 2, 0, 3, 60
|
|
delay 50
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 4, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
return
|
|
|
|
gBattleAnimGeneral_Sun::
|
|
goto gBattleAnimMove_SunnyDay
|
|
|
|
gBattleAnimGeneral_Sandstorm::
|
|
goto gBattleAnimMove_Sandstorm
|
|
|
|
gBattleAnimGeneral_Hail::
|
|
goto gBattleAnimMove_Hail
|
|
|
|
gBattleAnimGeneral_Snow::
|
|
goto gBattleAnimMove_Snowscape
|
|
|
|
gBattleAnimGeneral_Fog::
|
|
goto gBattleAnimMove_Haze
|
|
|
|
gBattleAnimGeneral_LeechSeedDrain::
|
|
createvisualtask AnimTask_GetBattlersFromArg, 5
|
|
delay 0
|
|
goto gBattleAnimMove_Absorb
|
|
|
|
gBattleAnimGeneral_MonHit::
|
|
monbg ANIM_TARGET
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimGeneral_ItemSteal::
|
|
createvisualtask AnimTask_SetAnimAttackerAndTargetForEffectAtk, 2
|
|
createvisualtask AnimTask_SetTargetToEffectBattler, 2 @ Redundant with above
|
|
delay 1
|
|
create_item_steal_sprite ANIM_ATTACKER, 2, initial_x=0, initial_y=-5, unk2=10, unk3=2, unk4=-1
|
|
end
|
|
|
|
gBattleAnimGeneral_SnatchMove::
|
|
createvisualtask AnimTask_SetAnimAttackerAndTargetForEffectTgt, 2
|
|
call SnatchMoveTrySwapFromSubstitute
|
|
delay 1
|
|
createvisualtask AnimTask_SwayMon, 2, 0, 5, 5120, 4, ANIM_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_IsTargetSameSide, 2
|
|
jumpretfalse SnatchOpposingMonMove
|
|
goto SnatchPartnerMonMove
|
|
SnatchMoveContinue:
|
|
waitforvisualfinish
|
|
call SnatchMoveTrySwapToSubstitute
|
|
end
|
|
SnatchOpposingMonMove:
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_SnatchOpposingMonMove, 2
|
|
goto SnatchMoveContinue
|
|
SnatchPartnerMonMove:
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_SnatchPartnerMove, 2
|
|
goto SnatchMoveContinue
|
|
|
|
gBattleAnimGeneral_FutureSightHit::
|
|
createvisualtask AnimTask_SetAnimTargetToBattlerTarget, 2
|
|
monbg ANIM_DEF_PARTNER
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
call SetPsychicBackground
|
|
setalpha 8, 8
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_TARGET
|
|
waitplaysewithpan SE_M_SUPERSONIC, SOUND_PAN_TARGET, 8
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 4, 0, 15, 1
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -5, -5, 15, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 4, 0, 24, 1
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
waitforvisualfinish
|
|
delay 1
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
gBattleAnimGeneral_DoomDesireHit::
|
|
createvisualtask AnimTask_SetAnimTargetToBattlerTarget, 2
|
|
simple_palette_blend selector=F_PAL_BG, delay=3, initial_blend_y=0, target_blend_y=16, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
delay 10
|
|
createvisualtask AnimTask_DoomDesireLightBeam, 5
|
|
delay 9
|
|
playsewithpan SE_M_CONFUSE_RAY, SOUND_PAN_ATTACKER
|
|
delay 9
|
|
playsewithpan SE_M_CONFUSE_RAY, 0
|
|
delay 9
|
|
playsewithpan SE_M_CONFUSE_RAY, SOUND_PAN_TARGET
|
|
delay 25
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 10, 0, 20, 1
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 24, -24, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, 1, 1
|
|
delay 6
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, 1, 1
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=3, initial_blend_y=16, target_blend_y=0, color=RGB_WHITE
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimGeneral_FocusPunchSetUp::
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call EndureEffect
|
|
delay 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_RED
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call EndureEffect
|
|
delay 8
|
|
call EndureEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimGeneral_IngrainHeal::
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=0, target_blend_y=4, color=RGB(13, 31, 12)
|
|
waitforvisualfinish
|
|
delay 3
|
|
call AbsorbEffect
|
|
waitforvisualfinish
|
|
delay 15
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=1, initial_blend_y=4, target_blend_y=0, color=RGB(13, 31, 12)
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimGeneral_WishHeal::
|
|
simple_palette_blend selector=F_PAL_BG, delay=3, initial_blend_y=0, target_blend_y=10, color=RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
call GrantingStarsEffect
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_SPARKLE_2
|
|
unloadspritepal ANIM_TAG_SPARKLE_2
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
simple_palette_blend selector=F_PAL_BG, delay=3, initial_blend_y=10, target_blend_y=0, color=RGB_BLACK
|
|
end
|
|
|
|
gBattleAnimGeneral_SimpleHeal::
|
|
call HealingEffect
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimGeneral_IllusionOff::
|
|
monbg ANIM_TARGET
|
|
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_MINIMIZE, SOUND_PAN_ATTACKER, 48
|
|
createvisualtask AnimTask_TransformMon, 2, SPECIES_GFX_CHANGE_ILLUSION_OFF
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
end
|
|
|
|
gBattleAnimGeneral_FormChange::
|
|
monbg ANIM_ATTACKER
|
|
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
|
|
waitplaysewithpan SE_M_MINIMIZE, SOUND_PAN_ATTACKER, 48
|
|
createvisualtask AnimTask_TransformMon, 2, SPECIES_GFX_CHANGE_FORM_CHANGE
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
gBattleAnimGeneral_FormChangeDisguise::
|
|
playsewithpan SE_CONTEST_CONDITION_LOSE, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 10, 1
|
|
waitforvisualfinish
|
|
playsewithpan SE_CONTEST_CURTAIN_FALL, SOUND_PAN_TARGET
|
|
goto gBattleAnimGeneral_FormChangeInstant
|
|
|
|
gBattleAnimGeneral_FormChangeInstant::
|
|
monbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_TransformMon, 2, SPECIES_GFX_CHANGE_FORM_CHANGE_INSTANT
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
gBattleAnimGeneral_SlideOffScreen::
|
|
createvisualtask AnimTask_SlideOffScreen, 5, ANIM_TARGET, 3
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_SetInvisible, 1, ANIM_TARGET, TRUE
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimGeneral_MegaEvolution::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_ELECTRICITY, 0, 12, 12, RGB(29, 0, 29)
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
loopsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER, 13, 3
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=6, initial_blend_y=0, target_blend_y=11, color=RGB(31, 31, 11)
|
|
call MegaEvolutionParticles
|
|
call MegaEvolutionParticles
|
|
call MegaEvolutionParticles
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER
|
|
createsprite gMegaStoneSpriteTemplate, ANIM_ATTACKER, 41, 0, 0, 0, 0
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 0, 16, RGB_WHITEALPHA
|
|
waitforvisualfinish
|
|
createvisualtask SoundTask_PlayNormalCry, 0
|
|
createvisualtask AnimTask_HideSwapSprite, 2
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 16, 0, RGB_WHITEALPHA
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 5, 14
|
|
createsprite gMegaSymbolSpriteTemplate ANIM_ATTACKER, 3, 0, 0, ANIM_ATTACKER
|
|
delay 2
|
|
call MegaEvolutionSpinEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
MegaEvolutionParticles:
|
|
createsprite gMegaParticlesSpriteTemplate, ANIM_ATTACKER, 2, 40, -10, 13
|
|
delay 3
|
|
createsprite gMegaParticlesSpriteTemplate, ANIM_ATTACKER, 2, -35, -10, 13
|
|
delay 3
|
|
createsprite gMegaParticlesSpriteTemplate, ANIM_ATTACKER, 2, 15, -40, 13
|
|
delay 3
|
|
createsprite gMegaParticlesSpriteTemplate, ANIM_ATTACKER, 2, -10, -32, 13
|
|
delay 3
|
|
createsprite gMegaParticlesSpriteTemplate, ANIM_ATTACKER, 2, 25, -20, 13
|
|
delay 3
|
|
createsprite gMegaParticlesSpriteTemplate, ANIM_ATTACKER, 2, -40, -20, 13
|
|
delay 3
|
|
createsprite gMegaParticlesSpriteTemplate, ANIM_ATTACKER, 2, 5, -40, 13
|
|
delay 3
|
|
return
|
|
|
|
MegaEvolutionSpinEffect:
|
|
createsprite gMegaSmokeSpriteTemplate ANIM_ATTACKER, 7, 0, 12, 528, 30, 13, 50, 0
|
|
delay 2
|
|
createsprite gMegaSmokeSpriteTemplate ANIM_ATTACKER, 7, 0, 0, 480, 20, 16, -46, 0
|
|
delay 2
|
|
createsprite gMegaSmokeSpriteTemplate ANIM_ATTACKER, 7, 0, 1, 576, 20, 8, 42, 0
|
|
delay 2
|
|
createsprite gMegaSmokeSpriteTemplate ANIM_ATTACKER, 7, 0, 15, 400, 25, 11, -42, 0
|
|
delay 2
|
|
createsprite gMegaSmokeSpriteTemplate ANIM_ATTACKER, 7, 0, 12, 512, 25, 16, 46, 0
|
|
delay 2
|
|
createsprite gMegaSmokeSpriteTemplate ANIM_ATTACKER, 7, 0, 1, 464, 30, 15, -50, 0
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimGeneral_TeraCharge::
|
|
createvisualtask AnimTask_HideOpponentShadows, 2 @ Hide opponent shadows so they don't flicker between battle anims
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=6, initial_blend_y=0, target_blend_y=11, color=RGB_RED
|
|
call RainbowEndureEffect
|
|
call RainbowEndureEffect
|
|
call RainbowEndureEffect
|
|
call RainbowEndureEffect
|
|
call RainbowEndureEffect
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER
|
|
createsprite gTeraCrystalSpriteTemplate, ANIM_ATTACKER, 41, 0, 0, 0, 0
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 0, 16, RGB_WHITEALPHA
|
|
waitforvisualfinish
|
|
call TeraChargeParticles
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_ATTACKER
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
TeraChargeParticles:
|
|
createsprite gTeraCrystalSpreadSpriteTemplate, ANIM_TARGET, 0, 0, -5, 8
|
|
createsprite gTeraCrystalSpreadSpriteTemplate, ANIM_TARGET, 0, 1, 5, 9
|
|
createsprite gTeraCrystalSpreadSpriteTemplate, ANIM_TARGET, 0, 2, 5, -8
|
|
createsprite gTeraCrystalSpreadSpriteTemplate, ANIM_TARGET, 0, 2, -5, -8
|
|
createsprite gTeraCrystalSpreadSpriteTemplate, ANIM_TARGET, 0, 1, -10, 0
|
|
createsprite gTeraCrystalSpreadSpriteTemplate, ANIM_TARGET, 0, 0, 10, 0
|
|
return
|
|
|
|
gBattleAnimGeneral_TeraActivate::
|
|
createvisualtask AnimTask_SetOpponentShadowCallbacks, 2 @ Restore shadows hidden in the charge script
|
|
createvisualtask AnimTask_HideSwapSprite, 2
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 16, 0, RGB_WHITEALPHA
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 5, 14
|
|
createvisualtask SoundTask_PlayNormalCry, 0
|
|
createsprite gTeraSymbolSpriteTemplate ANIM_ATTACKER, 41, 0, 0, ANIM_ATTACKER
|
|
delay 2
|
|
call TeraSpinEffect
|
|
call TeraSpinEffect
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
TeraSpinEffect:
|
|
createsprite gTeraSmokeSpriteTemplate ANIM_ATTACKER, 7, 0, 12, 528, 30, 13, 50, 0
|
|
delay 2
|
|
createsprite gTeraSmokeSpriteTemplate ANIM_ATTACKER, 7, 0, 0, 480, 20, 16, -46, 0
|
|
delay 2
|
|
createsprite gTeraSmokeSpriteTemplate ANIM_ATTACKER, 7, 0, 1, 576, 20, 8, 42, 0
|
|
delay 2
|
|
createsprite gTeraSmokeSpriteTemplate ANIM_ATTACKER, 7, 0, 15, 400, 25, 11, -42, 0
|
|
delay 2
|
|
createsprite gTeraSmokeSpriteTemplate ANIM_ATTACKER, 7, 0, 12, 512, 25, 16, 46, 0
|
|
delay 2
|
|
createsprite gTeraSmokeSpriteTemplate ANIM_ATTACKER, 7, 0, 1, 464, 30, 15, -50, 0
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimGeneral_RestoreBg::
|
|
restorebg
|
|
waitbgfadein
|
|
end
|
|
|
|
gBattleAnimGeneral_ZMoveActivate::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
fadetobg BG_ZMOVE_ACTIVATE
|
|
waitbgfadein
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, 0, 0, -1
|
|
playsewithpan SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=6, initial_blend_y=0, target_blend_y=11, color=RGB(28, 21, 29)
|
|
call ZMoveBuffEffect
|
|
call ZMoveBuffEffect
|
|
call ZMoveBuffEffect
|
|
createsprite gZMoveSymbolSpriteTemplate, ANIM_ATTACKER, 41, 0, 0, 0, 0
|
|
call ZMoveBuffEffect
|
|
call ZMoveBuffEffect
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
blendoff
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
ZMoveBuffEffect:
|
|
createsprite gBlueZMoveEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 3
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1 @Red Buff
|
|
delay 3
|
|
createsprite gGreenZMoveEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
delay 3
|
|
createsprite gYellowZMoveEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 3
|
|
return
|
|
|
|
gBattleAnimGeneral_TotemFlare::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=0, num_blends=6, initial_blend_y=0, target_blend_y=11, color=RGB_RED
|
|
call RainbowEndureEffect
|
|
call RainbowEndureEffect
|
|
call RainbowEndureEffect
|
|
call RainbowEndureEffect
|
|
call RainbowEndureEffect
|
|
waitforvisualfinish
|
|
blendoff
|
|
clearmonbg ANIM_ATTACKER
|
|
end
|
|
|
|
RainbowEndureEffect:
|
|
createsprite gBlueEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 3
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1 @Red Buff
|
|
delay 3
|
|
createsprite gGreenEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
delay 3
|
|
createsprite gYellowEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 3
|
|
return
|
|
|
|
gBattleAnimGeneral_GulpMissile:: @ Tackle anim (placeholder)
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4
|
|
delay 6
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_ATTACKER, animation=2
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 3, 0, 6, 1
|
|
playsewithpan SE_M_COMET_PUNCH, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimGeneral_StrongWinds::
|
|
playsewithpan SE_M_GUST, 0
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_FLYING_DIRT, 0, 12, 12, RGB(20, 20, 20)
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_LoadWindstormBackground, 5, FALSE
|
|
delay 32
|
|
waitforvisualfinish
|
|
stopsound
|
|
end
|
|
|
|
gBattleAnimGeneral_PrimalReversion::
|
|
createvisualtask AnimTask_PrimalReversion, 5
|
|
jumpargeq 0, ITEM_RED_ORB, General_PrimalReversion_Omega
|
|
jumpargeq 0, ITEM_BLUE_ORB, General_PrimalReversion_Alpha
|
|
goto gBattleAnimGeneral_MegaEvolution
|
|
General_PrimalReversion_Alpha:
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER
|
|
createsprite gAlphaStoneSpriteTemplate, ANIM_ATTACKER, 41, 0, 0, 0, 0
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 0, 16, RGB_WHITEALPHA
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_HideSwapSprite, 2
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 16, 0, RGB_WHITEALPHA
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 5, 14
|
|
createvisualtask SoundTask_PlayNormalCry, 0
|
|
createsprite gAlphaSymbolSpriteTemplate ANIM_ATTACKER, 3, 0, 0, ANIM_ATTACKER
|
|
call WaterGeyser
|
|
call WaterGeyser
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
WaterGeyser:
|
|
createsprite gAlphaGeyserSpriteTemplate ANIM_ATTACKER, 3, ANIM_ATTACKER, -4, 24
|
|
delay 1
|
|
createsprite gAlphaGeyserSpriteTemplate ANIM_ATTACKER, 3, ANIM_ATTACKER, 16, 24
|
|
delay 1
|
|
createsprite gAlphaGeyserSpriteTemplate ANIM_ATTACKER, 3, ANIM_ATTACKER, 4, 24
|
|
delay 1
|
|
createsprite gAlphaGeyserSpriteTemplate ANIM_ATTACKER, 3, ANIM_ATTACKER, -16, 24
|
|
delay 1
|
|
return
|
|
General_PrimalReversion_Omega:
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER
|
|
createsprite gOmegaStoneSpriteTemplate, ANIM_ATTACKER, 41, 0, 0, 0, 0
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 0, 16, RGB_WHITEALPHA
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_HideSwapSprite, 2
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 16, 0, RGB_WHITEALPHA
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 5, 14
|
|
createvisualtask SoundTask_PlayNormalCry, 0
|
|
createsprite gOmegaSymbolSpriteTemplate ANIM_ATTACKER, 3, 0, 0, ANIM_ATTACKER
|
|
call FireGeyser
|
|
call FireGeyser
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
FireGeyser:
|
|
createsprite gOmegaGeyserSpriteTemplate ANIM_ATTACKER, 3, ANIM_ATTACKER, -4, 24
|
|
delay 1
|
|
createsprite gOmegaGeyserSpriteTemplate ANIM_ATTACKER, 3, ANIM_ATTACKER, 16, 24
|
|
delay 1
|
|
createsprite gOmegaGeyserSpriteTemplate ANIM_ATTACKER, 3, ANIM_ATTACKER, 4, 24
|
|
delay 1
|
|
createsprite gOmegaGeyserSpriteTemplate ANIM_ATTACKER, 3, ANIM_ATTACKER, -16, 24
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimGeneral_PowerConstruct::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SNORE_Z, 0, 10, 10, RGB(8, 14, 1) @Green
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
loopsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER, 13, 3
|
|
call PowerConstructParticles
|
|
call PowerConstructParticles
|
|
call PowerConstructParticles
|
|
waitforvisualfinish
|
|
playsewithpan SE_ORB, SOUND_PAN_ATTACKER
|
|
createsprite gPowerConstructEmergeSpriteTemplate, ANIM_ATTACKER, 0, 0, 0, 0, 0
|
|
delay 20
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 0, 16, RGB_WHITEALPHA
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_HideSwapSprite, 2
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 16, 0, RGB_WHITEALPHA
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 5, 14
|
|
createvisualtask SoundTask_PlayNormalCry, 0
|
|
createsprite gZSymbolSpriteTemplate ANIM_ATTACKER, 3, 0, 0, ANIM_ATTACKER
|
|
call ZGeyser
|
|
call ZGeyser
|
|
call ZGeyser
|
|
call ZGeyser
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
PowerConstructParticles:
|
|
createsprite gPowerConstructSpriteTemplate, ANIM_ATTACKER, 2, 40, -10, 13
|
|
delay 3
|
|
createsprite gPowerConstructSpriteTemplate, ANIM_ATTACKER, 2, -35, -10, 13
|
|
delay 3
|
|
createsprite gPowerConstructSpriteTemplate, ANIM_ATTACKER, 2, 15, -40, 13
|
|
delay 3
|
|
createsprite gPowerConstructSpriteTemplate, ANIM_ATTACKER, 2, -10, -32, 13
|
|
delay 3
|
|
createsprite gPowerConstructSpriteTemplate, ANIM_ATTACKER, 2, 25, -20, 13
|
|
delay 3
|
|
createsprite gPowerConstructSpriteTemplate, ANIM_ATTACKER, 2, -40, -20, 13
|
|
delay 3
|
|
createsprite gPowerConstructSpriteTemplate, ANIM_ATTACKER, 2, 5, -40, 13
|
|
delay 3
|
|
return
|
|
ZGeyser:
|
|
createsprite gThousandArrowsGreenHexTemplate ANIM_ATTACKER, 3, ANIM_ATTACKER, -4, 24
|
|
delay 1
|
|
createsprite gThousandArrowsGreenHexTemplate ANIM_ATTACKER, 3, ANIM_ATTACKER, 16, 24
|
|
delay 1
|
|
createsprite gThousandArrowsGreenHexTemplate ANIM_ATTACKER, 3, ANIM_ATTACKER, 4, 24
|
|
delay 1
|
|
createsprite gThousandArrowsGreenHexTemplate ANIM_ATTACKER, 3, ANIM_ATTACKER, -16, 24
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimGeneral_UltraBurst::
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_HYDRO_PUMP, 0, 12, 12, RGB2GBA(250, 240, 230)
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ADJACENT), 2, 0, 15, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 60, 2, 12 @ charge particles to attacker
|
|
delay 30
|
|
loopsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER, 14, 10
|
|
createsprite gSuperpowerOrbSpriteTemplate, ANIM_TARGET, 3, 0
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
delay 20
|
|
playsewithpan SE_ORB, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 0, 16, RGB_WHITEALPHA
|
|
createsprite gUltraBurstSymbolSpriteTemplate, ANIM_ATTACKER, 0, 0, 0, 0, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_HideSwapSprite, 2
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, 5, 2, 16, 0, RGB_WHITEALPHA
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 5, 14
|
|
createvisualtask SoundTask_PlayNormalCry, 0
|
|
call LightGeyser
|
|
call LightGeyser
|
|
call LightGeyser
|
|
call LightGeyser
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
blendoff
|
|
end
|
|
LightGeyser:
|
|
createsprite gAlphaGeyserSpriteTemplate ANIM_ATTACKER, 3, ANIM_ATTACKER, -4, 24
|
|
delay 1
|
|
createsprite gAlphaGeyserSpriteTemplate ANIM_ATTACKER, 3, ANIM_ATTACKER, 16, 24
|
|
delay 1
|
|
createsprite gAlphaGeyserSpriteTemplate ANIM_ATTACKER, 3, ANIM_ATTACKER, 4, 24
|
|
delay 1
|
|
createsprite gAlphaGeyserSpriteTemplate ANIM_ATTACKER, 3, ANIM_ATTACKER, -16, 24
|
|
delay 1
|
|
return
|
|
|
|
gBattleAnimGeneral_AffectionHangedOn::
|
|
loopsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER, 12, 3
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 12, 4096, 4, ANIM_ATTACKER
|
|
delay 15
|
|
createvisualtask AnimTask_AffectionHangedOn, 5
|
|
jumpargeq 0, AFFECTION_THREE_HEARTS, General_AffectionHangedOn_3Hearts
|
|
jumpargeq 0, AFFECTION_FOUR_HEARTS, General_AffectionHangedOn_4Hearts
|
|
jumpargeq 0, AFFECTION_FIVE_HEARTS, General_AffectionHangedOn_5Hearts
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_ATTACKER, 3, -384, -31
|
|
General_AffectionHangedOn_5Hearts:
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_ATTACKER, 3, -128, -22
|
|
General_AffectionHangedOn_4Hearts:
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_ATTACKER, 3, 416, -38
|
|
General_AffectionHangedOn_3Hearts:
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_ATTACKER, 3, 160, -32
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_ATTACKER, 3, -256, -40
|
|
createsprite gRedHeartBurstSpriteTemplate, ANIM_ATTACKER, 3, 128, -16
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimGeneral_SaltCureDamage::
|
|
createsprite gSaltCureCrystalSpriteTemplate, ANIM_TARGET, 2, -10, -10, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gSaltCureCrystalSpriteTemplate, ANIM_TARGET, 2, 10, 20, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gSaltCureCrystalSpriteTemplate, ANIM_TARGET, 2, -29, 0, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gSaltCureCrystalSpriteTemplate, ANIM_TARGET, 2, 29, -20, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gSaltCureCrystalSpriteTemplate, ANIM_TARGET, 2, -5, 10, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gSaltCureCrystalSpriteTemplate, ANIM_TARGET, 2, 17, -12, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gSaltCureCrystalSpriteTemplate, ANIM_TARGET, 2, -20, 0, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gSaltCureCrystalSpriteTemplate, ANIM_TARGET, 2, -15, 15, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gSaltCureCrystalSpriteTemplate, ANIM_TARGET, 2, 26, -5, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gSaltCureCrystalSpriteTemplate, ANIM_TARGET, 2, 0, 0, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gSaltCureCrystalSpriteTemplate, ANIM_TARGET, 2, 20, 2, 1
|
|
playsewithpan SE_M_ICY_WIND, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimGeneral_Rainbow::
|
|
call RainDrops
|
|
delay 30
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 1, 0, 6, RGB_WHITE
|
|
waitforvisualfinish
|
|
panse_adjustnone SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +1, 0
|
|
call SunnyDayLightRay
|
|
call SunnyDayLightRay
|
|
call SunnyDayLightRay
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 1, 6, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
delay 30
|
|
goto SetRainbowBackground
|
|
AnimGeneral_RainbowContinue:
|
|
panse_adjustnone SE_M_ABSORB_2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +1, 0
|
|
delay 90
|
|
blendoff
|
|
restorebg
|
|
waitbgfadein
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
end
|
|
SetRainbowBackground:
|
|
createvisualtask AnimTask_GetAttackerSide, 2
|
|
jumprettrue SetRainbowBgOppoentSide
|
|
fadetobg BG_RAINBOW_PLAYER
|
|
goto AnimGeneral_RainbowContinue
|
|
SetRainbowBgOppoentSide:
|
|
fadetobg BG_RAINBOW_OPPONENT
|
|
goto AnimGeneral_RainbowContinue
|
|
|
|
gBattleAnimGeneral_SeaOfFire::
|
|
monbg ANIM_DEF_PARTNER
|
|
splitbgprio ANIM_TARGET
|
|
playsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_TARGET
|
|
fadetobg BG_FIRE
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 11, RGB(21, 2, 0)
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_DEF_PARTNER, 2, 0, 11, RGB(21, 2, 0)
|
|
call SeaOfFireTwisterDos
|
|
delay 3
|
|
call SeaOfFireTwisterTres
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 10, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 10, 1
|
|
waitforvisualfinish
|
|
restorebg
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 11, 0, RGB(21, 2, 0)
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_DEF_PARTNER, 2, 11, 0, RGB(21, 2, 0)
|
|
waitbgfadein
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
SeaOfFireTwisterDos:
|
|
createsprite gTwisterEmberSpriteTemplate, ANIM_TARGET, 2, 45, 90, 5, 70, 30
|
|
delay 2
|
|
createsprite gTwisterEmberSpriteTemplate, ANIM_TARGET, 2, 50, 85, 6, 60, 30
|
|
delay 1
|
|
createsprite gTwisterEmberSpriteTemplate, ANIM_TARGET, 2, 47, 77, 7, 60, 30
|
|
delay 2
|
|
createsprite gTwisterEmberSpriteTemplate, ANIM_TARGET, 2, 40, 86, 8, 50, 30
|
|
delay 3
|
|
createsprite gTwisterEmberSpriteTemplate, ANIM_TARGET, 2, 42, 82, 7, 45, 30
|
|
delay 1
|
|
createsprite gTwisterEmberSpriteTemplate, ANIM_TARGET, 2, 47, 83, 5, 38, 30
|
|
delay 2
|
|
return
|
|
|
|
SeaOfFireTwisterTres:
|
|
createsprite gTwisterEmberSpriteTemplate, ANIM_TARGET, 2, 45, 90, 3, 45, 30
|
|
delay 2
|
|
createsprite gTwisterEmberSpriteTemplate, ANIM_TARGET, 2, 50, 85, 4, 39, 30
|
|
delay 1
|
|
createsprite gTwisterEmberSpriteTemplate, ANIM_TARGET, 2, 47, 77, 5, 39, 30
|
|
delay 2
|
|
createsprite gTwisterEmberSpriteTemplate, ANIM_TARGET, 2, 40, 86, 6, 32, 30
|
|
delay 3
|
|
createsprite gTwisterEmberSpriteTemplate, ANIM_TARGET, 2, 42, 82, 5, 27, 30
|
|
delay 1
|
|
createsprite gTwisterEmberSpriteTemplate, ANIM_TARGET, 2, 47, 83, 3, 24, 30
|
|
delay 2
|
|
return
|
|
|
|
gBattleAnimGeneral_Swamp::
|
|
playsewithpan SE_M_RAIN_DANCE, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 0, 4, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_CreateRaindrops, 2, 0, 3, 60
|
|
createvisualtask AnimTask_CreateRaindrops, 2, 0, 3, 60
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SMALL_BUBBLES, 0, 4, 4, RGB(12, 11, 31)
|
|
delay 1
|
|
waitforvisualfinish
|
|
fadetobg BG_SWAMP
|
|
createvisualtask AnimTask_CreateRaindrops, 2, 0, 3, 60
|
|
createvisualtask AnimTask_CreateRaindrops, 2, 0, 3, 60
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 11, RGB(11, 26, 10)
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_DEF_PARTNER, 2, 0, 11, RGB(11, 26, 10)
|
|
waitbgfadeout
|
|
delay 4
|
|
createvisualtask AnimTask_CreateRaindrops, 2, 0, 3, 60
|
|
createvisualtask AnimTask_CreateRaindrops, 2, 0, 3, 60
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 10, 1
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_DEF_PARTNER, 1, 0, 10, 1
|
|
loopsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET, 20, 3
|
|
waitforvisualfinish
|
|
delay 10
|
|
restorebg
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 11, 0, RGB(11, 26, 10)
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_DEF_PARTNER, 2, 11, 0, RGB(11, 26, 10)
|
|
waitbgfadein
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 4, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
end
|
|
|
|
gBattleAnimGeneral_SwapToSubstitute::
|
|
createvisualtask AnimTask_SwapMonSpriteToFromSubstitute, 2, FALSE
|
|
waitforvisualfinish
|
|
end
|
|
|
|
gBattleAnimGeneral_SwapFromSubstitute::
|
|
createvisualtask AnimTask_SwapMonSpriteToFromSubstitute, 2, TRUE
|
|
waitforvisualfinish
|
|
end
|
|
|
|
SnatchMoveTrySwapFromSubstitute:
|
|
createvisualtask AnimTask_IsAttackerBehindSubstitute, 2
|
|
jumprettrue SnatchMoveSwapSubstituteForMon
|
|
SnatchMoveTrySwapFromSubstituteEnd:
|
|
waitforvisualfinish
|
|
return
|
|
SnatchMoveSwapSubstituteForMon:
|
|
createvisualtask AnimTask_SwapMonSpriteToFromSubstitute, 2, TRUE
|
|
waitforvisualfinish
|
|
goto SnatchMoveTrySwapFromSubstituteEnd
|
|
|
|
SnatchMoveTrySwapToSubstitute:
|
|
createvisualtask AnimTask_IsAttackerBehindSubstitute, 2
|
|
jumprettrue SnatchMoveSwapMonForSubstitute
|
|
SnatchMoveTrySwapToSubstituteEnd:
|
|
waitforvisualfinish
|
|
return
|
|
SnatchMoveSwapMonForSubstitute:
|
|
createvisualtask AnimTask_SwapMonSpriteToFromSubstitute, 2, FALSE
|
|
waitforvisualfinish
|
|
goto SnatchMoveTrySwapToSubstituteEnd
|
|
|
|
@ Healthbox blue flash effect on level up
|
|
gBattleAnimSpecial_LevelUp::
|
|
playsewithpan SE_EXP_MAX, 0
|
|
createvisualtask AnimTask_LoadHealthboxPalsForLevelUp, 2
|
|
delay 0
|
|
createvisualtask AnimTask_FlashHealthboxOnLevelUp, 5, 0, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_FreeHealthboxPalsForLevelUp, 2
|
|
end
|
|
|
|
gBattleAnimSpecial_SwitchOutPlayerMon::
|
|
createvisualtask AnimTask_SwitchOutBallEffect, 2
|
|
delay 10
|
|
createvisualtask AnimTask_SwitchOutShrinkMon, 2
|
|
end
|
|
|
|
gBattleAnimSpecial_SwitchOutOpponentMon::
|
|
createvisualtask AnimTask_SwitchOutBallEffect, 2
|
|
delay 10
|
|
createvisualtask AnimTask_SwitchOutShrinkMon, 2
|
|
end
|
|
|
|
gBattleAnimSpecial_BallThrow::
|
|
createvisualtask AnimTask_LoadBallGfx, 2
|
|
delay 0
|
|
playsewithpan SE_BALL_THROW, 0
|
|
createvisualtask AnimTask_ThrowBall, 2
|
|
createvisualtask AnimTask_IsBallBlockedByTrainer, 2
|
|
jumpreteq -1, BallThrowTrainerBlock
|
|
BallThrowEnd:
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_FreeBallGfx, 2
|
|
end
|
|
BallThrowTrainerBlock:
|
|
delay 25
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
delay 0
|
|
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-4, y=-20, relative_to=ANIM_TARGET, animation=2
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
goto BallThrowEnd
|
|
|
|
gBattleAnimSpecial_BallThrowWithTrainer::
|
|
createvisualtask AnimTask_LoadBallGfx, 2
|
|
delay 0
|
|
createvisualtask AnimTask_ThrowBall_StandingTrainer, 2
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_FreeBallGfx, 2
|
|
end
|
|
|
|
gBattleAnimSpecial_SubstituteToMon::
|
|
createvisualtask AnimTask_SwapMonSpriteToFromSubstitute, 2, TRUE
|
|
end
|
|
|
|
gBattleAnimSpecial_MonToSubstitute::
|
|
createvisualtask AnimTask_SwapMonSpriteToFromSubstitute, 2, FALSE
|
|
end
|
|
|
|
gBattleAnimSpecial_CriticalCaptureBallThrow::
|
|
createvisualtask AnimTask_LoadBallGfx, 2
|
|
delay 0
|
|
playsewithpan SE_FALL, 0
|
|
createvisualtask AnimTask_ThrowBall, 2
|
|
createvisualtask AnimTask_IsBallBlockedByTrainer, 2
|
|
jumpreteq -1, BallThrowTrainerBlock
|
|
goto BallThrowEnd
|
|
|
|
@@@@@@@@@@ Z MOVES @@@@@@@@@@
|
|
gBattleAnimMove_BreakneckBlitz::
|
|
createvisualtask AnimTask_HorizontalShake, 5, (MAX_BATTLERS_COUNT + 1), 5, 32 @ shake screen
|
|
createvisualtask AnimTask_HorizontalShake, 5, MAX_BATTLERS_COUNT, 5, 32 @ shake banks
|
|
playsewithpan SE_M_EARTHQUAKE, 0
|
|
monbg ANIM_ATTACKER
|
|
splitbgprio ANIM_ATTACKER
|
|
delay 1
|
|
createvisualtask AnimTask_BlendPalInAndOutByTag, 5, ANIM_TAG_HOLLOW_ORB, RGB(0, 0, 19), 14, 0, 3
|
|
createsprite gBreakneckBlitzDanceSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
createsprite gBreakneckBlitzDanceSpriteTemplate, ANIM_ATTACKER, 2, 43
|
|
createsprite gBreakneckBlitzDanceSpriteTemplate, ANIM_ATTACKER, 2, 85
|
|
createsprite gBreakneckBlitzDanceSpriteTemplate, ANIM_ATTACKER, 2, 128
|
|
createsprite gBreakneckBlitzDanceSpriteTemplate, ANIM_ATTACKER, 2, 170
|
|
createsprite gBreakneckBlitzDanceSpriteTemplate, ANIM_ATTACKER, 2, 213
|
|
delay 15
|
|
createsprite gBreakneckBlitzDanceSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
createsprite gBreakneckBlitzDanceSpriteTemplate, ANIM_ATTACKER, 2, 43
|
|
createsprite gBreakneckBlitzDanceSpriteTemplate, ANIM_ATTACKER, 2, 85
|
|
createsprite gBreakneckBlitzDanceSpriteTemplate, ANIM_ATTACKER, 2, 128
|
|
createsprite gBreakneckBlitzDanceSpriteTemplate, ANIM_ATTACKER, 2, 170
|
|
createsprite gBreakneckBlitzDanceSpriteTemplate, ANIM_ATTACKER, 2, 213
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
fadetobg BG_DRILL
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -2304, 768, 1, -1
|
|
waitbgfadein
|
|
setalpha 12, 8
|
|
delay 16
|
|
createvisualtask AnimTask_WindUpLunge, 5, ANIM_ATTACKER, -24, 8, 23, 10, 40, 10
|
|
delay 35
|
|
invisible ANIM_ATTACKER
|
|
createsprite gGrowingSuperpowerTemplate, ANIM_TARGET, 3, 0
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
delay 8
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
createsprite gBreakneckBlitzHitSpriteTemplate, ANIM_TARGET, 3, 0, 0, 1, 1 @ 0, 0
|
|
delay 1
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
createsprite gBreakneckBlitzHitSpriteTemplate, ANIM_TARGET, 3, 10, -10, 1, 1 @ +10, -10
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
delay 1
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
createsprite gBreakneckBlitzHitSpriteTemplate, ANIM_TARGET, 3, 15, -15, 1, 1 @ +15, -15
|
|
delay 1
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
createsprite gBreakneckBlitzHitSpriteTemplate, ANIM_TARGET, 3, 20, -20, 1, 1 @ +20, -20
|
|
delay 1
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
createsprite gBreakneckBlitzHitSpriteTemplate, ANIM_TARGET, 3, 25, -25, 1, 1 @ +25, -25
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -26, 16, 1, 4
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -512, ANIM_TARGET, 0
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 4, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1
|
|
waitforvisualfinish
|
|
delay 4
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 8, -512, ANIM_TARGET, 1
|
|
delay 10
|
|
delay 25
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 6
|
|
delay 2
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 5
|
|
waitforvisualfinish
|
|
delay 16
|
|
blendoff
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
|
|
gBattleAnimMove_AllOutPummeling::
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
call EndureEffect
|
|
loopsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER 9 2
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_RED
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call EndureEffect
|
|
waitforvisualfinish
|
|
fadetobg BG_ROCK_WRECKER
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 2048, 0, 0, -1
|
|
waitbgfadein
|
|
setalpha 12, 8
|
|
monbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 63, 1
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -48, 24, 0, 0, 10, 1, ANIM_FOOT_1, 1
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
delay 8
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -6, 18, 0, 0, 10, 1, ANIM_CHOP, 1
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
delay 8
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -64, 16, 0, 0, 10, 1, ANIM_FIST_1, 1
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
delay 8
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -48, 21, 0, 0, 10, 1, ANIM_FOOT_2, 1
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
delay 8
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -48, 20, 0, 0, 10, 1, ANIM_FIST_1, 1
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
delay 8
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -32, 23, 0, 0, 10, 1, ANIM_CHOP, 1
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
delay 8
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -64, 17, 0, 0, 10, 1, ANIM_FOOT_1, 1
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
delay 8
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -80, 16, 0, 0, 10, 1, ANIM_FOOT_2, 1
|
|
delay 2
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
delay 8
|
|
createsprite gAllOutPummelingOnslaughtSpriteTemplate, ANIM_ATTACKER, 2, -96, 21, 0, 0, 10, 1, ANIM_CHOP, 1
|
|
delay 2
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
delay 16
|
|
createvisualtask AnimTask_WindUpLunge, 5, ANIM_ATTACKER, -24, 8, 23, 10, 40, 10
|
|
delay 35
|
|
invisible ANIM_ATTACKER
|
|
createsprite gGrowingSuperpowerTemplate, ANIM_TARGET, 3, 0
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -48, 0, 0, 4
|
|
waitforvisualfinish
|
|
delay 48
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 7
|
|
delay 2
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 5
|
|
waitforvisualfinish
|
|
delay 16
|
|
blendoff
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
end
|
|
|
|
|
|
gBattleAnimMove_SupersonicSkystrike::
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
monbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 8, 0, RGB_BLACK
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_ATTACKER, 2, 16
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 1, 15, 0, RGB_WHITE
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
call EndureEffect
|
|
delay 8
|
|
call EndureEffect
|
|
delay 32
|
|
delay 10
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
createsprite gFlyBallUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
delay 2
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 12, 4, -16, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 16, 4, -10, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 1, 14, 4, -18, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 1, 12, 4, -16, 18
|
|
delay 48
|
|
createvisualtask AnimTask_DoomDesireLightBeam, 5
|
|
delay 9
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
delay 9
|
|
playsewithpan SE_M_MORNING_SUN, 0
|
|
delay 9
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_TARGET
|
|
delay 25
|
|
fadetobg BG_SKY
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpargeq 7 1 SupersonicSkystrikeOnPlayer
|
|
SupersonicSkystrikeOnOpponent:
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -2048, 2048, 0, -1
|
|
goto FinishSupersonicSkystrike
|
|
SupersonicSkystrikeOnPlayer:
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 2048, -2048, 0, -1
|
|
FinishSupersonicSkystrike:
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
monbg ANIM_DEF_PARTNER
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gSupersonicSkystrikeFlySpriteTemplate, ANIM_ATTACKER, 2, 20
|
|
delay 16
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -256, 21, 0, 4
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 12, -24, -16, 24 @ 12, -48, -16, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 16, -38, -10, 24 @ 16, -16, -10, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 1, 14, -20, -18, 24 @ 14, -52, -18, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 1, 12, -36, -16, 24 @ 12, -32, -16, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 12, -48, -16, 24 @ 12, -24, -16, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 16, -16, -10, 24 @ 16, -38, -10, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 1, 14, -52, -18, 24 @ 14, -20, -18, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 1, 12, -32, -16, 24 @ 12, -36, -16, 24
|
|
delay 48
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
blendoff
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 16
|
|
call UnsetPsychicBg
|
|
waitforvisualfinish
|
|
end
|
|
|
|
|
|
gBattleAnimMove_AcidDownpour::
|
|
fadetobg BG_POISON
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpargeq 7 1 AcidDownpourOnPlayer
|
|
AcidDownpourOnOpponent:
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, -240, 1, -1
|
|
goto FinishAcidDownpour
|
|
AcidDownpourOnPlayer:
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, 240, 1, -1
|
|
FinishAcidDownpour:
|
|
waitbgfadein
|
|
setalpha 12, 8
|
|
monbg ANIM_ATTACKER
|
|
loopsewithpan SE_M_TOXIC, SOUND_PAN_TARGET, 13, 6
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 50, 1
|
|
call AcidDownpourFlareOnAttacker
|
|
call AcidDownpourFlareOnAttacker
|
|
call AcidDownpourFlareOnAttacker
|
|
delay 5
|
|
clearmonbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
blendoff
|
|
delay 32
|
|
loopsewithpan SE_M_BUBBLE3, SOUND_PAN_TARGET, 13, 3
|
|
createsprite gAcidDownpourReversalSpriteTemplate, ANIM_ATTACKER, 2, 26, 0
|
|
createsprite gAcidDownpourReversalSpriteTemplate, ANIM_ATTACKER, 2, 26, 42
|
|
createsprite gAcidDownpourReversalSpriteTemplate, ANIM_ATTACKER, 2, 26, 84
|
|
createsprite gAcidDownpourReversalSpriteTemplate, ANIM_ATTACKER, 2, 26, 126
|
|
createsprite gAcidDownpourReversalSpriteTemplate, ANIM_ATTACKER, 2, 26, 168
|
|
createsprite gAcidDownpourReversalSpriteTemplate, ANIM_ATTACKER, 2, 26, 210
|
|
delay 32
|
|
panse SE_M_WHIRLPOOL, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
create_surf_wave palette=ANIM_SURF_PAL_SLUDGE_WAVE
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 7, (RGB(28, 3, 22) | RGB_ALPHA)
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 50, 1
|
|
call AcidDownpourFlare
|
|
call AcidDownpourFlare
|
|
delay 21
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -768, 21, 0, 42
|
|
delay 44
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 7, 0, (RGB(28, 3, 22) | RGB_ALPHA)
|
|
invisible ANIM_TARGET
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 16
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, -1
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
end
|
|
AcidDownpourFlare:
|
|
createsprite gAcidDownpourAuraSpriteTemplate, ANIM_TARGET, 2, 0, 28, 384, 50, 8, 50, ANIM_TARGET
|
|
delay 2
|
|
createsprite gAcidDownpourAuraSpriteTemplate, ANIM_TARGET, 2, 0, 32, 240, 40, 11, -46, ANIM_TARGET
|
|
delay 2
|
|
createsprite gAcidDownpourAuraSpriteTemplate, ANIM_TARGET, 2, 0, 33, 416, 40, 4, 42, ANIM_TARGET
|
|
delay 2
|
|
createsprite gAcidDownpourAuraSpriteTemplate, ANIM_TARGET, 2, 0, 31, 288, 45, 6, -42, ANIM_TARGET
|
|
delay 2
|
|
createsprite gAcidDownpourAuraSpriteTemplate, ANIM_TARGET, 2, 0, 28, 448, 45, 11, 46, ANIM_TARGET
|
|
delay 2
|
|
createsprite gAcidDownpourAuraSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 50, 10, -50, ANIM_TARGET
|
|
delay 2
|
|
return
|
|
AcidDownpourFlareOnAttacker:
|
|
createsprite gAcidDownpourAuraSpriteTemplate, ANIM_TARGET, 2, 0, 28, 528, 30, 13, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gAcidDownpourAuraSpriteTemplate, ANIM_TARGET, 2, 0, 32, 480, 20, 16, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gAcidDownpourAuraSpriteTemplate, ANIM_TARGET, 2, 0, 33, 576, 20, 8, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gAcidDownpourAuraSpriteTemplate, ANIM_TARGET, 2, 0, 31, 400, 25, 11, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gAcidDownpourAuraSpriteTemplate, ANIM_TARGET, 2, 0, 28, 512, 25, 16, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gAcidDownpourAuraSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 30, 15, -50, ANIM_ATTACKER
|
|
delay 2
|
|
return
|
|
|
|
|
|
gBattleAnimMove_TectonicRage::
|
|
createsprite gDirtMoundSpriteTemplate, ANIM_ATTACKER, 1, 0, 0, 180
|
|
createsprite gDirtMoundSpriteTemplate, ANIM_ATTACKER, 1, 0, 1, 180
|
|
monbg_static ANIM_ATTACKER
|
|
delay 1
|
|
createvisualtask AnimTask_DigDownMovement, 2, 0
|
|
delay 6
|
|
call DigThrowDirt
|
|
call DigThrowDirt
|
|
call DigThrowDirt
|
|
call DigThrowDirt
|
|
createvisualtask AnimTask_TectonicRageRollout, 2
|
|
call DigThrowDirt
|
|
setalpha 12, 8
|
|
delay 32
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
monbg ANIM_TARGET
|
|
create_basic_hitsplat_sprite ANIM_ATTACKER, 4, x=0, y=0, relative_to=ANIM_TARGET, animation=2
|
|
delay 1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -256, 21, 0, 4
|
|
delay 10
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
invisible ANIM_TARGET
|
|
delay 5
|
|
invisible ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
delay 10
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 16
|
|
fadetobg BG_TECTONIC_RAGE @ brown/yellow sky uppercut
|
|
unloadspritegfx ANIM_TAG_DIRT_MOUND @ dig
|
|
unloadspritepal ANIM_TAG_DIRT_MOUND @ dig
|
|
unloadspritegfx ANIM_TAG_MUD_SAND @ rollout small rocks
|
|
unloadspritepal ANIM_TAG_MUD_SAND @ rollout small rocks
|
|
unloadspritegfx ANIM_TAG_ROCKS @ rollout
|
|
unloadspritepal ANIM_TAG_ROCKS @ rollout
|
|
unloadspritegfx ANIM_TAG_IMPACT @ hit
|
|
unloadspritepal ANIM_TAG_IMPACT @ hit
|
|
waitbgfadeout
|
|
visible ANIM_TARGET
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, -2048, 0, -1
|
|
waitbgfadein
|
|
playsewithpan SE_FALL, SOUND_PAN_ATTACKER @;Falling sound
|
|
delay 30
|
|
createsprite gEruptionFallingRockSpriteTemplate, ANIM_ATTACKER, 40, 200, -32, 0, 100, 0
|
|
createsprite gEruptionFallingRockSpriteTemplate, ANIM_ATTACKER, 40, 30, -32, 16, 90, 1
|
|
createsprite gEruptionFallingRockSpriteTemplate, ANIM_ATTACKER, 40, 150, -32, 32, 60, 2
|
|
createsprite gEruptionFallingRockSpriteTemplate, ANIM_ATTACKER, 40, 90, -32, 48, 80, 3
|
|
createsprite gEruptionFallingRockSpriteTemplate, ANIM_ATTACKER, 40, 110, -32, 64, 50, 0
|
|
createsprite gEruptionFallingRockSpriteTemplate, ANIM_ATTACKER, 40, 60, -32, 80, 70, 1
|
|
delay 22
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_PLAYER_RIGHT, 8, 60
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_PLAYER_LEFT, 8, 60
|
|
loopsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET, 16, 12
|
|
delay 48
|
|
call TectonicRageExplosion
|
|
playsewithpan SE_M_SACRED_FIRE, SOUND_PAN_ATTACKER
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -32, 0, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -20, -10, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 0, -16, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 20, -10, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 32, 0, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 20, 10, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, 0, 16, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -20, 10, 24, 0, 0, 0
|
|
call TectonicRageExplosion
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_ATTACKER
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -64, 0, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 6, -40, -20, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 70, 0, -32, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 70, 40, -20, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 64, 0, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 40, 20, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, 0, 32, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -40, 20, 24, 0, 0, 0
|
|
call TectonicRageExplosion
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_ATTACKER
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -96, 0, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 6, -60, -30, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 70, 0, -48, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 70, 60, -30, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 96, 0, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 60, 30, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, 0, 48, 24, 0, 0, 0
|
|
createsprite gTectonicRageBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -60, 30, 24, 0, 0, 0
|
|
call TectonicRageExplosion
|
|
waitforvisualfinish
|
|
call UnsetPsychicBg
|
|
waitbgfadein
|
|
clearmonbg_static ANIM_ATTACKER
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitforvisualfinish
|
|
end
|
|
TectonicRageExplosion:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gTectonicRageExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
return
|
|
|
|
|
|
gBattleAnimMove_ContinentalCrush::
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call ContinentalCrashBuffEffect
|
|
delay 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB(19, 14, 11)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call ContinentalCrashBuffEffect
|
|
delay 8
|
|
call ContinentalCrashBuffEffect
|
|
delay 4
|
|
delay 10
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
createsprite gFlyBallUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
delay 2
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 12, 4, -16, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 16, 4, -10, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 1, 14, 4, -18, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 1, 12, 4, -16, 18
|
|
delay 48
|
|
createvisualtask AnimTask_GetTimeOfDay, 2
|
|
jumpargeq 0 0 ContinentalCrushDay
|
|
jumpargeq 0 2 ContinentalCrushAfternoon
|
|
ContinentalCrushNight:
|
|
fadetobg BG_ROCK_FIELD_NIGHT
|
|
goto FinishContinentalCrush
|
|
ContinentalCrushDay:
|
|
fadetobg BG_ROCK_FIELD_DAY
|
|
goto FinishContinentalCrush
|
|
ContinentalCrushAfternoon:
|
|
fadetobg BG_ROCK_FIELD_AFTERNOON
|
|
FinishContinentalCrush:
|
|
delay 24
|
|
invisible ANIM_TARGET
|
|
waitbgfadeout
|
|
delay 5
|
|
visible ANIM_ATTACKER
|
|
delay 4
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB(19, 14, 11)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
call ContinentalCrushStockpileRocks
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
call ContinentalCrushStockpileRocks
|
|
createsprite gContinentalCrushGrowingRockSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB(19, 14, 11)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
call ContinentalCrushStockpileRocks
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
call ContinentalCrushStockpileRocks
|
|
invisible ANIM_ATTACKER
|
|
waitforvisualfinish
|
|
fadetobg BG_IN_AIR
|
|
waitbgfadeout
|
|
visible ANIM_TARGET
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, -2048, 0, -1
|
|
waitbgfadein
|
|
loopsewithpan SE_FALL, SOUND_PAN_ATTACKER, 32, 4 @;Falling sound
|
|
delay 30
|
|
createsprite gContinentalCrushEruptionSpriteTemplate, ANIM_ATTACKER, 40, 200, -32, 0, 100, 0
|
|
createsprite gContinentalCrushEruptionSpriteTemplate, ANIM_ATTACKER, 40, 30, -32, 16, 90, 1
|
|
createsprite gContinentalCrushEruptionSpriteTemplate, ANIM_ATTACKER, 40, 150, -32, 32, 60, 2
|
|
createsprite gContinentalCrushEruptionSpriteTemplate, ANIM_ATTACKER, 40, 90, -32, 48, 80, 3
|
|
createsprite gContinentalCrushEruptionSpriteTemplate, ANIM_ATTACKER, 40, 110, -32, 64, 50, 0
|
|
createsprite gContinentalCrushEruptionSpriteTemplate, ANIM_ATTACKER, 40, 60, -32, 80, 70, 1
|
|
delay 22
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_PLAYER_RIGHT, 8, 28
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_PLAYER_LEFT, 8, 28
|
|
unloadspritegfx ANIM_TAG_ROUND_SHADOW @ fly
|
|
unloadspritepal ANIM_TAG_ROUND_SHADOW @ fly
|
|
unloadspritegfx ANIM_TAG_MUD_SAND @ dig
|
|
unloadspritepal ANIM_TAG_MUD_SAND @ dig
|
|
unloadspritegfx ANIM_TAG_FOCUS_ENERGY @ focus energy
|
|
unloadspritepal ANIM_TAG_FOCUS_ENERGY @ focus energy
|
|
unloadspritegfx ANIM_TAG_IMPACT @ hit
|
|
unloadspritepal ANIM_TAG_IMPACT @ hit
|
|
delay 48
|
|
createsprite gContinentalCrushBigRockStompSpriteTemplate, ANIM_TARGET, 2, 0, 60, 3, ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 7, RGB_BLACK
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -256, 21, 0, 4
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 12, -24, -16, 24 @ 12, -48, -16, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 16, -38, -10, 24 @ 16, -16, -10, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 1, 14, -20, -18, 24 @ 14, -52, -18, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 1, 12, -36, -16, 24 @ 12, -32, -16, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 12, -48, -16, 24 @ 12, -24, -16, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 16, -16, -10, 24 @ 16, -38, -10, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 1, 14, -52, -18, 24 @ 14, -20, -18, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 1, 12, -32, -16, 24 @ 12, -36, -16, 24
|
|
delay 5
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 7, 0, RGB_BLACK @undo pal change on tgt
|
|
delay 16
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 16
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, -1
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitbgfadein
|
|
delay 4
|
|
waitforvisualfinish
|
|
end
|
|
ContinentalCrashBuffEffect:
|
|
createsprite gContinentalCrushFocusEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 4
|
|
createsprite gContinentalCrushFocusEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
delay 4
|
|
createsprite gContinentalCrushFocusEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
delay 4
|
|
createsprite gContinentalCrushFocusEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 4
|
|
createsprite gContinentalCrushFocusEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
ContinentalCrushStockpileRocks:
|
|
createsprite gContinentalCrushNeedleArmSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 0, -64, 32 @ 0,-32
|
|
delay 2
|
|
createsprite gContinentalCrushNeedleArmSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 44, -44, 32 @ +44,-44
|
|
delay 2
|
|
createsprite gContinentalCrushNeedleArmSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 60, 0, 32 @ +60,0
|
|
delay 2
|
|
createsprite gContinentalCrushNeedleArmSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 40, 40, 32 @ +40,+40
|
|
delay 2
|
|
createsprite gContinentalCrushNeedleArmSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 0, 56, 32 @ +0,+56
|
|
delay 2
|
|
createsprite gContinentalCrushNeedleArmSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, -38, 38, 32 @ -38,+38
|
|
delay 2
|
|
createsprite gContinentalCrushNeedleArmSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, -54, 0, 32 @ -54, +0
|
|
delay 2
|
|
createsprite gContinentalCrushNeedleArmSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, -36, -36, 32 @ -36, -36
|
|
delay 2
|
|
createsprite gContinentalCrushNeedleArmSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 0, -50, 32 @ 0, -50
|
|
delay 2
|
|
createsprite gContinentalCrushNeedleArmSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 34, -34, 32 @ +34, -34
|
|
delay 2
|
|
createsprite gContinentalCrushNeedleArmSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 46, 0, 32 @ +46, +0
|
|
delay 2
|
|
createsprite gContinentalCrushNeedleArmSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 32, 32, 32 @ +32, +32
|
|
delay 2
|
|
return
|
|
|
|
|
|
gBattleAnimMove_SavageSpinOut::
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 4, RGB_BLACK
|
|
createsprite gSavageSpinOutGreenChargeSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
delay 25
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
delay 15
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 4, 0, RGB_BLACK
|
|
clearmonbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_CIRCLE_OF_LIGHT
|
|
unloadspritepal ANIM_TAG_CIRCLE_OF_LIGHT
|
|
call gSavageSpinOutStringBlastSpriteTemplateSHOT
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 5, 0, 50, 1
|
|
call gSavageSpinOutStringBlastSpriteTemplateSHOT
|
|
call gSavageSpinOutStringBlastSpriteTemplateSHOT
|
|
call gSavageSpinOutStringBlastSpriteTemplateSHOT
|
|
createsprite gSpiderWebSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, FALSE @ spider web
|
|
call gSavageSpinOutStringBlastSpriteTemplateSHOT
|
|
delay 14
|
|
blendoff
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_STRING
|
|
unloadspritepal ANIM_TAG_STRING
|
|
delay 1
|
|
invisible ANIM_TARGET
|
|
delay 0
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
delay 0
|
|
jumpargeq 7 ANIM_TARGET SavageSpinOutOnPlayer
|
|
SavageSpinOutOnOpponent:
|
|
createsprite gSavageSpinOutCacoonSpriteTemplate, ANIM_TARGET, 2, 0, ANIM_TARGET, 2, 0, 0, 128
|
|
goto FinishSavageSpinOut
|
|
SavageSpinOutOnPlayer:
|
|
createsprite gSavageSpinOutCacoonSpriteTemplate, ANIM_ATTACKER, 3, 0, ANIM_TARGET, 2, 0, 0, 128
|
|
FinishSavageSpinOut:
|
|
fadetobg BG_IN_AIR
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, 4096, 0, -1 @+4096
|
|
waitbgfadein
|
|
delay 16
|
|
call SlowSavageSpinOutBackgroundSpeed
|
|
call SlowSavageSpinOutBackgroundSpeed
|
|
call SlowSavageSpinOutBackgroundSpeed
|
|
call SlowSavageSpinOutBackgroundSpeed
|
|
call SlowSavageSpinOutBackgroundSpeed
|
|
call SlowSavageSpinOutBackgroundSpeed @0
|
|
call SlowSavageSpinOutBackgroundSpeed
|
|
call SlowSavageSpinOutBackgroundSpeed
|
|
call SlowSavageSpinOutBackgroundSpeed
|
|
call SlowSavageSpinOutBackgroundSpeed
|
|
call SlowSavageSpinOutBackgroundSpeed
|
|
call SlowSavageSpinOutBackgroundSpeed @-4096
|
|
delay 4
|
|
call SavageSpinOutCrash_2 @SeismicToss2
|
|
delay 10
|
|
call SavageSpinOutCrash_1 @SeismicToss1
|
|
delay 10
|
|
call SavageSpinOutCrash_2 @SeismicToss2
|
|
delay 10
|
|
call SavageSpinOutCrash_1 @SeismicToss1
|
|
delay 12
|
|
call UnsetPsychicBg
|
|
setarg 7, 0 @;Clear arg 7 so task works properly in Link battles - no idea why though - something to do with the background scrolling
|
|
createvisualtask AnimTask_SnatchOpposingMonMove, 2 @ user fly on screen on enemy side
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
delay 30
|
|
unloadspritegfx ANIM_TAG_MUD_SAND
|
|
unloadspritepal ANIM_TAG_MUD_SAND
|
|
unloadspritegfx ANIM_TAG_IMPACT @hit
|
|
unloadspritepal ANIM_TAG_IMPACT @hit
|
|
createvisualtask AnimTask_ShakeMonInPlace, 130, ANIM_TARGET, 4, 0, 12, 1
|
|
createvisualtask AnimTask_ShakeMonInPlace, 130, ANIM_TARGET, 4, 0, 12, 1
|
|
createsprite gSavageSpinOutGreenCutSpriteTemplate, ANIM_TARGET, 2, 40, -32, 0
|
|
createsprite gSavageSpinOutGreenCutSpriteTemplate, ANIM_TARGET, 2, 40, -48, 0
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
delay 12
|
|
playsewithpan SE_M_RAZOR_WIND, SOUND_PAN_TARGET
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gSavageSpinOutWhiteExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gSavageSpinOutWhiteExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, ANIM_TARGET, 1
|
|
delay 6
|
|
createsprite gSpiderWebSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, FALSE @ spider web
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gSavageSpinOutWhiteExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gSavageSpinOutWhiteExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gSavageSpinOutWhiteExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitforvisualfinish
|
|
end
|
|
gSavageSpinOutStringBlastSpriteTemplateSHOT:
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gSavageSpinOutStringBlastSpriteTemplate, ANIM_TARGET, 2, 14, -12, 0, -12, 15, 0, 0
|
|
createsprite gSavageSpinOutStringBlastSpriteTemplate, ANIM_TARGET, 2, 26, 8, 12, 8, 15, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gSavageSpinOutStringBlastSpriteTemplate, ANIM_TARGET, 2, 14, -12, 0, -12, 15, 1, 0
|
|
createsprite gSavageSpinOutStringBlastSpriteTemplate, ANIM_TARGET, 2, 26, 8, 12, 8, 15, 1, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gSavageSpinOutStringBlastSpriteTemplate, ANIM_TARGET, 2, 14, -12, 0, -12, 15, 2, 0
|
|
createsprite gSavageSpinOutStringBlastSpriteTemplate, ANIM_TARGET, 2, 26, 8, 12, 8, 15, 2, 0
|
|
delay 3
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gSavageSpinOutStringBlastSpriteTemplate, ANIM_TARGET, 2, 14, -12, 0, -12, 15, 3, 0
|
|
createsprite gSavageSpinOutStringBlastSpriteTemplate, ANIM_TARGET, 2, 26, 8, 12, 8, 15, 3, 0
|
|
delay 3
|
|
return
|
|
SavageSpinOutCrash_1:
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=-10, y=-8, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 12, -24, -16, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 16, -38, -10, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 1, 14, -20, -18, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 1, 12, -36, -16, 24
|
|
return
|
|
SavageSpinOutCrash_2:
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=10, y=-8, relative_to=ANIM_TARGET, animation=1
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 12, -48, -16, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 16, -16, -10, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 1, 14, -52, -18, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 1, 12, -32, -16, 24
|
|
return
|
|
SlowSavageSpinOutBackgroundSpeed:
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, -682, 0, -1 @-682
|
|
delay 1
|
|
return
|
|
|
|
|
|
gBattleAnimMove_NeverEndingNightmare::
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call NeverendingNightmareBuffEffect
|
|
delay 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB(0, 6, 16)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call NeverendingNightmareBuffEffect
|
|
delay 8
|
|
call NeverendingNightmareBuffEffect
|
|
playsewithpan SE_M_STRING_SHOT2, SOUND_PAN_TARGET
|
|
call NeverendingNightmareAttackerRings
|
|
delay 1
|
|
call NeverendingNightmareAttackerRings
|
|
delay 1
|
|
call NeverendingNightmareAttackerRings
|
|
delay 10
|
|
playsewithpan SE_M_STRING_SHOT2, SOUND_PAN_TARGET
|
|
call NeverendingNightmareTargetRings
|
|
delay 1
|
|
call NeverendingNightmareTargetRings
|
|
delay 1
|
|
call NeverendingNightmareTargetRings
|
|
delay 1
|
|
waitforvisualfinish
|
|
fadetobg BG_NEVERENDING_NIGHTMARE
|
|
waitbgfadein
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 4, 120, 1
|
|
playsewithpan SE_M_WHIRLPOOL, SOUND_PAN_TARGET
|
|
call NeverendingNightmareHands
|
|
call NeverendingNightmareHands
|
|
delay 10
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 16, RGB(0, 6, 16) @ fade to purple
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
unloadspritegfx ANIM_TAG_THIN_RING
|
|
unloadspritepal ANIM_TAG_THIN_RING
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_VERTICAL_HEX, 2, 10, 10, RGB(10, 0, 22) @;Purple
|
|
call NeverendingNightmareGeyser
|
|
playsewithpan SE_M_SACRED_FIRE, SOUND_PAN_TARGET
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -32, 0, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -20, -10, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 0, -16, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 20, -10, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 32, 0, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 20, 10, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, 0, 16, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -20, 10, 24, 0, 0, 0
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
call NeverendingNightmareGeyser
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -64, 0, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 6, -40, -20, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 70, 0, -32, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 70, 40, -20, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 64, 0, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 40, 20, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, 0, 32, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -40, 20, 24, 0, 0, 0
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
call NeverendingNightmareGeyser
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -96, 0, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 6, -60, -30, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 70, 0, -48, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 70, 60, -30, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 96, 0, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 60, 30, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, 0, 48, 24, 0, 0, 0
|
|
createsprite gNeverEndingNightmareBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -60, 30, 24, 0, 0, 0
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
call NeverendingNightmareGeyser
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 16, 0, RGB(0, 6, 16) @ fade to normal
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitforvisualfinish
|
|
end
|
|
NeverendingNightmareBuffEffect:
|
|
createsprite gNeverEndingNightmareFocusEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 4
|
|
createsprite gNeverEndingNightmareFocusEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
delay 4
|
|
createsprite gNeverEndingNightmareFocusEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
delay 4
|
|
createsprite gNeverEndingNightmareFocusEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 4
|
|
createsprite gNeverEndingNightmareFocusEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
NeverendingNightmareTargetRings:
|
|
createsprite gNeverEndingNightmareRingTargetSpriteTemplate, ANIM_TARGET, 3, 0, 0, 256, 0
|
|
delay 8
|
|
return
|
|
NeverendingNightmareAttackerRings:
|
|
createsprite gNeverEndingNightmareRingAttackerSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
delay 14
|
|
return
|
|
NeverendingNightmareHands:
|
|
createsprite gNeverEndingNightmareHandSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 0, -64, 32 @ 0,-32
|
|
delay 2
|
|
createsprite gNeverEndingNightmareHandSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 44, -44, 32 @ +44,-44
|
|
delay 2
|
|
createsprite gNeverEndingNightmareHandSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 60, 0, 32 @ +60,0
|
|
delay 2
|
|
createsprite gNeverEndingNightmareHandSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 40, 40, 32 @ +40,+40
|
|
delay 2
|
|
createsprite gNeverEndingNightmareHandSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 0, 56, 32 @ +0,+56
|
|
delay 2
|
|
createsprite gNeverEndingNightmareHandSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, -38, 38, 32 @ -38,+38
|
|
delay 2
|
|
createsprite gNeverEndingNightmareHandSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, -54, 0, 32 @ -54, +0
|
|
delay 2
|
|
createsprite gNeverEndingNightmareHandSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, -36, -36, 32 @ -36, -36
|
|
delay 2
|
|
createsprite gNeverEndingNightmareHandSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 0, -50, 32 @ 0, -50
|
|
delay 2
|
|
createsprite gNeverEndingNightmareHandSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 34, -34, 32 @ +34, -34
|
|
delay 2
|
|
createsprite gNeverEndingNightmareHandSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 46, 0, 32 @ +46, +0
|
|
delay 2
|
|
createsprite gNeverEndingNightmareHandSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 32, 32, 32 @ +32, +32
|
|
delay 2
|
|
return
|
|
NeverendingNightmareGeyser:
|
|
createsprite gNeverEndingNightmareExplosionSpriteTemplate, ANIM_TARGET, 4, 3, 5, ANIM_TARGET, 0
|
|
createsprite gNeverEndingNightmareGeyserHexSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, -4, 16
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gNeverEndingNightmareExplosionSpriteTemplate ANIM_TARGET, 4, -11, -15, ANIM_TARGET, 0
|
|
createsprite gNeverEndingNightmareGeyserHexSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 4109, 16
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gNeverEndingNightmareExplosionSpriteTemplate ANIM_TARGET, 4, 8, -5, ANIM_TARGET, 0
|
|
createsprite gNeverEndingNightmareGeyserHexSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 4, 16
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gNeverEndingNightmareExplosionSpriteTemplate ANIM_TARGET, 4, -6, 18, ANIM_TARGET, 0
|
|
createsprite gNeverEndingNightmareGeyserHexSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, -16, 16
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gNeverEndingNightmareExplosionSpriteTemplate ANIM_TARGET, 4, 0, 5, ANIM_TARGET, 0
|
|
createsprite gNeverEndingNightmareGeyserHexSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, -4, 16
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gNeverEndingNightmareExplosionSpriteTemplate ANIM_TARGET, 4, 3, -11, ANIM_TARGET, 0
|
|
createsprite gNeverEndingNightmareGeyserHexSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 4109, 16
|
|
delay 0
|
|
createsprite gNeverEndingNightmareExplosionSpriteTemplate ANIM_TARGET, 4, -11, -31, ANIM_TARGET, 0
|
|
createsprite gNeverEndingNightmareGeyserHexSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 4, 16
|
|
delay 0
|
|
createsprite gNeverEndingNightmareExplosionSpriteTemplate ANIM_TARGET, 4, 8, -21, ANIM_TARGET, 0
|
|
createsprite gNeverEndingNightmareGeyserHexSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, -16, 16
|
|
delay 0
|
|
createsprite gNeverEndingNightmareExplosionSpriteTemplate ANIM_TARGET, 4, -6, 2, ANIM_TARGET, 0
|
|
createsprite gNeverEndingNightmareGeyserHexSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, -4, 16
|
|
delay 0
|
|
createsprite gNeverEndingNightmareExplosionSpriteTemplate ANIM_TARGET, 4, 0, -11, ANIM_TARGET, 0
|
|
createsprite gNeverEndingNightmareGeyserHexSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 4109, 16
|
|
delay 0
|
|
createsprite gNeverEndingNightmareExplosionSpriteTemplate ANIM_TARGET, 4, 3, -27, ANIM_TARGET, 0
|
|
createsprite gNeverEndingNightmareGeyserHexSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 4, 16
|
|
delay 0
|
|
createsprite gNeverEndingNightmareExplosionSpriteTemplate ANIM_TARGET, 4, -11, -47, ANIM_TARGET, 0
|
|
createsprite gNeverEndingNightmareGeyserHexSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, -16, 16
|
|
delay 0
|
|
createsprite gNeverEndingNightmareExplosionSpriteTemplate ANIM_TARGET, 4, 8, -37, ANIM_TARGET, 0
|
|
createsprite gNeverEndingNightmareGeyserHexSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, -4, 16
|
|
delay 0
|
|
createsprite gNeverEndingNightmareExplosionSpriteTemplate ANIM_TARGET, 4, -6, -14, ANIM_TARGET, 0
|
|
createsprite gNeverEndingNightmareGeyserHexSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 4109, 16
|
|
delay 0
|
|
createsprite gNeverEndingNightmareExplosionSpriteTemplate ANIM_TARGET, 4, 0, -27, ANIM_TARGET, 0
|
|
createsprite gNeverEndingNightmareGeyserHexSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 4, 16
|
|
delay 0
|
|
createsprite gNeverEndingNightmareGeyserHexSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, -16, 16
|
|
return
|
|
|
|
|
|
gBattleAnimMove_CorkscrewCrash::
|
|
monbg ANIM_ATTACKER
|
|
invisible ANIM_TARGET
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 11, RGB(24, 24, 24) @fade atker to gray
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_SPIKES, 0, 12, 12, RGB(24, 24, 24) @;Gray
|
|
playsewithpan SE_ESCALATOR, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 79, 1
|
|
createsprite gCorkscrewCrashChargeSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
call CorkscrewCrashMetalFlare
|
|
call CorkscrewCrashMetalFlare
|
|
call CorkscrewCrashMetalFlare
|
|
call CorkscrewCrashMetalFlare
|
|
call CorkscrewCrashMetalFlare
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 0, 11, 0, RGB(24, 24, 24) @fade atker back
|
|
waitforvisualfinish
|
|
stopsound
|
|
invisible ANIM_ATTACKER
|
|
createsprite gCorkscrewCrashCorkscrewFlyUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 1248, 36, 21, 1, ANIM_ATTACKER
|
|
playsewithpan SE_ESCALATOR, SOUND_PAN_ATTACKER
|
|
fadetobg BG_HIGHSPEED_OPPONENT
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -2304, 0, 1, -1
|
|
waitbgfadein
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpargeq 7 ANIM_TARGET CorkscrewCrashOnPlayer
|
|
CorkscrewCrashOnOpponent:
|
|
createsprite gCorkscrewCrashRightUpSpriteTemplate, ANIM_ATTACKER, 50, -16, 136, 256, 56, 21
|
|
waitforvisualfinish
|
|
delay 10
|
|
createsprite gCorkscrewCrashLeftUpSpriteTemplate, ANIM_ATTACKER, 50, 288, 56, -16, 56, 21
|
|
waitforvisualfinish
|
|
visible ANIM_TARGET
|
|
delay 5
|
|
goto FinishCorkscrewCrash
|
|
CorkscrewCrashOnPlayer:
|
|
createsprite gCorkscrewCrashLeftDownSpriteTemplate, ANIM_ATTACKER, 50, 288, 8, -16, 15, 21
|
|
waitforvisualfinish
|
|
delay 10
|
|
createsprite gCorkscrewCrashRightDownSpriteTemplate, ANIM_ATTACKER, 50, -16, 56, 256, 56, 21
|
|
waitforvisualfinish
|
|
visible ANIM_TARGET
|
|
delay 5
|
|
FinishCorkscrewCrash:
|
|
createsprite gCorkscrewCrashStrikeSpriteTemplate, ANIM_TARGET, 2, 20
|
|
delay 16
|
|
stopsound
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=0, relative_to=ANIM_TARGET, animation=0
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -256, 15, 0, 4 @ shove target down a bit
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 16
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
createsprite gCorkscrewCrashCorkscrewFlyDownSpriteTemplate, ANIM_TARGET, 3, 0, -64, 15
|
|
delay 15
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 2, 48
|
|
createsprite gCorkscrewCrashCorkscrewFlyDownSpriteTemplate, ANIM_TARGET, 3, 0, -2, 3
|
|
call CorkscrewCrashSpinningWind
|
|
call CorkscrewCrashSprayRocks
|
|
delay 6
|
|
call CorkscrewCrashSprayRocks
|
|
delay 6
|
|
call CorkscrewCrashSprayRocks
|
|
delay 6
|
|
call CorkscrewCrashSprayRocks
|
|
delay 0
|
|
createsprite gCorkscrewCrashCorkscrewFlyDownSpriteTemplate, ANIM_TARGET, 3, 0, -2, 3
|
|
delay 6
|
|
call CorkscrewCrashSprayRocks
|
|
delay 6
|
|
call CorkscrewCrashSprayRocks
|
|
delay 6
|
|
call CorkscrewCrashSprayRocks
|
|
delay 1
|
|
createsprite gCorkscrewCrashCorkscrewFlyDownSpriteTemplate, ANIM_TARGET, 3, 0, -2, 3
|
|
delay 4
|
|
call CorkscrewCrashSprayRocks
|
|
delay 6
|
|
call CorkscrewCrashSprayRocks
|
|
delay 6
|
|
call CorkscrewCrashSprayRocks
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 0, 16, RGB_WHITE
|
|
waitforvisualfinish
|
|
delay 16
|
|
call ResetFromWhiteScreen
|
|
waitforvisualfinish
|
|
end
|
|
CorkscrewCrashSpinningWind:
|
|
createsprite gWhirlwindLineSpriteTemplate, ANIM_ATTACKER, 3, 0, -8, 1, 44, 0
|
|
createsprite gWhirlwindLineSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 1, 60, 1
|
|
createsprite gWhirlwindLineSpriteTemplate, ANIM_ATTACKER, 3, 0, 8, 1, 60, 2
|
|
createsprite gWhirlwindLineSpriteTemplate, ANIM_ATTACKER, 3, 0, 16, 1, 60, 3
|
|
createsprite gWhirlwindLineSpriteTemplate, ANIM_ATTACKER, 3, 0, 24, 1, 60, 4
|
|
createsprite gWhirlwindLineSpriteTemplate, ANIM_ATTACKER, 3, 0, 32, 1, 60, 0
|
|
return
|
|
CorkscrewCrashMetalFlare:
|
|
createsprite gCorkscrewCrashMetalBitSpriteTemplate, ANIM_TARGET, 2, 0, 28, 528, 30, 13, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gCorkscrewCrashMetalBitSpriteTemplate, ANIM_TARGET, 2, 0, 32, 480, 20, 16, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gCorkscrewCrashMetalBitSpriteTemplate, ANIM_TARGET, 2, 0, 33, 576, 20, 8, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gCorkscrewCrashMetalBitSpriteTemplate, ANIM_TARGET, 2, 0, 31, 400, 25, 11, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gCorkscrewCrashMetalBitSpriteTemplate, ANIM_TARGET, 2, 0, 28, 512, 25, 16, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gCorkscrewCrashMetalBitSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 30, 15, -50, ANIM_ATTACKER
|
|
delay 2
|
|
return
|
|
CorkscrewCrashSprayRocks:
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 12, -24, -16, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 16, -38, -10, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 1, 14, -20, -18, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 1, 12, -36, -16, 24
|
|
return
|
|
|
|
|
|
gBattleAnimMove_InfernoOverdrive::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_CIRCLE_OF_LIGHT, 0, 10, 10, RGB_RED
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
fadetobg BG_INFERNO_OVERDRIVE
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpargeq 7 ANIM_TARGET InfernoOverdriveOnPlayer
|
|
InfernoOverdriveOnOpponent:
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -1280, 0, 0, -1
|
|
goto FinishInfernoOverdrive
|
|
InfernoOverdriveOnPlayer:
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 1280, 0, 0, -1
|
|
FinishInfernoOverdrive:
|
|
waitbgfadein
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
loopsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_ATTACKER, 19, 8
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 79, 1
|
|
createsprite gInfernoOverdriveChargeSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
call InfernoOverdriveFireSpin
|
|
call InfernoOverdriveFireSpin
|
|
call InfernoOverdriveFireSpin
|
|
call InfernoOverdriveFireSpin
|
|
call InfernoOverdriveFireSpin
|
|
waitforvisualfinish
|
|
stopsound
|
|
unloadspritegfx ANIM_TAG_CIRCLE_OF_LIGHT @charge
|
|
unloadspritepal ANIM_TAG_CIRCLE_OF_LIGHT @charge
|
|
unloadspritegfx ANIM_TAG_SMALL_EMBER @fire
|
|
unloadspritepal ANIM_TAG_SMALL_EMBER @fire
|
|
clearmonbg ANIM_ATTACKER
|
|
createsprite gInfernoOverdriveSuperpowerSpriteTemplate, ANIM_TARGET, 3, 0 @ super power shot
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_ATTACKER
|
|
delay 16
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 8, 0, 16, 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 79, 1
|
|
call InfernoOverdriveExplosion
|
|
delay 6
|
|
call InfernoOverdriveExplosion
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 1, 0, 16, RGB(27, 0, 0) @ red bg pal
|
|
delay 6
|
|
call InfernoOverdriveExplosion
|
|
waitforvisualfinish
|
|
call ResetFromRedScreen
|
|
blendoff
|
|
end
|
|
InfernoOverdriveFireSpin:
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 28, 528, 30, 13, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 32, 480, 20, 16, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 33, 576, 20, 8, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 31, 400, 25, 11, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 28, 512, 25, 16, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 30, 15, -50, ANIM_ATTACKER
|
|
delay 2
|
|
return
|
|
InfernoOverdriveExplosion:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, ANIM_TARGET, 1
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 10, 0, -2
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, -2, 0
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, 2, 0
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, -2, 2
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, 2, 2
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, ANIM_TARGET, 1
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 10, 0, -2
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, -2, 0
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, 2, 0
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, -2, 2
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, 2, 2
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 10, 0, -2
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, -2, 0
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, 2, 0
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, -2, 2
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, 2, 2
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, ANIM_TARGET, 1
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 10, 0, -2
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, -2, 0
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, 2, 0
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, -2, 2
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, 2, 2
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, ANIM_TARGET, 1
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 10, 0, -2
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, -2, 0
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, 2, 0
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, -2, 2
|
|
createsprite gInfernoOverdriveExplosionSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, 2, 2
|
|
return
|
|
|
|
|
|
gBattleAnimMove_HydroVortex::
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
create_surf_wave palette=ANIM_SURF_PAL_SURF
|
|
delay 24
|
|
panse SE_M_SURF, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_HEADBUTT, SOUND_PAN_ATTACKER
|
|
createsprite gDiveBallSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DIVE, SOUND_PAN_ATTACKER
|
|
createsprite gDiveWaterSplashSpriteTemplate, ANIM_ATTACKER, 3, 0
|
|
call DiveSetUpWaterDroplets
|
|
call DiveSetUpWaterDroplets
|
|
call DiveSetUpWaterDroplets
|
|
call DiveSetUpWaterDroplets
|
|
call DiveSetUpWaterDroplets
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -768, 21, 0, 26
|
|
delay 26
|
|
invisible ANIM_TARGET
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 7
|
|
delay 5
|
|
fadetobg BG_WATER_PULSE
|
|
waitbgfadeout
|
|
delay 5
|
|
visible ANIM_ATTACKER
|
|
visible ANIM_TARGET
|
|
loopsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET, 20, 3
|
|
call HydroVortexBubbles
|
|
playsewithpan SE_M_WATERFALL, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB(0, 13, 23)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_SPLASH
|
|
unloadspritepal ANIM_TAG_SPLASH
|
|
unloadspritegfx ANIM_TAG_SWEAT_BEAD
|
|
unloadspritepal ANIM_TAG_SWEAT_BEAD
|
|
createsprite gHydroVortexSuperpowerSpriteTemplate, ANIM_TARGET, 3, 0
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
invisible ANIM_ATTACKER
|
|
delay 16
|
|
createsprite gHydroVortexImpactSpriteTemplate, ANIM_TARGET, 3, 10, -8, 1, 1
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 16, RGB(0, 13, 23)
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 8, 60
|
|
call HydroVortexWhirlpoolHurricane
|
|
call HydroVortexWhirlpoolHurricane
|
|
call HydroVortexWhirlpoolHurricane
|
|
call HydroVortexWhirlpoolHurricane
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 16, 0, RGB(0, 13, 23)
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitforvisualfinish
|
|
end
|
|
HydroVortexBubbles:
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 10, 10, 20, ANIM_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_TARGET, 2, 10, 10, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 20, -20, 20, ANIM_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_TARGET, 2, 20, -20, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -15, 15, 20, ANIM_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate ANIM_TARGET, 2, -15, 15, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 20, ANIM_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate ANIM_TARGET, 2, 0, 0, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -10, -20, 20, ANIM_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate ANIM_TARGET, 2, -10, -20, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 16, -8, 20, ANIM_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate ANIM_TARGET, 2, 16, -8, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, 5, 8, 20, ANIM_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate ANIM_TARGET, 2, 5, 8, 20, ANIM_TARGET
|
|
delay 4
|
|
createsprite gSmallBubblePairSpriteTemplate, ANIM_ATTACKER, 2, -16, 0, 20, ANIM_ATTACKER
|
|
createsprite gSmallBubblePairSpriteTemplate ANIM_TARGET, 2, -16, 0, 20, ANIM_TARGET
|
|
return
|
|
HydroVortexWhirlpoolHurricane:
|
|
playsewithpan SE_M_WHIRLPOOL, SOUND_PAN_TARGET
|
|
createsprite gHydroVortexHurricaneSpriteTemplate, ANIM_TARGET, 2, 0, -16
|
|
createsprite gHydroVortexImpactSpriteTemplate, ANIM_TARGET, 3, -10, -8, 1, 1
|
|
createvisualtask AnimTask_AnimateGustTornadoPalette, 5, 1, 70
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 28, 384, 50, 8, 50, 1
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 32, 240, 40, 11, -46, 1
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 33, 416, 40, 4, 42, 1
|
|
delay 2
|
|
createsprite gHydroVortexImpactSpriteTemplate, ANIM_TARGET, 3, 10, -8, 1, 1
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 31, 288, 45, 6, -42, 1
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 28, 448, 45, 11, 46, 1
|
|
createsprite gHydroVortexHurricaneSpriteTemplate, ANIM_TARGET, 2, 0, -16
|
|
createvisualtask AnimTask_AnimateGustTornadoPalette, 5, 1, 70
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 50, 10, -50, 1
|
|
delay 2
|
|
return
|
|
|
|
|
|
gBattleAnimMove_BloomDoom::
|
|
monbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 4, RGB_BLACK
|
|
loopsewithpan SE_SHINY, SOUND_PAN_ATTACKER, 9, 3
|
|
createsprite gBloomDoomGreenChargeSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
delay 60
|
|
blendoff
|
|
createsprite gBloomDoomPetalSpinSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gBloomDoomPetalSpinSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 4
|
|
delay 2
|
|
createsprite gBloomDoomPetalSpinSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gBloomDoomPetalSpinSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 12
|
|
delay 2
|
|
createsprite gBloomDoomPetalSpinSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gBloomDoomPetalSpinSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 20
|
|
delay 2
|
|
createsprite gBloomDoomPetalSpinSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_ATTRACT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 4, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_CIRCLE_OF_LIGHT
|
|
unloadspritepal ANIM_TAG_CIRCLE_OF_LIGHT
|
|
call BloomDoomHurricane
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
call BloomDoomFlowerGeyser
|
|
call BloomDoomFlowerGeyser
|
|
call BloomDoomHurricane
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
call BloomDoomFlowerGeyser
|
|
call BloomDoomFlowerGeyser
|
|
call BloomDoomHurricane
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
call BloomDoomFlowerGeyser
|
|
call BloomDoomFlowerGeyser
|
|
call BloomDoomHurricane
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
call BloomDoomFlowerGeyser
|
|
call BloomDoomFlowerGeyser
|
|
call BloomDoomHurricane
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
call BloomDoomFlowerGeyser
|
|
call BloomDoomFlowerGeyser
|
|
call BloomDoomHurricane
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
call BloomDoomFlowerGeyser
|
|
call BloomDoomFlowerGeyser
|
|
fadetobg BG_BLOOM_DOOM
|
|
waitbgfadein
|
|
delay 5
|
|
createsprite gAromatherapySmallFlowerSpriteTemplate, ANIM_ATTACKER, 0, 24, 16, 0, 2, 2, 0, 0
|
|
createsprite gAromatherapySmallFlowerSpriteTemplate, ANIM_ATTACKER, 66, 64, 24, 0, 3, 1, 1, 0
|
|
createsprite gAromatherapyBigFlowerSpriteTemplate, ANIM_ATTACKER, 0, 16, 24, 0, 2, 1, 0, 0
|
|
delay 5
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, 240, -64, SOUND_PAN_TARGET, 1, 15, 0, 5
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 4, 50, 1 @ shake attacker
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 114, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 11, RGB(13, 31, 12)
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
createsprite gAromatherapySmallFlowerSpriteTemplate, ANIM_ATTACKER, 66, 48, 12, 0, 4, 3, 1, 0
|
|
createsprite gAromatherapySmallFlowerSpriteTemplate, ANIM_ATTACKER, 0, 100, 16, 0, 3, 2, 0, 0
|
|
createsprite gAromatherapySmallFlowerSpriteTemplate, ANIM_ATTACKER, 0, 74, 24, 180, 3, 2, 0, 0
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
call BloomDoomHyperBeam
|
|
createsprite gAromatherapySmallFlowerSpriteTemplate, ANIM_ATTACKER, 66, 80, 30, 0, 4, 1, 1, 0
|
|
createsprite gAromatherapySmallFlowerSpriteTemplate, ANIM_ATTACKER, 0, 128, 12, 0, 3, 3, 0, 0
|
|
createsprite gAromatherapyBigFlowerSpriteTemplate, ANIM_ATTACKER, 0, 90, 16, 0, 2, 1, 0, 0
|
|
delay 5
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 11, 0, RGB(13, 31, 12)
|
|
call BloomDoomPetalBlast
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 0, 16, RGB(13, 31, 12)
|
|
call BloomDoomPetalBlast
|
|
createvisualtask AnimTask_IsTargetPartner, 5
|
|
jumpargeq 0 1 BloomDoomFadeScreenTargetPartner
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ALL_BUT_DEF), 1, 0, 16, RGB(13, 31, 12) @ green bg pal
|
|
BloomDoomEnding:
|
|
call BloomDoomPetalBlast
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_ATTACKER
|
|
call ResetFromGreenScreen
|
|
end
|
|
BloomDoomFadeScreenTargetPartner:
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ALL_BUT_ATK_PARTNER), 1, 0, 16, RGB(13, 31, 12) @ green bg pal
|
|
goto BloomDoomEnding
|
|
BloomDoomHurricane:
|
|
createsprite gBloomDoomHurricaneSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
createvisualtask AnimTask_AnimateGustTornadoPalette, 5, 1, 70
|
|
return
|
|
BloomDoomFlowerGeyser:
|
|
createsprite gBloomDoomFlowerGeyserSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, -4, 16 @ -4, -16
|
|
delay 0
|
|
createsprite gBloomDoomFlowerGeyserSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 4109, 16
|
|
delay 0
|
|
createsprite gBloomDoomFlowerGeyserSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 4, 16
|
|
delay 0
|
|
createsprite gBloomDoomFlowerGeyserSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, -16, 16
|
|
delay 0
|
|
return
|
|
BloomDoomHyperBeam:
|
|
createsprite gBloomDoomGreenBeamSpriteTemplate, ANIM_TARGET, 2
|
|
createsprite gBloomDoomGreenBeamSpriteTemplate, ANIM_TARGET, 2
|
|
delay 1
|
|
return
|
|
BloomDoomPetalBlast:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gBloomDoomExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, ANIM_TARGET, 1
|
|
createsprite gBloomDoomPetalStarSpriteTemplate, ANIM_TARGET, 2, 1, 0, 0, -32, 16
|
|
delay 2
|
|
createsprite gBloomDoomPetalStarSpriteTemplate, ANIM_TARGET, 2, 1, 0, 22, -22, 16
|
|
delay 2
|
|
createsprite gBloomDoomPetalStarSpriteTemplate, ANIM_TARGET, 2, 1, 0, 30, 0, 16
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gBloomDoomExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, ANIM_TARGET, 1
|
|
createsprite gBloomDoomPetalStarSpriteTemplate, ANIM_TARGET, 2, 1, 0, 20, 20, 16
|
|
delay 2
|
|
createsprite gBloomDoomPetalStarSpriteTemplate, ANIM_TARGET, 2, 1, 0, 0, 28, 16
|
|
delay 2
|
|
createsprite gBloomDoomPetalStarSpriteTemplate, ANIM_TARGET, 2, 1, 0, -19, 19, 16
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gBloomDoomExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
createsprite gBloomDoomPetalStarSpriteTemplate, ANIM_TARGET, 2, 1, 0, -27, 0, 16
|
|
delay 2
|
|
createsprite gBloomDoomPetalStarSpriteTemplate, ANIM_TARGET, 2, 1, 0, -18, -18, 16
|
|
delay 2
|
|
createsprite gBloomDoomPetalStarSpriteTemplate, ANIM_TARGET, 2, 1, 0, 0, -25, 16
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gBloomDoomExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, ANIM_TARGET, 1
|
|
createsprite gBloomDoomPetalStarSpriteTemplate, ANIM_TARGET, 2, 1, 0, 17, -17, 16
|
|
delay 2
|
|
createsprite gBloomDoomPetalStarSpriteTemplate, ANIM_TARGET, 2, 1, 0, 23, 0, 16
|
|
delay 2
|
|
createsprite gBloomDoomPetalStarSpriteTemplate, ANIM_TARGET, 2, 1, 0, 16, 16, 16
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gBloomDoomExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, ANIM_TARGET, 1
|
|
delay 2
|
|
return
|
|
ResetFromGreenScreen:
|
|
createvisualtask AnimTask_AllBattlersInvisible, 10
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BATTLERS_2, 2, 0, 0, RGB(13, 31, 12) @Everything from green
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, -1
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
delay 5
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 0, RGB(13, 31, 12)
|
|
waitforvisualfinish
|
|
return
|
|
|
|
|
|
gBattleAnimMove_GigavoltHavoc::
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 6, 0, 16, RGB_BLACK
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gGigavoltHavocChargingSpearSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 32, 24, 190, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 80, 24, 22, 12, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 156, 24, 121, 13, ANIM_ATTACKER, 1, 1
|
|
delay 10
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
delay 5
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
delay 5
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 32, 20, 0, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 96, 20, 1, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 160, 20, 0, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 224, 20, 2, 0
|
|
delay 5
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 100, 24, 60, 10, ANIM_ATTACKER, 1, 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 170, 24, 42, 11, ANIM_ATTACKER, 1, 1
|
|
delay 0
|
|
createsprite gSparkElectricitySpriteTemplate, ANIM_ATTACKER, 0, 238, 24, 165, 10, ANIM_ATTACKER, 1, 1
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
monbg ANIM_ATTACKER
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
@ createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 60, 2, 12 @charge particles to user
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16, 44, 32, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16, 44, 96, 40, 1, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16, 44, 160, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 16, 44, 224, 40, 2, 3
|
|
delay 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 18, 44, 0, 40, 0, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 18, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 18, 44, 128, 40, 0, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 18, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 20, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 20, 44, 64, 40, 1, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 20, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 2, 0, 0, 20, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
createsprite gGigavoltHavocLaunchSpearSpriteTemplate, ANIM_TARGET, 3, 0
|
|
createsprite gElectricPuffSpriteTemplate, ANIM_ATTACKER, 2, 0, 16, 16
|
|
delay 2
|
|
createsprite gElectricPuffSpriteTemplate, ANIM_ATTACKER, 2, 0, -16, -16
|
|
delay 14
|
|
clearmonbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 8, 28 @shake target
|
|
unloadspritegfx ANIM_TAG_HAVOC_SPEAR
|
|
unloadspritepal ANIM_TAG_HAVOC_SPEAR
|
|
createsprite gThunderboltOrbSpriteTemplate, ANIM_TARGET, 3, 44, 0, 0, 3
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 0, 0, 12, RGB(31, 31, 22)
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 0, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 64, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, 128, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 32, 44, SOUND_PAN_ATTACKER, 40, 2, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 32, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 96, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 160, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 16, 44, 224, 40, 2, -32765
|
|
playsewithpan SE_M_HYPER_BEAM, SOUND_PAN_TARGET
|
|
delay 25
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
@ call HavocSpearSparkTarget
|
|
call HavocSpearGeyser
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
@ call HavocSpearSparkTarget
|
|
call HavocSpearGeyser
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
@ call HavocSpearSparkTarget
|
|
call HavocSpearGeyser
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
@ call HavocSpearSparkTarget
|
|
call HavocSpearGeyser
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
@ call HavocSpearSparkTarget
|
|
call HavocSpearGeyser
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
@ call HavocSpearSparkTarget
|
|
call HavocSpearGeyser
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
@ call HavocSpearSparkTarget
|
|
call HavocSpearGeyser
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 12, 0, RGB(31, 31, 22)
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitforvisualfinish
|
|
end
|
|
HavocSpearGeyser:
|
|
createsprite gGigavoltHavocGeyserSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, -4, 16 @ -4, -16
|
|
delay 1
|
|
createsprite gGigavoltHavocGeyserSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 4109, 16 @
|
|
delay 1
|
|
createsprite gGigavoltHavocGeyserSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 4, 16
|
|
delay 1
|
|
createsprite gGigavoltHavocGeyserSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, -16, 16
|
|
delay 1
|
|
return
|
|
HavocSpearSparkTarget:
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 32, 12, 0, 20, 0, 32768
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 0, 20, 0, 32768
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 32, 12, 64, 20, 1, 32768
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 64, 20, 1, 32768
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 32, 12, 128, 20, 0, 32768
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, 128, 20, 0, 32768
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 32, 12, SOUND_PAN_ATTACKER, 20, 2, 32768
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 4, 0, 0, 16, 12, SOUND_PAN_ATTACKER, 20, 2, 32768
|
|
return
|
|
|
|
|
|
gBattleAnimMove_ShatteredPsyche::
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, ANIM_ATTACKER, 0, 0, 16, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_SetAllNonAttackersInvisiblity, 5, 1
|
|
waitforvisualfinish
|
|
createsprite gShatteredPsychePinkChargeSpriteTemplate, ANIM_ATTACKER, 2, 0
|
|
createsprite gShatteredPsycheRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
createsprite gShatteredPsycheRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
delay 12
|
|
createsprite gShatteredPsycheRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
createsprite gShatteredPsycheRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
delay 12
|
|
createsprite gShatteredPsycheRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
createsprite gShatteredPsycheRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
delay 12
|
|
createsprite gShatteredPsycheRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_ATTACKER
|
|
delay 12
|
|
createsprite gShatteredPsycheRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
delay 12
|
|
createsprite gShatteredPsycheRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
playsewithpan SE_M_SUPERSONIC, SOUND_PAN_ATTACKER
|
|
delay 4
|
|
fadetobg BG_SHATTERED_PSYCHE
|
|
delay 4
|
|
createvisualtask AnimTask_BlendBattleAnimPalExclude, 5, ANIM_ATTACKER, 0, 16, 0, RGB_BLACK
|
|
delay 7
|
|
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 15, 1
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -4, -4, 15, ANIM_TARGET, 1
|
|
waitforvisualfinish
|
|
ShatteredPsycheCheckBattler:
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpargeq 7 ANIM_TARGET ShatteredPsycheOnPlayer
|
|
ShatteredPsycheOnOpponent:
|
|
call ShatteredPsycheFlingOpponent
|
|
waitforvisualfinish
|
|
goto ShatteredPsycheFinish
|
|
ShatteredPsycheOnPlayer:
|
|
call ShatteredPsycheFlingPlayer
|
|
waitforvisualfinish
|
|
call ShatteredPsycheFlingPlayer
|
|
waitforvisualfinish
|
|
ShatteredPsycheFinish:
|
|
delay 8
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
restorebg
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 15, 1
|
|
createvisualtask AnimTask_ScaleMonAndRestore, 5, -4, -4, 15, ANIM_TARGET, 1
|
|
createsprite gBrickBreakWallShardSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 0, 0, 0 @ -8, -12
|
|
createsprite gBrickBreakWallShardSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 1, 0, 0
|
|
createsprite gBrickBreakWallShardSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 2, 0, 0
|
|
createsprite gBrickBreakWallShardSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 3, 0, 0
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitforvisualfinish
|
|
end
|
|
ShatteredPsycheFlingOpponent:
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -26, 16, 1, 4 @ -26, +16
|
|
waitforvisualfinish
|
|
createsprite gShatteredPsycheReflectHitSpriteTemplate, ANIM_TARGET, 3, 26, -16, 1, 1 @ 26, -16
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 4
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 26, -16, 1, 4 @ -26,-16
|
|
waitforvisualfinish
|
|
createsprite gShatteredPsycheReflectHitSpriteTemplate, ANIM_TARGET, 3, -26, 16, 1, 1 @ 26, 16
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 4
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 32, 1, 4 @ 0,32
|
|
waitforvisualfinish
|
|
createsprite gShatteredPsycheReflectHitSpriteTemplate, ANIM_TARGET, 3, 0, -32, 1, 1 @ 0, -32
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 4
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, -32, 1, 4 @ 0,-32
|
|
waitforvisualfinish
|
|
createsprite gShatteredPsycheReflectHitSpriteTemplate, ANIM_TARGET, 3, 0, 32, 1, 1 @ 0, 32
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 4
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 26, 16, 1, 4 @ 26,16
|
|
waitforvisualfinish
|
|
createsprite gShatteredPsycheReflectHitSpriteTemplate, ANIM_TARGET, 3, -26, -16, 1, 1 @ -26, -16
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 4
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -26, -32, 1, 4 @ 26,-16
|
|
waitforvisualfinish
|
|
createsprite gShatteredPsycheReflectHitSpriteTemplate, ANIM_TARGET, 3, 26, 16, 1, 1 @ 0, 32
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 5
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -26, 16, 1, 4 @ -26, +16
|
|
waitforvisualfinish
|
|
createsprite gShatteredPsycheReflectHitSpriteTemplate, ANIM_TARGET, 3, 26, -16, 1, 1 @ 26, -16
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 4
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 26, -16, 1, 4 @ -26,-16
|
|
waitforvisualfinish
|
|
createsprite gShatteredPsycheReflectHitSpriteTemplate, ANIM_TARGET, 3, -26, 16, 1, 1 @ 26, 16
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 4
|
|
waitforvisualfinish
|
|
return
|
|
ShatteredPsycheFlingPlayer:
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -26, 16, 1, 4 @ -26,-16
|
|
waitforvisualfinish
|
|
createsprite gShatteredPsycheReflectHitSpriteTemplate, ANIM_TARGET, 3, 26, -16, 1, 1 @ 26, 16
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 4
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 32, 0, 1, 4 @ 32,0
|
|
waitforvisualfinish
|
|
createsprite gShatteredPsycheReflectHitSpriteTemplate, ANIM_TARGET, 3, -32, 0, 1, 1 @
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 4
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -32, 0, 1, 4 @ -32,0
|
|
waitforvisualfinish
|
|
createsprite gShatteredPsycheReflectHitSpriteTemplate, ANIM_TARGET, 3, 32, 0, 1, 1 @ 32, 0
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 4
|
|
waitforvisualfinish
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 10, 32, 1, 4 @ 10, -32
|
|
waitforvisualfinish
|
|
createsprite gShatteredPsycheReflectHitSpriteTemplate, ANIM_TARGET, 3, -10, 5, 1, 1 @ 10, -32
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_TARGET
|
|
delay 2
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 5
|
|
waitforvisualfinish
|
|
return
|
|
|
|
|
|
gBattleAnimMove_SubzeroSlammer::
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION_2, 0, 12, 12, RGB(3, 17, 26)
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
fadetobg BG_ICE
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpargeq 7 ANIM_TARGET SubzeroSlammerOnPlayer
|
|
SubzeroSlammerOnOpponent:
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -768, 0, 0, -1
|
|
goto SubzeroSlammerFinish
|
|
SubzeroSlammerOnPlayer:
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 768, 0, 0, -1
|
|
SubzeroSlammerFinish:
|
|
waitbgfadein
|
|
monbg ANIM_ATK_PARTNER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 0, 0, 11, RGB(0, 20, 31)
|
|
createsprite gSubzeroSlammerIceSpinSpriteTemplate, ANIM_TARGET, 3, 0, 0, 56, 0
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gSubzeroSlammerIceSpinSpriteTemplate, ANIM_TARGET, 3, 0, 0, 56, 4
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gSubzeroSlammerIceSpinSpriteTemplate, ANIM_TARGET, 3, 0, 0, 56, 8
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gSubzeroSlammerIceSpinSpriteTemplate, ANIM_TARGET, 3, 0, 0, 56, 12
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gSubzeroSlammerIceSpinSpriteTemplate, ANIM_TARGET, 3, 0, 0, 56, 16
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gSubzeroSlammerIceSpinSpriteTemplate, ANIM_TARGET, 3, 0, 0, 56, 20
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
createsprite gSubzeroSlammerIceSpinSpriteTemplate, ANIM_TARGET, 3, 0, 0, 56, 24
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
delay 32
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 0, 11, 0, RGB(0, 20, 31)
|
|
delay 32
|
|
createvisualtask AnimTask_FrozenIceCubeAttacker, 2
|
|
waitplaysewithpan SE_M_HAIL, SOUND_PAN_TARGET, 17
|
|
waitforvisualfinish
|
|
call SubzeroSlammerIceSwirl
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB(0, 20, 31)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call SubzeroSlammerIceSwirl
|
|
call SubzeroSlammerIceSwirl
|
|
delay 10
|
|
clearmonbg ANIM_ATK_PARTNER
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, 176, -64, SOUND_PAN_TARGET, 4, 4, 0, 10
|
|
createsprite gIceBeamOuterCrystalSpriteTemplate, ANIM_ATTACKER, 2, 20, 12, 0, 12, 20
|
|
createsprite gIceBeamOuterCrystalSpriteTemplate, ANIM_ATTACKER, 2, 20, -12, 0, -12, 20
|
|
delay 1
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 4, 0, 7, RGB(0, 20, 31)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 25, 1
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceBeamCreateCrystals
|
|
call IceCrystalEffectShort
|
|
delay 5
|
|
monbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_FrozenIceCube, 130
|
|
playsewithpan SE_M_HAIL, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
delay 3
|
|
createsprite gBrickBreakWallShardSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 0, 0, 0 @ -8, -12
|
|
createsprite gBrickBreakWallShardSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 1, 0, 0
|
|
createsprite gBrickBreakWallShardSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 2, 0, 0
|
|
createsprite gBrickBreakWallShardSpriteTemplate ANIM_TARGET, 2, ANIM_TARGET, 3, 0, 0
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 8, 28
|
|
call SubzeroSlammerExplosion
|
|
call SubzeroSlammerExplosion
|
|
clearmonbg ANIM_DEF_PARTNER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 5, 7, 0, RGB(0, 20, 31)
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, -1
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
end
|
|
SubzeroSlammerExplosion:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gSubzeroSlammerExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, ANIM_TARGET, 1
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, -10, -10, 0
|
|
delay 3
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 10, 20, 0
|
|
delay 3
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gSubzeroSlammerExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, ANIM_TARGET, 1
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, -5, 10, 0
|
|
delay 3
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 17, -12, 0
|
|
delay 3
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gSubzeroSlammerExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, -15, 15, 0
|
|
delay 3
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 0, 0, 0
|
|
delay 3
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gSubzeroSlammerExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, ANIM_TARGET, 1
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, 20, 2, 0
|
|
delay 3
|
|
createsprite gIceCrystalHitLargeSpriteTemplate, ANIM_TARGET, 2, -10, -10, 0
|
|
delay 3
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gSubzeroSlammerExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, ANIM_TARGET, 1
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, 17, -12, 0
|
|
delay 3
|
|
createsprite gIceCrystalHitSmallSpriteTemplate, ANIM_TARGET, 2, -15, 15, 0
|
|
delay 3
|
|
return
|
|
SubzeroSlammerIceSwirl:
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
createsprite gSubzeroSlammerIceSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 28, 384, 50, 8, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gSubzeroSlammerIceSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 32, 240, 40, 11, -46, ANIM_ATTACKER
|
|
delay 2
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
createsprite gSubzeroSlammerIceSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 33, 416, 40, 4, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gSubzeroSlammerIceSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 31, 288, 45, 6, -42, ANIM_ATTACKER
|
|
delay 2
|
|
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER
|
|
createsprite gSubzeroSlammerIceSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 28, 448, 45, 11, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gSubzeroSlammerIceSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 50, 10, -50, ANIM_ATTACKER
|
|
delay 2
|
|
return
|
|
|
|
|
|
gBattleAnimMove_DevastatingDrake::
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call DevastatingDrakeBuffEffect
|
|
delay 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB(0, 6, 16)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call DevastatingDrakeBuffEffect
|
|
delay 8
|
|
call DevastatingDrakeBuffEffect
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_FOCUS_ENERGY
|
|
unloadspritepal ANIM_TAG_FOCUS_ENERGY
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite gDevastatingDrakeShockwaveSpriteTemplate, ANIM_ATTACKER, 2
|
|
delay 42
|
|
unloadspritegfx ANIM_TAG_CIRCLE_OF_LIGHT
|
|
unloadspritepal ANIM_TAG_CIRCLE_OF_LIGHT
|
|
monbg ANIM_ATTACKER
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_ATTACKER
|
|
createsprite gDevastatingDrakeDrakeUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 1248, 36, 21, 1, ANIM_ATTACKER
|
|
clearmonbg ANIM_ATTACKER
|
|
fadetobg BG_SKY
|
|
invisible ANIM_ATTACKER
|
|
invisible ANIM_TARGET
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, 4096, 0, -1
|
|
waitbgfadein
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpargeq 7 ANIM_TARGET DevastatingDrakeOnPlayer
|
|
DevastatingDrakeOnOpponent:
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_ATTACKER
|
|
createsprite gDevastatingDrakeRightSpriteTemplate, ANIM_ATTACKER, 50, -16, 136, 256, 56, 21 @left to right
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_ATTACKER
|
|
createsprite gDevastatingDrakeLeftSpriteTemplate, ANIM_ATTACKER, 50, 288, 56, -16, 56, 21 @right to left
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_ATTACKER
|
|
createsprite gDevastatingDrakeRightSpriteTemplate, ANIM_ATTACKER, 50, -16, 8, 256, 15, 21 @left to right
|
|
goto DevastatingDrakeFinish
|
|
DevastatingDrakeOnPlayer:
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_ATTACKER
|
|
createsprite gDevastatingDrakeLeftSpriteTemplate, ANIM_ATTACKER, 50, 288, 8, -16, 15, 21 @right to left
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_ATTACKER
|
|
createsprite gDevastatingDrakeRightSpriteTemplate, ANIM_ATTACKER, 50, -16, 56, 256, 56, 21 @left to right
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_ATTACKER
|
|
createsprite gDevastatingDrakeLeftSpriteTemplate, ANIM_ATTACKER, 50, 288, 120, -16, 88, 21 @right to left
|
|
DevastatingDrakeFinish:
|
|
call UnsetPsychicBg
|
|
waitforvisualfinish
|
|
visible ANIM_TARGET
|
|
delay 10
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gDevastatingDrakeStrikeSpriteTemplate, ANIM_TARGET, 2, 20
|
|
delay 16
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION, 0, 12, 12, RGB(11, 1, 20)
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 5, 53
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 16, RGB(0, 6, 16) @ fade to purple
|
|
call DevastatingDrakeExplosion
|
|
delay 6
|
|
createvisualtask AnimTask_IsTargetPartner, 5
|
|
jumpargeq 0 1 DevastatingDrakeFadeTargetPartner
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ALL_BUT_DEF), 6, 0, 16, RGB(0, 6, 16)
|
|
call DevastatingDrakeExplosion
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ALL_BUT_DEF), 0, 16, 0, RGB(0, 6, 16) @ fade all but target back
|
|
DevastatingDrakeUniversalEnding:
|
|
unloadspritegfx ANIM_TAG_PURPLE_DRAKE
|
|
unloadspritepal ANIM_TAG_PURPLE_DRAKE
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_FIRE_PLUME, 0, 12, 12, RGB(11, 1, 20)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_VERTICAL_HEX, 0, 12, 12, RGB(11, 1, 20)
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_EXPLOSION_2, 0, 12, 12, RGB(11, 1, 20)
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 5, 32
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
call DevastatingDrakeGeyser
|
|
playsewithpan SE_M_SACRED_FIRE, SOUND_PAN_ATTACKER
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 2, -32, 0, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 2, -20, -10, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 66, 0, -16, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 66, 20, -10, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 66, 32, 0, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 66, 20, 10, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 2, 0, 16, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 2, -20, 10, 24, 0, 0, 0
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
call DevastatingDrakeGeyser
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_ATTACKER
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 2, -64, 0, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 6, -40, -20, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 70, 0, -32, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 70, 40, -20, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 66, 64, 0, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 66, 40, 20, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 2, 0, 32, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 2, -40, 20, 24, 0, 0, 0
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
call DevastatingDrakeGeyser
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_ATTACKER
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 2, -96, 0, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 6, -60, -30, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 70, 0, -48, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 70, 60, -30, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 66, 96, 0, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 66, 60, 30, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 2, 0, 48, 24, 0, 0, 0
|
|
createsprite gDevastatingDrakePurpleBlastSpriteTemplate, ANIM_ATTACKER, 2, -60, 30, 24, 0, 0, 0
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
call DevastatingDrakeGeyser
|
|
delay 4
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 16, 0, RGB(0, 6, 16) @ fade from purple
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BATTLERS_2, 2, 0, 0, 0 @ reset all colours
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitforvisualfinish
|
|
end
|
|
DevastatingDrakeFadeTargetPartner:
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ALL_BUT_ATK_PARTNER), 6, 0, 16, RGB(0, 6, 16)
|
|
call DevastatingDrakeExplosion
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ALL_BUT_ATK_PARTNER), 0, 16, 0, RGB(0, 6, 16) @ fade all but target back
|
|
goto DevastatingDrakeUniversalEnding
|
|
DevastatingDrakeBuffEffect:
|
|
createsprite gDevastatingDrakePurpleEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 4
|
|
createsprite gDevastatingDrakePurpleEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
delay 4
|
|
createsprite gDevastatingDrakePurpleEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
delay 4
|
|
createsprite gDevastatingDrakePurpleEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 4
|
|
createsprite gDevastatingDrakePurpleEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
DevastatingDrakeGeyser:
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 3, 5, 1, 0
|
|
createsprite gDevastatingDrakeHexSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, -4, 16
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, -11, -15, 1, 0
|
|
createsprite gDevastatingDrakeHexSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 4109, 16
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 8, -5, 1, 0
|
|
createsprite gDevastatingDrakeHexSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 4, 16
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, -6, 18, 1, 0
|
|
createsprite gDevastatingDrakeHexSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, -16, 16
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 0, 5, 1, 0
|
|
createsprite gDevastatingDrakeHexSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, -4, 16
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 3, -11, ANIM_TARGET, 0
|
|
createsprite gDevastatingDrakeHexSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 4109, 16
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, -11, -31, ANIM_TARGET, 0
|
|
createsprite gDevastatingDrakeHexSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 4, 16
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 8, -21, ANIM_TARGET, 0
|
|
createsprite gDevastatingDrakeHexSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, -16, 16
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, -6, 2, ANIM_TARGET, 0
|
|
createsprite gDevastatingDrakeHexSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, -4, 16
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 0, -11, ANIM_TARGET, 0
|
|
createsprite gDevastatingDrakeHexSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 4109, 16
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 3, -27, ANIM_TARGET, 0
|
|
createsprite gDevastatingDrakeHexSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 4, 16
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, -11, -47, ANIM_TARGET, 0
|
|
createsprite gDevastatingDrakeHexSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, -16, 16
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 8, -37, ANIM_TARGET, 0
|
|
createsprite gDevastatingDrakeHexSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, -4, 16
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, -6, -14, ANIM_TARGET, 0
|
|
createsprite gDevastatingDrakeHexSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 4109, 16
|
|
delay 0
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 4, 0, -27, ANIM_TARGET, 0
|
|
createsprite gDevastatingDrakeHexSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 4, 16
|
|
delay 0
|
|
createsprite gDevastatingDrakeHexSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, -16, 16
|
|
return
|
|
DevastatingDrakeExplosion:
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gDevastatingDrakeExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
return
|
|
|
|
|
|
gBattleAnimMove_BlackHoleEclipse::
|
|
invisible ANIM_TARGET
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call EndureEffect
|
|
delay 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_BLACK
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call EndureEffect
|
|
delay 8
|
|
call EndureEffect
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_FOCUS_ENERGY
|
|
unloadspritepal ANIM_TAG_FOCUS_ENERGY
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gBlackHoleEclipseShockwaveSpriteTemplate, ANIM_ATTACKER, 2
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_CIRCLE_OF_LIGHT
|
|
unloadspritepal ANIM_TAG_CIRCLE_OF_LIGHT
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_ATTACKER
|
|
createsprite gBlackHoleEclipseHoleUserSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, ANIM_ATTACKER, 0
|
|
createsprite gBlackHoleEclipseBlueRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
delay 8
|
|
createsprite gBlackHoleEclipseBlackRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
delay 8
|
|
createsprite gBlackHoleEclipseBlueRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
delay 8
|
|
createsprite gBlackHoleEclipseBlackRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
delay 8
|
|
waitforvisualfinish
|
|
stopsound
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 7, RGB_BLACK
|
|
invisible ANIM_ATTACKER
|
|
loopsewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET, 16, 5
|
|
createsprite gBlackHoleEclipseWispSpriteTemplate, ANIM_ATTACKER, 2, 0, 16, 0
|
|
delay 3
|
|
createsprite gBlackHoleEclipseWispSpriteTemplate, ANIM_ATTACKER, 3, 0, 16, 1
|
|
delay 3
|
|
createsprite gBlackHoleEclipseWispSpriteTemplate, ANIM_ATTACKER, 4, 0, 16, 2
|
|
delay 3
|
|
createsprite gBlackHoleEclipseWispSpriteTemplate, ANIM_ATTACKER, 4, 0, 16, 3
|
|
waitforvisualfinish
|
|
fadetobg BG_BLACK_HOLE_ECLIPSE
|
|
playsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_TARGET
|
|
createsprite gBlackHoleEclipseRedRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 256, 0
|
|
delay 4
|
|
createsprite gBlackHoleEclipseRedRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 256, 0
|
|
delay 4
|
|
createsprite gBlackHoleEclipseRedRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 256, 0
|
|
waitbgfadeout
|
|
unloadspritegfx ANIM_TAG_WISP_ORB
|
|
unloadspritepal ANIM_TAG_WISP_ORB
|
|
createsprite gBlackHoleEclipseHoleSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, ANIM_TARGET, 0 @ eclipse at target origin
|
|
delay 16
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 53, -19, 1, 2 @ target down and left (instantaneously (last arg))
|
|
delay 2
|
|
visible ANIM_TARGET
|
|
loopsewithpan SE_M_SUPERSONIC, SOUND_PAN_TARGET, 10, 5
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 80, -1024, ANIM_TARGET, 0 @ spin target around (80 (time), -1024 (rot speed))
|
|
createsprite gBlackHoleEclipseBlueRingInwardsSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
createsprite gBlackHoleEclipseRedRingInwardsSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
createsprite gBlackHoleEclipseRedRingInwardsSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 48 @ target back to origin (slowly)
|
|
createsprite gBlackHoleEclipseBlueRingInwardsSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
createsprite gBlackHoleEclipseRedRingInwardsSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
createsprite gBlackHoleEclipseRedRingInwardsSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 21
|
|
invisible ANIM_TARGET
|
|
delay 8
|
|
createsprite gBlackHoleEclipseBlueRingInwardsSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
createsprite gBlackHoleEclipseRedRingInwardsSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
createsprite gBlackHoleEclipseRedRingInwardsSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
createsprite gBlackHoleEclipseHoleShrinkSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, ANIM_TARGET, 0
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_THIN_RING
|
|
unloadspritepal ANIM_TAG_THIN_RING
|
|
unloadspritegfx ANIM_TAG_ICE_CHUNK
|
|
unloadspritepal ANIM_TAG_ICE_CHUNK
|
|
createsprite gTargetTwinkleSpriteTemplate, ANIM_ATTACKER, 13, 0, 0, ANIM_TARGET @detect star
|
|
delay 2
|
|
unloadspritegfx ANIM_TAG_VERTICAL_HEX @red
|
|
unloadspritepal ANIM_TAG_VERTICAL_HEX @red
|
|
unloadspritegfx ANIM_TAG_SHADOW_BALL
|
|
unloadspritepal ANIM_TAG_SHADOW_BALL
|
|
unloadspritegfx ANIM_TAG_BLACK_BALL_2
|
|
unloadspritepal ANIM_TAG_BLACK_BALL_2
|
|
call BlackHoleEclipseExplosion
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 1, 0, 16, RGB_WHITE @ bg to white pal
|
|
call BlackHoleEclipseExplosion
|
|
waitforvisualfinish
|
|
delay 24
|
|
invisible ANIM_TARGET
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 1, 0, ANIM_TARGET, 1 @ fix rotation
|
|
invisible ANIM_TARGET
|
|
delay 1
|
|
waitforvisualfinish
|
|
call ResetFromWhiteScreen
|
|
end
|
|
BlackHoleEclipseExplosion:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gBlackHoleEclipseRedExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gBlackHoleEclipseRedExplosionSpriteTemplate, ANIM_ATTACKER, 3, 24, -24, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gBlackHoleEclipseRedExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gBlackHoleEclipseRedExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gBlackHoleEclipseRedExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
return
|
|
ResetFromWhiteScreen:
|
|
createvisualtask AnimTask_AllBattlersInvisible, 10
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BATTLERS_2, 2, 0, 0, RGB_WHITE @everything from white
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, -1
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
delay 5
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
return
|
|
|
|
|
|
gBattleAnimMove_TwinkleTackle::
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
call TwinkleTacklePinkStars
|
|
delay 8
|
|
fadetobg BG_TWINKLE_TACKLE
|
|
createsprite gTwinkleTacklePinkRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
waitbgfadeout
|
|
invisible ANIM_TARGET
|
|
delay 1
|
|
createsprite gTwinkleTackleStarGrowSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpargeq 7 ANIM_TARGET TwinkleTackleOnPlayer
|
|
TwinkleTackleOnOpponent:
|
|
call PlayerTwinkling
|
|
goto TwinkleTackleFinish
|
|
TwinkleTackleOnPlayer:
|
|
call OpponentTwinkling
|
|
TwinkleTackleFinish:
|
|
waitforvisualfinish
|
|
delay 5
|
|
visible ANIM_ATTACKER
|
|
visible ANIM_TARGET
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 8, 2048, 1, ANIM_ATTACKER
|
|
call TwinkleTackleStars
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_SwayMon, 5, 0, 8, 2048, 1, ANIM_ATTACKER
|
|
call TwinkleTackleStars
|
|
waitforvisualfinish
|
|
delay 1
|
|
createsprite gTwinkleTackleYellowImpactSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 1, 0
|
|
call TwinkleTackleStarsTarget
|
|
playsewithpan SE_M_WATERFALL, SOUND_PAN_TARGET
|
|
delay 5
|
|
createvisualtask AnimTask_TwinkleTackleLaunch, 2, 89
|
|
delay 89
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_TARGET
|
|
createsprite gTwinkleTackleTwinkleSpriteTemplate, ANIM_TARGET, 13, 0, 0, ANIM_TARGET @detect star
|
|
waitforvisualfinish
|
|
delay 16
|
|
restorebg
|
|
delay 24
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitforvisualfinish
|
|
end
|
|
TwinkleTacklePinkStars:
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, -15, 0, 0, 0, 32, 60
|
|
createsprite gTwinkleTacklePinkRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
delay 8
|
|
createsprite gTwinkleTacklePinkRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 12, -5, 0, 0, 32, 60
|
|
delay 8
|
|
createsprite gTwinkleTacklePinkRingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
return
|
|
PlayerTwinkling:
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
setarg 7, 0 @;Clear arg 7 so task works properly in Link battles
|
|
createvisualtask AnimTask_SnatchOpposingMonMove, 2 @ user fly on screen on enemy side
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 18, 0, 0, 0, 32, 28
|
|
delay 3
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 31, -5, 0, 0, 32, 28
|
|
delay 22
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 144, -64, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 128, -64, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 112, -64, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 96, -64, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 80, -64, 0, 0, 32, 28
|
|
delay 1
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_TARGET
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 64, -64, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 48, -64, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 32, -64, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 16, -64, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 0, -64, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, -16, -64, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, -32, -64, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, -48, -64, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, -64, -64, 0, 0, 32, 28
|
|
return
|
|
OpponentTwinkling:
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER
|
|
setarg 7, 0 @;Clear arg 7 so task works properly in Link battles
|
|
createvisualtask AnimTask_SnatchOpposingMonMove, 2 @ user fly on screen on enemy side
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 16, -5, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 32, -5, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 48, -5, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 64, -5, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 80, -5, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 96, -5, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 112, -5, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 128, -5, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 144, -5, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 160, -5, 0, 0, 32, 28
|
|
delay 5
|
|
playsewithpan SE_M_MORNING_SUN, SOUND_PAN_TARGET
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 160, 44, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 144, 44, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 128, 44, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 112, 44, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 96, 44, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 80, 44, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 64, 44, 0, 0, 32, 28
|
|
delay 1
|
|
createsprite gTwinkleTacklePinkStarSpriteTemplate, ANIM_ATTACKER, 2, 48, 44, 0, 0, 32, 28
|
|
return
|
|
TwinkleTackleStars:
|
|
playsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER
|
|
createsprite gTwinkleTackleDigStarSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 12, 4, -16, 18
|
|
createsprite gTwinkleTackleDigStarSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 16, 4, -10, 18
|
|
createsprite gTwinkleTackleDigStarSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 14, 4, -18, 18
|
|
createsprite gTwinkleTackleDigStarSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 12, 4, -16, 18
|
|
return
|
|
TwinkleTackleStarsTarget:
|
|
createsprite gTwinkleTackleImpactStarsSpriteTemplate, ANIM_TARGET, 3, -16, -8, 160, -32
|
|
createsprite gTwinkleTackleImpactStarsSpriteTemplate, ANIM_TARGET, 3, -16, -8, -256, -40
|
|
createsprite gTwinkleTackleImpactStarsSpriteTemplate, ANIM_TARGET, 3, -16, -8, 128, -16
|
|
createsprite gTwinkleTackleImpactStarsSpriteTemplate, ANIM_TARGET, 3, -16, -8, 416, -38
|
|
createsprite gTwinkleTackleImpactStarsSpriteTemplate, ANIM_TARGET, 3, -16, -8, -128, -22
|
|
createsprite gTwinkleTackleImpactStarsSpriteTemplate, ANIM_TARGET, 3, -16, -8, -384, -31
|
|
return
|
|
|
|
@ signature z moves
|
|
gBattleAnimMove_Catastropika::
|
|
invisible ANIM_TARGET
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call EndureEffect
|
|
delay 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB(31, 31, 22)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call EndureEffect
|
|
delay 8
|
|
call EndureEffect
|
|
delay 8
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
createsprite gFlyBallUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_FOCUS_ENERGY
|
|
unloadspritepal ANIM_TAG_FOCUS_ENERGY
|
|
unloadspritegfx ANIM_TAG_ROUND_SHADOW
|
|
unloadspritepal ANIM_TAG_ROUND_SHADOW
|
|
createvisualtask AnimTask_GetTimeOfDay, 2
|
|
jumpargeq 0 0 CatastropikaDaytime
|
|
jumpargeq 0 2 CatastropikaAfternoon
|
|
CatastropikaNight:
|
|
fadetobg BG_MAX_LIGHTNING
|
|
goto CatastropikaFinish
|
|
CatastropikaDaytime:
|
|
fadetobg BG_MAX_LIGHTNING
|
|
goto CatastropikaFinish
|
|
CatastropikaAfternoon:
|
|
fadetobg BG_MAX_LIGHTNING
|
|
CatastropikaFinish:
|
|
waitbgfadeout
|
|
visible ANIM_ATTACKER
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 60, 2, 12 @charge particles to user
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 16, 44, 32, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 16, 44, 96, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 16, 44, 160, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 16, 44, 224, 40, 2, 3
|
|
@ delay 20
|
|
@ playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 18, 44, 0, 40, 0, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 18, 44, 64, 40, 1, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 18, 44, 128, 40, 0, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 18, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
@ delay 20
|
|
@ playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 20, 44, 0, 40, 0, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 20, 44, 64, 40, 1, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 20, 44, 128, 40, 0, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 20, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gGrowingChargeOrbSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER @ charge
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 22, 44, 32, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 22, 44, 96, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 22, 44, 160, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 22, 44, 224, 40, 2, 3
|
|
delay 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 24, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 24, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 24, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 24, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 26, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 26, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 26, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 26, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 28, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 28, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 28, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 28, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 30, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 30, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 30, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 30, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 30, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 30, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 30, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 30, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 21, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
restorebg
|
|
waitbgfadeout
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
invisible ANIM_ATTACKER
|
|
visible ANIM_TARGET
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
createsprite gCatastrokpikaSuperpowerSpriteTemplate, ANIM_TARGET, 3, 0
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -32, -16, 37, 44, 32, 8, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -32, -16, 37, 44, 96, 8, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -32, -16, 37, 44, 160, 8, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -32, -16, 37, 44, 224, 8, 2, 3
|
|
delay 1
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -48, -28, 37, 44, 32, 8, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -48, -28, 37, 44, 96, 8, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -48, -28, 37, 44, 160, 8, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -48, -28, 37, 44, 224, 8, 2, 3
|
|
delay 1
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -64, -40, 37, 44, 32, 8, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -64, -40, 37, 44, 96, 8, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -64, -40, 37, 44, 160, 8, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -64, -40, 37, 44, 224, 8, 2, 3
|
|
delay 13
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -256, 21, 0, 4
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 12, -24, -16, 24 @ 12, -48, -16, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 0, 16, -38, -10, 24 @ 16, -16, -10, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 1, 14, -20, -18, 24 @ 14, -52, -18, 24
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET, 1, 12, -36, -16, 24 @ 12, -32, -16, 24
|
|
call CatastropikaThundering
|
|
invisible ANIM_TARGET
|
|
unloadspritegfx ANIM_TAG_MUD_SAND
|
|
unloadspritepal ANIM_TAG_MUD_SAND
|
|
call CatastropikaThundering
|
|
call CatastropikaThundering
|
|
call CatastropikaThundering
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 4, 0, 16, RGB_WHITE @ bg to white
|
|
call CatastropikaThundering
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 4, 16, 0, RGB_WHITE @ bg to white
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 16 @fix tgt position
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitforvisualfinish
|
|
end
|
|
CatastropikaThundering:
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -16
|
|
delay 2
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, 16
|
|
delay 2
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -16
|
|
delay 2
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, 16
|
|
delay 2
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, -16
|
|
delay 2
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 0, 16
|
|
delay 2
|
|
return
|
|
|
|
|
|
gBattleAnimMove_10000000VoltThunderbolt::
|
|
invisible ANIM_TARGET
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call EndureEffect
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
createsprite g10MillionVoltBoltYellowFlySpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 32, 44, 32, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 32, 44, 96, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 32, 44, 160, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 32, 44, 224, 40, 2, 3
|
|
delay 2
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, -32, 32, 44, 32, 40, 0, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, -32, 32, 44, 96, 40, 1, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, -32, 32, 44, 160, 40, 0, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, -32, 32, 44, 224, 40, 2, 3
|
|
delay 2
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, -48, 32, 44, 32, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, -48, 32, 44, 96, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, -48, 32, 44, 160, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, -48, 32, 44, 224, 40, 2, 3
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_ROUND_SHADOW
|
|
unloadspritepal ANIM_TAG_ROUND_SHADOW
|
|
unloadspritegfx ANIM_TAG_FOCUS_ENERGY
|
|
unloadspritepal ANIM_TAG_FOCUS_ENERGY
|
|
fadetobg BG_THUNDER
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -256, 0, 1, -1
|
|
waitbgfadein
|
|
visible ANIM_ATTACKER
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 60, 2, 12 @charge particles to user
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 16, 44, 32, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 16, 44, 96, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 16, 44, 160, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 16, 44, 224, 40, 2, 3
|
|
delay 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
delay 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 20, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 20, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 20, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 20, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 16
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
invert_screen_color scenery=257 @thunder flash
|
|
createsprite gGrowingChargeOrbSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER @ charge
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 64, -36
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 64, -20
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, 64, 12
|
|
delay 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 24, 44, 0, 40, 0, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 24, 44, 64, 40, 1, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 24, 44, 128, 40, 0, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 24, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
invert_screen_color scenery=257 @thunder flash
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, -64, -36
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, -64, -20
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, -64, 12
|
|
delay 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 28, 44, 0, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 28, 44, 64, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 28, 44, 128, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 28, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 20
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
invert_screen_color scenery=257 @thunder flash
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, -112, -36
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, -112, -20
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, -112, 12
|
|
delay 20
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 32, 44, 0, 40, 0, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 32, 44, 64, 40, 1, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 32, 44, 128, 40, 0, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 32, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
delay 16
|
|
playsewithpan SE_M_THUNDER_WAVE, SOUND_PAN_TARGET
|
|
invert_screen_color scenery=257 @thunder flash
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, -48, -36
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, -48, -20
|
|
delay 1
|
|
createsprite gLightningSpriteTemplate, ANIM_TARGET, 2, -48, 12
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 42, 44, 0, 40, 0, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 42, 44, 64, 40, 1, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 42, 44, 128, 40, 0, 3
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 42, 44, SOUND_PAN_ATTACKER, 40, 2, 3
|
|
waitforvisualfinish
|
|
unloadallspritepals
|
|
call UnsetPsychicBg
|
|
visible ANIM_TARGET
|
|
loopsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER, 5, 10
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 0, 4, 50, 1
|
|
@flash_anim_tag_with_color tag=ANIM_TAG_ORBS, delay=1, num_blends=12, color1=RGB_RED, blend_y1=16, color2=0, blend_y2=0
|
|
call TenMillionVoltThunderboltBeamRed
|
|
call TenMillionVoltThunderboltBeamBlue
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 50, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 9, RGB(30, 31, 1)
|
|
call TenMillionVoltThunderboltBeamPink
|
|
call TenMillionVoltThunderboltBeamYellow
|
|
call TenMillionVoltThunderboltBeamGreen
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 50, 1
|
|
call TenMillionVoltThunderboltBeamPurple
|
|
call TenMillionVoltThunderboltBeamRed
|
|
call TenMillionVoltThunderboltBeamBlue
|
|
call TenMillionVoltThunderboltBeamPink
|
|
call TenMillionVoltThunderboltBeamYellow
|
|
call TenMillionVoltThunderboltBeamGreen
|
|
call TenMillionVoltThunderboltBeamPurple
|
|
call TenMillionVoltThunderboltBeamRed
|
|
call TenMillionVoltThunderboltBeamBlue
|
|
call TenMillionVoltThunderboltBeamPink
|
|
call TenMillionVoltThunderboltBeamYellow
|
|
call TenMillionVoltThunderboltBeamGreen
|
|
@ call TenMillionVoltThunderboltBeamPurple
|
|
@ call TenMillionVoltThunderboltBeamRed
|
|
@ call TenMillionVoltThunderboltBeamBlue
|
|
@ call TenMillionVoltThunderboltBeamPink
|
|
@ call TenMillionVoltThunderboltBeamYellow
|
|
@ call TenMillionVoltThunderboltBeamGreen
|
|
@ call TenMillionVoltThunderboltBeamPurple
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 37, 44, 0, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 37, 44, 64, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 37, 44, 128, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 37, 44, SOUND_PAN_ATTACKER, 40, 2, -32765
|
|
@ delay 6
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 53, 44, 0, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 53, 44, 64, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 53, 44, 128, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 53, 44, SOUND_PAN_ATTACKER, 40, 2, -32765
|
|
@ delay 6
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 64, 44, 0, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 64, 44, 64, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 64, 44, 128, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 64, 44, SOUND_PAN_ATTACKER, 40, 2, -32765
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
createsprite g10MillionVoltBoltShockwaveSpriteTemplate, ANIM_TARGET, 2 @ charge out and in
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_ORBS @hyper beam
|
|
unloadspritepal ANIM_TAG_ORBS @hyper beam
|
|
unloadspritegfx ANIM_TAG_VERTICAL_HEX @red
|
|
unloadspritepal ANIM_TAG_VERTICAL_HEX @red
|
|
unloadspritegfx ANIM_TAG_WATER_ORB @blue
|
|
unloadspritepal ANIM_TAG_WATER_ORB @blue
|
|
unloadspritegfx ANIM_TAG_BERRY_EATEN @pink
|
|
unloadspritepal ANIM_TAG_BERRY_EATEN @pink
|
|
unloadspritegfx ANIM_TAG_LEAF @green
|
|
unloadspritepal ANIM_TAG_LEAF @green
|
|
unloadspritegfx ANIM_TAG_POISON_BUBBLE @purple
|
|
unloadspritepal ANIM_TAG_POISON_BUBBLE @purple
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 2, 44
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 48, 44, 0, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 48, 44, 64, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 48, 44, 128, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 48, 44, SOUND_PAN_ATTACKER, 40, 2, -32765
|
|
call TenMillionVoltThunderboltSparkGeyser
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 55, 44, 0, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 55, 44, 64, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 55, 44, 128, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 55, 44, SOUND_PAN_ATTACKER, 40, 2, -32765
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 0, 16, RGB_WHITE
|
|
call TenMillionVoltThunderboltSparkGeyser
|
|
waitforvisualfinish
|
|
delay 16
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 3, 16, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitforvisualfinish
|
|
end
|
|
TenMillionVoltThunderboltBeamRed:
|
|
createsprite g10MillionVoltBoltRedBeamSpriteTemplate, ANIM_TARGET, 2
|
|
createsprite g10MillionVoltBoltRedBeamSpriteTemplate, ANIM_TARGET, 2
|
|
delay 4
|
|
return
|
|
TenMillionVoltThunderboltBeamBlue:
|
|
createsprite g10MillionVoltBoltBlueBeamSpriteTemplate, ANIM_TARGET, 2
|
|
createsprite g10MillionVoltBoltBlueBeamSpriteTemplate, ANIM_TARGET, 2
|
|
delay 4
|
|
return
|
|
TenMillionVoltThunderboltBeamPink:
|
|
createsprite g10MillionVoltBoltPinkBeamSpriteTemplate, ANIM_TARGET, 2
|
|
createsprite g10MillionVoltBoltPinkBeamSpriteTemplate, ANIM_TARGET, 2
|
|
delay 4
|
|
return
|
|
TenMillionVoltThunderboltBeamYellow:
|
|
createsprite g10MillionVoltBoltYellowBeamSpriteTemplate, ANIM_TARGET, 2
|
|
createsprite g10MillionVoltBoltYellowBeamSpriteTemplate, ANIM_TARGET, 2
|
|
delay 4
|
|
return
|
|
TenMillionVoltThunderboltBeamGreen:
|
|
createsprite g10MillionVoltBoltGreenBeamSpriteTemplate, ANIM_TARGET, 2
|
|
createsprite g10MillionVoltBoltGreenBeamSpriteTemplate, ANIM_TARGET, 2
|
|
delay 4
|
|
return
|
|
TenMillionVoltThunderboltBeamPurple:
|
|
createsprite g10MillionVoltBoltPurpleBeamSpriteTemplate, ANIM_TARGET, 2
|
|
createsprite g10MillionVoltBoltPurpleBeamSpriteTemplate, ANIM_TARGET, 2
|
|
delay 4
|
|
return
|
|
TenMillionVoltThunderboltSparkGeyser:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, ANIM_TARGET, 1
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 5, 44, 0, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 5, 44, 64, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 5, 44, 128, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 21, 44, 0, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 21, 44, 64, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 21, 44, 128, 40, 0, -32765
|
|
delay 4
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -22, 5, 44, 0, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -22, 5, 44, 64, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -22, 5, 44, 128, 40, 0, -32765
|
|
delay 4
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, ANIM_TARGET, 1
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -44, 5, 44, 0, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -44, 5, 44, 64, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -44, 5, 44, 128, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -44, 21, 44, 0, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -44, 21, 44, 64, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -44, 21, 44, 128, 40, 0, -32765
|
|
delay 4
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -66, 5, 44, 0, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -66, 5, 44, 64, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -66, 5, 44, 128, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -66, 21, 44, 0, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -66, 21, 44, 64, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -66, 21, 44, 128, 40, 0, -32765
|
|
delay 4
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
delay 8
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, ANIM_TARGET, 1
|
|
delay 8
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
return
|
|
|
|
|
|
gBattleAnimMove_StokedSparksurfer::
|
|
invisible ANIM_TARGET
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
createsprite gStokedSparksurferFlySpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 32, 44, 32, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 32, 44, 96, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 32, 44, 160, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 32, 44, 224, 40, 2, 3
|
|
delay 2
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, -32, 32, 44, 32, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, -32, 32, 44, 96, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, -32, 32, 44, 160, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, -32, 32, 44, 224, 40, 2, 3
|
|
delay 2
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, -48, 32, 44, 32, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, -48, 32, 44, 96, 40, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, -48, 32, 44, 160, 40, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, 0, -48, 32, 44, 224, 40, 2, 3
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_ROUND_SHADOW
|
|
unloadspritepal ANIM_TAG_ROUND_SHADOW
|
|
createvisualtask AnimTask_GetTimeOfDay, 2
|
|
jumpargeq 0 0 StokedSparksurferDay
|
|
jumpargeq 0 2 StokedSparksurferAfternoon
|
|
StokedSparksurferNight:
|
|
fadetobg BG_MAX_LIGHTNING
|
|
goto StokedSparksurferFinish
|
|
StokedSparksurferAfternoon:
|
|
fadetobg BG_MAX_LIGHTNING
|
|
StokedSparksurferDay:
|
|
fadetobg BG_MAX_LIGHTNING
|
|
StokedSparksurferFinish:
|
|
waitbgfadeout
|
|
visible ANIM_ATTACKER
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 28, 2, 12
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 60, 1
|
|
call EndureEffect
|
|
delay 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 5, 0, 16, RGB(31, 31, 22)
|
|
call EndureEffect
|
|
delay 8
|
|
call EndureEffect
|
|
delay 2
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 0, 16, 0, RGB(31, 31, 22)
|
|
createsprite gVoltTackleOrbSlideSpriteTemplate, ANIM_ATTACKER, 1
|
|
playsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 0
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 1
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 2
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 3
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_TARGET
|
|
delay 1
|
|
fadetobg BG_ZMOVE_ACTIVATE
|
|
waitbgfadeout
|
|
visible ANIM_TARGET
|
|
createvisualtask AnimTask_VoltTackleBolt, 5, 4
|
|
playsewithpan SE_M_THUNDERBOLT, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_SPARK
|
|
unloadspritepal ANIM_TAG_SPARK
|
|
unloadspritegfx ANIM_TAG_FOCUS_ENERGY
|
|
unloadspritepal ANIM_TAG_FOCUS_ENERGY
|
|
unloadspritegfx ANIM_TAG_ELECTRIC_ORBS
|
|
unloadspritepal ANIM_TAG_ELECTRIC_ORBS
|
|
unloadspritegfx ANIM_TAG_CIRCLE_OF_LIGHT
|
|
unloadspritepal ANIM_TAG_CIRCLE_OF_LIGHT
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 5, 28
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 48, 44, 0, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 48, 44, 64, 40, 1, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 48, 44, 128, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 48, 44, 192, 40, 2, -32765
|
|
call StokedSparksurferSparkGeyser
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_TARGET | F_PAL_ATTACKER), 2, 0, 16, RGB(31, 31, 22)
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 55, 44, 0, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 55, 44, 64, 40, 1, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 55, 44, 128, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 55, 44, 192, 40, 2, -32765
|
|
call StokedSparksurferSparkGeyser
|
|
createvisualtask AnimTask_VoltTackleAttackerReappear, 5 @ attacker flicker back
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gElectricPuffSpriteTemplate, ANIM_ATTACKER, 2, 0, 16, 16
|
|
delay 2
|
|
createsprite gElectricPuffSpriteTemplate, ANIM_ATTACKER, 2, 0, -16, -16
|
|
delay 4
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_TARGET | F_PAL_ATTACKER), 2, 16, 0, RGB(31, 31, 22)
|
|
restorebg
|
|
delay 24
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitforvisualfinish
|
|
end
|
|
|
|
StokedSparksurferSparkGeyser:
|
|
playsewithpan SE_M_TRI_ATTACK2, SOUND_PAN_TARGET
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 5, 44, 0, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 5, 44, 64, 40, 1, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 5, 44, 128, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 21, 44, 0, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 21, 44, 64, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, 0, 21, 44, 128, 40, 0, -32765
|
|
delay 4
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -22, 5, 44, 0, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -22, 5, 44, 64, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -22, 5, 44, 128, 40, 0, -32765
|
|
delay 4
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -44, 5, 44, 0, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -44, 5, 44, 64, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -44, 5, 44, 128, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -44, 21, 44, 0, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -44, 21, 44, 64, 40, 1, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -44, 21, 44, 128, 40, 0, -32765
|
|
delay 4
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -66, 5, 44, 0, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -66, 5, 44, 64, 40, 1, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -66, 5, 44, 128, 40, 0, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -66, 21, 44, 0, 40, 0, -32765
|
|
@ createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -66, 21, 44, 64, 40, 1, -32765
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_TARGET, 4, 0, -66, 21, 44, 128, 40, 0, -32765
|
|
delay 26
|
|
return
|
|
|
|
|
|
gBattleAnimMove_ExtremeEvoboost::
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 3, 0, 16, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_AllBattlersInvisible, 10
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BATTLERS_2, 3, 0, 0, 0 @Remove fading on everyone
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, 24, -12
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, -24, -12
|
|
delay 10
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, 40, -16
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, -8, -16
|
|
delay 10
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, 8, -2
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, -40, -2
|
|
delay 10
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, 16, 5
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, -32, 5
|
|
delay 10
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, 32, -16
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, -16, -16
|
|
delay 10
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, 5, 0
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, -43, 0
|
|
delay 10
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, 28, 5
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, -20, 5
|
|
delay 10
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, 15, -12
|
|
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, -33, -12
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_LEER
|
|
unloadspritepal ANIM_TAG_LEER
|
|
delay 1
|
|
fadetobg BG_ZMOVE_ACTIVATE
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_CIRCLE_OF_LIGHT, 0, 16, 16, RGB(31, 31, 22)
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER
|
|
createsprite gExtremeEvoboostRedChargeUpSpriteTemplate, ANIM_TARGET, 2, 0, 28, 1296, 30, 13, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gExtremeEvoboostPinkChargeUpSpriteTemplate, ANIM_TARGET, 2, 0, 32, 1248, 20, 16, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gExtremeEvoboostIceChargeUpSpriteTemplate, ANIM_TARGET, 2, 0, 33, 1344, 20, 8, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gExtremeEvoboostBlackChargeUpSpriteTemplate, ANIM_TARGET, 2, 0, 31, 1168, 25, 11, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gExtremeEvoboostBlueChargeUpSpriteTemplate, ANIM_TARGET, 2, 0, 28, 1280, 25, 16, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gExtremeEvoboostPurpleChargeUpSpriteTemplate, ANIM_TARGET, 2, 0, 33, 1232, 30, 15, -50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gExtremeEvoboostYellowChargeUpSpriteTemplate, ANIM_TARGET, 2, 0, 28, 1296, 30, 13, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gExtremeEvoboostGreenChargeUpSpriteTemplate, ANIM_TARGET, 2, 0, 32, 1248, 20, 16, -46, ANIM_ATTACKER
|
|
delay 2
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
loopsewithpan SE_M_REFLECT, SOUND_PAN_ATTACKER, 21, 13
|
|
call ExtremeEvoboostColorCircle
|
|
createvisualtask AnimTask_StockpileDeformMon, 5 @stockpile movement
|
|
call ExtremeEvoboostColorCharge
|
|
call ExtremeEvoboostColorCharge
|
|
call ExtremeEvoboostColorCharge
|
|
waitforvisualfinish
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ATTACKER), 0, 0, 16, RGB_WHITE
|
|
delay 24
|
|
call ResetFromWhiteScreen
|
|
end
|
|
ExtremeEvoboostColorCircle:
|
|
createsprite gExtremeEvoboostRedChargeCircleSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 2
|
|
createsprite gExtremeEvoboostPinkChargeCircleSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 2
|
|
createsprite gExtremeEvoboostIceChargeCircleSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 2
|
|
createsprite gExtremeEvoboostBlackChargeCircleSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 2
|
|
createsprite gExtremeEvoboostBlueChargeCircleSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 2
|
|
createsprite gExtremeEvoboostPurpleChargeCircleSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 2
|
|
createsprite gExtremeEvoboostYellowChargeCircleSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 2
|
|
createsprite gExtremeEvoboostGreenChargeCircleSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 2
|
|
return
|
|
ExtremeEvoboostColorCharge:
|
|
createsprite gExtremeEvoboostRedChargeCircleSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 2
|
|
createsprite gExtremeEvoboostRedStockpileSpriteTemplate, ANIM_ATTACKER, 2, 55, 55, 13
|
|
delay 2
|
|
createsprite gExtremeEvoboostPinkChargeCircleSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 2
|
|
createsprite gExtremeEvoboostPinkStockpileSpriteTemplate, ANIM_ATTACKER, 2, -55, -55, 13
|
|
delay 2
|
|
createsprite gExtremeEvoboostIceChargeCircleSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 2
|
|
createsprite gExtremeEvoboostIceStockpileSpriteTemplate, ANIM_ATTACKER, 2, 0, 55, 13
|
|
delay 2
|
|
createsprite gExtremeEvoboostBlackChargeCircleSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 2
|
|
createsprite gExtremeEvoboostBlackStockpileSpriteTemplate, ANIM_ATTACKER, 2, 0, -55, 13
|
|
delay 2
|
|
createsprite gExtremeEvoboostBlueChargeCircleSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 2
|
|
createsprite gExtremeEvoboostBlueStockpileSpriteTemplate, ANIM_ATTACKER, 2, 55, -34, 13
|
|
delay 2
|
|
createsprite gExtremeEvoboostPurpleChargeCircleSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 2
|
|
createsprite gExtremeEvoboostPurpleStockpileSpriteTemplate, ANIM_ATTACKER, 2, 55, 34, 13
|
|
delay 2
|
|
createsprite gExtremeEvoboostYellowChargeCircleSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 2
|
|
createsprite gExtremeEvoboostYellowStockpileSpriteTemplate, ANIM_ATTACKER, 2, -55, -34, 13
|
|
delay 2
|
|
createsprite gExtremeEvoboostGreenChargeCircleSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
|
|
delay 2
|
|
createsprite gExtremeEvoboostGreenStockpileSpriteTemplate, ANIM_ATTACKER, 2, -55, 34, 13
|
|
delay 2
|
|
return
|
|
|
|
|
|
gBattleAnimMove_PulverizingPancake::
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpargeq 7 ANIM_TARGET PulverizingPancakeOnPlayer
|
|
PulverizingPancakeOnOpponent:
|
|
createsprite gPulverizingPancakeRedDetectSpriteTemplate, ANIM_ATTACKER, 13, 20, -20
|
|
goto PulverizingPancakeFinish
|
|
PulverizingPancakeOnPlayer:
|
|
createsprite gPulverizingPancakeRedDetectSpriteTemplate, ANIM_ATTACKER, 13, 10, -14
|
|
createsprite gPulverizingPancakeRedDetectSpriteTemplate, ANIM_ATTACKER, 13, -10, -14
|
|
PulverizingPancakeFinish:
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
fadetobg BG_SOLAR_BEAM_OPPONENT
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 50, 1
|
|
call PulverizingPancakeDiggingRun
|
|
call PulverizingPancakeDiggingRun
|
|
call PulverizingPancakeDiggingRun
|
|
call PulverizingPancakeDiggingRun
|
|
call PulverizingPancakeDiggingRun
|
|
call PulverizingPancakeDiggingRun
|
|
call PulverizingPancakeDiggingRun
|
|
call PulverizingPancakeDiggingRun
|
|
call PulverizingPancakeDiggingRun
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
createsprite gFlyBallUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
delay 2
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 12, 4, -16, 34
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 16, 4, -10, 34
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 1, 14, 4, -18, 34
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 1, 12, 4, -16, 34
|
|
unloadspritegfx ANIM_TAG_SPARKLE_4
|
|
unloadspritepal ANIM_TAG_SPARKLE_4
|
|
unloadspritegfx ANIM_TAG_VERTICAL_HEX
|
|
unloadspritepal ANIM_TAG_VERTICAL_HEX
|
|
fadetobg BG_IN_AIR
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, 4096, 0, -1
|
|
waitbgfadein
|
|
createvisualtask AnimTask_PulverizingPancakeWhiteShadow, 5, 51, 51 @first arg is duration, last arg is move speed
|
|
delay 16
|
|
call PulverizingPancakeSlowBackground
|
|
call PulverizingPancakeSlowBackground
|
|
call PulverizingPancakeSlowBackground
|
|
call PulverizingPancakeSlowBackground
|
|
call PulverizingPancakeSlowBackground
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 11, RGB_BLACK @ target darkens
|
|
call PulverizingPancakeSlowBackground @0
|
|
call PulverizingPancakeSlowBackground
|
|
call PulverizingPancakeSlowBackground
|
|
call PulverizingPancakeSlowBackground
|
|
call PulverizingPancakeSlowBackground
|
|
call PulverizingPancakeSlowBackground
|
|
call PulverizingPancakeSlowBackground @-4096
|
|
delay 1
|
|
waitbgfadein
|
|
unloadspritegfx ANIM_TAG_MUD_SAND @dig
|
|
unloadspritepal ANIM_TAG_MUD_SAND @dig
|
|
createsprite gBounceBallLandSpriteTemplate, ANIM_TARGET, 3
|
|
delay 7
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 2, x=0, y=0, relative_to=ANIM_TARGET, animation=0@big hit marker
|
|
delay 0
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 4, 44
|
|
createsprite gPulverizingPancakeYellowRingSpriteTemplate, ANIM_TARGET, 3, 0, 0, 256, 0
|
|
delay 5
|
|
call PulverizingPancakeExplosion
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 0, 16, RGB_WHITE @ everything goes white
|
|
call PulverizingPancakeExplosion
|
|
waitforvisualfinish
|
|
call ResetFromWhiteScreen
|
|
end
|
|
PulverizingPancakeDiggingRun:
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 12, 4, -16, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 16, 4, -10, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 1, 14, 4, -18, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 1, 12, 4, -16, 18
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
delay 5
|
|
return
|
|
PulverizingPancakeSlowBackground:
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, -682, 0, -1 @-682
|
|
delay 1
|
|
return
|
|
PulverizingPancakeExplosion:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gPulverizingPancakeExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gPulverizingPancakeYellowRingSpriteTemplate, ANIM_TARGET, 3, 0, 0, 256, 0
|
|
createsprite gPulverizingPancakeExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gPulverizingPancakeExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gPulverizingPancakeExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gPulverizingPancakeYellowRingSpriteTemplate, ANIM_TARGET, 3, 0, 0, 256, 0
|
|
createsprite gPulverizingPancakeExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
return
|
|
|
|
|
|
gBattleAnimMove_GenesisSupernova::
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
call SetPsychicBackground
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpargeq 7 ANIM_TARGET GenesisSupernovaOnPlayer
|
|
GenesisSupernovaOnOpponent:
|
|
call GenesisSupernovaBuffEffectPlayer_1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 11, (RGB(28, 3, 22) | RGB_ALPHA)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 112, 1
|
|
call GenesisSupernovaBuffEffectPlayer_2
|
|
call GenesisSupernovaBuffEffectPlayer_1
|
|
goto GenesisSupernovaFinish
|
|
GenesisSupernovaOnPlayer:
|
|
call GenesisSupernovaBuffOpponent_1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 0, 11, (RGB(28, 3, 22) | RGB_ALPHA)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 112, 1
|
|
call GenesisSupernovaBuffOpponent_2
|
|
call GenesisSupernovaBuffOpponent_1
|
|
GenesisSupernovaFinish:
|
|
loopsewithpan SE_M_REVERSAL, SOUND_PAN_ATTACKER, 24, 6
|
|
call GenesisSupernovaReversalWave
|
|
call GenesisSupernovaReversalWave
|
|
call GenesisSupernovaReversalWave
|
|
delay 21
|
|
unloadspritegfx ANIM_TAG_FOCUS_ENERGY @focus energy
|
|
unloadspritepal ANIM_TAG_FOCUS_ENERGY @focus energy
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
createsprite gGenesisSupernovaChargeSpriteTemplate, ANIM_ATTACKER, 2, 0 @charge
|
|
call GenesisSupernovaFlare @delay 12 per
|
|
call GenesisSupernovaFlare
|
|
call GenesisSupernovaFlare
|
|
call GenesisSupernovaFlare
|
|
call GenesisSupernovaFlare
|
|
delay 4
|
|
unloadspritegfx ANIM_TAG_BLUE_ORB @reversal
|
|
unloadspritepal ANIM_TAG_BLUE_ORB @reversal
|
|
createsprite gGenesisSupernovaSuperpowerSpriteTemplate, ANIM_TARGET, 3, 0
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 0, 11, 0, (RGB(28, 3, 22) | RGB_ALPHA)
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendParticle, 2, ANIM_TAG_SPARKLE_2, 0, 0, 12, RGB_WHITE
|
|
delay 8
|
|
invisible ANIM_TARGET
|
|
unloadspritegfx ANIM_TAG_METEOR @superpower
|
|
unloadspritepal ANIM_TAG_METEOR @superpower
|
|
call GenesisSupernovaBubbleExplosion
|
|
call GenesisSupernovaBubbleExplosion
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 3, 0, 16, RGB_WHITE
|
|
call GenesisSupernovaBubbleExplosion
|
|
waitforvisualfinish
|
|
delay 16
|
|
createvisualtask AnimTask_BlendParticle, 2, ANIM_TAG_SPARKLE_2, 0, 12, 0, RGB_WHITE
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
delay 0
|
|
call ResetFromWhiteScreen
|
|
waitforvisualfinish
|
|
end
|
|
GenesisSupernovaBubbleExplosion:
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 2, -15, 0, ANIM_TARGET, 0, 32, 60
|
|
createsprite gGenesisSupernovaBubbleSpriteTemplate, ANIM_TARGET, 2, 10, 10, 0
|
|
createsprite gGenesisSupernovaExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, ANIM_TARGET, 1
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
createsprite gGenesisSupernovaBubbleSpriteTemplate, ANIM_TARGET, 2, 20, -20, 0
|
|
createsprite gGenesisSupernovaExplosionSpriteTemplate, ANIM_ATTACKER, 3, 24, -24, ANIM_TARGET, 1
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 2, 12, -5, ANIM_TARGET, 0, 32, 60
|
|
createsprite gGenesisSupernovaBubbleSpriteTemplate, ANIM_TARGET, 2, -20, 15, 0
|
|
createsprite gGenesisSupernovaExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, ANIM_TARGET, 1
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
createsprite gGenesisSupernovaBubbleSpriteTemplate, ANIM_TARGET, 2, 0, 0, 0
|
|
createsprite gGenesisSupernovaExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, ANIM_TARGET, 1
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
createsprite gGenesisSupernovaBubbleSpriteTemplate, ANIM_TARGET, 2, -20, -20, 0
|
|
createsprite gGenesisSupernovaExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, ANIM_TARGET, 1
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
delay 6
|
|
createsprite gGenesisSupernovaBubbleSpriteTemplate, ANIM_TARGET, 2, 16, -8, 0
|
|
createsprite gGenesisSupernovaExplosionSpriteTemplate, ANIM_ATTACKER, 3, -32, -24, ANIM_TARGET, 1
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
return
|
|
GenesisSupernovaBuffEffectPlayer_1:
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
createsprite gGenesisSupernovaOrbRiseSpriteTemplate, ANIM_ATTACKER, 50, 36, 128, 36, 48, 48
|
|
delay 2
|
|
createsprite gGenesisSupernovaOrbRiseSpriteTemplate, ANIM_ATTACKER, 50, 16, 128, 16, 53, 48
|
|
delay 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
createsprite gGenesisSupernovaOrbRiseSpriteTemplate, ANIM_ATTACKER, 50, 69, 128, 69, 58, 48
|
|
delay 2
|
|
createsprite gGenesisSupernovaOrbRiseSpriteTemplate, ANIM_ATTACKER, 50, 96, 128, 96, 48, 48
|
|
delay 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
createsprite gGenesisSupernovaOrbRiseSpriteTemplate, ANIM_ATTACKER, 50, 48, 128, 48, 60, 48
|
|
delay 2
|
|
createsprite gGenesisSupernovaOrbRiseSpriteTemplate, ANIM_ATTACKER, 50, 85, 128, 85, 51, 48
|
|
delay 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
GenesisSupernovaBuffEffectPlayer_2:
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
createsprite gGenesisSupernovaOrbRiseSpriteTemplate, ANIM_ATTACKER, 50, 41, 128, 41, 49, 48
|
|
delay 2
|
|
createsprite gGenesisSupernovaOrbRiseSpriteTemplate, ANIM_ATTACKER, 50, 115, 128, 115, 50, 48
|
|
delay 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
createsprite gGenesisSupernovaOrbRiseSpriteTemplate, ANIM_ATTACKER, 50, 74, 128, 74, 60, 48
|
|
delay 2
|
|
createsprite gGenesisSupernovaOrbRiseSpriteTemplate, ANIM_ATTACKER, 50, 100, 128, 100, 51, 48
|
|
delay 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
createsprite gGenesisSupernovaOrbRiseSpriteTemplate, ANIM_ATTACKER, 50, 44, 128, 44, 61, 48
|
|
delay 2
|
|
createsprite gGenesisSupernovaOrbRiseSpriteTemplate, ANIM_ATTACKER, 50, 108, 128, 108, 48, 48
|
|
delay 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
GenesisSupernovaReversalWave:
|
|
createsprite gGenesisSupernovaReversalSpriteTemplate, ANIM_ATTACKER, 2, 26, 0
|
|
createsprite gGenesisSupernovaReversalSpriteTemplate, ANIM_ATTACKER, 2, 26, 42
|
|
createsprite gGenesisSupernovaReversalSpriteTemplate, ANIM_ATTACKER, 2, 26, 84
|
|
createsprite gGenesisSupernovaReversalSpriteTemplate, ANIM_ATTACKER, 2, 26, 126
|
|
return
|
|
GenesisSupernovaFlare:
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_TARGET, 2, 0, 28, 384, 50, 8, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_TARGET, 2, 0, 32, 240, 40, 11, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_TARGET, 2, 0, 33, 416, 40, 4, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_TARGET, 2, 0, 31, 288, 45, 6, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_TARGET, 2, 0, 28, 448, 45, 11, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 50, 10, -50, ANIM_ATTACKER
|
|
delay 2
|
|
return
|
|
GenesisSupernovaBuffOpponent_1:
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_ATTACKER, 50, 148, 64, 148, 0, 48
|
|
delay 2
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_ATTACKER, 50, 128, 64, 128, 0, 48
|
|
delay 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_ATTACKER, 50, 181, 64, 181, 0, 48
|
|
delay 2
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_ATTACKER, 50, 208, 64, 208, 0, 48
|
|
delay 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_ATTACKER, 50, 160, 64, 160, 0, 48
|
|
delay 2
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_ATTACKER, 50, 197, 64, 197, 0, 48
|
|
delay 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
GenesisSupernovaBuffOpponent_2:
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_ATTACKER, 50, 153, 64, 153, 0, 48
|
|
delay 2
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_ATTACKER, 50, 227, 64, 227, 0, 48
|
|
delay 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_ATTACKER, 50, 186, 64, 186, 0, 48
|
|
delay 2
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_ATTACKER, 50, 212, 64, 212, 0, 48
|
|
delay 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_ATTACKER, 50, 156, 64, 156, 0, 48
|
|
delay 2
|
|
createsprite gGenesisSupernovaSpinUpSpriteTemplate, ANIM_ATTACKER, 50, 220, 64, 220, 0, 48
|
|
delay 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
|
|
|
|
gBattleAnimMove_SinisterArrowRaid::
|
|
invisible ANIM_TARGET
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidFlyUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_ROUND_SHADOW
|
|
unloadspritepal ANIM_TAG_ROUND_SHADOW
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 16, RGB(12, 4, 14) @ bg to purple
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
playsewithpan SE_M_WHIRLPOOL, SOUND_PAN_TARGET
|
|
createsprite gArrowRaidArrowUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 528, 30, 13, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gArrowRaidArrowUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 32, 480, 20, 16, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gArrowRaidArrowUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 33, 576, 20, 8, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gArrowRaidArrowUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 31, 400, 25, 11, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gArrowRaidArrowUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 512, 25, 16, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gArrowRaidArrowUpSpriteTemplate, ANIM_ATTACKER, 2, 0, 33, 464, 30, 15, -50, ANIM_ATTACKER
|
|
delay 2
|
|
waitforvisualfinish
|
|
invisible ANIM_ATTACKER
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpargeq 7 ANIM_TARGET SinisterArrowRaidOnPlayer
|
|
SinisterArrowRaidOnOpponent:
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidFlyRightSpriteTemplate, ANIM_ATTACKER, 50, -16, 136, 256, 56, 21 @left to right
|
|
delay 5
|
|
createsprite gArrowRaidRightUpSpriteTemplate, ANIM_ATTACKER, 50, -16, 138, 256, 58, 21 @left to right
|
|
delay 1
|
|
createsprite gArrowRaidRightUpSpriteTemplate, ANIM_ATTACKER, 50, -16, 140, 256, 60, 21
|
|
delay 1
|
|
createsprite gArrowRaidRightUpSpriteTemplate, ANIM_ATTACKER, 50, -16, 134, 256, 54, 21
|
|
delay 1
|
|
createsprite gArrowRaidRightUpSpriteTemplate, ANIM_ATTACKER, 50, -16, 132, 256, 52, 21
|
|
delay 1
|
|
createsprite gArrowRaidRightUpSpriteTemplate, ANIM_ATTACKER, 50, -16, 136, 256, 56, 21
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_ATTACKER @[x0] [y0] [xf] [yf]
|
|
createsprite gArrowRaidFlyLeftSpriteTemplate, ANIM_ATTACKER, 50, 288, 56, -16, 56, 21 @right to left
|
|
delay 5
|
|
createsprite gArrowRaidLeftUpSpriteTemplate, ANIM_ATTACKER, 50, 288, 54, -16, 54, 21
|
|
delay 1
|
|
createsprite gArrowRaidLeftUpSpriteTemplate, ANIM_ATTACKER, 50, 288, 58, -16, 58, 21
|
|
delay 1
|
|
createsprite gArrowRaidLeftUpSpriteTemplate, ANIM_ATTACKER, 50, 288, 55, -16, 55, 21
|
|
delay 1
|
|
createsprite gArrowRaidLeftUpSpriteTemplate, ANIM_ATTACKER, 50, 288, 60, -16, 60, 21
|
|
delay 1
|
|
createsprite gArrowRaidLeftUpSpriteTemplate, ANIM_ATTACKER, 50, 288, 56, -16, 56, 21
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidFlyRightSpriteTemplate, ANIM_ATTACKER, 50, -16, 8, 256, 15, 21 @left to right
|
|
delay 5
|
|
createsprite gArrowRaidRightDownSpriteTemplate, ANIM_ATTACKER, 50, -16, 10, 256, 17, 21
|
|
delay 1
|
|
createsprite gArrowRaidRightDownSpriteTemplate, ANIM_ATTACKER, 50, -16, 12, 256, 19, 21
|
|
delay 1
|
|
createsprite gArrowRaidRightDownSpriteTemplate, ANIM_ATTACKER, 50, -16, 6, 256, 13, 21
|
|
delay 1
|
|
createsprite gArrowRaidRightDownSpriteTemplate, ANIM_ATTACKER, 50, -16, 4, 256, 11, 21
|
|
delay 1
|
|
createsprite gArrowRaidRightDownSpriteTemplate, ANIM_ATTACKER, 50, -16, 8, 256, 15, 21
|
|
waitforvisualfinish
|
|
call SinisterArrowRaidFlyStrike
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 3, 75
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 4, 0, 16, RGB(0, 6, 16) @ defender to purple
|
|
call SinisterArrowRaidStrikeOpponent
|
|
call SinisterArrowRaidOpponentExplosion
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, ANIM_TARGET, 1
|
|
call SinisterArrowRaidFinalExplosion
|
|
goto SinisterArrowRaidFinish
|
|
@on player
|
|
SinisterArrowRaidOnPlayer:
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidFlyLeftSpriteTemplate, ANIM_ATTACKER, 50, 288, 8, -16, 15, 21 @right to left
|
|
delay 5
|
|
createsprite gArrowRaidFaceUpLeftSpriteTemplate, ANIM_ATTACKER, 50, 288, 10, -16, 17, 21
|
|
delay 1
|
|
createsprite gArrowRaidFaceUpLeftSpriteTemplate, ANIM_ATTACKER, 50, 288, 12, -16, 19, 21
|
|
delay 1
|
|
createsprite gArrowRaidFaceUpLeftSpriteTemplate, ANIM_ATTACKER, 50, 288, 6, -16, 13, 21
|
|
delay 1
|
|
createsprite gArrowRaidFaceUpLeftSpriteTemplate, ANIM_ATTACKER, 50, 288, 4, -16, 11, 21
|
|
delay 1
|
|
createsprite gArrowRaidFaceUpLeftSpriteTemplate, ANIM_ATTACKER, 50, 288, 8, -16, 15, 21
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidFlyRightSpriteTemplate, ANIM_ATTACKER, 50, -16, 56, 256, 56, 21 @left to right
|
|
delay 5
|
|
createsprite gArrowRaidRightSpriteTemplate, ANIM_ATTACKER, 50, -16, 54, 256, 54, 21
|
|
delay 1
|
|
createsprite gArrowRaidRightSpriteTemplate, ANIM_ATTACKER, 50, -16, 58, 256, 58, 21
|
|
delay 1
|
|
createsprite gArrowRaidRightSpriteTemplate, ANIM_ATTACKER, 50, -16, 55, 256, 55, 21
|
|
delay 1
|
|
createsprite gArrowRaidRightSpriteTemplate, ANIM_ATTACKER, 50, -16, 60, 256, 60, 21
|
|
delay 1
|
|
createsprite gArrowRaidRightSpriteTemplate, ANIM_ATTACKER, 50, -16, 56, 256, 56, 21
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_VITAL_THROW, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidFlyLeftSpriteTemplate, ANIM_ATTACKER, 50, 288, 120, -16, 88, 21 @right to left
|
|
delay 5
|
|
createsprite gArrowRaidLeftDownSpriteTemplate, ANIM_ATTACKER, 50, 256, 138, -16, 58, 21
|
|
delay 1
|
|
createsprite gArrowRaidLeftDownSpriteTemplate, ANIM_ATTACKER, 50, 256, 140, -16, 60, 21
|
|
delay 1
|
|
createsprite gArrowRaidLeftDownSpriteTemplate, ANIM_ATTACKER, 50, 256, 134, -16, 54, 21
|
|
delay 1
|
|
createsprite gArrowRaidLeftDownSpriteTemplate, ANIM_ATTACKER, 50, 256, 132, -16, 52, 21
|
|
delay 1
|
|
createsprite gArrowRaidLeftDownSpriteTemplate, ANIM_ATTACKER, 50, 256, 136, -16, 56, 21
|
|
waitforvisualfinish
|
|
call SinisterArrowRaidFlyStrike
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 3, 75
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 4, 0, 16, RGB(0, 6, 16) @ defender to purple
|
|
call SinisterArrowRaidArrowsStrikePlayer
|
|
call SinisterArrowRaidPlayerExplosion
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, ANIM_TARGET, 1
|
|
call SinisterArrowRaidFinalExplosion
|
|
@ finish
|
|
SinisterArrowRaidFinish:
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 4, 16, 0, RGB(0, 6, 16) @ return tgt to normal
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 16, 0, RGB(12, 4, 14) @ bg to nrml
|
|
delay 5
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitforvisualfinish
|
|
end
|
|
SinisterArrowRaidFlyStrike:
|
|
visible ANIM_TARGET
|
|
delay 10
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidFlyStrikeSpriteTemplate, ANIM_TARGET, 2, 20
|
|
waitforvisualfinish
|
|
delay 5
|
|
return
|
|
SinisterArrowRaidStrikeOpponent:
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 133, -16, 165, 64, 4
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 149, -16, 181, 64, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 117, -16, 149, 64, 4
|
|
delay 1
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 165, -16, 197, 64, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 111, -16, 143, 64, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 123, -16, 155, 64, 4
|
|
delay 1
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 133, -16, 165, 64, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 162, -16, 194, 64, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 130, -16, 162, 64, 4
|
|
delay 1
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 135, -16, 167, 64, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 114, -16, 146, 64, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 133, -16, 165, 64, 4
|
|
delay 1
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 139, -16, 171, 64, 4
|
|
delay 1
|
|
return
|
|
SinisterArrowRaidOpponentExplosion:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, ANIM_TARGET, 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 133, -16, 165, 64, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 149, -16, 181, 64, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 117, -16, 149, 64, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 165, -16, 197, 64, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 111, -16, 143, 64, 4
|
|
createsprite gArrowRaidExplosionSpriteTemplate, ANIM_ATTACKER, 3, 24, -24, ANIM_TARGET, 1
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 123, -16, 155, 64, 4
|
|
delay 1
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 133, -16, 165, 64, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 162, -16, 194, 64, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 130, -16, 162, 64, 4
|
|
createsprite gArrowRaidExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, ANIM_TARGET, 1
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 135, -16, 167, 64, 4
|
|
delay 1
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 114, -16, 146, 64, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 133, -16, 165, 64, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 139, -16, 171, 64, 4
|
|
createsprite gArrowRaidExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, ANIM_TARGET, 1
|
|
delay 1
|
|
return
|
|
SinisterArrowRaidArrowsStrikePlayer:
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -11, -16, 69, 144, 4
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 5, -16, 85, 144, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -27, -16, 53, 144, 4
|
|
delay 1
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 21, -16, 101, 144, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -33, -16, 47, 144, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -21, -16, 59, 144, 4
|
|
delay 1
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -11, -16, 69, 144, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 18, -16, 98, 144, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -14, -16, 66, 144, 4
|
|
delay 1
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -9, -16, 71, 144, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -30, -16, 50, 144, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -11, -16, 69, 144, 4
|
|
delay 1
|
|
playsewithpan SE_M_HORN_ATTACK, SOUND_PAN_TARGET
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -5, -16, 75, 144, 4
|
|
delay 1
|
|
return
|
|
SinisterArrowRaidPlayerExplosion:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, ANIM_TARGET, 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -11, -16, 69, 144, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 5, -16, 85, 144, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -27, -16, 53, 144, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 21, -16, 101, 144, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -33, -16, 47, 144, 4
|
|
createsprite gArrowRaidExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, ANIM_TARGET, 1
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -21, -16, 59, 144, 4
|
|
delay 1
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -11, -16, 69, 144, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, 18, -16, 98, 144, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -14, -16, 66, 144, 4
|
|
createsprite gArrowRaidExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -9, -16, 71, 144, 4
|
|
delay 1
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -30, -16, 50, 144, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -11, -16, 69, 144, 4
|
|
delay 1
|
|
createsprite gArrowRaidArrowOnslaughtSpriteTemplate, ANIM_TARGET, 2, -5, -16, 75, 144, 4
|
|
createsprite gArrowRaidExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, ANIM_TARGET, 1
|
|
delay 1
|
|
return
|
|
SinisterArrowRaidFinalExplosion:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidExplosionSpriteTemplate, ANIM_ATTACKER, 3, 24, -24, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gArrowRaidExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
return
|
|
|
|
|
|
gBattleAnimMove_MaliciousMoonsault::
|
|
fadetobg BG_MALICIOUS_MOONSAULT
|
|
waitbgfadeout
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_ATTACKER
|
|
createsprite gVerticalDipSpriteTemplate, ANIM_ATTACKER, 2, 6, 1, 0
|
|
delay 1
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, -32, 0, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 66, -20, -10, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 66, 0, -16, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 66, 20, -10, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 66, 32, 0, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 66, 20, 10, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, 0, 16, 24, 0, 0, 0
|
|
createsprite gFirePlumeSpriteTemplate, ANIM_ATTACKER, 2, -20, 10, 24, 0, 0, 0
|
|
waitforvisualfinish
|
|
delay 0
|
|
monbg ANIM_ATTACKER
|
|
playsewithpan SE_M_SACRED_FIRE2, SOUND_PAN_TARGET
|
|
call MaliciousMoonsaultFireSpin
|
|
call MaliciousMoonsaultFireSpin
|
|
clearmonbg ANIM_ATTACKER
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
createsprite gMaliciousMoonsaultRedFlySpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, 336
|
|
call MaliciousMoonsaultFireSpin
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 5, 0, 10, RGB_BLACK @ target darkens
|
|
delay 26
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_TARGET
|
|
createsprite gMaliciousMoonsaultRedBounceSpriteTemplate, ANIM_TARGET, 3
|
|
delay 7
|
|
createsprite gMaliciousMoonsaultRedImpactSpriteTemplate, ANIM_TARGET, 2, 0, 0, 1, 0
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -256, 21, 0, 4
|
|
call MaliciousMoonsaultExplosion
|
|
delay 6
|
|
call MaliciousMoonsaultExplosion
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 1, 0, 16, RGB(27, 0, 0) @ fade all to red
|
|
delay 6
|
|
call MaliciousMoonsaultExplosion
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 16
|
|
waitforvisualfinish
|
|
call ResetFromRedScreen
|
|
blendoff
|
|
end
|
|
MaliciousMoonsaultFireSpin:
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 44, 1296, 30, 13, 50, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 47, 1168, 25, 11, -42, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 48, 1248, 20, 16, -46, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 44, 1280, 25, 16, 46, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 49, 1344, 20, 8, 42, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 49, 1232, 30, 15, -50, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 47, 1168, 25, 11, -42, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 44, 1296, 30, 13, 50, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 44, 1280, 25, 16, 46, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 48, 1248, 20, 16, -46, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 49, 1232, 30, 15, -50, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 49, 1344, 20, 8, 42, ANIM_ATTACKER
|
|
delay 1
|
|
return
|
|
MaliciousMoonsaultExplosion:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gMaliciousMoonsaultExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, ANIM_TARGET, 1
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 10, 0, -2
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, -2, 0
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, 2, 0
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, -2, 2
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, 2, 2
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gMaliciousMoonsaultExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, ANIM_TARGET, 1
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 10, 0, -2
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, -2, 0
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, 2, 0
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, -2, 2
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, 2, 2
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gMaliciousMoonsaultExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 10, 0, -2
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, -2, 0
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, 2, 0
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, -2, 2
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, 2, 2
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gMaliciousMoonsaultExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, ANIM_TARGET, 1
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 10, 0, -2
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, -2, 0
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, 2, 0
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, -2, 2
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, 2, 2
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gMaliciousMoonsaultExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, ANIM_TARGET, 1
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 10, 0, -2
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, -2, 0
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, 2, 0
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, -2, 2
|
|
createsprite gMaliciousMoonsaultFireblastSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, 2, 2
|
|
return
|
|
|
|
|
|
gBattleAnimMove_OceanicOperetta::
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_CreateSpotlight, 2
|
|
createvisualtask AnimTask_HardwarePaletteFade, 2, 248, 3, 0, 10, 0
|
|
waitforvisualfinish
|
|
createsprite gOceanOperaSpotlightSpriteTemplate, ANIM_TARGET, 2, 0, -8, 80 @spotlight
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call OceanicOperettaBuffEffect
|
|
delay 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_WHITE
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call OceanicOperettaBuffEffect
|
|
delay 8
|
|
call OceanicOperettaBuffEffect
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_FOCUS_ENERGY
|
|
unloadspritepal ANIM_TAG_FOCUS_ENERGY
|
|
unloadspritegfx ANIM_TAG_SPOTLIGHT
|
|
unloadspritepal ANIM_TAG_SPOTLIGHT
|
|
createvisualtask AnimTask_HardwarePaletteFade, 2, 248, 3, 10, 0, 1
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RemoveSpotlight, 2
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 6, RGB(0, 13, 23)
|
|
invisible ANIM_ATTACKER
|
|
createsprite gOceanOperaBlueChargeSpriteTemplate, ANIM_ATTACKER, 2, 0 @charge
|
|
delay 2
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 80, 1
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 28, 384, 50, 8, 50, ANIM_ATTACKER
|
|
createsprite gOceanOperaBlueRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 32, 240, 40, 11, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 33, 416, 40, 4, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 31, 288, 45, 6, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gOceanOperaBlueRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 28, 448, 45, 11, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 50, 10, -50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 28, 384, 50, 8, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 32, 240, 40, 11, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gOceanOperaBlueRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
playsewithpan SE_M_GRASSWHISTLE, SOUND_PAN_ATTACKER
|
|
createsprite gOceanOperaBlueRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 33, 416, 40, 4, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 31, 288, 45, 6, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 28, 448, 45, 11, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 50, 10, -50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gOceanOperaBlueRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 28, 384, 50, 8, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 32, 240, 40, 11, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 33, 416, 40, 4, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 31, 288, 45, 6, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gOceanOperaBlueRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 28, 448, 45, 11, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 50, 10, -50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 28, 384, 50, 8, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 32, 240, 40, 11, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gOceanOperaBlueRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 33, 416, 40, 4, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 31, 288, 45, 6, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 28, 448, 45, 11, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 50, 10, -50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gOceanOperaBlueRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 28, 384, 50, 8, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 32, 240, 40, 11, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 33, 416, 40, 4, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 31, 288, 45, 6, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gOceanOperaBlueRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 28, 448, 45, 11, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 50, 10, -50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 28, 384, 50, 8, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 32, 240, 40, 11, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gOceanOperaBlueRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, 0, 0
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 33, 416, 40, 4, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 31, 288, 45, 6, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 28, 448, 45, 11, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gWhirlpoolSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 50, 10, -50, ANIM_ATTACKER
|
|
delay 26
|
|
visible ANIM_TARGET
|
|
loopsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET, 20, 5
|
|
createsprite gOceanOperaMovingOrbsSpriteTemplate, ANIM_ATTACKER, 50, 0, 0, 0, 0, 96, 0 @mist ball
|
|
delay 92
|
|
visible ANIM_ATTACKER
|
|
delay 0
|
|
loopsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET, 20, 1
|
|
createsprite gOceanOperaBlueOrbsSpriteTemplate, ANIM_ATTACKER, 50, 0, ANIM_TARGET, 0, 0, 0, 53
|
|
delay 5
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gOceanOperaExpandingRingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 0
|
|
delay 4
|
|
createsprite gOceanOperaExpandingRingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 0
|
|
delay 4
|
|
createsprite gOceanOperaExpandingRingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 0
|
|
delay 4
|
|
createsprite gOceanOperaExpandingRingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 0
|
|
delay 4
|
|
createsprite gOceanOperaExpandingRingSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 0
|
|
delay 16
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 8, 64
|
|
call OceanicOperettaExplosion
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 2, F_PAL_TARGET, 2, 0, 11, RGB(0, 13, 23)
|
|
createvisualtask AnimTask_CreateRaindrops, 2, 0, 3, 120
|
|
call OceanicOperettaExplosion
|
|
call OceanicOperettaExplosion
|
|
playsewithpan SE_M_RAIN_DANCE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_CreateRaindrops, 2, 0, 3, 120
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 2, F_PAL_TARGET, 2, 11, 0, RGB(0, 13, 23)
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 6, 0, RGB(0, 13, 23)
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitforvisualfinish
|
|
end
|
|
OceanicOperettaBuffEffect:
|
|
createsprite gOceanOperaBlueFlareSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 4
|
|
createsprite gOceanOperaBlueFlareSpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
delay 4
|
|
createsprite gOceanOperaBlueFlareSpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
delay 4
|
|
createsprite gOceanOperaBlueFlareSpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 4
|
|
createsprite gOceanOperaBlueFlareSpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
OceanicOperettaExplosion:
|
|
createsprite gOceanOperaSparkleSpriteTemplate, ANIM_ATTACKER, 51, -15, 0, ANIM_TARGET, 0, 32, 60
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gOceanOperaExplosionSpriteTemplate, ANIM_ATTACKER, 51, 0, 0, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gOceanOperaExplosionSpriteTemplate, ANIM_ATTACKER, 51, 24, -24, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gOceanOperaExplosionSpriteTemplate, ANIM_ATTACKER, 51, -16, 16, ANIM_TARGET, 1
|
|
createsprite gOceanOperaSparkleSpriteTemplate, ANIM_ATTACKER, 51, 12, -5, ANIM_TARGET, 0, 32, 60
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gOceanOperaExplosionSpriteTemplate, ANIM_ATTACKER, 51, -24, -12, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gOceanOperaExplosionSpriteTemplate, ANIM_ATTACKER, 51, 16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
return
|
|
|
|
|
|
gBattleAnimMove_SplinteredStormshards::
|
|
createvisualtask AnimTask_GetLycanrocForm, 2
|
|
jumpargeq 0 0 SplinteredStormshardsDayForme
|
|
jumpargeq 0 2 SplinteredStormshardsDuskForme
|
|
SplinteredStormshardsNightForme:
|
|
fadetobg BG_ROCK_FIELD_NIGHT
|
|
goto SplinteredStormshardsFinishFade
|
|
SplinteredStormshardsDayForme:
|
|
fadetobg BG_ROCK_FIELD_DAY
|
|
goto SplinteredStormshardsFinishFade
|
|
SplinteredStormshardsDuskForme:
|
|
fadetobg BG_ROCK_FIELD_AFTERNOON
|
|
SplinteredStormshardsFinishFade:
|
|
waitbgfadeout
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpargeq 7 ANIM_TARGET SplinteredStormshardsByOpponent
|
|
SplinteredStormshardsByPlayer:
|
|
loopsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET, 16, 12
|
|
call SplinteredStormshardsPlayer_Rising1
|
|
delay 2
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
createsprite gSplinteredShardsFlySpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
call SplinteredStormshardsPlayer_Rising1
|
|
call SplinteredStormshardsPlayer_Rising2
|
|
visible ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 96, 128, 96, 48, 48
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB(31, 31, 22)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
delay 2
|
|
call SplinteredStormshardsPlayer_Rising2
|
|
call SplinteredStormshardsPlayer_Rising1
|
|
delay 16
|
|
waitforvisualfinish
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4 @lunge forward
|
|
delay 2
|
|
invisible ANIM_ATTACKER
|
|
createsprite gGrowingSuperpowerTemplate, ANIM_TARGET, 3, 0 @superpower
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 4, 96, 1 @shake target up and down
|
|
createsprite gSplinteredShardsSplinterOpponentSteepSpriteTemplate, ANIM_ATTACKER, 2, -48, 24, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gSplinteredShardsSplinterOpponentShallowSpriteTemplate, ANIM_ATTACKER, 2, -48, 1, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 4
|
|
call SplinteredStormshardsExplosionOpponent
|
|
call SplinteredStormshardsExplosionOpponent
|
|
SplinteredStormshardsEnd:
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 4, 0, 16, RGB_WHITE
|
|
call SplinteredStormshardsBrownExplode
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 4, 16, 0, RGB_WHITE
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitforvisualfinish
|
|
restorebg
|
|
waitbgfadein
|
|
waitforvisualfinish
|
|
end
|
|
SplinteredStormshardsExplosionOpponent:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSplinteredShardsExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, ANIM_TARGET, 1
|
|
createsprite gSplinteredShardsSplinterOpponentSteepSpriteTemplate, ANIM_TARGET, 2, -48, 32, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSplinteredShardsExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, ANIM_TARGET, 1
|
|
createsprite gSplinteredShardsSplinterOpponentShallowSpriteTemplate, ANIM_TARGET, 2, -48, 0, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSplinteredShardsExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
createsprite gSplinteredShardsSplinterOpponentShallowSpriteTemplate, ANIM_TARGET, 2, -48, -8, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSplinteredShardsExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, ANIM_TARGET, 1
|
|
createsprite gSplinteredShardsSplinterOpponentSteepSpriteTemplate, ANIM_TARGET, 2, -48, 32, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSplinteredShardsExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, ANIM_TARGET, 1
|
|
createsprite gSplinteredShardsSplinterOpponentShallowSpriteTemplate, ANIM_TARGET, 2, -48, 0, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
return
|
|
SplinteredStormshardsByOpponent:
|
|
loopsewithpan SE_M_ROCK_THROW SOUND_PAN_TARGET 16 12
|
|
call SplinteredStormshardsOpponent_Rising1
|
|
delay 2
|
|
createsprite gSplinteredShardsFlySpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
call SplinteredStormshardsOpponent_Rising1
|
|
call SplinteredStormshardsOpponent_Rising2
|
|
visible ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 208, 64, 208, 0, 48
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB(31, 31, 22)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
delay 2
|
|
call SplinteredStormshardsOpponent_Rising2
|
|
call SplinteredStormshardsOpponent_Rising1
|
|
delay 16
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4 @lunge forward
|
|
delay 2
|
|
invisible ANIM_ATTACKER
|
|
createsprite gGrowingSuperpowerTemplate, ANIM_TARGET, 3, 0 @superpower
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 4, 96, 1 @shake target up and down
|
|
createsprite gSplinteredShardsSplinterPlayerShallowSpriteTemplate, ANIM_TARGET, 2, -48, 24, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gSplinteredShardsSplinterPlayerSteepSpriteTemplate, ANIM_TARGET, 2, -48, 48, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
delay 4
|
|
call SplinteredStormshardsExplosionOnPlayer
|
|
call SplinteredStormshardsExplosionOnPlayer
|
|
goto SplinteredStormshardsEnd
|
|
SplinteredStormshardsExplosionOnPlayer:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSplinteredShardsExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, ANIM_TARGET, 1
|
|
createsprite gSplinteredShardsSplinterPlayerShallowSpriteTemplate, ANIM_TARGET, 2, -48, 32, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSplinteredShardsExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, ANIM_TARGET, 1
|
|
createsprite gSplinteredShardsSplinterPlayerSteepSpriteTemplate, ANIM_TARGET, 2, -48, 53, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSplinteredShardsExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
createsprite gSplinteredShardsSplinterPlayerShallowSpriteTemplate, ANIM_TARGET, 2, -48, 28, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSplinteredShardsExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, ANIM_TARGET, 1
|
|
createsprite gSplinteredShardsSplinterPlayerShallowSpriteTemplate, ANIM_TARGET, 2, -48, 22, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSplinteredShardsExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, ANIM_TARGET, 1
|
|
createsprite gSplinteredShardsSplinterPlayerSteepSpriteTemplate, ANIM_TARGET, 2, -48, 45, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
playsewithpan SE_M_ROCK_THROW, SOUND_PAN_TARGET
|
|
delay 2
|
|
return
|
|
SplinteredStormshardsBrownExplode:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSplinteredShardsExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSplinteredShardsExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSplinteredShardsExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSplinteredShardsExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSplinteredShardsExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
return
|
|
SplinteredStormshardsPlayer_Rising1:
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 36, 128, 36, 48, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 16, 128, 16, 53, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 69, 128, 69, 58, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 96, 128, 96, 48, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 48, 128, 48, 60, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 85, 128, 85, 51, 48
|
|
delay 2
|
|
return
|
|
SplinteredStormshardsPlayer_Rising2:
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 41, 128, 41, 49, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 115, 128, 115, 50, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 74, 128, 74, 60, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 100, 128, 100, 51, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 44, 128, 44, 61, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 108, 128, 108, 48, 48
|
|
delay 2
|
|
return
|
|
SplinteredStormshardsOpponent_Rising1:
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 148, 64, 148, 0, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 128, 64, 128, 0, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 181, 64, 181, 0, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 208, 64, 208, 0, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 160, 64, 160, 0, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 197, 64, 197, 0, 48
|
|
delay 2
|
|
return
|
|
SplinteredStormshardsOpponent_Rising2:
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 153, 64, 153, 0, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 227, 64, 227, 0, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 186, 64, 186, 0, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 212, 64, 212, 0, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 156, 64, 156, 0, 48
|
|
delay 2
|
|
createsprite gSplinteredShardsRisingSpearSpriteTemplate, ANIM_ATTACKER, 50, 220, 64, 220, 0, 48
|
|
delay 2
|
|
return
|
|
|
|
|
|
gBattleAnimMove_LetsSnuggleForever::
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_RockMonBackAndForth, 5, ANIM_ATTACKER, 2, 0
|
|
createsprite gSnuggleForeverHeartSpriteTemplate, ANIM_ATTACKER, 3, 0, 20
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 1, 1, 1, 0
|
|
delay 7
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 0, 3, 3, 128
|
|
delay 8
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 1, 2, 0, 128
|
|
delay 7
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 1, 0
|
|
delay 8
|
|
playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER
|
|
delay 7
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 3, 0
|
|
delay 7
|
|
fadetobg BG_SNUGGLE_FOREVER
|
|
waitbgfadeout
|
|
invisible ANIM_ATTACKER
|
|
delay 1
|
|
setarg 7, 0 @;Clear arg 7 so task works properly in Link battles
|
|
createvisualtask AnimTask_SnatchOpposingMonMove, 2
|
|
delay 16
|
|
playsewithpan SE_M_FAINT_ATTACK, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
setarg 7, 0 @;Clear arg 7 so task works properly in Link battles
|
|
createvisualtask AnimTask_SnatchOpposingMonMove, 2
|
|
delay 16
|
|
playsewithpan SE_M_FAINT_ATTACK, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
setarg 7, 0 @;Clear arg 7 so task works properly in Link battles
|
|
createvisualtask AnimTask_SnatchOpposingMonMove, 2
|
|
delay 16
|
|
playsewithpan SE_M_FAINT_ATTACK, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 2, 50, 1
|
|
call LetsSnuggleForeverTears
|
|
delay 8
|
|
call LetsSnuggleForeverTears
|
|
delay 8
|
|
call LetsSnuggleForeverTears
|
|
delay 8
|
|
call LetsSnuggleForeverTears
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 0, 16, RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
createsprite gSnuggleForeverEyesSpriteTemplate, ANIM_ATTACKER, 13, 10, -14
|
|
createsprite gSnuggleForeverEyesSpriteTemplate, ANIM_ATTACKER, 13, -10, -14
|
|
delay 32
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 1, 0, 16, RGB(29, 28, 21)
|
|
createvisualtask AnimTask_GrowTarget, 5
|
|
delay 5
|
|
loopsewithpan SE_M_CRABHAMMER, SOUND_PAN_TARGET, 20, 10
|
|
createvisualtask AnimTask_TranslateMonElliptical, 2, 0, -18, 10, 10, 4
|
|
createvisualtask AnimTask_TranslateMonElliptical, 2, 1, 18, 10, 10, 4
|
|
call LetsSnuggleForeverStars_1
|
|
call LetsSnuggleForeverImpacts
|
|
call LetsSnuggleForeverStars_2
|
|
call LetsSnuggleForeverImpacts
|
|
call LetsSnuggleForeverStars_1
|
|
playsewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET
|
|
call LetsSnuggleForeverStars_2
|
|
call LetsSnuggleForeverImpacts
|
|
createvisualtask AnimTask_TranslateMonElliptical, 2, 0, -18, 6, 6, 4
|
|
createvisualtask AnimTask_TranslateMonElliptical, 2, 1, 18, 6, 6, 4
|
|
call LetsSnuggleForeverStars_1
|
|
delay 0
|
|
call LetsSnuggleForeverImpacts
|
|
call LetsSnuggleForeverStars_2
|
|
delay 0
|
|
call LetsSnuggleForeverImpacts
|
|
call LetsSnuggleForeverStars_1
|
|
delay 0
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ALL_BUT_DEF), 2, 0, 16, RGB_WHITE
|
|
playsewithpan SE_M_FLAMETHROWER, SOUND_PAN_TARGET
|
|
call LetsSnuggleForeverStars_2
|
|
delay 0
|
|
call LetsSnuggleForeverImpacts
|
|
invisible ANIM_TARGET
|
|
stopsound
|
|
waitforvisualfinish
|
|
call ResetFromWhiteScreen
|
|
end
|
|
LetsSnuggleForeverTears:
|
|
playsewithpan SE_M_TAIL_WHIP, SOUND_PAN_TARGET
|
|
create_tear_drop_sprite ANIM_TARGET, 2, relative_to=ANIM_TARGET, type=0
|
|
create_tear_drop_sprite ANIM_TARGET, 2, relative_to=ANIM_TARGET, type=1
|
|
delay 8
|
|
create_tear_drop_sprite ANIM_TARGET, 2, relative_to=ANIM_TARGET, type=2
|
|
create_tear_drop_sprite ANIM_TARGET, 2, relative_to=ANIM_TARGET, type=3
|
|
return
|
|
LetsSnuggleForeverImpacts:
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=0, y=-12, relative_to=ANIM_TARGET, animation=0
|
|
delay 8
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=-12, y=8, relative_to=ANIM_TARGET, animation=0
|
|
delay 8
|
|
create_basic_hitsplat_sprite ANIM_TARGET, 3, x=12, y=0, relative_to=ANIM_TARGET, animation=0
|
|
delay 8
|
|
return
|
|
LetsSnuggleForeverStars_1:
|
|
createsprite gSnuggleForeverStarSpriteTemplate, ANIM_TARGET, 3, -16, -8, 160, -32
|
|
createsprite gSnuggleForeverStarSpriteTemplate, ANIM_TARGET, 3, -16, -8, -256, -40
|
|
createsprite gSnuggleForeverStarSpriteTemplate, ANIM_TARGET, 3, -16, -8, 128, -16
|
|
createsprite gSnuggleForeverStarSpriteTemplate, ANIM_TARGET, 3, -16, -8, 416, -38
|
|
createsprite gSnuggleForeverStarSpriteTemplate, ANIM_TARGET, 3, -16, -8, -128, -22
|
|
createsprite gSnuggleForeverStarSpriteTemplate, ANIM_TARGET, 3, -16, -8, -384, -31
|
|
return
|
|
LetsSnuggleForeverStars_2:
|
|
createsprite gSnuggleForeverStarSpriteTemplate, ANIM_TARGET, 3, 16, 8, 160, -32
|
|
createsprite gSnuggleForeverStarSpriteTemplate, ANIM_TARGET, 3, 16, 8, -256, -40
|
|
createsprite gSnuggleForeverStarSpriteTemplate, ANIM_TARGET, 3, 16, 8, 128, -16
|
|
createsprite gSnuggleForeverStarSpriteTemplate, ANIM_TARGET, 3, 16, 8, 416, -38
|
|
createsprite gSnuggleForeverStarSpriteTemplate, ANIM_TARGET, 3, 16, 8, -128, -22
|
|
createsprite gSnuggleForeverStarSpriteTemplate, ANIM_TARGET, 3, 16, 8, -384, -31
|
|
return
|
|
|
|
|
|
gBattleAnimMove_ClangorousSoulblaze::
|
|
fadetobg BG_CLANGOROUS_SOULBLAZE
|
|
waitbgfadein
|
|
createvisualtask AnimTask_RockMonBackAndForth, 5, ANIM_ATTACKER, 2, 0
|
|
call ClangorousSoulblazeBuffEffect
|
|
call ClangorousSoulblazeBuffEffect
|
|
call ClangorousSoulblazeBuffEffect
|
|
waitforvisualfinish
|
|
createsprite gClangorousSoulRedFistTemplate, ANIM_ATTACKER, 2, -16, 0, 0, 0, 10, ANIM_ATTACKER, ANIM_RIGHT_FIST, 1
|
|
createsprite gClangorousSoulRedFistTemplate, ANIM_ATTACKER, 2, 16, 0, 0, 0, 10, ANIM_ATTACKER, ANIM_LEFT_FIST, 1
|
|
playsewithpan SE_M_VITAL_THROW2, SOUND_PAN_TARGET
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_HORSESHOE_SIDE_FIST
|
|
unloadspritepal ANIM_TAG_HORSESHOE_SIDE_FIST
|
|
unloadspritegfx ANIM_TAG_SPARKLE_2 @stars
|
|
unloadspritepal ANIM_TAG_SPARKLE_2 @stars
|
|
waitforvisualfinish
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
createsprite gClangorousSoulRedRingTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
waitforvisualfinish
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
createsprite gClangoorousSoulblazeWhiteFlySpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
delay 2
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, -32, 1, -1
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -768, 10, 0, 42
|
|
createsprite gSlideMonToOffsetPartnerSpriteTemplate, ANIM_ATTACKER, 2, ANIM_DEF_PARTNER, -768, 10, 0, 42
|
|
delay 32
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 0, 32, 1, -1
|
|
delay 12
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 1, 0, 4, RGB_BLACK
|
|
visible ANIM_ATTACKER
|
|
monbg ANIM_ATTACKER
|
|
loopsewithpan SE_M_PSYBEAM2, SOUND_PAN_ATTACKER, 14, 10
|
|
createsprite gClangoorousSoulblazePurpleChargeSpriteTemplate, ANIM_ATTACKER, 2, 0 @charge
|
|
call ClangorousSoulblazeEnergySwirl
|
|
call ClangorousSoulblazeEnergySwirl
|
|
call ClangorousSoulblazeEnergySwirl
|
|
call ClangorousSoulblazeEnergySwirl
|
|
call ClangorousSoulblazeEnergySwirl
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_WATER_ORB @whirlpool
|
|
unloadspritepal ANIM_TAG_WATER_ORB @whirlpool
|
|
unloadspritegfx ANIM_TAG_CIRCLE_OF_LIGHT @charge
|
|
unloadspritepal ANIM_TAG_CIRCLE_OF_LIGHT @charge
|
|
unloadspritegfx ANIM_TAG_ROUND_SHADOW @fly
|
|
unloadspritepal ANIM_TAG_ROUND_SHADOW @fly
|
|
unloadspritegfx ANIM_TAG_AIR_WAVE_2 @white
|
|
unloadspritepal ANIM_TAG_AIR_WAVE_2 @white
|
|
unloadspritegfx ANIM_TAG_FOCUS_ENERGY @focus energy
|
|
unloadspritepal ANIM_TAG_FOCUS_ENERGY @focus energy
|
|
clearmonbg ANIM_ATTACKER
|
|
invisible ANIM_ATTACKER
|
|
invisible ANIM_ATK_PARTNER
|
|
delay 0
|
|
monbg ANIM_TARGET
|
|
playsewithpan SE_M_GIGA_DRAIN, SOUND_PAN_ATTACKER
|
|
createsprite gClangoorousSoulblazePulseSpriteTemplate, ANIM_ATTACKER, 2, 16, 0, 0, 0, 29, 0
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 0, 0 @music note
|
|
delay 5
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 2, 60
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_DEF_PARTNER, 2, 60
|
|
call ClangorousSoulblazePulse_1
|
|
delay 5
|
|
call ClangorousSoulblazePulse_2
|
|
delay 5
|
|
call ClangorousSoulblazePulse_3
|
|
delay 5
|
|
call ClangorousSoulblazePulse_4
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpargeq 7 ANIM_TARGET ClangorousSoulblazeOnOpponent
|
|
ClangorousSoulblazeOnPlayer:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, -16, ANIM_ATTACKER, 1
|
|
delay 5
|
|
call ClangorousSoulblazePulse_5
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, ANIM_ATTACKER, 1
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 32, -32, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_1
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 32, 0, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_2
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 48, -32, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_3
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 48, -16, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_4
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 53, 0, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_5
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 64, 16, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_1
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 64, 0, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_2
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 69, -16, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_3
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 80, 16, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_4
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 80, -32, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_5
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 96, -16, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_1
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 96, -32, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_2
|
|
delay 5
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 4, 0, 16, RGB_WHITE
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 101, -16, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_3
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 101, -32, ANIM_ATTACKER, 1
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, ANIM_TARGET, 1
|
|
call ClangorousSoulblazePulse_4
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 24, -24, ANIM_TARGET, 1
|
|
call ClangorousSoulblazePulse_5
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -16, 16, ANIM_TARGET, 1
|
|
call ClangorousSoulblazePulse_1
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, -24, -12, ANIM_TARGET, 1
|
|
call ClangorousSoulblazePulse_2
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_ATTACKER, 3, 16, 16, ANIM_TARGET, 1
|
|
goto FINISH_SOULBLAZE
|
|
ClangorousSoulblazeOnOpponent:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 21, ANIM_ATTACKER, 1
|
|
delay 5
|
|
call ClangorousSoulblazePulse_5
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 0, ANIM_ATTACKER, 1
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 32, 37, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_1
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 32, 5, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_2
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 48, 37, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_3
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 48, 21, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_4
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 53, 0, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_5
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 64, 10, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_1
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 64, 0, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_2
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 69, 16, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_3
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 80, 48, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_4
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 80, 37, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_5
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 96, 64, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_1
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 96, 69, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_2
|
|
delay 5
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 4, 0, 16, RGB_WHITE
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 101, 53, ANIM_ATTACKER, 1
|
|
call ClangorousSoulblazePulse_3
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 101, 64, ANIM_ATTACKER, 1
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, ANIM_TARGET, 1
|
|
call ClangorousSoulblazePulse_4
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, ANIM_TARGET, 1
|
|
call ClangorousSoulblazePulse_5
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
call ClangorousSoulblazePulse_1
|
|
delay 5
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, ANIM_TARGET, 1
|
|
call ClangorousSoulblazePulse_2
|
|
delay 5
|
|
createsprite gExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, ANIM_TARGET, 1
|
|
FINISH_SOULBLAZE:
|
|
waitforvisualfinish
|
|
clearmonbg ANIM_TARGET
|
|
delay 5
|
|
call ResetFromWhiteScreen
|
|
blendoff
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 16
|
|
createsprite gSlideMonToOriginalPosPartnerSpriteTemplate, ANIM_ATTACKER, 2, ANIM_DEF_PARTNER, 0, 16
|
|
waitforvisualfinish
|
|
end
|
|
ClangorousSoulblazeEnergySwirl:
|
|
createsprite gClangoorousSoulblazePurpleSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 28, 384, 50, 8, 50, ANIM_ATTACKER
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 2
|
|
createsprite gClangoorousSoulblazePurpleSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 32, 240, 40, 11, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
createsprite gClangoorousSoulblazePurpleSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 33, 416, 40, 4, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gClangoorousSoulblazePurpleSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 31, 288, 45, 6, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
createsprite gClangoorousSoulblazePurpleSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 28, 448, 45, 11, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gClangoorousSoulblazePurpleSwirlSpriteTemplate, ANIM_TARGET, 2, 0, 33, 464, 50, 10, -50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
return
|
|
ClangorousSoulblazeBuffEffect:
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
createsprite gClangorousSoulBlueBuffTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
delay 4
|
|
createsprite gClangorousSoulPurpleBuffTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 2, -15, 0, 0, 0, 32, 60
|
|
delay 4
|
|
createsprite gClangorousSoulWhiteBuffTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 4
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 2, 12, -5, 0, 0, 32, 60
|
|
return
|
|
ClangorousSoulblazePulse_1:
|
|
playsewithpan SE_M_UPROAR, SOUND_PAN_ATTACKER
|
|
createsprite gClangoorousSoulblazePulseSpriteTemplate, ANIM_ATTACKER, 2, 16, 0, 0, 0, 29, 0
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 1, 1, 1, 0
|
|
return
|
|
ClangorousSoulblazePulse_2:
|
|
playsewithpan SE_M_UPROAR, SOUND_PAN_ATTACKER
|
|
createsprite gClangoorousSoulblazePulseSpriteTemplate, ANIM_ATTACKER, 2, 16, 0, 0, 0, 29, 0
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 0, 3, 3, 128
|
|
return
|
|
ClangorousSoulblazePulse_3:
|
|
playsewithpan SE_M_UPROAR, SOUND_PAN_ATTACKER
|
|
createsprite gClangoorousSoulblazePulseSpriteTemplate, ANIM_ATTACKER, 2, 16, 0, 0, 0, 29, 0
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 1, 2, 0, 128
|
|
return
|
|
ClangorousSoulblazePulse_4:
|
|
playsewithpan SE_M_UPROAR, SOUND_PAN_ATTACKER
|
|
createsprite gClangoorousSoulblazePulseSpriteTemplate, ANIM_ATTACKER, 2, 16, 0, 0, 0, 29, 0
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 0, 1, 1, 0
|
|
return
|
|
ClangorousSoulblazePulse_5:
|
|
playsewithpan SE_M_UPROAR, SOUND_PAN_ATTACKER
|
|
createsprite gClangoorousSoulblazePulseSpriteTemplate, ANIM_ATTACKER, 2, 16, 0, 0, 0, 29, 0
|
|
createsprite gSlowFlyingMusicNotesSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 3, 0
|
|
return
|
|
|
|
|
|
gBattleAnimMove_GuardianOfAlola::
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
createsprite gThinRingExpandingSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 0, 0
|
|
playsewithpan SE_SHINY, SOUND_PAN_ATTACKER
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_THIN_RING
|
|
unloadspritepal ANIM_TAG_THIN_RING
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, -256, 15, 0, 4
|
|
call GuardianOfAlolaRocksPlayer
|
|
delay 10
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 16
|
|
call GuardianOfAlolaRocksPlayer
|
|
waitforvisualfinish
|
|
delay 10
|
|
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, -256, 15, 0, 4
|
|
call GuardianOfAlolaRocksPlayer
|
|
delay 10
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 16
|
|
call GuardianOfAlolaRocksPlayer
|
|
waitforvisualfinish
|
|
delay 10
|
|
delay 16
|
|
call GuardianOfAlolaRocksPlayer
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_ATTACKER, 2, 12, 12, RGB(31, 27, 9) @;Yellow
|
|
createvisualtask AnimTask_NightShadeClone, 5, 117
|
|
delay 16
|
|
call GuardianOfAlolaRocksPlayer
|
|
delay 16
|
|
call GuardianOfAlolaRocksPlayer
|
|
delay 16
|
|
call GuardianOfAlolaRocksPlayer
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 3, 0, 11, RGB_BLACK
|
|
delay 1
|
|
createvisualtask AnimTask_BlendParticle, 2, ANIM_TAG_HORSESHOE_SIDE_FIST, 0, 12, 12, RGB(31, 27, 9)
|
|
fadetobg BG_FISSURE
|
|
waitbgfadeout
|
|
call GuardianOfAlolaRocksPlayer
|
|
createvisualtask AnimTask_PositionFissureBgOnBattler, 5, ANIM_TARGET, 5, -1
|
|
waitbgfadein
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
createsprite gGuardianOfAlolaFistSpriteTemplate, ANIM_TARGET, 3, 0, -48, 31
|
|
delay 36
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 0, 11, 0, RGB_BLACK
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_TARGET
|
|
createvisualtask AnimTask_HorizontalShake, 3, ANIM_TARGET, 10, 37
|
|
loopsewithpan SE_M_ROCK_THROW SOUND_PAN_TARGET 16 9
|
|
call GuardianOfAlolaRocksTarget
|
|
call GuardianOfAlolaRockGeyser
|
|
call GuardianOfAlolaRockGeyser
|
|
call GuardianOfAlolaRockGeyser
|
|
call GuardianOfAlolaRocksTarget
|
|
call GuardianOfAlolaRockGeyser
|
|
call GuardianOfAlolaRockGeyser
|
|
call GuardianOfAlolaRockGeyser
|
|
call GuardianOfAlolaRocksTarget
|
|
call GuardianOfAlolaRockGeyser
|
|
call GuardianOfAlolaRockGeyser
|
|
call GuardianOfAlolaRockGeyser
|
|
call GuardianOfAlolaRocksTarget
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 2, (F_PAL_BG | F_PAL_BATTLERS_2), 3, 0, 16, RGB_WHITE
|
|
call GuardianOfAlolaRockGeyser
|
|
call GuardianOfAlolaRockGeyser
|
|
call GuardianOfAlolaRockGeyser
|
|
call GuardianOfAlolaRocksTarget
|
|
waitforvisualfinish
|
|
call ResetFromWhiteScreen
|
|
end
|
|
GuardianOfAlolaRocksPlayer:
|
|
playsewithpan SE_M_DIG, SOUND_PAN_ATTACKER
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 12, 4, -16, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 0, 16, 4, -10, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 1, 14, 4, -18, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER, 1, 12, 4, -16, 18
|
|
return
|
|
GuardianOfAlolaRocksTarget:
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 12, 4, -16, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 16, 4, -10, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 1, 14, 4, -18, 18
|
|
createsprite gDirtPlumeSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 1, 12, 4, -16, 18
|
|
return
|
|
GuardianOfAlolaRockGeyser:
|
|
createsprite gGuardianOfAlolaDirtGeyserSpriteTemplate, ANIM_TARGET, 2, 0, -4, 16
|
|
delay 0
|
|
createsprite gGuardianOfAlolaDirtGeyserSpriteTemplate, ANIM_TARGET, 2, 0, 4109, 16
|
|
delay 0
|
|
createsprite gGuardianOfAlolaDirtGeyserSpriteTemplate, ANIM_TARGET, 2, 0, 4, 16
|
|
delay 0
|
|
createsprite gGuardianOfAlolaDirtGeyserSpriteTemplate, ANIM_TARGET, 2, 0, -16, 16
|
|
delay 0
|
|
return
|
|
|
|
|
|
gBattleAnimMove_SearingSunrazeSmash::
|
|
invisible ANIM_TARGET
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 14, RGB(27, 0, 0)
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call SearingSunrazeSmashFlare
|
|
delay 8
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_WHITE
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call SearingSunrazeSmashFlare
|
|
delay 8
|
|
call SearingSunrazeSmashFlare
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_FOCUS_ENERGY @focus energy
|
|
unloadspritepal ANIM_TAG_FOCUS_ENERGY @focus energy
|
|
unloadspritegfx ANIM_TAG_SPARKLE_2 @sparkles
|
|
unloadspritepal ANIM_TAG_SPARKLE_2 @sparkles
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_ATTACKER
|
|
createsprite gSearingSunrazeSmashGrowWormholeSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, ANIM_TARGET, 0
|
|
delay 16
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 53, -19, 1, 2
|
|
delay 2
|
|
visible ANIM_TARGET
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 80, -1024, ANIM_TARGET, 0 @ spin up target
|
|
call SearingSunrazeSmashRingsInward
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 48 @ target back to origin (slowly)
|
|
call SearingSunrazeSmashRingsInward
|
|
delay 13
|
|
invisible ANIM_TARGET
|
|
createsprite gSearingSunrazeSmashBlueRingInwardsSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
createsprite gSearingSunrazeSmashWhiteRingInwardsSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 6
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4 @lunge forward
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
invisible ANIM_ATTACKER
|
|
createsprite gGrowingSuperpowerTemplate, ANIM_TARGET, 3, 0 @superpower
|
|
createsprite gSearingSunrazeSmashBlueRingInwardsSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_ATTACKER
|
|
fadetobg BG_COSMIC
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -2304, 0, 1, -1
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 1, 0, ANIM_TARGET, 1 @ fix tgt rotation
|
|
invisible ANIM_TARGET
|
|
waitbgfadein
|
|
visible ANIM_ATTACKER
|
|
visible ANIM_TARGET
|
|
createsprite gSearingSunrazeSmashInfernoOrbSpriteTemplate, ANIM_ATTACKER, 2, ANIM_ATTACKER
|
|
loopsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER, 19, 8
|
|
call SearingSunrazeSmashCharge
|
|
call SearingSunrazeSmashCharge
|
|
call SearingSunrazeSmashCharge
|
|
call SearingSunrazeSmashCharge
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_WATER_ORB @blue
|
|
unloadspritepal ANIM_TAG_WATER_ORB @blue
|
|
unloadspritegfx ANIM_TAG_THIN_RING @ring
|
|
unloadspritepal ANIM_TAG_THIN_RING @ring
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
|
|
createsprite gSearingSunrazeSmashRedFlySpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ATTACKER), 3, 0, 15, RGB_BLACK
|
|
waitforvisualfinish
|
|
playsewithpan SE_ORB, SOUND_PAN_ATTACKER
|
|
unloadspritegfx ANIM_TAG_ROUND_SHADOW @fly
|
|
unloadspritepal ANIM_TAG_ROUND_SHADOW @fly
|
|
unloadspritegfx ANIM_TAG_SHADOW_BALL @shadow ball
|
|
unloadspritepal ANIM_TAG_SHADOW_BALL @shadow ball
|
|
invisible ANIM_ATTACKER
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
call SunsteelStrikeBeam
|
|
stopsound
|
|
playsewithpan SE_M_MEGA_KICK2, SOUND_PAN_TARGET
|
|
createsprite gSunsteelStrikeSuperpowerTemplate, ANIM_TARGET, 2, 20
|
|
SearingSunrazeSmashImpact:
|
|
delay 8
|
|
delay 1
|
|
unloadspritegfx ANIM_TAG_GOLD_RING @beam
|
|
unloadspritepal ANIM_TAG_GOLD_RING @beam
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 4, 60
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
createsprite gSearingSunrazeSmashWhiteCutSpriteTemplate, ANIM_TARGET, 2, 32, -32, 0
|
|
delay 2
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
createsprite gSearingSunrazeSmashWhiteCutSpriteTemplate, ANIM_TARGET, 2, 32, -32, 1
|
|
delay 2
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
createsprite gSearingSunrazeSmashWhiteCutSpriteTemplate, ANIM_TARGET, 2, 28, -32, 0
|
|
delay 2
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
createsprite gSearingSunrazeSmashWhiteCutSpriteTemplate, ANIM_TARGET, 2, 28, -32, 1
|
|
delay 2
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
createsprite gSearingSunrazeSmashWhiteCutSpriteTemplate, ANIM_TARGET, 2, 44, -32, 0
|
|
delay 2
|
|
playsewithpan SE_M_CUT, SOUND_PAN_TARGET
|
|
createsprite gSearingSunrazeSmashWhiteCutSpriteTemplate, ANIM_TARGET, 2, 44, -32, 1
|
|
delay 2
|
|
delay 0
|
|
unloadspritegfx ANIM_TAG_METEOR @superpower
|
|
unloadspritepal ANIM_TAG_METEOR @superpower
|
|
createsprite gSearingSunrazeSmashCrossImpactSpriteTemplate, ANIM_TARGET, 2, 0, 0, 1, 36
|
|
playsewithpan SE_M_LEER, SOUND_PAN_TARGET
|
|
visible ANIM_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ATTACKER), 3, 15, 0, RGB_BLACK
|
|
visible ANIM_ATTACKER
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 16, RGB_BLACK
|
|
createsprite gSearingSunrazeSmashShockwaveSpriteTemplate, ANIM_TARGET, 2 @ charge out and in
|
|
delay 28
|
|
invisible ANIM_TARGET
|
|
unloadspritegfx ANIM_TAG_CUT @cut
|
|
unloadspritepal ANIM_TAG_CUT @cut
|
|
unloadspritegfx ANIM_TAG_CROSS_IMPACT @x
|
|
unloadspritepal ANIM_TAG_CROSS_IMPACT @x
|
|
call SearingSunrazeSmashInferno
|
|
call SearingSunrazeSmashInferno
|
|
call SearingSunrazeSmashInferno
|
|
call SearingSunrazeSmashInferno
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 4, 0, 16, RGB(27, 0, 0) @full red
|
|
call SearingSunrazeSmashInferno
|
|
call SearingSunrazeSmashInferno
|
|
call SearingSunrazeSmashInferno
|
|
waitforvisualfinish
|
|
delay 16
|
|
call ResetFromRedScreen
|
|
end
|
|
SearingSunrazeSmashFlare:
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 2, -15, 0, 0, 0, 32, 60
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
delay 4
|
|
createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 2, 12, -5, 0, 0, 32, 60
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 4
|
|
createsprite gEndureEnergySpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
|
|
SearingSunrazeSmashRingsInward:
|
|
createsprite gSearingSunrazeSmashBlueRingInwardsSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
createsprite gSearingSunrazeSmashWhiteRingInwardsSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
createsprite gSearingSunrazeSmashBlueRingInwardsSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
return
|
|
SearingSunrazeSmashInferno:
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_ATTACKER
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 10, 0, -2
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, -2, 0
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, 2, 0
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, -2, 2
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, 2, 2
|
|
delay 3
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 10, 0, -2
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, -2, 0
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, 2, 0
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, -2, 2
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, 2, 2
|
|
delay 3
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 10, 0, -2
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, -2, 0
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, 2, 0
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, -2, 2
|
|
createsprite gFireBlastCrossSpriteTemplate, ANIM_TARGET, 2, 0, 0, 15, 2, 2
|
|
delay 3
|
|
return
|
|
SearingSunrazeSmashCharge:
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 44, 1296, 30, 13, 50, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 47, 1168, 25, 11, -42, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 48, 1248, 20, 16, -46, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 44, 1280, 25, 16, 46, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 49, 1344, 20, 8, 42, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 49, 1232, 30, 15, -50, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 47, 1168, 25, 11, -42, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 44, 1296, 30, 13, 50, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 44, 1280, 25, 16, 46, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 48, 1248, 20, 16, -46, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 49, 1232, 30, 15, -50, ANIM_ATTACKER
|
|
delay 1
|
|
createsprite gFireSpinSpriteTemplate, ANIM_TARGET, 2, 0, 49, 1344, 20, 8, 42, ANIM_ATTACKER
|
|
delay 1
|
|
return
|
|
ResetFromRedScreen:
|
|
createvisualtask AnimTask_AllBattlersInvisible, 10
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BATTLERS_2, 2, 0, 0, RGB(27, 0, 0) @Everything from red
|
|
restorebg
|
|
waitbgfadeout
|
|
setarg 7, -1
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitbgfadein
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 0, RGB(13, 31, 12)
|
|
waitforvisualfinish
|
|
return
|
|
|
|
|
|
gBattleAnimMove_MenacingMoonrazeMaelstrom::
|
|
invisible ANIM_TARGET
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 0, 0, 14, RGB(0, 6, 16)
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call MenacingMoonrazeMaelstromFlare
|
|
delay 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB_BLACK
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call MenacingMoonrazeMaelstromFlare
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
delay 8
|
|
call MenacingMoonrazeMaelstromFlare
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_SPARKLE_2 @sparkles
|
|
unloadspritepal ANIM_TAG_SPARKLE_2 @sparkles
|
|
playsewithpan SE_M_NIGHTMARE, SOUND_PAN_ATTACKER
|
|
createsprite gMoonrazeMaelstromWormholeSpriteTemplate, ANIM_ATTACKER, 2, 0, 0, ANIM_TARGET, 0
|
|
delay 16
|
|
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 53, -19, 1, 2 @ target down and left (instantaneously (last arg))
|
|
delay 2
|
|
visible ANIM_TARGET
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 80, -1024, ANIM_TARGET, 0 @ spin up target
|
|
call MenacingMoonrazeMaelstromRingsInward
|
|
createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 48 @ target back to origin (slowly)
|
|
call MenacingMoonrazeMaelstromRingsInward
|
|
delay 13
|
|
invisible ANIM_TARGET
|
|
createsprite gMoonrazeMaelstromBlueRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
createsprite gMoonrazeMaelstromWhiteRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 6
|
|
createsprite gHorizontalLungeSpriteTemplate, ANIM_ATTACKER, 2, 4, 4 @lunge forward
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
delay 2
|
|
invisible ANIM_ATTACKER
|
|
createsprite gMoonrazeMaelstromSuperpowerSpriteTemplate, ANIM_TARGET, 3, 0 @superpower
|
|
createsprite gMoonrazeMaelstromBlueRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
playsewithpan SE_M_BRICK_BREAK, SOUND_PAN_ATTACKER
|
|
fadetobg BG_COSMIC
|
|
waitbgfadeout
|
|
createvisualtask AnimTask_IsTargetPlayerSide, 2
|
|
jumpargeq 7 ANIM_TARGET MenacingMoonrazeMaelstromOnPlayer
|
|
MenacingMoonrazeMaelstromOnOpponent:
|
|
createvisualtask AnimTask_StartSlidingBg, 5, -768, 512, 1, -1
|
|
goto MenacingMoonrazeMaelstromFinish
|
|
MenacingMoonrazeMaelstromOnPlayer:
|
|
createvisualtask AnimTask_StartSlidingBg, 5, 512, -768, 1, -1
|
|
MenacingMoonrazeMaelstromFinish:
|
|
createvisualtask AnimTask_RotateMonSpriteToSide, 2, 1, 0, ANIM_TARGET, 1 @ fix tgt rotation
|
|
invisible ANIM_TARGET
|
|
waitbgfadein
|
|
visible ANIM_ATTACKER
|
|
delay 2
|
|
visible ANIM_TARGET
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_THIN_RING @ring
|
|
unloadspritepal ANIM_TAG_THIN_RING @ring
|
|
unloadspritegfx ANIM_TAG_AIR_WAVE_2 @white/grey
|
|
unloadspritepal ANIM_TAG_AIR_WAVE_2 @white/grey
|
|
unloadspritegfx ANIM_TAG_METEOR @superpower
|
|
unloadspritepal ANIM_TAG_METEOR @superpower
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
call MenacingMoonrazeMaelstromChargeUp
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=12, color=RGB_BLACK
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call MenacingMoonrazeMaelstromChargeUp
|
|
call MenacingMoonrazeMaelstromChargeUp
|
|
createsoundtask SoundTask_LoopSEAdjustPanning, 240, -64, SOUND_PAN_TARGET, 1, 15, 0, 5
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 60, 1
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 2, F_PAL_TARGET, 4, 0, 12, RGB_BLACK
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
call MenacingMoonrazeMaelstromBeam
|
|
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
|
|
createsprite gMoonrazeMaelstromShockwaveSpriteTemplate, ANIM_TARGET, 2
|
|
call MenacingMoonrazeMaelstromBeam
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_CIRCLE_OF_LIGHT @shock wave
|
|
unloadspritepal ANIM_TAG_CIRCLE_OF_LIGHT @shock wave
|
|
unloadspritegfx ANIM_TAG_ORBS @hyper beam
|
|
unloadspritepal ANIM_TAG_ORBS @hyper beam
|
|
unloadspritegfx ANIM_TAG_HANDS_AND_FEET @black
|
|
unloadspritepal ANIM_TAG_HANDS_AND_FEET @black
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 76, 1
|
|
call MenacingMoonrazeMaelstromExplosion
|
|
call MenacingMoonrazeMaelstromExplosion
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 2, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 0, 16, RGB_WHITE
|
|
call MenacingMoonrazeMaelstromExplosion
|
|
waitforvisualfinish
|
|
call ResetFromWhiteScreen
|
|
end
|
|
MenacingMoonrazeMaelstromExplosion:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gMoonrazeMaelstromExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gMoonrazeMaelstromExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gMoonrazeMaelstromExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gMoonrazeMaelstromExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gMoonrazeMaelstromExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
return
|
|
MenacingMoonrazeMaelstromFlare:
|
|
createsprite gMoonrazeMaelstromBlackSparklesSpriteTemplate, ANIM_ATTACKER, 2, -15, 0, 0, 0, 32, 60
|
|
createsprite gMoonrazeMaelstromBlueBuffSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 4
|
|
createsprite gMoonrazeMaelstromBlueBuffSpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
delay 4
|
|
createsprite gMoonrazeMaelstromBlackSparklesSpriteTemplate, ANIM_ATTACKER, 2, 12, -5, 0, 0, 32, 60
|
|
createsprite gMoonrazeMaelstromBlackBuffSpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
delay 4
|
|
createsprite gMoonrazeMaelstromBlackBuffSpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 4
|
|
createsprite gMoonrazeMaelstromBlackBuffSpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
MenacingMoonrazeMaelstromRingsInward:
|
|
createsprite gMoonrazeMaelstromBlueRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
createsprite gMoonrazeMaelstromWhiteRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
createsprite gMoonrazeMaelstromBlueRingSpriteTemplate, ANIM_ATTACKER, 40, 0, 0, ANIM_TARGET, 0
|
|
delay 8
|
|
return
|
|
MenacingMoonrazeMaelstromChargeUp:
|
|
createsprite gMoonrazeMaelstromPurpleBuffSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
createsprite gMoonrazeMaelstromBlackOrbsSpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 528, 30, 13, 50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gMoonrazeMaelstromBlackOrbsSpriteTemplate, ANIM_ATTACKER, 2, 0, 32, 480, 20, 16, -46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gMoonrazeMaelstromPurpleBuffSpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
createsprite gMoonrazeMaelstromBlackOrbsSpriteTemplate, ANIM_ATTACKER, 2, 0, 33, 576, 20, 8, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gMoonrazeMaelstromBlackOrbsSpriteTemplate, ANIM_ATTACKER, 2, 0, 31, 400, 25, 11, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gMoonrazeMaelstromBlackOrbsSpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 512, 25, 16, 46, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gMoonrazeMaelstromBlackOrbsSpriteTemplate, ANIM_ATTACKER, 2, 0, 33, 464, 30, 15, -50, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gMoonrazeMaelstromPurpleBuffSpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
createsprite gMoonrazeMaelstromBlackOrbsSpriteTemplate, ANIM_ATTACKER, 2, 0, 33, 576, 20, 8, 42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gMoonrazeMaelstromBlackOrbsSpriteTemplate, ANIM_ATTACKER, 2, 0, 31, 400, 25, 11, -42, ANIM_ATTACKER
|
|
delay 2
|
|
createsprite gMoonrazeMaelstromPurpleBuffSpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
MenacingMoonrazeMaelstromBeam:
|
|
createsprite gMoonrazeMaelstromBeamSpriteTemplate, ANIM_TARGET, 2
|
|
createsprite gMoonrazeMaelstromBeamSpriteTemplate, ANIM_TARGET, 2
|
|
delay 1
|
|
return
|
|
|
|
|
|
gBattleAnimMove_LightThatBurnsTheSky::
|
|
fadetobg BG_ZMOVE_MOUNTAIN
|
|
waitbgfadeout
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call EndureEffect
|
|
delay 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB(31, 31, 22)
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call EndureEffect
|
|
delay 8
|
|
call EndureEffect
|
|
delay 8
|
|
unloadspritegfx ANIM_TAG_FOCUS_ENERGY
|
|
unloadspritepal ANIM_TAG_FOCUS_ENERGY
|
|
monbg ANIM_ATTACKER
|
|
setalpha 12, 8
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ADJACENT), 2, 0, 15, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_ElectricChargingParticles, 2, ANIM_ATTACKER, 60, 2, 12 @ charge particles to attacker
|
|
delay 30
|
|
loopsewithpan SE_M_CHARGE, SOUND_PAN_ATTACKER, 14, 10
|
|
createsprite gSuperpowerOrbSpriteTemplate, ANIM_TARGET, 3, 0
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
call LightThatBurnsTheSkyGreenSparks
|
|
delay 14
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 2, 0, 4, RGB_BLACK
|
|
clearmonbg ANIM_ATTACKER
|
|
blendoff
|
|
playsewithpan SE_M_SWAGGER, SOUND_PAN_ATTACKER
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -32, -16, 37, 44, 32, 8, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -32, -16, 37, 44, 96, 8, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -32, -16, 37, 44, 160, 8, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -32, -16, 37, 44, 224, 8, 2, 3
|
|
delay 1
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -48, -28, 37, 44, 32, 8, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -48, -28, 37, 44, 96, 8, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -48, -28, 37, 44, 160, 8, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -48, -28, 37, 44, 224, 8, 2, 3
|
|
delay 1
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -64, -40, 37, 44, 32, 8, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -64, -40, 37, 44, 96, 8, 1, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -64, -40, 37, 44, 160, 8, 0, 3
|
|
createsprite gSparkElectricityFlashingSpriteTemplate, ANIM_ATTACKER, 2, -64, -40, 37, 44, 224, 8, 2, 3
|
|
delay 6
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 3, 60
|
|
unloadspritegfx ANIM_TAG_LEAF @green
|
|
unloadspritepal ANIM_TAG_LEAF @green
|
|
unloadspritegfx ANIM_TAG_ELECTRIC_ORBS @charge
|
|
unloadspritepal ANIM_TAG_ELECTRIC_ORBS @charge
|
|
panse SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
|
|
monbg ANIM_TARGET
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 6, 0, 16, RGB(31, 31, 16) @;Light yellow
|
|
call PhotonGeyserBeam
|
|
call LightThatBurnsTheSkyGeyser
|
|
call LightThatBurnsTheSkyBlast_1
|
|
call LightThatBurnsTheSkyGeyser
|
|
call LightThatBurnsTheSkyBlast_2
|
|
call LightThatBurnsTheSkyGeyser
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 2, (F_PAL_BG | F_PAL_ALL_BUT_DEF), 4, 0, 16, RGB(31, 31, 16)
|
|
call LightThatBurnsTheSkyBlast_3
|
|
clearmonbg ANIM_TARGET
|
|
waitforvisualfinish
|
|
delay 16
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 2, (F_PAL_BG | F_PAL_BATTLERS_2), 0, 16, 0, RGB(31, 31, 16)
|
|
restorebg
|
|
waitbgfadeout
|
|
end
|
|
LightThatBurnsTheSkyBlast_1:
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -32, 0, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -20, -10, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 0, -16, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 20, -10, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 32, 0, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 20, 10, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, 0, 16, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -20, 10, 24, 0, 0, 0
|
|
return
|
|
LightThatBurnsTheSkyBlast_2:
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -64, 0, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 6, -40, -20, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 70, 0, -32, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 70, 40, -20, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 64, 0, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 40, 20, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, 0, 32, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -40, 20, 24, 0, 0, 0
|
|
return
|
|
LightThatBurnsTheSkyBlast_3:
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -96, 0, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 6, -60, -30, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 70, 0, -48, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 70, 60, -30, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 96, 0, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 66, 60, 30, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, 0, 48, 24, 0, 0, 0
|
|
createsprite gLightThatBurnsTheSkyBlastBurnSpriteTemplate, ANIM_ATTACKER, 2, -60, 30, 24, 0, 0, 0
|
|
return
|
|
LightThatBurnsTheSkyGeyser:
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 3, 5, 1, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, -11, -15, 1, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 8, -5, 1, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, -6, 18, 1, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 0, 5, 1, 0
|
|
playsewithpan SE_M_SELF_DESTRUCT, SOUND_PAN_TARGET
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 3, -11, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, -11, -31, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 8, -21, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, -6, 2, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 0, -11, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 3, -27, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, -11, -47, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 8, -37, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, -6, -14, ANIM_TARGET, 0
|
|
delay 0
|
|
createsprite gLightThatBurnsTheSkyExplosionSpriteTemplate, ANIM_TARGET, 4, 0, -27, ANIM_TARGET, 0
|
|
delay 0
|
|
return
|
|
LightThatBurnsTheSkyGreenSparks:
|
|
createsprite gLightThatBurnsTheSkyGreenSparkSpriteTemplate, ANIM_TARGET, 3, 0, 0, 48, 44, 0, 40, 0, 3
|
|
createsprite gLightThatBurnsTheSkyGreenSparkSpriteTemplate, ANIM_TARGET, 3, 0, 0, 48, 44, 64, 40, 1, 3
|
|
createsprite gLightThatBurnsTheSkyGreenSparkSpriteTemplate, ANIM_TARGET, 3, 0, 0, 48, 44, 128, 40, 0, 3
|
|
createsprite gLightThatBurnsTheSkyGreenSparkSpriteTemplate, ANIM_TARGET, 3, 0, 0, 48, 44, 0, 40, 2, 3
|
|
createsprite gLightThatBurnsTheSkyGreenSparkSpriteTemplate, ANIM_TARGET, 3, 0, 0, 21, 44, 0, 40, 0, 3
|
|
createsprite gLightThatBurnsTheSkyGreenSparkSpriteTemplate, ANIM_TARGET, 3, 0, 0, 21, 44, 64, 40, 1, 3
|
|
createsprite gLightThatBurnsTheSkyGreenSparkSpriteTemplate, ANIM_TARGET, 3, 0, 0, 21, 44, 128, 40, 0, 3
|
|
createsprite gLightThatBurnsTheSkyGreenSparkSpriteTemplate, ANIM_TARGET, 3, 0, 0, 21, 44, 0, 40, 2, 3
|
|
delay 16
|
|
return
|
|
|
|
|
|
gBattleAnimMove_SoulStealing7StarStrike::
|
|
createvisualtask AnimTask_AllBattlersInvisibleExceptAttackerAndTarget, 10
|
|
waitforvisualfinish
|
|
setalpha 12, 8
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET
|
|
createsprite gSoulStealBlastburnSpriteTemplate, ANIM_ATTACKER, 2, -32, 0, 24, 0, 0, 0
|
|
createsprite gSoulStealBlastburnSpriteTemplate, ANIM_ATTACKER, 66, -20, -10, 24, 0, 0, 0
|
|
createsprite gSoulStealBlastburnSpriteTemplate, ANIM_ATTACKER, 66, 0, -16, 24, 0, 0, 0
|
|
createsprite gSoulStealBlastburnSpriteTemplate, ANIM_ATTACKER, 66, 20, -10, 24, 0, 0, 0
|
|
createsprite gSoulStealBlastburnSpriteTemplate, ANIM_ATTACKER, 66, 32, 0, 24, 0, 0, 0
|
|
createsprite gSoulStealBlastburnSpriteTemplate, ANIM_ATTACKER, 66, 20, 10, 24, 0, 0, 0
|
|
createsprite gSoulStealBlastburnSpriteTemplate, ANIM_ATTACKER, 2, 0, 16, 24, 0, 0, 0
|
|
createsprite gSoulStealBlastburnSpriteTemplate, ANIM_ATTACKER, 2, -20, 10, 24, 0, 0, 0
|
|
delay 5
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
createsprite gSoulStealBlackFlySpriteTemplate, ANIM_ATTACKER, 2, 0, 0, 13, 336
|
|
waitforvisualfinish
|
|
invisible ANIM_TARGET
|
|
fadetobg BG_SOULSTEALING_7STAR_STRIKE
|
|
waitbgfadeout
|
|
visible ANIM_ATTACKER
|
|
playsewithpan SE_M_DRAGON_RAGE, SOUND_PAN_ATTACKER
|
|
call SoulStealingSevenStarStrikeBuffEffect
|
|
delay 8
|
|
blend_color_cycle selector=F_PAL_ATTACKER, delay=2, num_blends=2, initial_blend_y=0, target_blend_y=11, color=RGB_BLACK
|
|
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 1, 0, 32, 1
|
|
call SoulStealingSevenStarStrikeBuffEffect
|
|
delay 8
|
|
call SoulStealingSevenStarStrikeBuffEffect
|
|
delay 4
|
|
visible ANIM_TARGET
|
|
waitforvisualfinish
|
|
unloadspritegfx ANIM_TAG_FIRE_PLUME
|
|
unloadspritepal ANIM_TAG_FIRE_PLUME
|
|
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 0, 4, 37, 1
|
|
createsprite gSoulStealBlueFistSpriteTemplate, ANIM_TARGET, 2, -64, 20, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
createsprite gSoulStealBlueStarSpriteTemplate, ANIM_TARGET, 4, 0, ANIM_TARGET, 2, 0, 0, 48
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gSoulStealBlueFistSpriteTemplate, ANIM_TARGET, 2, -64, 16, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
createsprite gSoulStealBlueStarSpriteTemplate, ANIM_TARGET, 4, 0, ANIM_TARGET, 18, 0, 0, 44
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
delay 4
|
|
createsprite gSoulStealBlueFistSpriteTemplate, ANIM_TARGET, 2, -64, 8, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
createsprite gSoulStealBlueStarSpriteTemplate, ANIM_TARGET, 4, -21, -8, 2, 0, 0, 40
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
createsprite gSoulStealBlueFistSpriteTemplate, ANIM_TARGET, 2, -64, 18, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
createsprite gSoulStealBlueStarSpriteTemplate, ANIM_TARGET, 4, -5, -12, 2, 0, 0, 36
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
createsprite gSoulStealBlueFistSpriteTemplate, ANIM_TARGET, 2, -64, 21, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
createsprite gSoulStealBlueStarSpriteTemplate, ANIM_TARGET, 4, 5, -8, 2, 0, 0, 32
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
createsprite gSoulStealBlueFistSpriteTemplate, ANIM_TARGET, 2, -64, 12, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
createsprite gSoulStealBlueStarSpriteTemplate, ANIM_TARGET, 4, -16, 1, 2, 0, 0, 28
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
createsprite gSoulStealBlueFistSpriteTemplate, ANIM_TARGET, 2, -64, 19, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
createsprite gSoulStealBlueStarSpriteTemplate, ANIM_TARGET, 4, 0, 1, 2, 0, 0, 24
|
|
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_TARGET
|
|
createsprite gSoulStealBlueFistSpriteTemplate, ANIM_TARGET, 2, -64, 14, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
createsprite gSoulStealBlueStarSpriteTemplate, ANIM_TARGET, 4, -16, 16, 2, 0, 0, 20
|
|
createsprite gSoulStealBlueFistSpriteTemplate, ANIM_TARGET, 2, -64, 18, 0, 0, 10, 1, 0, 1
|
|
delay 4
|
|
createsprite gSoulStealBlueStarSpriteTemplate, ANIM_TARGET, 4, 0, 16, 2, 0, 0, 16
|
|
delay 4
|
|
playsewithpan SE_M_FLY, SOUND_PAN_ATTACKER
|
|
createsprite gSoulStealBlackFlySpriteTemplate, ANIM_TARGET, 2, 0, 0, 13, 336
|
|
delay 32
|
|
unloadspritegfx ANIM_TAG_PAIN_SPLIT
|
|
unloadspritepal ANIM_TAG_PAIN_SPLIT
|
|
unloadspritegfx ANIM_TAG_ROUND_SHADOW
|
|
unloadspritepal ANIM_TAG_ROUND_SHADOW
|
|
unloadspritegfx ANIM_TAG_HANDS_AND_FEET
|
|
unloadspritepal ANIM_TAG_HANDS_AND_FEET
|
|
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_ATTACKER
|
|
setarg 7, 0 @;Clear arg 7 so task works properly in Link battles
|
|
createvisualtask AnimTask_SnatchOpposingMonMove, 2
|
|
delay 28
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_TARGET, 0, 0, 16, RGB_BLACK
|
|
delay 1
|
|
createsprite gSoulStealZStarSpriteTemplate, ANIM_TARGET, 2, 0, 0, 1, 36
|
|
createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 0
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 42
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 84
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 126
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 168
|
|
createsprite gWillOWispFireSpriteTemplate, ANIM_TARGET, 2, 210
|
|
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET
|
|
call SoulStealingSevenStarStrikeBlueParalysis
|
|
call SoulStealingSevenStarStrikeBlueParalysis
|
|
waitforvisualfinish
|
|
visible ANIM_ATTACKER
|
|
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
|
|
createsprite gTargetTwinkleSpriteTemplate, ANIM_TARGET, 13, 0, 0, ANIM_TARGET @detect star
|
|
delay 10
|
|
createvisualtask AnimTask_HorizontalShake, 5, ANIM_TARGET, 8, 32
|
|
call SoulStealingSevenStarStrikeExplosion
|
|
call SoulStealingSevenStarStrikeExplosion
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_ALL_BUT_DEF), 2, 0, 16, RGB_BLACK @everything to black
|
|
call SoulStealingSevenStarStrikeExplosion
|
|
waitforvisualfinish
|
|
blendoff
|
|
restorebg
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 16, 0, RGB_BLACK @everything from black
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BATTLERS_2, 2, 0, 0, RGB_BLACK
|
|
waitforvisualfinish
|
|
createvisualtask AnimTask_AllBattlersVisible, 10
|
|
waitforvisualfinish
|
|
end
|
|
SoulStealingSevenStarStrikeBuffEffect:
|
|
createsprite gSoulStealIceBuffSpriteTemplate, ANIM_ATTACKER, 2, 0, -24, 26, 2
|
|
delay 4
|
|
createsprite gSoulStealIceBuffSpriteTemplate, ANIM_ATTACKER, 2, 0, 14, 28, 1
|
|
delay 4
|
|
createsprite gSoulStealIceBuffSpriteTemplate, ANIM_ATTACKER, 2, 0, -5, 10, 2
|
|
delay 4
|
|
createsprite gSoulStealIceBuffSpriteTemplate, ANIM_ATTACKER, 2, 0, 28, 26, 3
|
|
delay 4
|
|
createsprite gSoulStealIceBuffSpriteTemplate, ANIM_ATTACKER, 2, 0, -12, 0, 1
|
|
return
|
|
SoulStealingSevenStarStrikeBlueParalysis:
|
|
playsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_TARGET
|
|
createsprite gSoulStealBlueParalyzeSpriteTemplate, ANIM_TARGET, 2, 5, 0, 5, 0
|
|
delay 2
|
|
createsprite gSoulStealBlueParalyzeSpriteTemplate, ANIM_TARGET, 2, -5, 10, 5, 1
|
|
delay 2
|
|
createsprite gSoulStealBlueParalyzeSpriteTemplate, ANIM_TARGET, 2, 15, 20, 5, 2
|
|
delay 2
|
|
createsprite gSoulStealBlueParalyzeSpriteTemplate, ANIM_TARGET, 2, -15, -10, 5, 0
|
|
delay 2
|
|
createsprite gSoulStealBlueParalyzeSpriteTemplate, ANIM_TARGET, 2, 25, 0, 5, 1
|
|
delay 2
|
|
createsprite gSoulStealBlueParalyzeSpriteTemplate, ANIM_TARGET, 2, -8, 8, 5, 2
|
|
delay 2
|
|
createsprite gSoulStealBlueParalyzeSpriteTemplate, ANIM_TARGET, 2, 2, -8, 5, 0
|
|
delay 2
|
|
createsprite gSoulStealBlueParalyzeSpriteTemplate, ANIM_TARGET, 2, -20, 15, 5, 1
|
|
return
|
|
SoulStealingSevenStarStrikeExplosion:
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSoulStealExplosionSpriteTemplate, ANIM_TARGET, 3, 0, 0, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSoulStealExplosionSpriteTemplate, ANIM_TARGET, 3, 24, -24, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSoulStealExplosionSpriteTemplate, ANIM_TARGET, 3, -16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSoulStealExplosionSpriteTemplate, ANIM_TARGET, 3, -24, -12, ANIM_TARGET, 1
|
|
delay 6
|
|
playsewithpan SE_M_EXPLOSION, SOUND_PAN_ATTACKER
|
|
createsprite gSoulStealExplosionSpriteTemplate, ANIM_TARGET, 3, 16, 16, ANIM_TARGET, 1
|
|
delay 6
|
|
return
|
|
|
|
@@@@@@@@@@ MAX MOVES @@@@@@@@@@
|
|
gBattleAnimGeneral_SetWeather::
|
|
createvisualtask AnimTask_GetWeatherToSet, 2
|
|
jumpreteq 1, gBattleAnimGeneral_Sun
|
|
jumpreteq 2, gBattleAnimGeneral_Rain
|
|
jumpreteq 3, gBattleAnimGeneral_Sandstorm
|
|
jumpreteq 4, gBattleAnimGeneral_Hail
|
|
end
|
|
|
|
gBattleAnimMove_MaxGuard::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_Protect
|
|
end
|
|
|
|
gBattleAnimMove_MaxStrike::
|
|
gBattleAnimMove_GMaxReplenish::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_GigaImpact
|
|
end
|
|
|
|
gBattleAnimMove_MaxAirstream::
|
|
gBattleAnimMove_GMaxWindRage::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_Aeroblast
|
|
end
|
|
|
|
gBattleAnimMove_MaxOoze::
|
|
gBattleAnimMove_GMaxMalodor::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_GunkShot
|
|
end
|
|
|
|
gBattleAnimMove_GMaxWildfire::
|
|
gBattleAnimMove_GMaxFireball::
|
|
gBattleAnimMove_GMaxCentiferno::
|
|
gBattleAnimMove_MaxFlare::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_BlastBurn
|
|
end
|
|
|
|
gBattleAnimMove_GMaxCannonade::
|
|
gBattleAnimMove_GMaxHydrosnipe::
|
|
gBattleAnimMove_GMaxFoamBurst::
|
|
gBattleAnimMove_MaxGeyser::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_HydroCannon
|
|
end
|
|
|
|
gBattleAnimMove_GMaxVineLash::
|
|
gBattleAnimMove_GMaxDrumSolo::
|
|
gBattleAnimMove_GMaxTartness::
|
|
gBattleAnimMove_GMaxSweetness::
|
|
gBattleAnimMove_MaxOvergrowth::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_FrenzyPlant
|
|
end
|
|
|
|
gBattleAnimMove_MaxLightning::
|
|
gBattleAnimMove_GMaxStunShock::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_ZapCannon
|
|
end
|
|
|
|
gBattleAnimMove_GMaxChiStrike::
|
|
gBattleAnimMove_GMaxOneBlow::
|
|
gBattleAnimMove_GMaxRapidFlow::
|
|
gBattleAnimMove_MaxKnuckle::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_CloseCombat
|
|
end
|
|
|
|
gBattleAnimMove_GMaxResonance::
|
|
gBattleAnimMove_MaxHailstorm::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_SheerCold
|
|
end
|
|
|
|
gBattleAnimMove_GMaxSandblast::
|
|
gBattleAnimMove_MaxQuake::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_Fissure
|
|
end
|
|
|
|
gBattleAnimMove_GMaxBefuddle::
|
|
gBattleAnimMove_MaxFlutterby::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_BugBuzz
|
|
end
|
|
|
|
gBattleAnimMove_GMaxSteelsurge::
|
|
gBattleAnimMove_GMaxMeltdown::
|
|
gBattleAnimMove_MaxSteelspike::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_HeavySlam
|
|
end
|
|
|
|
gBattleAnimMove_GMaxTerror::
|
|
gBattleAnimMove_MaxPhantasm::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_ShadowBall
|
|
end
|
|
|
|
gBattleAnimMove_GMaxGravitas::
|
|
gBattleAnimMove_MaxMindstorm::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_PsychoBoost
|
|
end
|
|
|
|
gBattleAnimMove_GMaxSmite::
|
|
gBattleAnimMove_GMaxFinale::
|
|
gBattleAnimMove_MaxStarfall::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_Moonblast
|
|
end
|
|
|
|
gBattleAnimMove_GMaxStonesurge::
|
|
gBattleAnimMove_GMaxVolcalith::
|
|
gBattleAnimMove_MaxRockfall::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_RockWrecker
|
|
end
|
|
|
|
gBattleAnimMove_GMaxDepletion::
|
|
gBattleAnimMove_MaxWyrmwind::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_SpacialRend
|
|
end
|
|
|
|
gBattleAnimMove_GMaxSnooze::
|
|
gBattleAnimMove_MaxDarkness::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_DarkPulse
|
|
end
|
|
|
|
gBattleAnimMove_GMaxCuddle::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_Covet
|
|
end
|
|
|
|
gBattleAnimMove_GMaxVoltCrash::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_VoltTackle
|
|
end
|
|
|
|
gBattleAnimMove_GMaxGoldRush::
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 1
|
|
waitforvisualfinish
|
|
goto gBattleAnimMove_PayDay
|
|
end
|
|
|
|
@@@ DYNAMAX AND MAX RAIDS
|
|
gBattleAnimGeneral_DynamaxGrowth:: @ PORTED FROM CFRU
|
|
createvisualtask SoundTask_PlayDynamaxCry, 0
|
|
delay 8
|
|
createvisualtask AnimTask_DynamaxGrowth, 5, 1, 0
|
|
waitforvisualfinish
|
|
end
|