Created constant for easier Ball Expansion.

This commit is contained in:
Eduardo Quezada
2020-06-21 02:36:46 -04:00
parent 46f4a4bbf7
commit 7244b80fc6
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -5547,7 +5547,7 @@ static void HandleAction_UseItem(void)
ClearFuryCutterDestinyBondGrudge(gBattlerAttacker);
gLastUsedItem = gBattleBufferB[gBattlerAttacker][1] | (gBattleBufferB[gBattlerAttacker][2] << 8);
if (gLastUsedItem <= ITEM_PREMIER_BALL) // is ball
if (gLastUsedItem <= END_BALLS) // is ball
{
gBattlescriptCurrInstr = gBattlescriptsForBallThrow[gLastUsedItem];
}