diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-03-30 13:11:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-30 13:11:51 -0500 |
commit | a2d206665c6fffbd962375f262b7fbb05c7b7478 (patch) | |
tree | 6710109c4d9098b74da68ca8f18024d6c184ebc2 /include/trade_items_menu.h | |
parent | 2fd4f339b42c010191c199772b09ac34c580de94 (diff) |
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
Diffstat (limited to 'include/trade_items_menu.h')
-rw-r--r-- | include/trade_items_menu.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/include/trade_items_menu.h b/include/trade_items_menu.h new file mode 100644 index 0000000..73435a3 --- /dev/null +++ b/include/trade_items_menu.h @@ -0,0 +1,57 @@ +#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 |