Start code decomp and data dism in help system

This commit is contained in:
PikalaxALT
2019-06-11 11:13:05 -04:00
parent 423dc1aeb1
commit 34368a8281
8 changed files with 160 additions and 143 deletions
-77
View File
@@ -5,83 +5,6 @@
.text
thumb_func_start sub_812B1E0
sub_812B1E0: @ 812B1E0
lsls r0, 24
lsrs r0, 24
ldr r1, _0812B1EC @ =gUnknown_203B0EC
strh r0, [r1]
bx lr
.align 2, 0
_0812B1EC: .4byte gUnknown_203B0EC
thumb_func_end sub_812B1E0
thumb_func_start HelpSystem_SetSomeVariable2
HelpSystem_SetSomeVariable2: @ 812B1F0
push {lr}
lsls r0, 24
lsrs r1, r0, 24
ldr r0, _0812B21C @ =gUnknown_203B0EC
ldrh r2, [r0]
cmp r2, 0x1A
bgt _0812B216
cmp r2, 0x17
blt _0812B216
cmp r1, 0x9
beq _0812B218
cmp r1, 0x5
beq _0812B218
cmp r1, 0x6
beq _0812B218
cmp r1, 0x7
beq _0812B218
cmp r1, 0x8
beq _0812B218
_0812B216:
strh r1, [r0]
_0812B218:
pop {r0}
bx r0
.align 2, 0
_0812B21C: .4byte gUnknown_203B0EC
thumb_func_end HelpSystem_SetSomeVariable2
thumb_func_start sub_812B220
sub_812B220: @ 812B220
ldr r0, _0812B22C @ =gUnknown_203B0EC
ldr r1, _0812B230 @ =gSpecialVar_0x8004
ldrh r1, [r1]
strh r1, [r0]
bx lr
.align 2, 0
_0812B22C: .4byte gUnknown_203B0EC
_0812B230: .4byte gSpecialVar_0x8004
thumb_func_end sub_812B220
thumb_func_start sub_812B234
sub_812B234: @ 812B234
ldr r0, _0812B240 @ =gUnknown_3005EA0
ldr r1, _0812B244 @ =gUnknown_203B0EC
ldrh r1, [r1]
strh r1, [r0]
bx lr
.align 2, 0
_0812B240: .4byte gUnknown_3005EA0
_0812B244: .4byte gUnknown_203B0EC
thumb_func_end sub_812B234
thumb_func_start sub_812B248
sub_812B248: @ 812B248
ldr r0, _0812B254 @ =gUnknown_203B0EC
ldr r1, _0812B258 @ =gUnknown_3005EA0
ldrh r1, [r1]
strh r1, [r0]
bx lr
.align 2, 0
_0812B254: .4byte gUnknown_203B0EC
_0812B258: .4byte gUnknown_3005EA0
thumb_func_end sub_812B248
thumb_func_start sub_812B25C
sub_812B25C: @ 812B25C
push {lr}