From e593be205304662bb75621c38f9cdde882cb0a3d Mon Sep 17 00:00:00 2001 From: Jake Magier Date: Sun, 28 Mar 2021 19:52:48 -0400 Subject: [PATCH] added Iron Ball to isGrounded check --- calc/src/mechanics/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calc/src/mechanics/util.ts b/calc/src/mechanics/util.ts index 23d3e00fd..4a873868c 100644 --- a/calc/src/mechanics/util.ts +++ b/calc/src/mechanics/util.ts @@ -28,7 +28,7 @@ const EV_ITEMS = [ ]; export function isGrounded(pokemon: Pokemon, field: Field) { - return (field.isGravity || + return (field.isGravity || pokemon.hasItem('Iron Ball') || (!pokemon.hasType('Flying') && !pokemon.hasAbility('Levitate') && !pokemon.hasItem('Air Balloon')));