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);
|
tintSprite.setVisible(false);
|
||||||
|
|
||||||
this.add(sprite);
|
this.addAt(sprite, 0);
|
||||||
this.add(tintSprite);
|
this.addAt(tintSprite, 1);
|
||||||
|
|
||||||
if (this.isShiny() && !this.shinySparkle)
|
if (this.isShiny() && !this.shinySparkle)
|
||||||
this.initShinySparkle();
|
this.initShinySparkle();
|
||||||
|
|||||||
Reference in new issue
Block a user