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