summaryrefslogtreecommitdiff
path: root/asm/pokemon_3.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_3.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_3.s')
-rw-r--r--asm/pokemon_3.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/pokemon_3.s b/asm/pokemon_3.s
index 50a9aec..e3647fc 100644
--- a/asm/pokemon_3.s
+++ b/asm/pokemon_3.s
@@ -2379,7 +2379,7 @@ _08090026:
strb r1, [r0]
subs r0, 0x34
adds r1, r4, 0
- bl sub_8090B64
+ bl HeldItemToSlot
ldrh r0, [r6, 0x14]
strh r0, [r5, 0x3E]
ldr r0, [r6, 0x4]