From 636f89992aefb3f9bef14fa6bcae33741019b134 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Thu, 29 Feb 2024 12:59:23 -0500 Subject: [PATCH] Ensure shiny icon is visible in battle info when shiny --- src/ui/battle-info.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/battle-info.ts b/src/ui/battle-info.ts index cb567118b9d..2d46edad6b1 100644 --- a/src/ui/battle-info.ts +++ b/src/ui/battle-info.ts @@ -181,6 +181,8 @@ export default class BattleInfo extends Phaser.GameObjects.Container { this.setLevel(pokemon.level); this.lastLevel = pokemon.level; + this.shinyIcon.setVisible(pokemon.isShiny()); + if (this.player) { this.expBar.setScale(pokemon.levelExp / getLevelTotalExp(pokemon.level, pokemon.species.growthRate), 1); this.lastExp = pokemon.exp;