summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorgarak <garakmon@gmail.com>2019-12-17 21:09:15 -0500
committergarak <garakmon@gmail.com>2019-12-17 21:35:09 -0500
commit8ee35bc615de6a00a3938f8d9eef88c7e900a203 (patch)
tree62b5362866f2240e4443b52635d2aaa721e81bb0 /include/global.h
parentfabe354c015e0d587353093debafff6f44d6ab07 (diff)
*actual* final pass at unifying on object event
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/global.h b/include/global.h
index abc41a9de..f4d21704b 100644
--- a/include/global.h
+++ b/include/global.h
@@ -544,7 +544,6 @@ typedef union QuestLogScene QuestLogScene;
// This name is a complete guess and may change.
-#define MAP_OBJECTS_COUNT 16
#define BERRY_TREES_COUNT 128
#define FLAGS_COUNT 288 // 300
#define VARS_COUNT 256
@@ -609,7 +608,7 @@ struct QuestLog
/*0x0003*/ s8 unk_003;
/*0x0004*/ s16 unk_004;
/*0x0006*/ s16 unk_006;
- /*0x0008*/ struct QuestLogObjectEvent unk_008[MAP_OBJECTS_COUNT];
+ /*0x0008*/ struct QuestLogObjectEvent unk_008[OBJECT_EVENTS_COUNT];
// These arrays hold the game state for
// playing back the quest log
@@ -744,7 +743,7 @@ struct SaveBlock1
/*0x0632*/ u8 field_632[6]; // unused?
/*0x0638*/ u16 trainerRematchStepCounter;
/*0x063A*/ u8 ALIGNED(2) trainerRematches[100];
- /*0x06A0*/ struct ObjectEvent objectEvents[MAP_OBJECTS_COUNT];
+ /*0x06A0*/ struct ObjectEvent objectEvents[OBJECT_EVENTS_COUNT];
/*0x08E0*/ struct ObjectEventTemplate objectEventTemplates[64];
/*0x0EE0*/ u8 flags[FLAGS_COUNT];
/*0x1000*/ u16 vars[VARS_COUNT];