From 4229a950ea69ce5aff7d3a56935698840d83fbea Mon Sep 17 00:00:00 2001 From: Varish Kongara Date: Sat, 30 Aug 2025 01:08:23 -0500 Subject: [PATCH] Fix Gastro Acid not changing move preview color with Pixilate ability --- play.pokemonshowdown.com/src/battle-tooltips.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/play.pokemonshowdown.com/src/battle-tooltips.ts b/play.pokemonshowdown.com/src/battle-tooltips.ts index e29c63cf6..2f61d4a1d 100644 --- a/play.pokemonshowdown.com/src/battle-tooltips.ts +++ b/play.pokemonshowdown.com/src/battle-tooltips.ts @@ -33,7 +33,7 @@ export class ModifiableValue { this.serverPokemon = serverPokemon; this.itemName = this.battle.dex.items.get(serverPokemon.item).name; - const ability = serverPokemon.ability || pokemon?.ability || serverPokemon.baseAbility; + const ability = pokemon?.ability || serverPokemon.ability || serverPokemon.baseAbility; this.abilityName = this.battle.dex.abilities.get(ability).name; this.weatherName = this.battle.dex.moves.get(battle.weather).exists ? this.battle.dex.moves.get(battle.weather).name : this.battle.dex.abilities.get(battle.weather).name;