While to do_while
This commit is contained in:
+2
-2
@@ -5563,11 +5563,11 @@ static void HandleAction_UseItem(void)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
while (!(*(gBattleStruct->AI_itemFlags + (gBattlerAttacker >> 1)) & 1))
|
do
|
||||||
{
|
{
|
||||||
*(gBattleStruct->AI_itemFlags + (gBattlerAttacker >> 1)) >>= 1;
|
*(gBattleStruct->AI_itemFlags + (gBattlerAttacker >> 1)) >>= 1;
|
||||||
gBattleCommunication[MULTISTRING_CHOOSER]++;
|
gBattleCommunication[MULTISTRING_CHOOSER]++;
|
||||||
}
|
} while (!(*(gBattleStruct->AI_itemFlags + (gBattlerAttacker >> 1)) & 1));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case AI_ITEM_X_STAT:
|
case AI_ITEM_X_STAT:
|
||||||
|
|||||||
Reference in New Issue
Block a user