Add sprite shadows and update engine
This commit is contained in:
1 parent
1b5e757731
commit
0cc87b4ba0
11 files changed
+157
-92
No files matched your search
@@ -565,8 +565,7 @@ export class HideSpriteTag extends BattlerTag {
|
||||
onRemove(pokemon: Pokemon): void {
|
||||
// Wait 2 frames before setting visible for battle animations that don't immediately show the sprite invisible
|
||||
pokemon.scene.tweens.addCounter({
|
||||
duration: 2,
|
||||
useFrames: true,
|
||||
duration: Utils.getFrameMs(2),
|
||||
onComplete: () => pokemon.setVisible(true)
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user