From 310ad59def8c2a67fdd1d70b2a7d8c23606272d7 Mon Sep 17 00:00:00 2001 From: Luc Date: Fri, 26 Apr 2024 11:31:40 -0400 Subject: [PATCH] fixed grounded check --- src/data/move.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/move.ts b/src/data/move.ts index 7b6311df9..58d327218 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -2249,7 +2249,7 @@ export class WeatherBallTypeAttr extends VariableMoveTypeAttr { export class TerrainPulseTypeAttr extends VariableMoveTypeAttr { apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean { - if(user.isGrounded) + if(!user.isGrounded) return false; const currentTerrain = user.scene.arena.getTerrainType();