summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-09-28 01:31:01 -0700
committerYamaArashi <shadow962@live.com>2016-09-28 01:35:19 -0700
commit18c171932be74e560f131db7350a961c7a4355c3 (patch)
tree8a7c5e3263650faf5256bbfc75904023f21eb3b4 /include
parente714dae4df3d3a78d9c5390ee78379c7a73943cc (diff)
update headers
Diffstat (limited to 'include')
-rw-r--r--include/fieldmap.h10
-rw-r--r--include/global.h6
2 files changed, 13 insertions, 3 deletions
diff --git a/include/fieldmap.h b/include/fieldmap.h
index e60e4bbce..d1da5a7e4 100644
--- a/include/fieldmap.h
+++ b/include/fieldmap.h
@@ -26,7 +26,15 @@ struct MapData
struct MapObjectTemplate
{
- u8 filler[0x18];
+ u8 localId;
+ u8 filler_1[0x3];
+ s16 x;
+ s16 y;
+ u8 elevation;
+ u8 movementType;
+ u8 filler_A[0x6];
+ u8 *script;
+ u8 filler_14[0x4];
};
struct MapEvents
diff --git a/include/global.h b/include/global.h
index ca3ae4509..bcc4d240d 100644
--- a/include/global.h
+++ b/include/global.h
@@ -98,7 +98,7 @@ struct WarpData
{
s8 mapGroup;
s8 mapNum;
- u8 warpId;
+ s8 warpId;
s16 x, y;
};
@@ -126,7 +126,9 @@ struct SaveBlock1
{
struct Coords16 pos;
struct WarpData location;
- u8 filler_C[0x484];
+ u8 filler_C[0x26];
+ u16 mapDataId;
+ u8 filler_34[0x45C];
u32 money;
u16 coins;
u16 registeredItem; // registered for use with SELECT button