mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-17 01:37:36 +00:00
Ensure shiny icon is visible in battle info when shiny
This commit is contained in:
parent
ed5921eb10
commit
636f89992a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user