From fe8c70b9f8b1baafda3becd928f38dc2dc8fdbe2 Mon Sep 17 00:00:00 2001 From: PALPATlNE Date: Sat, 17 Nov 2018 19:59:03 +0100 Subject: [PATCH] Fix --- data/battle_anim_scripts.s | 569 ++++++++++++++++++++++++++++++++++++- 1 file changed, 563 insertions(+), 6 deletions(-) diff --git a/data/battle_anim_scripts.s b/data/battle_anim_scripts.s index 9cd1005cff..9f96797b4e 100644 --- a/data/battle_anim_scripts.s +++ b/data/battle_anim_scripts.s @@ -689,43 +689,203 @@ gBattleAnims_Special:: .4byte Special_MonToSubstitute Move_ROOST: + loadspritegfx ANIM_TAG_WHITE_FEATHER + loadspritegfx ANIM_TAG_BLUE_STAR + monbg ANIM_DEF_PARTNER + monbgprio_29 + playsewithpan SE_W080, SOUND_PAN_TARGET + delay 0 + createsprite gUnknown_08596388, 128, 0, -16, 64, 2, 104, 11304, 32, 1 + delay 6 + createsprite gUnknown_08596388, 128, 0, -16, 32, 2, 104, 11304, 32, 1 + createsprite gUnknown_08596388, 128, 0, -16, 0, 2, 104, 11304, 32, 1 + delay 6 + createsprite gUnknown_08596388, 128, 0, -16, 224, 2, 104, 11304, 32, 1 + createsprite gUnknown_08596388, 128, 0, -16, 128, 2, 104, 11304, 32, 1 + delay 6 + createsprite gUnknown_08596388, 128, 0, -16, 192, 2, 104, 11304, 32, 1 + createsprite gUnknown_08596388, 128, 0, -16, 160, 2, 104, 11304, 32, 1 + delay 6 + createsprite gUnknown_08596388, 128, 0, -16, 96, 2, 104, 11304, 32, 1 + waitforvisualfinish + call HealingEffect + waitforvisualfinish + clearmonbg ANIM_DEF_PARTNER end Move_GRAVITY: fadetobg BG_COSMIC waitbgfadein - createvisualtask sub_8117660, 0x2, 0x0, 0x80, 0x0, 0xffff - createvisualtask sub_81080E4, 0x5, 0x0 - playsewithpan 0xa2, 0xc0 - delay 0x2c - playsewithpan 0xe9, 0xc0 + playsewithpan SE_W036, 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 0x7, 0xffff waitbgfadein waitforvisualfinish end Move_MIRACLE_EYE: - end + loadspritegfx ANIM_TAG_TEAL_ALERT + loadspritegfx ANIM_TAG_OPENING_EYE + loadspritegfx ANIM_TAG_ROUND_WHITE_HALO + monbg ANIM_DEF_PARTNER + call SetPsychicBackground + playsewithpan SE_W109, SOUND_PAN_TARGET + createsprite gUnknown_085CE07C, ANIM_ATTACKER, 5, 0, 0, 1, 0 + createsprite gUnknown_085CE094, ANIM_ATTACKER, 5 + delay 40 + playsewithpan SE_W043, SOUND_PAN_TARGET + createvisualtask sub_8115A04, 2, 1, 1, 2, 0, 10, RGB_BLACK + call MindReaderEffect + waitforvisualfinish + call UnsetPsychicBackground + clearmonbg ANIM_DEF_PARTNER + end Move_WAKE_UP_SLAP: + loadspritegfx ANIM_TAG_HANDS_AND_FEET + loadspritegfx ANIM_TAG_IMPACT + loadspritegfx ANIM_TAG_SMELLINGSALT_EFFECT + monbg ANIM_DEF_PARTNER + monbgprio_28 ANIM_TARGET + setalpha 12, 8 + playsewithpan SE_W104, SOUND_PAN_TARGET + createsprite gUnknown_08595E68, 2, -16, 0, 0, 0, 10, 1, 3, 0 + waitforvisualfinish + playsewithpan SE_W003, SOUND_PAN_TARGET + createsprite gBasicHitSplatSpriteTemplate, 3, 0, 0, 1, 2 + createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 4, 0, 6, 2 + waitforvisualfinish + createsprite gUnknown_085CE894, 130, 1, 8, 3 + loopsewithpan SE_W207B, +63, 16, 3 + clearmonbg ANIM_DEF_PARTNER + blendoff end Move_HAMMER_ARM: + loadspritegfx ANIM_TAG_IMPACT + loadspritegfx ANIM_TAG_ROCKS + loadspritegfx ANIM_TAG_SLAM_HIT + monbg ANIM_TARGET + setalpha 12, 8 + playsewithpan SE_W004, SOUND_PAN_ATTACKER + createsprite gSlideMonToOffsetSpriteTemplate, 2, 0, 20, 3, 0, 4 + delay 1 + createsprite gUnknown_085928D0, 2, 0, 0 + delay 3 + setarg 7, 0 + createsprite gBasicHitSplatSpriteTemplate, 131, 10, -8, 1, 1 + playsewithpan SE_W088, SOUND_PAN_TARGET + createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 5, 1 + createsprite gUnknown_08596CB0, 130, -12, 32, 3, 4 + createsprite gUnknown_08596CB0, 130, 8, 31, 2, 2 + createsprite gUnknown_08596CB0, 130, -4, 28, 2, 3 + createsprite gUnknown_08596CB0, 130, 12, 30, 4, 3 + createsprite gSlideMonToOriginalPosSpriteTemplate, 2, 0, 0, 5 + clearmonbg ANIM_TARGET + blendoff end Move_GYRO_BALL: + loadspritegfx ANIM_TAG_IMPACT + loopsewithpan SE_W231, SOUND_PAN_ATTACKER, 28, 2 + createvisualtask sub_81144F8, 5, 0, 0, 0 + waitforvisualfinish + playsewithpan SE_W207, SOUND_PAN_ATTACKER + waitplaysewithpan SE_W207, SOUND_PAN_ATTACKER, 8 + createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 18, 6, 2, 4 + waitforvisualfinish + createsprite gSlideMonToOffsetSpriteTemplate, 2, 0, 20, 0, 0, 4 + delay 3 + waitforvisualfinish + playsewithpan SE_W025B, SOUND_PAN_TARGET + createsprite gBasicHitSplatSpriteTemplate, 132, -10, 0, 1, 0 + createsprite gSlideMonToOffsetSpriteTemplate, 2, 1, -32, 0, 0, 3 + waitforvisualfinish + createvisualtask sub_80D6134, 2, 8, -256, 0, 0 + createvisualtask sub_80D6134, 2, 8, -256, 1, 0 + createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_ATTACKER, 4, 0, 12, 1 + createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 12, 1 + waitforvisualfinish + createvisualtask sub_80D6134, 2, 8, -256, 0, 1 + createvisualtask sub_80D6134, 2, 8, -256, 1, 1 + waitforvisualfinish + createsprite gSlideMonToOriginalPosSpriteTemplate, 2, 0, 0, 5 + delay 3 + createsprite gSlideMonToOriginalPosSpriteTemplate, 2, 1, 0, 7 + waitforvisualfinish end Move_HEALING_WISH: + loadspritegfx ANIM_TAG_GREEN_SPARKLE + setalpha 0, 16 + createvisualtask sub_80A7A74, 3, 0, 16, 16, 0, 1 + playsewithpan SE_W236, 0 + delay 30 + createsprite gBattleAnimSpriteTemplate_8592EEC, 40, -12, 0 + delay 30 + createsprite gBattleAnimSpriteTemplate_8592EEC, 40, -24, 0 + delay 30 + createsprite gBattleAnimSpriteTemplate_8592EEC, 40, 21, 0 + delay 30 + createsprite gBattleAnimSpriteTemplate_8592EEC, 40, 0, 0 + delay 30 + createsprite gBattleAnimSpriteTemplate_8592EEC, 40, 10, 0 + delay 20 + createvisualtask sub_81025C0, 2 + waitforvisualfinish end Move_BRINE: + loadspritegfx ANIM_TAG_GLOWY_BLUE_ORB + loadspritegfx ANIM_TAG_WATER_IMPACT + monbg ANIM_DEF_PARTNER + setalpha 12, 8 + playsewithpan SE_W291, -64 + waitforvisualfinish + delay 16 + createvisualtask sub_81085C8, 5 + playsewithpan SE_W057, +63 + clearmonbg ANIM_DEF_PARTNER + blendoff end Move_NATURAL_GIFT: + loadspritegfx ANIM_TAG_SPARKLE_2 + loadspritegfx ANIM_TAG_HOLLOW_ORB + monbg ANIM_ATTACKER + monbgprio_28 ANIM_ATTACKER + createvisualtask sub_8115A04, 2, 2, 2, 2, 0, 16, RGB(27, 31, 18) + playsewithpan SE_W025, -64 + call GrantingStarsEffect + waitforvisualfinish + delay 1 + createvisualtask sub_81133E8, 5 + playsewithpan SE_W100, -64 + delay 8 + createvisualtask sub_80A7CB4, 5, 10249, 19456, 14, 0, 3 + createsprite gUnknown_08596F98, 2, 0 + createsprite gUnknown_08596F98, 2, 43 + createsprite gUnknown_08596F98, 2, 85 + createsprite gUnknown_08596F98, 2, 128 + createsprite gUnknown_08596F98, 2, 170 + createsprite gUnknown_08596F98, 2, 213 + delay 30 + playsewithpan SE_W100, -64 + delay 30 + playsewithpan SE_W100, -64 + waitforvisualfinish + clearmonbg ANIM_ATTACKER + delay 1 end Move_FEINT: @@ -735,33 +895,223 @@ Move_PLUCK: end Move_TAILWIND: + loadspritegfx ANIM_TAG_FLYING_DIRT + playsewithpan SE_W201, 0 + createvisualtask AnimTask_LoadSandstormBackground, 5, FALSE + createvisualtask AnimTask_BlendBackground, 6, 6, RGB_WHITE + delay 16 + createsprite gBattleAnimSpriteTemplate_8596BA0, 40, 10, 2304, 96, 0 + delay 10 + createsprite gBattleAnimSpriteTemplate_8596BA0, 40, 90, 2048, 96, 0 + delay 10 + createsprite gBattleAnimSpriteTemplate_8596BA0, 40, 50, 2560, 96, 0 + delay 10 + createsprite gBattleAnimSpriteTemplate_8596BA0, 40, 20, 2304, 96, 0 + delay 10 + createsprite gBattleAnimSpriteTemplate_8596BA0, 40, 70, 1984, 96, 0 + delay 10 + createsprite gBattleAnimSpriteTemplate_8596BA0, 40, 0, 2816, 96, 0 + delay 10 + createsprite gBattleAnimSpriteTemplate_8596BA0, 40, 60, 2560, 96, 0 end Move_ACUPRESSURE: end Move_METAL_BURST: + loadspritegfx ANIM_TAG_ECLIPSING_ORB + loadspritegfx ANIM_TAG_RED_ORB + loopsewithpan SE_W161, -64, 18, 3 + createvisualtask sub_811489C, 5, 0, 0 + createvisualtask sub_815B338, 5 + waitforvisualfinish + setarg 7, -1 + playsewithpan SE_W115, -64 + createvisualtask AnimTask_ScaleMonAndRestore, 5, -7, -7, 11, ANIM_ATTACKER, 0 + createsprite gHiddenPowerOrbScatterSpriteTemplate, 130, 0 + createsprite gHiddenPowerOrbScatterSpriteTemplate, 130, 32 + createsprite gHiddenPowerOrbScatterSpriteTemplate, 130, 64 + createsprite gHiddenPowerOrbScatterSpriteTemplate, 130, 96 + createsprite gHiddenPowerOrbScatterSpriteTemplate, 130, 128 + createsprite gHiddenPowerOrbScatterSpriteTemplate, 130, 160 + createsprite gHiddenPowerOrbScatterSpriteTemplate, 130, 192 + createsprite gHiddenPowerOrbScatterSpriteTemplate, 130, 224 + waitforvisualfinish + createvisualtask sub_811489C, 5, 0, 1 + waitforvisualfinish end Move_U_TURN: + loadspritegfx ANIM_TAG_ROUND_SHADOW + loadspritegfx ANIM_TAG_IMPACT + monbg ANIM_DEF_PARTNER + setalpha 12, 8 + playsewithpan SE_W019, -64 + createsprite gUnknown_08596340, 2, 0, 0, 13, 336 + waitforvisualfinish + playsewithpan SE_W104, -64 + createsprite gUnknown_08596358, 2, 20 + delay 20 + createsprite gBasicHitSplatSpriteTemplate, 2, 0, 0, 1, 0 + createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 6, 0, 8, 1 + playsewithpan SE_W013, +63 + waitforvisualfinish + clearmonbg ANIM_DEF_PARTNER + blendoff end Move_CLOSE_COMBAT: + loadspritegfx ANIM_TAG_IMPACT + loadspritegfx ANIM_TAG_HANDS_AND_FEET + fadetobg BG_HIGHSPEED_OPPONENT + delay 20 + createsprite gUnknown_08595EB0, 131, 1, 10, 0 + createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 7, 1 + playsewithpan SE_W004, +63 + delay 10 + createsprite gUnknown_08595EB0, 131, 1, 10, 0 + createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 7, 1 + playsewithpan SE_W233B, +63 + delay 10 + createsprite gUnknown_08595EB0, 131, 1, 10, 0 + createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 7, 1 + playsewithpan SE_W025B, +63 + delay 10 + createsprite gUnknown_08595EB0, 131, 1, 10, 0 + createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 7, 1 + playsewithpan SE_W004, +63 + delay 10 + createsprite gUnknown_08595EB0, 131, 1, 10, 0 + createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 7, 1 + playsewithpan SE_W233B, +63 + delay 10 + createsprite gUnknown_08595EB0, 131, 1, 10, 0 + createvisualtask AnimTask_ShakeMonInPlace, 2, ANIM_TARGET, 4, 0, 7, 1 + playsewithpan SE_W025B, +63 + delay 10 + restorebg + waitbgfadeout + setarg 7, -1 + waitbgfadein + clearmonbg ANIM_TARGET + blendoff + delay 1 + setarg 7, 0x1000 + delay 1 end Move_PAYBACK: + loadspritegfx ANIM_TAG_IMPACT + monbg ANIM_TARGET + fadetobg BG_DARK + waitbgfadein + delay 0 + setalpha 12, 8 + createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 4, 0, 30, 1 + createsprite gBasicHitSplatSpriteTemplate, 3, 0, 0, 1, 0 + playsewithpan SE_W004, +63 + delay 5 + createsprite gBasicHitSplatSpriteTemplate, 3, 24, 8, 1, 0 + playsewithpan SE_W004, +63 + delay 5 + createsprite gBasicHitSplatSpriteTemplate, 3, -24, -16, 1, 0 + playsewithpan SE_W004, +63 + delay 5 + createsprite gBasicHitSplatSpriteTemplate, 3, 8, 4, 1, 0 + playsewithpan SE_W004, +63 + delay 5 + createsprite gBasicHitSplatSpriteTemplate, 3, -16, 19, 1, 0 + playsewithpan SE_W004, +63 + delay 5 + createsprite gBasicHitSplatSpriteTemplate, 3, 18, -18, 1, 0 + playsewithpan SE_W004, +63 + waitforvisualfinish + clearmonbg ANIM_TARGET + blendoff + restorebg + waitbgfadein end Move_ASSURANCE: + loadspritegfx ANIM_TAG_IMPACT + loadspritegfx ANIM_TAG_PURPLE_HAND_OUTLINE + monbg ANIM_TARGET + fadetobg BG_DARK + waitbgfadein + delay 0 + setalpha 12, 8 + createsprite gPalmSpriteTemplate, 131, 0, 0, 8, 1, 0 + playsewithpan SE_W233B, -64 + createsprite gBasicHitSplatSpriteTemplate, 130, 0, 0, 1, 1 + waitforvisualfinish + clearmonbg ANIM_TARGET + blendoff + delay 0 + restorebg + waitbgfadein end Move_EMBARGO: + loadspritegfx ANIM_TAG_RED_ORB + monbg ANIM_DEF_PARTNER + monbgprio_28 ANIM_TARGET + loopsewithpan SE_W077, +63, 18, 10 + call EmbargoOrbs1 + call EmbargoOrbs1 + call EmbargoOrbs1 + waitforvisualfinish + createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 4, 0, 10, 1 + playsewithpan SE_W171, +63 + clearmonbg ANIM_DEF_PARTNER end +EmbargoOrbs1: + createsprite gPowerOrbs_Float, 2, 0, -20, 85, 80, 0 + delay 12 + createsprite gPowerOrbs_Float, 2, 0, -10, 170, 80, 0 + delay 12 + createsprite gPowerOrbs_Float, 2, 0, -15, 0, 80, 0 + delay 12 + return Move_FLING: + loadspritegfx ANIM_TAG_IMPACT + loadspritegfx ANIM_TAG_BLACK_BALL + monbg ANIM_DEF_PARTNER + monbgprio_28 ANIM_TARGET + setalpha 12, 8 + createsprite gUnknown_085CE050, 130, 20, 0, 0, 0, 35, -25 + playsewithpan SE_W207, -64 + waitforvisualfinish + createsprite gBasicHitSplatSpriteTemplate, 2, 0, 0, 1, 2 + createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 3, 0, 6, 1 + playsewithpan SE_W233, +63 + clearmonbg ANIM_DEF_PARTNER + blendoff end Move_PSYCHO_SHIFT: + loadspritegfx ANIM_TAG_ELECTRIC_ORBS + loadspritegfx ANIM_TAG_CIRCLE_OF_LIGHT + loadspritegfx ANIM_TAG_THIN_RING + monbg ANIM_ATTACKER + setalpha 12, 8 + playsewithpan SE_W025, -64 + createsprite gUnknown_08596F98, ANIM_ATTACKER, 2, 0 + delay 30 + waitforvisualfinish + createsprite gUnknown_08593850, 40, 0, 0, 1, 0 + playsewithpan SE_W048, -64 + delay 14 + createsprite gUnknown_08593850, 40, 0, 0, 1, 0 + playsewithpan SE_W048, -64 + delay 14 + createsprite gUnknown_08593850, 40, 0, 0, 1, 0 + playsewithpan SE_W048, -64 + waitforvisualfinish + clearmonbg ANIM_ATK_PARTNER + end + clearmonbg ANIM_ATTACKER + blendoff end Move_TRUMP_CARD: @@ -774,9 +1124,54 @@ Move_WRING_OUT: end Move_POWER_TRICK: + loadspritegfx ANIM_TAG_THIN_RING + monbg ANIM_ATK_PARTNER + waitforvisualfinish + createsprite gUnknown_08593850, 40, 0, 0, 0, 0 + playsewithpan SE_W048, -64 + delay 14 + createsprite gUnknown_08593850, 40, 0, 0, 0, 0 + playsewithpan SE_W048, -64 + delay 14 + createsprite gUnknown_08593850, 40, 0, 0, 0, 0 + playsewithpan SE_W048, -64 + waitforvisualfinish + createvisualtask sub_81177E4, 5, 0 + waitforvisualfinish + clearmonbg ANIM_ATK_PARTNER end Move_GASTRO_ACID: + loadspritegfx ANIM_TAG_POISON_BUBBLE + monbg ANIM_DEF_PARTNER + createsprite gGreenPoisonBubble, 130, 20, 0, 40, 1, 0, 0 + playsewithpan SE_W145C, SOUND_PAN_ATTACKER + delay 5 + createsprite gGreenPoisonBubble, 130, 20, 0, 40, 1, 24, 0 + playsewithpan SE_W145C, SOUND_PAN_ATTACKER + delay 5 + createsprite gGreenPoisonBubble, 130, 20, 0, 40, 1, -24, 0 + playsewithpan SE_W145C, 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 + createvisualtask sub_8115A04, 2, 20, 2, 2, 0, 12, RGB(30, 0, 31) + createsprite gGreenPoisonDrip, 130, 0, -22, 0, 15, 55 + playsewithpan SE_W145, SOUND_PAN_TARGET + delay 10 + createsprite gGreenPoisonDrip, 130, -26, -24, 0, 15, 55 + playsewithpan SE_W145, SOUND_PAN_TARGET + delay 10 + createsprite gGreenPoisonDrip, 130, 15, -27, 0, 15, 50 + playsewithpan SE_W145, SOUND_PAN_TARGET + delay 10 + createsprite gGreenPoisonDrip, 130, -15, -17, 0, 10, 45 + playsewithpan SE_W145, SOUND_PAN_TARGET + delay 10 + createsprite gGreenPoisonDrip, 130, 27, -22, 0, 15, 50 + playsewithpan SE_W145, SOUND_PAN_TARGET + waitforvisualfinish + clearmonbg ANIM_DEF_PARTNER end Move_LUCKY_CHANT: @@ -786,6 +1181,25 @@ Move_ME_FIRST: end Move_COPYCAT: + loadspritegfx ANIM_TAG_GRAY_ORB + loadspritegfx ANIM_TAG_THIN_RING + playsewithpan SE_W025, SOUND_PAN_ATTACKER + createvisualtask sub_8115A04, 2, 2, 8, 1, 0, 12, RGB_WHITE + createvisualtask sub_815B65C, 5 + call Stockpile1 + call Stockpile1 + waitforvisualfinish + createsprite gSimplePaletteBlendSpriteTemplate, 2, 2, 0, 12, 0, RGB_WHITE + waitforvisualfinish + createsprite gUnknown_08593850, 40, 0, 0, 0, 0 + playsewithpan SE_W048, -64 + delay 14 + createsprite gUnknown_08593850, 40, 0, 0, 0, 0 + playsewithpan SE_W048, -64 + delay 14 + createsprite gUnknown_08593850, 40, 0, 0, 0, 0 + playsewithpan SE_W048, -64 + waitforvisualfinish end Move_POWER_SWAP: @@ -819,12 +1233,113 @@ Move_MAGNET_RISE: end Move_FLARE_BLITZ: + loadspritegfx ANIM_TAG_IMPACT + loadspritegfx ANIM_TAG_HANDS_AND_FEET + loadspritegfx ANIM_TAG_SMALL_EMBER + monbg ANIM_TARGET + delay 2 + createsprite gSimplePaletteBlendSpriteTemplate, 2, 1, 0, 0, 16, RGB_BLACK + setalpha 12, 8 + monbg ANIM_DEF_PARTNER + monbgprio_2A ANIM_TARGET + createsprite gBattleAnimSpriteTemplate_8595584, 3, 0, 0, 56, 0 + playsewithpan SE_W172, SOUND_PAN_ATTACKER + delay 2 + createsprite gBattleAnimSpriteTemplate_8595584, 3, 0, 0, 56, 4 + playsewithpan SE_W172, SOUND_PAN_ATTACKER + delay 2 + createsprite gBattleAnimSpriteTemplate_8595584, 3, 0, 0, 56, 8 + playsewithpan SE_W172, SOUND_PAN_ATTACKER + delay 2 + createsprite gBattleAnimSpriteTemplate_8595584, 3, 0, 0, 56, 12 + playsewithpan SE_W172, SOUND_PAN_ATTACKER + delay 2 + createsprite gBattleAnimSpriteTemplate_8595584, 3, 0, 0, 56, 16 + playsewithpan SE_W172, SOUND_PAN_ATTACKER + delay 2 + createsprite gBattleAnimSpriteTemplate_8595584, 3, 0, 0, 56, 20 + playsewithpan SE_W172, SOUND_PAN_ATTACKER + delay 2 + createsprite gBattleAnimSpriteTemplate_8595584, 3, 0, 0, 56, 24 + playsewithpan SE_W172, SOUND_PAN_ATTACKER + waitforvisualfinish + createvisualtask AnimTask_TranslateMonEllipticalRespectSide, 2, ANIM_ATTACKER, 12, 4, 1, 4 + waitforvisualfinish + createsprite gSlideMonToOffsetSpriteTemplate, 2, 0, 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 + createsprite gBasicHitSplatSpriteTemplate, 3, 0, 0, 1, 0 + createsprite gUnknown_08595380, 0x81, 0, 10, 192, 176, 40 + playsewithpan SE_W004, +63 + delay 5 + createsprite gBasicHitSplatSpriteTemplate, 3, 24, 8, 1, 0 + createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_TARGET, RGB_RED, 12, 1, 1 + createsprite gUnknown_08595380, 0x81, 0, 10, -192, 240, 40 + playsewithpan SE_W004, +63 + delay 5 + createsprite gBasicHitSplatSpriteTemplate, 3, -24, -16, 1, 0 + createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_TARGET, RGB_RED, 12, 1, 1 + createsprite gUnknown_08595380, 0x81, 0, 10, 192, -160, 40 + playsewithpan SE_W004, +63 + delay 5 + createsprite gBasicHitSplatSpriteTemplate, 3, 8, 4, 1, 0 + createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_TARGET, RGB_RED, 12, 1, 1 + createsprite gUnknown_08595380, 0x81, 0, 10, -192, -112, 40 + playsewithpan SE_W004, +63 + delay 5 + createsprite gBasicHitSplatSpriteTemplate, 3, -16, 19, 1, 0 + createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_TARGET, RGB_RED, 12, 1, 1 + createsprite gUnknown_08595380, 0x81, 0, 10, 160, 48, 40 + playsewithpan SE_W004, +63 + delay 5 + createsprite gBasicHitSplatSpriteTemplate, 3, 18, -18, 1, 0 + createvisualtask AnimTask_BlendMonInAndOut, 3, ANIM_TARGET, RGB_RED, 12, 1, 1 + createsprite gUnknown_08595380, 0x81, 0, 10, -224, -32, 40 + createsprite gUnknown_08595380, 0x81, 0, 10, 112, -128, 40 + playsewithpan SE_W004, +63 + createvisualtask sub_8116620, 10, 4, 2, 0, 0, RGB_BLACK + playsewithpan SE_W004, +63 + waitforvisualfinish + createsprite gSlideMonToOriginalPosSpriteTemplate, 2, 0, 0, 9 + clearmonbg ANIM_TARGET + blendoff + delay 2 + restorebg + waitbgfadein end + Move_FORCE_PALM: end Move_AURA_SPHERE: + loadspritegfx ANIM_TAG_METEOR + loadspritegfx ANIM_TAG_CIRCLE_OF_LIGHT + monbg ANIM_ATK_PARTNER + monbgprio_28 ANIM_ATTACKER + setalpha 12, 8 + createvisualtask AnimTask_IsAttackerOpponentSide, 2 + fadetobg BG_HIGHSPEED_OPPONENT + waitbgfadeout + createvisualtask sub_8117660, 5, -2304, 0, 1, -1 + waitbgfadein + playsewithpan SE_W327, 0 + delay 60 + createsprite gAuraSphereBlast, 131, 0 + playsewithpan SE_W207, SOUND_PAN_ATTACKER + delay 16 + createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 8, 0, 16, 1 + playsewithpan SE_W025B, SOUND_PAN_TARGET + waitforvisualfinish + restorebg + waitbgfadeout + setarg 7, -1 + waitbgfadein + clearmonbg ANIM_ATK_PARTNER + blendoff + delay 1 end Move_ROCK_POLISH: @@ -864,12 +1379,54 @@ Move_POWER_GEM: end Move_DRAIN_PUNCH: + loadspritegfx ANIM_TAG_HANDS_AND_FEET + loadspritegfx ANIM_TAG_IMPACT + loadspritegfx ANIM_TAG_BLUE_STAR + loadspritegfx ANIM_TAG_ORBS + monbg ANIM_DEF_PARTNER + setalpha 12, 8 + playsewithpan SE_W233B, -64 + createsprite gFistFootSpriteTemplate, 131, 0, 0, 8, 1, 0 + createsprite gBasicHitSplatSpriteTemplate, 130, 0, 0, 1, 1 + createvisualtask AnimTask_ShakeMon, 2, ANIM_TARGET, 0, 3, 15, 1 + delay 20 + call MegaDrainEffect + waitforvisualfinish + delay 15 + call HealingEffect + waitforvisualfinish + clearmonbg ANIM_DEF_PARTNER + blendoff end Move_VACUUM_WAVE: end Move_FOCUS_BLAST: + loadspritegfx ANIM_TAG_CIRCLE_OF_LIGHT + loadspritegfx ANIM_TAG_METEOR + loadspritegfx ANIM_TAG_FLAT_ROCK + monbg ANIM_ATK_PARTNER + monbgprio_28 ANIM_ATTACKER + setalpha 12, 8 + createvisualtask AnimTask_IsAttackerOpponentSide, 2 + fadetobg BG_HIGHSPEED_OPPONENT + waitbgfadeout + createvisualtask sub_8117660, 5, -2304, 0, 1, -1 + waitbgfadein + createsprite gUnknown_08595FEC, 130, 0 + playsewithpan SE_W025, SOUND_PAN_ATTACKER + waitforvisualfinish + createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 8, 0, 16, 1 + playsewithpan SE_W025B, SOUND_PAN_TARGET + waitforvisualfinish + restorebg + waitbgfadeout + setarg 7, -1 + waitbgfadein + clearmonbg ANIM_TARGET + blendoff + delay 1 end Move_ENERGY_BALL: