From b1fc911965c584f5af6522849162527f41461b7c Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Tue, 14 Dec 2021 23:36:22 -0500 Subject: Decomped InSameRoom_2() --- include/dungeon_global_data.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/dungeon_global_data.h') diff --git a/include/dungeon_global_data.h b/include/dungeon_global_data.h index 1d0a971..2e46ef0 100644 --- a/include/dungeon_global_data.h +++ b/include/dungeon_global_data.h @@ -5,6 +5,7 @@ #include "dungeon_entity.h" #include "global.h" #include "map.h" +#include "position.h" #define DUNGEON_MAX_SIZE_X 55 #define DUNGEON_MAX_SIZE_Y 31 @@ -69,7 +70,9 @@ struct DungeonGlobalData /* 0xE278 */ u8 waterSportTurnsLeft; u8 fillE279[0xE8C0 - 0xE279]; /* 0xE8C0 */ u32 mapEntityPointers[DUNGEON_MAX_SIZE_X * DUNGEON_MAX_SIZE_Y]; - u8 fill10364[0x10844 - 0x10364]; + u8 fill10364[0x104C4 - 0x10364]; + /* 0x104C4 */ struct MapRoom roomData[MAX_ROOM_COUNT]; + u8 fill10604[0x10844 - 0x10764]; /* 0x10844 */ u16 numRoomExits[MAX_ROOM_COUNT]; u8 fill10874[0x10884 - 0x10874]; /* 0x10884 */ struct Position roomExits[MAX_ROOM_COUNT][32]; // Arrays of room exits for each room. -- cgit v1.2.3