From edbdd47a057b378b96fd840a0a8b9d7418f26ffc Mon Sep 17 00:00:00 2001 From: Frederico Santos Date: Thu, 9 May 2024 12:39:23 +0100 Subject: [PATCH] hide enemy ability --- src/battle-scene.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle-scene.ts b/src/battle-scene.ts index cd6989885..35045d53c 100644 --- a/src/battle-scene.ts +++ b/src/battle-scene.ts @@ -1952,7 +1952,7 @@ export default class BattleScene extends SceneBase { }; }) : [], nature: getNatureName(pokemon.nature, false, false, true), - ability: pokemon.getAbility().name, + ability: pokemon.isPlayer() ? pokemon.getAbility().name : "", hiddenAbility: pokemon.getPassiveAbility().name, pokedexEntry: pokemon.species.speciesId.toString(), stats: pokemon.isPlayer() ? pokemon.stats.map(p => p) : [],