Fixed GetNextBall (#3534)

This commit is contained in:
Frank DeBlasio 2023-11-06 10:57:42 -05:00 committed by GitHub
parent 2b9f6b350e
commit 182d1f5b26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -233,7 +233,7 @@ static u16 GetNextBall(u16 ballId)
{
if (ballId == gBagPockets[BALLS_POCKET].itemSlots[i].itemId)
{
ballNext = gBagPockets[BALLS_POCKET].itemSlots[i].itemId;
ballNext = gBagPockets[BALLS_POCKET].itemSlots[i+1].itemId;
break;
}
}