From d304cae19f390cc53dc14e66fdca44b369b61f9a Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Wed, 3 Apr 2024 18:15:41 -0400 Subject: [PATCH] Fix typo setting ability text to color --- src/ui/pokemon-info-container.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/pokemon-info-container.ts b/src/ui/pokemon-info-container.ts index e07415fde..c312900ec 100644 --- a/src/ui/pokemon-info-container.ts +++ b/src/ui/pokemon-info-container.ts @@ -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));