mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-01 15:20:43 +01:00
Update src/battle_z_move.c
Co-authored-by: ExpoSeed <43502820+ExpoSeed@users.noreply.github.com>
This commit is contained in:
parent
d686bab213
commit
fa32603e73
@ -167,7 +167,7 @@ bool32 IsViableZMove(u8 battlerId, u16 move)
|
||||
return FALSE;
|
||||
|
||||
#ifdef ITEM_Z_RING
|
||||
if ((GetBattlerPosition(battlerId) == B_POSITION_PLAYER_LEFT || (!gBattleTypeFlags & BATTLE_TYPE_MULTI) && GetBattlerPosition(battlerId) == B_POSITION_PLAYER_RIGHT) && !CheckBagHasItem(ITEM_Z_RING, 1))
|
||||
if ((GetBattlerPosition(battlerId) == B_POSITION_PLAYER_LEFT || (!(gBattleTypeFlags & BATTLE_TYPE_MULTI) && GetBattlerPosition(battlerId) == B_POSITION_PLAYER_RIGHT)) && !CheckBagHasItem(ITEM_Z_RING, 1))
|
||||
return FALSE;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user