From c267c615c1e50a09810c160b8de6ce716fd475f2 Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Sat, 22 Oct 2022 10:38:39 -0300 Subject: [PATCH] Fixed CanFling --- src/battle_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle_util.c b/src/battle_util.c index 9dbdb1abfc..125976fc8f 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -9983,7 +9983,7 @@ bool32 CanFling(u8 battlerId) #endif || gFieldStatuses & STATUS_FIELD_MAGIC_ROOM || gDisableStructs[battlerId].embargoTimer != 0 - || GetFlingPowerFromItemId(item) != 0 + || GetFlingPowerFromItemId(item) == 0 || !CanBattlerGetOrLoseItem(battlerId, item)) return FALSE;