diff options
author | Dennis <dhilhorst2000@gmail.com> | 2021-07-10 18:23:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-10 11:23:20 -0500 |
commit | 92a8e55fdd348a88a365eb389181d8e29da6dad9 (patch) | |
tree | 2467ef22cb8cf75bdf056143fab3fac4a68ef404 /asm/other_menus.s | |
parent | 386299d1f401cb939e6fe3ea16d0ca57731b2648 (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 'asm/other_menus.s')
-rw-r--r-- | asm/other_menus.s | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/asm/other_menus.s b/asm/other_menus.s index 6cefea7..676ba9a 100644 --- a/asm/other_menus.s +++ b/asm/other_menus.s @@ -1299,7 +1299,7 @@ _08037E5A: ldrb r0, [r4] b _08037E76 .align 2, 0 -_08037E6C: .4byte gUnknown_203B460 +_08037E6C: .4byte gTeamInventory_203B460 _08037E70: ldr r0, _08037E8C ldr r1, [r0] @@ -1316,7 +1316,7 @@ _08037E76: pop {r0} bx r0 .align 2, 0 -_08037E8C: .4byte gUnknown_203B460 +_08037E8C: .4byte gTeamInventory_203B460 thumb_func_end sub_8037E38 thumb_func_start sub_8037E90 @@ -1543,7 +1543,7 @@ _08038036: ldrb r0, [r4] b _08038052 .align 2, 0 -_08038048: .4byte gUnknown_203B460 +_08038048: .4byte gTeamInventory_203B460 _0803804C: ldr r0, _08038070 ldr r1, [r0] @@ -1566,7 +1566,7 @@ _08038068: pop {r1} bx r1 .align 2, 0 -_08038070: .4byte gUnknown_203B460 +_08038070: .4byte gTeamInventory_203B460 _08038074: .4byte 0x000003e7 thumb_func_end sub_8038014 |