summaryrefslogtreecommitdiff
path: root/include/battle_controllers.h
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-09-08 11:53:48 -0400
committerhuderlem <huderlem@gmail.com>2019-09-16 19:21:23 -0500
commit85d97542cdb269278aad3cc3735c29845f9d8738 (patch)
tree73ed7b2dd004aff52c7f6816ac5e7bb2652c9a7f /include/battle_controllers.h
parent258784f263d7834696db552a1b47cf6bd1dfd6b4 (diff)
Use MAX_MON_MOVES constants
Diffstat (limited to 'include/battle_controllers.h')
-rw-r--r--include/battle_controllers.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/battle_controllers.h b/include/battle_controllers.h
index 9449f1986..365229fda 100644
--- a/include/battle_controllers.h
+++ b/include/battle_controllers.h
@@ -97,16 +97,16 @@ struct HpAndStatus
struct MovePpInfo
{
- u16 moves[4];
- u8 pp[4];
+ u16 moves[MAX_MON_MOVES];
+ u8 pp[MAX_MON_MOVES];
u8 ppBonuses;
};
struct ChooseMoveStruct
{
- u16 moves[4];
- u8 currentPp[4];
- u8 maxPp[4];
+ u16 moves[MAX_MON_MOVES];
+ u8 currentPp[MAX_MON_MOVES];
+ u8 maxPp[MAX_MON_MOVES];
u16 species;
u8 monType1;
u8 monType2;