pmd-red/include/trade_items_menu.h
Seth Barberee a2d206665c
Move some data and Splitting (#32)
* move friend area settings to src

* split out playtime into different C file and decomp a few more funcs

* time -> play_time

* fix include

* split out more wonder mail stuff

* unify 203B2C0 and unkDungeon structs. snuck in a decomp func too

* split out more menu screens

* work some more on trade items

* doc a few more things

* add a close nonmatch and decomp nullsub and small func

* rollback struct attempt since it causes nonmatchings

* only one func left in asm

* death to trade_item asm and unify into one C file

* more docing and cleanup

* label main menu and trade items menu global menu struct

* doc itemMode
2021-03-30 13:11:51 -05:00

58 lines
988 B
C

#ifndef GUARD_TRADE_ITEMS_MENU_H
#define GUARD_TRADE_ITEMS_MENU_H
struct unkData
{
u8 unk0[24];
};
struct TradeSubStruct
{
u8 unk0; // item id?
u8 fill3[0x3];
u32 unk4; // number of items?
};
struct TradeItemsMenu
{
// size: 0x3A0
u32 currMenu;
u32 unk4;
u32 itemMode;
u32 linkStatus;
u32 unk10;
u32 unk14; // item #
u32 unk18;
u32 unk1C;
u32 unk20;
u32 unk24;
u32 unk28;
struct unkData *unk2C;
u32 unk30;
u32 unk34;
u8 fill38[0x44 - 0x38];
u32 unk44;
u8 fill8[0x134 - 0x48];
u32 unk134;
u8 fill138[0x184 - 0x138];
struct unkData unk184[3]; // guessing the size until I know
u8 fill188[0x1E4 - 0x1CC];
u32 unk1E4;
u8 fill1E8[0x244 - 0x1E8];
// TODO These might be structs...
struct TradeSubStruct unk244;
struct TradeSubStruct unk24C;
struct TradeSubStruct unk254;
u8 unk25C;
u8 unk25D;
u8 unk25E;
u8 fill25F[0x3A0 - 0x25F];
};
#endif