summaryrefslogtreecommitdiff
path: root/asm/pokemon.s
diff options
context:
space:
mode:
authorDennis <dhilhorst2000@gmail.com>2021-07-17 18:45:13 +0200
committerGitHub <noreply@github.com>2021-07-17 09:45:13 -0700
commitbad7f7f688253c87c2cb2d063ea57c884cb6adff (patch)
treef853042438f42634f8d64b6daec015f3e287d77a /asm/pokemon.s
parenta65d358927f668cb5e34a6046afef5bd61380a28 (diff)
More item related decomp (#45)
* decompile sub_80918EC * some more item related functions * more item functions * more decomp, fix types in other places * more small functions * more item related decomp * one more weird branching item function * fix global.h includes * figured out branch pattern * decompile sub_8090F58 * make temporary struct for function * :crab: items.s is gone :crab: * some renaming * rename some obvious item related constants * fix spelling error
Diffstat (limited to 'asm/pokemon.s')
-rw-r--r--asm/pokemon.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/asm/pokemon.s b/asm/pokemon.s
index ab75d5f..4f14847 100644
--- a/asm/pokemon.s
+++ b/asm/pokemon.s
@@ -226,7 +226,7 @@ sub_808CFD0:
adds r0, r7, 0
adds r0, 0x28
adds r1, r4, 0
- bl sub_8090B08
+ bl xxx_init_helditem_8090B08
mov r4, r8
str r4, [r7, 0x1C]
adds r0, r7, 0
@@ -387,7 +387,7 @@ sub_808D144:
adds r0, r5, 0
adds r0, 0x28
ldrb r1, [r7, 0x6]
- bl sub_8090B08
+ bl xxx_init_helditem_8090B08
ldr r0, [r7, 0x24]
str r0, [r5, 0x1C]
adds r0, r5, 0