Skip to content

Commit 189ea3f

Browse files
HisuianZoroarkshrianshChari
authored andcommitted
Fix Quark Drive/Protosynthesis visual bug when losing ability (smogon#2253)
1 parent e088b00 commit 189ea3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: play.pokemonshowdown.com/src/battle.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2700,7 +2700,7 @@ export class Battle {
27002700
let fromeffect = Dex.getEffect(kwArgs.from);
27012701
poke.removeVolatile(effect.id);
27022702

2703-
if (kwArgs.silent) {
2703+
if (kwArgs.silent && !(effect.id === 'protosynthesis' || effect.id === 'quarkdrive')) {
27042704
// do nothing
27052705
} else {
27062706
switch (effect.id) {

0 commit comments

Comments
 (0)