mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-26 08:46:55 +00:00
Fix typo setting ability text to color
This commit is contained in:
parent
382b70ed60
commit
d304cae19f
@ -123,7 +123,7 @@ export default class PokemonInfoContainer extends Phaser.GameObjects.Container {
|
||||
const ability = pokemon.getAbility(true);
|
||||
const abilityTextStyle = ability.id === pokemon.getSpeciesForm().abilityHidden ? TextStyle.MONEY : TextStyle.WINDOW;
|
||||
this.pokemonAbilityText.setText(ability.name);
|
||||
this.pokemonAbilityText.setText(getTextColor(abilityTextStyle));
|
||||
this.pokemonAbilityText.setColor(getTextColor(abilityTextStyle));
|
||||
this.pokemonAbilityText.setShadowColor(getTextColor(abilityTextStyle, true));
|
||||
|
||||
this.pokemonNatureText.setText(getNatureName(pokemon.getNature(), true));
|
||||
|
Loading…
Reference in New Issue
Block a user