summaryrefslogtreecommitdiff
path: root/asm/src/code_08007CAC.s
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2023-12-31 17:29:08 -0800
committertheo3 <arisstephenson2@gmail.com>2023-12-31 17:34:02 -0800
commit37ac9cb0fb2d9ccb64286bab2cdf648e6f2541c5 (patch)
tree1556b8aba35a82f1cc0d538b93251a1b401f32f5 /asm/src/code_08007CAC.s
parent5049daabc59d113152143d123aea2798d9487a0c (diff)
document tile asm functions
Diffstat (limited to 'asm/src/code_08007CAC.s')
-rw-r--r--asm/src/code_08007CAC.s14
1 files changed, 7 insertions, 7 deletions
diff --git a/asm/src/code_08007CAC.s b/asm/src/code_08007CAC.s
index c457c0a2..146e4ac7 100644
--- a/asm/src/code_08007CAC.s
+++ b/asm/src/code_08007CAC.s
@@ -29,22 +29,22 @@ gUnk_08007CAC:: @ 08007CAC
.endif
.endif
- non_word_aligned_thumb_func_start sub_08007DD6
-sub_08007DD6: @ 0x08007DD6
+ non_word_aligned_thumb_func_start ActTileToTile
+ActTileToTile: @ 0x08007DD6
push {lr}
- bl sub_08007DE0
+ bl ActTileConv
adds r0, r3, #0
pop {pc}
- thumb_func_start sub_08007DE0
-sub_08007DE0: @ 0x08007DE0
+ thumb_func_start ActTileConv
+ActTileConv: @ 0x08007DE0
subs r1, #4
_08007DE2:
adds r1, #4
ldrh r3, [r1]
- cmp r3, #0
+ cmp r3, #0 // reached end
beq _08007DF2
- cmp r0, r3
+ cmp r0, r3 // equal
bne _08007DE2
ldrh r3, [r1, #2]
movs r2, #1