mirror of
https://github.com/pret/pmd-red.git
synced 2026-07-02 00:21:28 -05:00
* decompile sub_80918EC * some more item related functions * more item functions * more decomp, fix types in other places * more small functions * more item related decomp * one more weird branching item function * fix global.h includes * figured out branch pattern * decompile sub_8090F58 * make temporary struct for function * 🦀 items.s is gone 🦀 * some renaming * rename some obvious item related constants * fix spelling error
16 lines
360 B
C
16 lines
360 B
C
#ifndef GUARD_TEAM_INVENTORY_H
|
|
#define GUARD_TEAM_INVENTORY_H
|
|
|
|
struct TeamInventory
|
|
{
|
|
struct ItemSlot teamItems[INVENTORY_SIZE];
|
|
u16 teamStorage[NUMBER_OF_ITEM_IDS];
|
|
// same type (initialized by same function):
|
|
struct HeldItem unk230[8];
|
|
struct HeldItem unk250[4];
|
|
/* 0x260 */ s32 teamMoney;
|
|
/* 0x264 */ u32 teamSavings;
|
|
};
|
|
|
|
#endif
|