From 7dba186c17faf50cb2480d6f58e21827564456d4 Mon Sep 17 00:00:00 2001 From: Viperio19 Date: Sat, 16 Nov 2024 14:04:51 +0100 Subject: [PATCH] Use LEARNED_MOVES_MAX in MoveDisplayInfo struct definition --- include/battle/move_display_info.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/battle/move_display_info.h b/include/battle/move_display_info.h index 3d4bb76c95..89075dcaf0 100644 --- a/include/battle/move_display_info.h +++ b/include/battle/move_display_info.h @@ -1,10 +1,12 @@ #ifndef POKEPLATINUM_MOVE_DISPLAY_INFO #define POKEPLATINUM_MOVE_DISPLAY_INFO +#include "constants/moves.h" + typedef struct MoveDisplayInfo { - u16 move[4]; - u16 curPP[4]; - u16 maxPP[4]; + u16 move[LEARNED_MOVES_MAX]; + u16 curPP[LEARNED_MOVES_MAX]; + u16 maxPP[LEARNED_MOVES_MAX]; } MoveDisplayInfo; #endif // POKEPLATINUM_MOVE_DISPLAY_INFO