summaryrefslogtreecommitdiff
path: root/include/item.h
diff options
context:
space:
mode:
authorDennis <dhilhorst2000@gmail.com>2021-08-01 21:09:13 +0200
committerGitHub <noreply@github.com>2021-08-01 12:09:13 -0700
commit26e5708818765e2abaab29b6ffdfa8f01a5600b7 (patch)
tree28fe7891cad7a46da5e88f0293e2a9f855e14203 /include/item.h
parent645c45431b0e091234699c3706ff90d1654cfb57 (diff)
More pokemon related decomp (#48)
* add struct names * decompile SaveRecruitedPokemon * decompile ReadRecruitedPokemon * decomp anotha one * some renaming * another save function * more backup functions * sub_808E400 * only one function left in pokemon_2.s * decomp one more function * merge 2 structs
Diffstat (limited to 'include/item.h')
-rw-r--r--include/item.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/item.h b/include/item.h
index 421eb89..84f9de2 100644
--- a/include/item.h
+++ b/include/item.h
@@ -364,11 +364,11 @@ void sub_8091BB4(u8);
void sub_8090F58(void*, u8 *, struct ItemSlot *, struct unkStruct_8090F58*);
void SlotToHeldItem(struct HeldItem *held,struct ItemSlot *slot);
-// some sort of weird memcpy's?
-// not sure what the second argument should be typed as
-void sub_8091DC0(struct unkStruct_8094924 *r0, u8*);
-void sub_8091DE0(struct unkStruct_8094924 *a1, u8 *a2);
-void sub_8091E00(struct unkStruct_8094924 *a1, u8 *a2);
-void sub_8091E28(struct unkStruct_8094924 *a1, u8 *a2);
+void RestoreHeldItem(struct unkStruct_8094924*, struct HeldItem*);
+void SaveHeldItem(struct unkStruct_8094924*, struct HeldItem*);
+void RestoreItemSlot(struct unkStruct_8094924 *a1, struct ItemSlot *a2);
+void SaveItemSlot(struct unkStruct_8094924 *a1, struct ItemSlot *a2);
+s32 RestoreTeamInventory(u8 *unk0, u32 size);
+s32 SaveTeamInventory(u8 *unk0, u32 size);
#endif