Skip to content

Commit

Permalink
Fix Quark Drive/Protosynthesis visual bug when losing ability (smogon…
Browse files Browse the repository at this point in the history
  • Loading branch information
HisuianZoroark authored and shrianshChari committed Oct 8, 2024
1 parent e088b00 commit 189ea3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion play.pokemonshowdown.com/src/battle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2700,7 +2700,7 @@ export class Battle {
let fromeffect = Dex.getEffect(kwArgs.from);
poke.removeVolatile(effect.id);

if (kwArgs.silent) {
if (kwArgs.silent && !(effect.id === 'protosynthesis' || effect.id === 'quarkdrive')) {
// do nothing
} else {
switch (effect.id) {
Expand Down

0 comments on commit 189ea3f

Please sign in to comment.