Fix sprite display issue with shiny wild Pokemon

pull/16/head
Flashfyre 2024-02-20 15:08:46 -05:00
parent b6da66e91f
commit c848755426
1 changed files with 2 additions and 2 deletions

View File

@ -216,8 +216,8 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
tintSprite.setVisible(false);
this.add(sprite);
this.add(tintSprite);
this.addAt(sprite, 0);
this.addAt(tintSprite, 1);
if (this.isShiny() && !this.shinySparkle)
this.initShinySparkle();