From c848755426996b5b85e03c124deef9e03bd3c63f Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Tue, 20 Feb 2024 15:08:46 -0500 Subject: [PATCH] Fix sprite display issue with shiny wild Pokemon --- src/pokemon.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pokemon.ts b/src/pokemon.ts index b6933c65945..bd1eaec87d5 100644 --- a/src/pokemon.ts +++ b/src/pokemon.ts @@ -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();