From 338740e256d35c2b938188abb5f254a96fe5c6ad Mon Sep 17 00:00:00 2001 From: johannakullmann <151456919+johannakullmann@users.noreply.github.com> Date: Fri, 5 Jan 2024 17:56:38 +0100 Subject: [PATCH] Fixed bug that prevents field moves from being displayed when adding more field moves (#3933) When adding a new field move, no field moves will be displayed in the party menu screen at all. This fixes this issue. --- src/party_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/party_menu.c b/src/party_menu.c index f333db02fb..1573c71a64 100644 --- a/src/party_menu.c +++ b/src/party_menu.c @@ -2787,7 +2787,7 @@ static void SetPartyMonFieldSelectionActions(struct Pokemon *mons, u8 slotId) // Add field moves to action list for (i = 0; i < MAX_MON_MOVES; i++) { - for (j = 0; sFieldMoves[j] != FIELD_MOVES_COUNT; j++) + for (j = 0; j != FIELD_MOVES_COUNT; j++) { if (GetMonData(&mons[slotId], i + MON_DATA_MOVE1) == sFieldMoves[j]) {