diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-11-17 13:49:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-17 13:49:58 -0500 |
commit | 116fbecbe4dcb7be75221ec2033c397abdb57103 (patch) | |
tree | eb7077f45bdc0280a7484ce60293deafaf766ddb /include/global.h | |
parent | de153a67cfc268a37580bd00dd649669009e955d (diff) | |
parent | 6f91f7e0e341ec410f0d231625cdb7aea1cb0359 (diff) |
Merge pull request #1254 from kageru/pret
Use more constants in Battle Tower code
Diffstat (limited to 'include/global.h')
-rw-r--r-- | include/global.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/global.h b/include/global.h index 85166e0ec..4ccd2be50 100644 --- a/include/global.h +++ b/include/global.h @@ -328,11 +328,12 @@ struct BattleDomeTrainer }; #define DOME_TOURNAMENT_TRAINERS_COUNT 16 +#define BATTLE_TOWER_RECORD_COUNT 5 struct BattleFrontier { /*0x64C*/ struct EmeraldBattleTowerRecord towerPlayer; - /*0x738*/ struct EmeraldBattleTowerRecord towerRecords[5]; // From record mixing. + /*0x738*/ struct EmeraldBattleTowerRecord towerRecords[BATTLE_TOWER_RECORD_COUNT]; // From record mixing. /*0xBEB*/ struct BattleTowerInterview towerInterview; /*0xBEC*/ struct BattleTowerEReaderTrainer ereaderTrainer; /*0xCA8*/ u8 challengeStatus; |