summaryrefslogtreecommitdiff
path: root/home/tables.asm
diff options
context:
space:
mode:
authorpfero <ohpee@loves.dicksinhisan.us>2018-06-05 23:59:08 +0200
committerpfero <ohpee@loves.dicksinhisan.us>2018-06-05 23:59:08 +0200
commite9a8f8a769f77c289a4aa38423a39e00425b4813 (patch)
treebd32ad7b774f4e0879d8ca3a7e6e310acbd59091 /home/tables.asm
parent7439c3107e8d972f88221a8d45781f3388d9ca64 (diff)
Finish disassembling the names functions
Diffstat (limited to 'home/tables.asm')
-rwxr-xr-xhome/tables.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/tables.asm b/home/tables.asm
index dc9cebe..5c35a4f 100755
--- a/home/tables.asm
+++ b/home/tables.asm
@@ -7,7 +7,7 @@ SECTION "FindItemInTable", ROM0[$35F8]
FindItemInTable: ; 00:35F8
ld b, 0
ld c, a
-
+
.loop
ld a, [hl]
cp -1
@@ -17,11 +17,11 @@ FindItemInTable: ; 00:35F8
inc b
add hl, de
jr .loop
-
+
.fail
and a
ret
-
+
.success
scf
ret