summaryrefslogtreecommitdiff
path: root/include/global.fieldmap.h
diff options
context:
space:
mode:
authorscnorton <scnorton@biociphers.org>2017-09-06 10:48:51 -0400
committerscnorton <scnorton@biociphers.org>2017-09-06 10:48:51 -0400
commit1087d1c8227fbcdb768bc96b96c969dd2c9cb598 (patch)
treec72ba738fc6cf4556b8016410b466edb5aef85a5 /include/global.fieldmap.h
parentf15191bfc28effef4155b26186bd4236182b88aa (diff)
GetFieldObjectIdByLocalIdAndMapInternal; rename gUnknown_02037350 to gMapObjects
Diffstat (limited to 'include/global.fieldmap.h')
-rw-r--r--include/global.fieldmap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/global.fieldmap.h b/include/global.fieldmap.h
index 4029132e8..3e0c7729a 100644
--- a/include/global.fieldmap.h
+++ b/include/global.fieldmap.h
@@ -1,6 +1,8 @@
#ifndef GUARD_GLOBAL_FIELDMAP_H
#define GUARD_GLOBAL_FIELDMAP_H
+#define NUM_FIELD_OBJECTS 16
+
enum
{
CONNECTION_SOUTH = 1,
@@ -381,7 +383,7 @@ struct Camera
s32 y;
};
-extern struct MapObject gMapObjects[];
+extern struct MapObject gMapObjects[NUM_FIELD_OBJECTS];
extern u8 gSelectedMapObject;
extern struct MapHeader gMapHeader;
extern struct PlayerAvatar gPlayerAvatar;