Skip to content

Commit

Permalink
Use LEARNED_MOVES_MAX in MoveDisplayInfo struct definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Viperio19 committed Nov 16, 2024
1 parent b33f8cf commit 7dba186
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions include/battle/move_display_info.h
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7dba186

Please sign in to comment.