mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 23:13:42 +02:00
[Bug][Sprite] Ensure evo silhouette disappears in evo phase (#6450)
Ensure evo silhouette disappears in evo phase
This commit is contained in:
parent
4dc067daa2
commit
264dd6b2d0
@ -31,6 +31,7 @@ export class EvolutionPhase extends Phase {
|
||||
private evolutionBgm: AnySound;
|
||||
private evolutionHandler: EvolutionSceneHandler;
|
||||
|
||||
/** Container for all assets used by the scene. When the scene is cleared, the children within this are destroyed. */
|
||||
protected evolutionContainer: Phaser.GameObjects.Container;
|
||||
protected evolutionBaseBg: Phaser.GameObjects.Image;
|
||||
protected evolutionBg: Phaser.GameObjects.Video;
|
||||
@ -522,6 +523,7 @@ export class EvolutionPhase extends Phase {
|
||||
return;
|
||||
}
|
||||
if (i === lastCycle) {
|
||||
this.pokemonTintSprite.setVisible(false).setActive(false);
|
||||
this.pokemonEvoTintSprite.setScale(1);
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user