Fix sprite display issue with shiny wild Pokemon
This commit is contained in:
1 parent
b6da66e91f
commit
c848755426
1 file changed
+2
-2
+2
-2
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user