Fix sprite display issue with shiny wild Pokemon
parent
b6da66e91f
commit
c848755426
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue