Document decoration.c
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
+11
-11
@@ -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];
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user