diff options
Diffstat (limited to 'src')
-rwxr-xr-x[-rw-r--r--] | src/decoration_inventory.c | 13 | ||||
-rwxr-xr-x[-rw-r--r--] | src/menu.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | src/scrcmd.c | 0 |
3 files changed, 13 insertions, 0 deletions
diff --git a/src/decoration_inventory.c b/src/decoration_inventory.c index 879ceeb82..6463f50dc 100644..100755 --- a/src/decoration_inventory.c +++ b/src/decoration_inventory.c @@ -8,6 +8,19 @@ #include "decoration.h" #include "decoration_inventory.h" +#define DECOR_INV(ptr) {.items = (u8 *)&ptr, .size = sizeof ptr} + +struct DecorationInventory const gDecorationInventories[] = { + DECOR_INV(gSaveBlock1.decorDesk), + DECOR_INV(gSaveBlock1.decorChair), + DECOR_INV(gSaveBlock1.decorPlant), + DECOR_INV(gSaveBlock1.decorOrnament), + DECOR_INV(gSaveBlock1.decorMat), + DECOR_INV(gSaveBlock1.decorPoster), + DECOR_INV(gSaveBlock1.decorDoll), + DECOR_INV(gSaveBlock1.decorCushion) +}; + void ClearDecorationInventory(u8 invIdx) { u8 i; diff --git a/src/menu.c b/src/menu.c index 3acac88a0..3acac88a0 100644..100755 --- a/src/menu.c +++ b/src/menu.c diff --git a/src/scrcmd.c b/src/scrcmd.c index f2b5090af..f2b5090af 100644..100755 --- a/src/scrcmd.c +++ b/src/scrcmd.c |