summaryrefslogtreecommitdiff
path: root/include/dungeon_global_data.h
diff options
context:
space:
mode:
authorAnonymousRandomPerson <chenghanngan.us@gmail.com>2021-12-18 00:22:03 -0500
committerAnonymousRandomPerson <chenghanngan.us@gmail.com>2021-12-18 00:22:03 -0500
commit0369264407563b64d60c885f8bf79322b6f663c8 (patch)
treebb1bf94d56b770eca66780948ff9e05401967ed1 /include/dungeon_global_data.h
parentc033aea36e73365c28da1de93af29ec11b3945b2 (diff)
Decomped GetMapTileAtPosition()
Diffstat (limited to 'include/dungeon_global_data.h')
-rw-r--r--include/dungeon_global_data.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/dungeon_global_data.h b/include/dungeon_global_data.h
index d1d57ae..948603e 100644
--- a/include/dungeon_global_data.h
+++ b/include/dungeon_global_data.h
@@ -7,8 +7,8 @@
#include "map.h"
#include "position.h"
-#define DUNGEON_MAX_SIZE_X 55
-#define DUNGEON_MAX_SIZE_Y 31
+#define DUNGEON_MAX_SIZE_X 56
+#define DUNGEON_MAX_SIZE_Y 32
#define DUNGEON_MAX_WILD_POKEMON 16
#define DUNGEON_MAX_POKEMON MAX_TEAM_MEMBERS + DUNGEON_MAX_WILD_POKEMON
@@ -54,8 +54,8 @@ struct DungeonGlobalData
u8 fill3A10[0x3A14 - 0x3A10];
/* 0x3A14 */ s16 bossBattleIndex;
u8 fill3A16[0x3A18 - 0x3A16];
- /* 0x3A18 */ struct MapTile mapTiles[DUNGEON_MAX_SIZE_X * DUNGEON_MAX_SIZE_Y];
- u8 fill54BC[0xE23C - 0xD9F0];
+ /* 0x3A18 */ struct MapTile mapTiles[DUNGEON_MAX_SIZE_Y][DUNGEON_MAX_SIZE_X];
+ u8 fillE218[0xE23C - 0xE218];
s16 unkE23C;
s16 unkE23E;
u8 fillE240[0xE264 - 0xE240];
@@ -71,10 +71,10 @@ struct DungeonGlobalData
/* 0xE277 */ u8 mudSportTurnsLeft;
/* 0xE278 */ u8 waterSportTurnsLeft;
u8 fillE279[0xE8C0 - 0xE279];
- /* 0xE8C0 */ u32 mapEntityPointers[DUNGEON_MAX_SIZE_X * DUNGEON_MAX_SIZE_Y];
- u8 fill10364[0x104C4 - 0x10364];
+ /* 0xE8C0 */ struct MapTile* mapEntityPointers[DUNGEON_MAX_SIZE_Y][DUNGEON_MAX_SIZE_X];
+ u8 fill104C0[0x104C4 - 0x104C0];
/* 0x104C4 */ struct MapRoom roomData[MAX_ROOM_COUNT];
- u8 fill10604[0x10844 - 0x10764];
+ u8 fill10764[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.