summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/decoration.h8
-rw-r--r--include/decoration_inventory.h8
-rw-r--r--include/global.h22
-rw-r--r--include/trader.h2
4 files changed, 16 insertions, 24 deletions
diff --git a/include/decoration.h b/include/decoration.h
index eed930356..b00dd42f1 100644
--- a/include/decoration.h
+++ b/include/decoration.h
@@ -52,14 +52,6 @@ struct Decoration
const u16 *tiles;
};
-struct DecorationPCContext
-{
- u8 *items;
- u8 *pos;
- u8 size;
- u8 isPlayerRoom;
-};
-
extern const struct Decoration gDecorations[];
extern EWRAM_DATA u8 *gCurDecorationItems;
extern EWRAM_DATA u8 gCurDecorationIndex;
diff --git a/include/decoration_inventory.h b/include/decoration_inventory.h
index 7362c2da2..f43b91d7a 100644
--- a/include/decoration_inventory.h
+++ b/include/decoration_inventory.h
@@ -12,10 +12,10 @@ extern struct DecorationInventory gDecorationInventories[];
void SetDecorationInventoriesPointers(void);
void ClearDecorationInventories(void);
s8 GetFirstEmptyDecorSlot(u8 category);
-u8 CheckHasDecoration(u8);
-u8 DecorationAdd(u8);
-u8 DecorationCheckSpace(u8);
-s8 DecorationRemove(u8);
+u8 CheckHasDecoration(u8 decor);
+u8 DecorationAdd(u8 decor);
+u8 DecorationCheckSpace(u8 decor);
+s8 DecorationRemove(u8 decor);
void CondenseDecorationsInCategory(u8 category);
u8 GetNumOwnedDecorationsInCategory(u8 category);
u8 GetNumOwnedDecorations(void);
diff --git a/include/global.h b/include/global.h
index 34d897a8c..e3c8fee55 100644
--- a/include/global.h
+++ b/include/global.h
@@ -637,7 +637,7 @@ struct MauvilleManHipster
struct MauvilleOldManTrader
{
u8 id;
- u8 decorIds[NUM_TRADER_ITEMS];
+ u8 decorations[NUM_TRADER_ITEMS];
u8 playerNames[NUM_TRADER_ITEMS][11];
u8 alreadyTraded;
u8 language[NUM_TRADER_ITEMS];
@@ -928,16 +928,16 @@ struct SaveBlock1
/*0x159C*/ u32 gameStats[NUM_GAME_STATS];
/*0x169C*/ struct BerryTree berryTrees[BERRY_TREES_COUNT];
/*0x1A9C*/ struct SecretBase secretBases[SECRET_BASES_COUNT];
- /*0x271C*/ u8 playerRoomDecor[DECOR_MAX_PLAYERS_HOUSE];
- /*0x2728*/ u8 playerRoomDecorPos[DECOR_MAX_PLAYERS_HOUSE];
- /*0x2734*/ u8 decorDesk[10];
- /*0x273E*/ u8 decorChair[10];
- /*0x2748*/ u8 decorPlant[10];
- /*0x2752*/ u8 decorOrnament[30];
- /*0x2770*/ u8 decorMat[30];
- /*0x278E*/ u8 decorPoster[10];
- /*0x2798*/ u8 decorDoll[40];
- /*0x27C0*/ u8 decorCushion[10];
+ /*0x271C*/ u8 playerRoomDecorations[DECOR_MAX_PLAYERS_HOUSE];
+ /*0x2728*/ u8 playerRoomDecorationPositions[DECOR_MAX_PLAYERS_HOUSE];
+ /*0x2734*/ u8 decorationDesks[10];
+ /*0x273E*/ u8 decorationChairs[10];
+ /*0x2748*/ u8 decorationPlants[10];
+ /*0x2752*/ u8 decorationOrnaments[30];
+ /*0x2770*/ u8 decorationMats[30];
+ /*0x278E*/ u8 decorationPosters[10];
+ /*0x2798*/ u8 decorationDolls[40];
+ /*0x27C0*/ u8 decorationCushions[10];
/*0x27CA*/ u8 padding_27CA[2];
/*0x27CC*/ TVShow tvShows[TV_SHOWS_COUNT];
/*0x2B50*/ PokeNews pokeNews[POKE_NEWS_COUNT];
diff --git a/include/trader.h b/include/trader.h
index 25d72bd3b..409d0ba14 100644
--- a/include/trader.h
+++ b/include/trader.h
@@ -5,7 +5,7 @@
#ifndef GUARD_TRADER_H
#define GUARD_TRADER_H
-void sub_8133DA0(u8 taskId);
+void DecorationItemsMenuAction_Trade(u8 taskId);
void ExitTraderMenu(u8 taskId);
void TraderSetup(void);
void Trader_ResetFlag(void);