Merge pull request #2516 from Tempo-anon/ohkoInvertColor
[Accessbility] Remove screen inversion if move animations are off
This commit is contained in:
commit
4cd1653186
|
@ -3616,7 +3616,9 @@ export class DamagePhase extends PokemonPhase {
|
|||
super.start();
|
||||
|
||||
if (this.damageResult === HitResult.ONE_HIT_KO) {
|
||||
this.scene.toggleInvert(true);
|
||||
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