Renamed constant,

This commit is contained in:
Eduardo Quezada
2020-07-12 01:49:32 -04:00
parent 7244b80fc6
commit b31efcd6e3
3 changed files with 3 additions and 3 deletions

View File

@@ -5547,7 +5547,7 @@ static void HandleAction_UseItem(void)
ClearFuryCutterDestinyBondGrudge(gBattlerAttacker);
gLastUsedItem = gBattleBufferB[gBattlerAttacker][1] | (gBattleBufferB[gBattlerAttacker][2] << 8);
if (gLastUsedItem <= END_BALLS) // is ball
if (gLastUsedItem <= LAST_BALL) // is ball
{
gBattlescriptCurrInstr = gBattlescriptsForBallThrow[gLastUsedItem];
}