summaryrefslogtreecommitdiff
path: root/include/pokemon.h
diff options
context:
space:
mode:
authorDennis <dhilhorst2000@gmail.com>2021-07-10 18:23:20 +0200
committerGitHub <noreply@github.com>2021-07-10 11:23:20 -0500
commit92a8e55fdd348a88a365eb389181d8e29da6dad9 (patch)
tree2467ef22cb8cf75bdf056143fab3fac4a68ef404 /include/pokemon.h
parent386299d1f401cb939e6fe3ea16d0ca57731b2648 (diff)
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>
Diffstat (limited to 'include/pokemon.h')
-rw-r--r--include/pokemon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pokemon.h b/include/pokemon.h
index fad47e0..38f4bc8 100644
--- a/include/pokemon.h
+++ b/include/pokemon.h
@@ -28,7 +28,7 @@ struct PokemonStruct
u8 unk20[4];
u8 unk24;
u8 fill25[3];
- u8 unk28;
+ u8 itemIndexHeld;
u8 unk29;
u8 fill2A[2];
u8 unk2C[4];