From bf246aee682f8fc9e8122d6e2b3c11bfc9f77f53 Mon Sep 17 00:00:00 2001 From: skymin3 <145735785+slainey@users.noreply.github.com> Date: Fri, 13 Jun 2025 02:50:56 -0500 Subject: [PATCH 1/2] Move Animations: Slack Off --- .../src/battle-animations-moves.ts | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/play.pokemonshowdown.com/src/battle-animations-moves.ts b/play.pokemonshowdown.com/src/battle-animations-moves.ts index 5516c178d..5e3f352e3 100644 --- a/play.pokemonshowdown.com/src/battle-animations-moves.ts +++ b/play.pokemonshowdown.com/src/battle-animations-moves.ts @@ -2897,6 +2897,58 @@ export const BattleMoveAnims: AnimTable = { }, 'ballistic2Under', 'fade'); }, }, + slackoff: { + anim(scene, [attacker]) { + attacker.anim({ + yscale: 0.8, + time: 150, + }, 'ease'); + attacker.delay(150); + attacker.anim({ + yscale: 1, + time: 550, + }, 'ease'); + + scene.showEffect('iceball', { + x: attacker.x + 10, + y: attacker.y + 10, + z: attacker.z, + scale: 0.18, + opacity: 0, + time: 0, + }, { + y: attacker.y + 80, + opacity: 0.6, + time: 700, + }, 'linear', 'fade', { filter: 'brightness(1.5)' }); + + scene.showEffect('iceball', { + x: attacker.x, + y: attacker.y - 5, + z: attacker.z, + scale: 0.22, + opacity: 0, + time: 200, + }, { + y: attacker.y + 90, + opacity: 0.5, + time: 900, + }, 'linear', 'fade', { filter: 'brightness(1.5)' }); + + scene.showEffect('iceball', { + x: attacker.x + 2, + y: attacker.y, + z: attacker.z, + scale: 0.15, + opacity: 0, + time: 400, + }, { + y: attacker.y + 85, + opacity: 0.55, + time: 1100, + }, 'linear', 'fade', { filter: 'brightness(1.5)' }); + }, + }, howl: { anim: BattleOtherAnims.selfstatus.anim, }, From 47fe52ad5b2b4067cdd2e8147960f67472ce73c5 Mon Sep 17 00:00:00 2001 From: skymin3 <145735785+slainey@users.noreply.github.com> Date: Fri, 13 Jun 2025 02:56:25 -0500 Subject: [PATCH 2/2] eslint fix trailing space --- play.pokemonshowdown.com/src/battle-animations-moves.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/play.pokemonshowdown.com/src/battle-animations-moves.ts b/play.pokemonshowdown.com/src/battle-animations-moves.ts index 5e3f352e3..ede7e239f 100644 --- a/play.pokemonshowdown.com/src/battle-animations-moves.ts +++ b/play.pokemonshowdown.com/src/battle-animations-moves.ts @@ -2908,7 +2908,7 @@ export const BattleMoveAnims: AnimTable = { yscale: 1, time: 550, }, 'ease'); - + scene.showEffect('iceball', { x: attacker.x + 10, y: attacker.y + 10,