Merge pull request #2408 from LOuroboros/patch-1

Fixed CanFling
This commit is contained in:
Eduardo Quezada D'Ottone 2022-10-22 10:46:11 -03:00 committed by GitHub
commit 449f4c0caa
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;