pmd-red/include/kecleon_items.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

46 lines
804 B
C

#ifndef GUARD_KECLEON_ITEMS_H
#define GUARD_KECLEON_ITEMS_H
#include "team_inventory.h"
#include "text.h"
#include "menu.h"
struct unkStruct_203B210
{
// size: 0x148
u32 unk0;
bool8 unk4;
u8 fill5[3];
u32 currState;
u32 unkC;
s32 itemSellPrice;
u32 unk14;
u32 unk18;
struct ItemSlot unk1C;
u8 unk20;
u8 unk21;
u8 unk22;
u8 unk23;
u32 unk24;
u32 unk28;
u32 unk2C;
u32 unk30;
struct MenuItem unk34[3];
u8 fill4C[0x74 - 0x4C];
u16 unk74[8];
u32 unk84;
u8 fill88[0xD4 - 0x88];
struct OpenedFile *faceFile;
u8 *unkD8;
u16 unkDC;
u16 unkDE;
u8 unkE0;
u8 unkE1;
u8 unkE2;
u8 unkE3;
struct OpenedFile **unkE4;
struct UnkTextStruct2 unkE8[4];
};
#endif // GUARD_KECLEON_ITEMS_H