Ignore stat change animations when move animations are disabled

pull/70/head
Flashfyre 2024-04-09 15:17:42 -04:00
parent b892a8b40e
commit d9849c5e70
1 changed files with 1 additions and 1 deletions

View File

@ -2540,7 +2540,7 @@ export class StatChangePhase extends PokemonPhase {
this.end(); this.end();
}; };
if (relLevels.filter(l => l).length) { if (relLevels.filter(l => l).length && this.scene.moveAnimations) {
pokemon.enableMask(); pokemon.enableMask();
const pokemonMaskSprite = pokemon.maskSprite; const pokemonMaskSprite = pokemon.maskSprite;