Skip to content

Commit

Permalink
Add Psychic Noise animation (smogon#2254)
Browse files Browse the repository at this point in the history
* Add Psychic Noise animation

* Satisfy linter
  • Loading branch information
shrianshChari committed Oct 8, 2024
1 parent 0dab0b2 commit af2445a
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions play.pokemonshowdown.com/src/battle-animations-moves.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35704,6 +35704,47 @@ export const BattleMoveAnims: AnimTable = {
}, 'swing');
},
},
psychicnoise: {
anim(scene, [attacker, defender]) {
scene.showEffect('mistball', {
x: attacker.x,
y: attacker.y,
z: attacker.z,
scale: 0,
opacity: 0.8,
time: 0,
}, {
x: defender.x,
y: defender.y,
z: defender.z,
scale: 5,
opacity: 0.1,
time: 750,
}, 'linear');
scene.showEffect('poisonwisp', {
x: defender.x - 20,
y: defender.y + 20,
z: defender.z,
scale: 0,
opacity: 1,
time: 900,
}, {
scale: 2,
opacity: 0,
}, 'decel');
scene.showEffect('poisonwisp', {
x: defender.x + 20,
y: defender.y + 20,
z: defender.z,
scale: 0,
opacity: 1,
time: 1050,
}, {
scale: 2,
opacity: 0,
}, 'decel');
},
},
};

// placeholder animations
Expand Down

0 comments on commit af2445a

Please sign in to comment.