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

43 lines
769 B
C

#ifndef GUARD_KANGASKHAN_STORAGE_H
#define GUARD_KANGASKHAN_STORAGE_H
#include "text.h"
#include "menu.h"
#include "item.h"
struct unkStruct_203B208
{
// size: 0x14C
u32 unk0;
u32 currState;
u32 unk8;
struct ItemSlot unkC;
u32 unk10;
u8 itemIndex; // another itemIndex?
u8 fill15[0x3];
u32 unk18;
u32 unk1C;
u32 unk20;
struct MenuItem unk24[5];
u16 unk4C[5];
u32 unk58;
u8 unk5C[0xA8 - 0x5C];
u32 unkA8;
u8 unkAC[0xBC - 0xAC];
u32 unkBC;
u8 unkC0[0xD4 - 0xC0];
u32 unkD4;
struct OpenedFile *faceFile;
u8 *faceData;
u16 unkE0;
u16 unkE2;
u8 unkE4;
u8 unkE5;
u8 unkE6;
u8 unkE7;
struct OpenedFile **unkE8;
struct UnkTextStruct2 unkEC[4];
};
#endif