From fa32603e73d29369bc9916a97d48086bec9ddd65 Mon Sep 17 00:00:00 2001 From: ghoulslash <41651341+ghoulslash@users.noreply.github.com> Date: Mon, 1 Mar 2021 16:38:49 -0700 Subject: [PATCH] Update src/battle_z_move.c Co-authored-by: ExpoSeed <43502820+ExpoSeed@users.noreply.github.com> --- src/battle_z_move.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle_z_move.c b/src/battle_z_move.c index 9d8e785d2..d2beb3a49 100644 --- a/src/battle_z_move.c +++ b/src/battle_z_move.c @@ -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