Merge pull request #1080 from AsparagusEduardo/EndBalls

Created constant for easier Ball Expansion.
This commit is contained in:
GriffinR authored and GitHub committed 2020-07-14 19:56:20 -04:00
commit c177872c9c
3 files changed
+4 -2

No files matched your search

+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 <= LAST_BALL) // is ball
{
gBattlescriptCurrInstr = gBattlescriptsForBallThrow[gLastUsedItem];
}