mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-30 02:36:11 +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 ability = pokemon.getAbility(true);
|
||||||
const abilityTextStyle = ability.id === pokemon.getSpeciesForm().abilityHidden ? TextStyle.MONEY : TextStyle.WINDOW;
|
const abilityTextStyle = ability.id === pokemon.getSpeciesForm().abilityHidden ? TextStyle.MONEY : TextStyle.WINDOW;
|
||||||
this.pokemonAbilityText.setText(ability.name);
|
this.pokemonAbilityText.setText(ability.name);
|
||||||
this.pokemonAbilityText.setText(getTextColor(abilityTextStyle));
|
this.pokemonAbilityText.setColor(getTextColor(abilityTextStyle));
|
||||||
this.pokemonAbilityText.setShadowColor(getTextColor(abilityTextStyle, true));
|
this.pokemonAbilityText.setShadowColor(getTextColor(abilityTextStyle, true));
|
||||||
|
|
||||||
this.pokemonNatureText.setText(getNatureName(pokemon.getNature(), true));
|
this.pokemonNatureText.setText(getNatureName(pokemon.getNature(), true));
|
||||||
|
Loading…
Reference in New Issue
Block a user