hide enemy ability

pull/647/head
Frederico Santos 2024-05-09 12:39:23 +01:00
parent 80328acf7a
commit edbdd47a05
1 changed files with 1 additions and 1 deletions

View File

@ -1952,7 +1952,7 @@ export default class BattleScene extends SceneBase {
}; };
}) : [], }) : [],
nature: getNatureName(pokemon.nature, false, false, true), nature: getNatureName(pokemon.nature, false, false, true),
ability: pokemon.getAbility().name, ability: pokemon.isPlayer() ? pokemon.getAbility().name : "",
hiddenAbility: pokemon.getPassiveAbility().name, hiddenAbility: pokemon.getPassiveAbility().name,
pokedexEntry: pokemon.species.speciesId.toString(), pokedexEntry: pokemon.species.speciesId.toString(),
stats: pokemon.isPlayer() ? pokemon.stats.map(p => p) : [], stats: pokemon.isPlayer() ? pokemon.stats.map(p => p) : [],