While to do_while

This commit is contained in:
PokeCodec 2020-09-05 18:15:53 -04:00
parent fe9ab67063
commit 8b729cf225
1 changed files with 2 additions and 2 deletions

View File

@ -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: