Fixed CanFling
This commit is contained in:
parent
c57ab9e529
commit
c267c615c1
1 changed files with 1 additions and 1 deletions
|
@ -9983,7 +9983,7 @@ bool32 CanFling(u8 battlerId)
|
||||||
#endif
|
#endif
|
||||||
|| gFieldStatuses & STATUS_FIELD_MAGIC_ROOM
|
|| gFieldStatuses & STATUS_FIELD_MAGIC_ROOM
|
||||||
|| gDisableStructs[battlerId].embargoTimer != 0
|
|| gDisableStructs[battlerId].embargoTimer != 0
|
||||||
|| GetFlingPowerFromItemId(item) != 0
|
|| GetFlingPowerFromItemId(item) == 0
|
||||||
|| !CanBattlerGetOrLoseItem(battlerId, item))
|
|| !CanBattlerGetOrLoseItem(battlerId, item))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue