diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-09-08 11:53:48 -0400 |
---|---|---|
committer | huderlem <huderlem@gmail.com> | 2019-09-16 19:21:23 -0500 |
commit | 85d97542cdb269278aad3cc3735c29845f9d8738 (patch) | |
tree | 73ed7b2dd004aff52c7f6816ac5e7bb2652c9a7f /include/battle_tower.h | |
parent | 258784f263d7834696db552a1b47cf6bd1dfd6b4 (diff) |
Use MAX_MON_MOVES constants
Diffstat (limited to 'include/battle_tower.h')
-rw-r--r-- | include/battle_tower.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/battle_tower.h b/include/battle_tower.h index 12d6d2e9e..8bc6e6554 100644 --- a/include/battle_tower.h +++ b/include/battle_tower.h @@ -7,7 +7,7 @@ struct RSBattleTowerRecord /*0x01*/ u8 facilityClass; /*0x02*/ u16 winStreak; /*0x04*/ u8 name[PLAYER_NAME_LENGTH + 1]; - /*0x0C*/ u8 trainerId[4]; + /*0x0C*/ u8 trainerId[TRAINER_ID_LENGTH]; /*0x10*/ u16 greeting[6]; /*0x1C*/ struct BattleTowerPokemon party[3]; /*0xA0*/ u32 checksum; @@ -27,7 +27,7 @@ struct BattleFrontierTrainer struct FacilityMon { u16 species; - u16 moves[4]; + u16 moves[MAX_MON_MOVES]; u8 itemTableId; u8 evSpread; u8 nature; |