diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-11-10 08:43:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-10 08:43:51 -0800 |
commit | 561ea52847f5a88dc6a9a79dbfc5c40f421cace5 (patch) | |
tree | 0566b8fe1cf46f027696ac7fc4db9febd739ee39 /include | |
parent | 681ca68ac96e8d39f49eb2c9f42e5c1e1041f5e0 (diff) |
Luminous cave (#72)
* fully decomp luminous cave
* remove header file. this one isn't ready yet
* doc few fields and func
* doc more of luminous cave
Diffstat (limited to 'include')
-rw-r--r-- | include/item.h | 2 | ||||
-rw-r--r-- | include/kecleon_items.h | 21 |
2 files changed, 23 insertions, 0 deletions
diff --git a/include/item.h b/include/item.h index e73bafd..3b4f199 100644 --- a/include/item.h +++ b/include/item.h @@ -97,6 +97,7 @@ bool8 IsGummiItem(u8); void xxx_init_unk230_substruct(u8); bool8 xxx_insert_unk230_80919FC(u8); struct HeldItem *xxx_get_inv_unk230_at_809185C(u8); +struct HeldItem* xxx_get_unk250_at_8091A90(u8); s32 xxx_count_inv_unk230(); u32 xxx_count_non_empty_inv_unk250_8091A48(); void sub_8091BB4(u8); @@ -105,6 +106,7 @@ void ShiftItemsDownFrom(s32 start); void MoveToStorage(struct ItemSlot* slot); void FillInventoryGaps(); bool8 sub_8091274(struct HeldItem* slot); +bool8 IsNotMoneyOrUsedTMItem(u8 id); void RestoreHeldItem(struct unkStruct_8094924*, struct HeldItem*); diff --git a/include/kecleon_items.h b/include/kecleon_items.h index 7cea99a..11cb0a7 100644 --- a/include/kecleon_items.h +++ b/include/kecleon_items.h @@ -41,4 +41,25 @@ struct unkStruct_203B210 struct UnkTextStruct2 unkE8[4]; }; +struct unkStruct_203B224 +{ + // size: 0xF4 + u32 unk0; + + u32 unk4[INVENTORY_SIZE]; + u32 unk54; + u8 fill58[0x6C - 0x58]; + s16 unk6C; + s16 unk6E; + s16 unk70; + s16 unk72; + u16 unk74; + u16 unk76; + u8 fill78[0x88 - 0x78]; + u32 unk88; + struct UnkTextStruct2 *unk8C; + struct UnkTextStruct2 unk90[4]; + u8 unkF0[4]; +}; + #endif // GUARD_KECLEON_ITEMS_H |