Fixed CanFling

This commit is contained in:
LOuroboros 2022-10-22 10:38:39 -03:00 committed by GitHub
parent c57ab9e529
commit c267c615c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;