mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-29 02:06:07 +00:00
Remove screen inversion if move animations are off
This commit is contained in:
parent
9e3b5c636c
commit
5234c8e92e
@ -3580,7 +3580,9 @@ export class DamagePhase extends PokemonPhase {
|
||||
super.start();
|
||||
|
||||
if (this.damageResult === HitResult.ONE_HIT_KO) {
|
||||
if (this.scene.moveAnimations) {
|
||||
this.scene.toggleInvert(true);
|
||||
}
|
||||
this.scene.time.delayedCall(Utils.fixedInt(1000), () => {
|
||||
this.scene.toggleInvert(false);
|
||||
this.applyDamage();
|
||||
|
Loading…
Reference in New Issue
Block a user