From 26b7b27784633f67f1e984e0412c8106291d7170 Mon Sep 17 00:00:00 2001 From: Frank Date: Mon, 6 Nov 2023 10:40:13 -0500 Subject: [PATCH] Fixed GetNextBall --- src/battle_controller_player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle_controller_player.c b/src/battle_controller_player.c index e1041582e81f..48ab691dfa93 100644 --- a/src/battle_controller_player.c +++ b/src/battle_controller_player.c @@ -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; } }