diff --git a/src/battle_main.c b/src/battle_main.c index 5bd98d25b5..7fa59e6d4e 100644 --- a/src/battle_main.c +++ b/src/battle_main.c @@ -5563,11 +5563,11 @@ static void HandleAction_UseItem(void) } else { - while (!(*(gBattleStruct->AI_itemFlags + (gBattlerAttacker >> 1)) & 1)) + do { *(gBattleStruct->AI_itemFlags + (gBattlerAttacker >> 1)) >>= 1; gBattleCommunication[MULTISTRING_CHOOSER]++; - } + } while (!(*(gBattleStruct->AI_itemFlags + (gBattlerAttacker >> 1)) & 1)); } break; case AI_ITEM_X_STAT: