Add sprite shadows and update engine

This commit is contained in:
Flashfyre committed 2023-06-04 21:47:43 -04:00
1 parent 1b5e757731
commit 0cc87b4ba0
11 files changed
+157 -92

No files matched your search

+1 -2
View File
@@ -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)
});
}