From cc44067c89c6e314615e47694d953ba859079f8f Mon Sep 17 00:00:00 2001 From: Bertie690 <136088738+Bertie690@users.noreply.github.com> Date: Sat, 7 Jun 2025 17:09:50 -0400 Subject: [PATCH] Fiz pokemon.ts Thx jummy --- src/field/pokemon.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index cda83cac469..8b6fce9f8e7 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -1,4 +1,4 @@ -import Phaser from "phaser"; +qqimport Phaser from "phaser"; import type { AnySound } from "#app/battle-scene"; import type BattleScene from "#app/battle-scene"; import { globalScene } from "#app/global-scene"; @@ -2323,8 +2323,8 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { (!this.isOfType(PokemonType.FLYING, true, true) && !this.hasAbility(AbilityId.LEVITATE) && !this.getTag(BattlerTagType.FLOATING) && - !ignoreSemiInvulnerable) || - !this.getTag(SemiInvulnerableTag) + !ignoreSemiInvulnerable || !this.getTag(SemiInvulnerableTag) + ) ); }