From 2ac23e201bddac0793e763c907f7e4ae362236e4 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Wed, 21 Sep 2016 20:43:41 -0700 Subject: decompile rest of script commands --- include/decoration.h | 16 ++++++++++++++++ include/global.h | 6 +++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 include/decoration.h (limited to 'include') diff --git a/include/decoration.h b/include/decoration.h new file mode 100644 index 000000000..4bad93d1f --- /dev/null +++ b/include/decoration.h @@ -0,0 +1,16 @@ +#ifndef GUARD_DECORATION_H +#define GUARD_DECORATION_H + +struct Decoration +{ + u8 id; + u8 name[16]; + u8 decor_field_11; + u8 decor_field_12; + u8 decor_field_13; + u16 price; + u8 *description; + void *tiles; +}; + +#endif // GUARD_DECORATION_H diff --git a/include/global.h b/include/global.h index 6fb9e2604..3acdd5c62 100644 --- a/include/global.h +++ b/include/global.h @@ -18,6 +18,7 @@ extern u8 gStringVar1[]; extern u8 gStringVar2[]; extern u8 gStringVar3[]; +extern u8 gStringVar4[]; enum { @@ -99,7 +100,10 @@ struct SaveBlock1 { struct Coords16 pos; struct WarpData location; - u8 filler[0x3684]; + u8 filler_C[0x484]; + u32 money; + u16 coins; + u8 filler_496[0x31FA]; struct RamScript ramScript; }; -- cgit v1.2.3