Ignore stat change animations when move animations are disabled

This commit is contained in:
Flashfyre committed 2024-04-09 15:17:42 -04:00
1 parent b892a8b40e
commit d9849c5e70
1 file changed
+1 -1
+1 -1
View File
@@ -2540,7 +2540,7 @@ export class StatChangePhase extends PokemonPhase {
this.end();
};
if (relLevels.filter(l => l).length) {
if (relLevels.filter(l => l).length && this.scene.moveAnimations) {
pokemon.enableMask();
const pokemonMaskSprite = pokemon.maskSprite;