pmd-red/include/friend_area_action_menu.h
Dennis 92a8e55fdd
Decompiled some item related functions (#42)
* decompile sub_8091290

* decompile sub_80912c8

* rename functions / struct field

* more names

* decompile 80913A0

* decompile GetItemMove

* decompile sub_80913E0

* rename function

* decompile CanSellItem function

* rename inventory struct

* add some item check functions

* fix renaming stuff

* this file shouldnt have been here

* forgot merge conflict

* decompile more item functions

* rename some stuff

* fix HM/TM naming

* Update src/code_801AFA4.c

Use enum value for USED_TM

* Fix incorrect value

Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
2021-07-10 11:23:20 -05:00

48 lines
815 B
C

#ifndef GUARD_FRIEND_AREA_ACTION_MENU_H
#define GUARD_FRIEND_AREA_ACTION_MENU_H
struct unkSubStruct_203B2BC
{
u8 fill0[0x2C];
u32 unk2C;
};
struct unkStruct_203B2BC
{
// size: 0x1E0
u32 state;
u32 unk4;
s16 unk8;
u16 unkA;
u32 unkC;
struct ItemSlot_ALT unk10;
u8 unk14;
u8 fill15[3];
struct unkSubStruct_203B2BC *unk18;
u32 unk1C;
u32 unk20;
u32 unk24;
u32 unk28;
u8 fill2C[0x68 - 0x2C];
u32 unk68;
u32 unk6C;
u32 unk70;
s32 unk74;
u32 unk78;
u32 unk7C;
u8 fill80[0xFD - 0x80];
u32 unkFD;
u8 fill101[0x11C - 0x104];
struct MenuItem menuItems[4];
u8 fill120[0x16C - 0x13C];
// Structure of some sort
u32 unk16C;
u8 fill170[0x180 - 0x170];
struct UnkTextStruct2 unk180[4];
};
#endif