summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJo Ruby P <jorubyp@gmail.com>2018-08-15 15:27:58 +0100
committerJo Ruby P <jorubyp@gmail.com>2018-08-15 15:27:58 +0100
commitae4d91ce501864fef180155927912c32d931e14e (patch)
tree5cab0b7df99b3149b0b9baa2f0318acfda7f2b88 /include
parent6b153b3a0d8bee97e13c395c1228b7465738f64c (diff)
Label unknowns and fillers, add constants to global.h, use constants in record_mixing.c and tv.c
Diffstat (limited to 'include')
-rw-r--r--include/global.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/global.h b/include/global.h
index 4dc23e12f..374701930 100644
--- a/include/global.h
+++ b/include/global.h
@@ -103,6 +103,8 @@ enum LanguageId
#define VARS_COUNT 256
#define MAIL_COUNT 16
#define SECRET_BASES_COUNT 20
+#define TV_SHOWS_COUNT 25
+#define POKE_NEWS_COUNT 16
#define PC_ITEMS_COUNT 50
#define BAG_ITEMS_COUNT 20
#define BAG_KEYITEMS_COUNT 20
@@ -687,8 +689,8 @@ struct SaveBlock1 /* 0x02025734 */
/*0x2704*/ u8 decorDoll[40];
/*0x272C*/ u8 decorCushion[10];
/*0x2736*/ u8 padding_2736[2];
- /*0x2738*/ TVShow tvShows[25];
- /*0x2ABC*/ struct PokeNews pokeNews[16];
+ /*0x2738*/ TVShow tvShows[TV_SHOWS_COUNT];
+ /*0x2ABC*/ struct PokeNews pokeNews[POKE_NEWS_COUNT];
/*0x2AFC*/ u16 outbreakPokemonSpecies;
/*0x2AFE*/ u8 outbreakLocationMapNum;
/*0x2AFF*/ u8 outbreakLocationMapGroup;