From 79a87e1c65c6062e4a764aa27a21d23a7a0e2598 Mon Sep 17 00:00:00 2001 From: Benjamin Odom Date: Sun, 12 May 2024 07:12:19 -0500 Subject: [PATCH] Update pokemon.ts --- src/field/pokemon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 3864afe20..a73f14586 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -940,7 +940,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { } isGrounded(): boolean { - return !this.isOfType(Type.FLYING, true) && this.hasAbility(Abilities.LEVITATE); + return !this.isOfType(Type.FLYING, true) && !this.hasAbility(Abilities.LEVITATE); } getAttackMoveEffectiveness(source: Pokemon, move: PokemonMove): TypeDamageMultiplier {