summaryrefslogtreecommitdiff
path: root/home/tables.asm
diff options
context:
space:
mode:
authorehw <Knuckles500@gmail.com>2018-06-05 18:52:04 -0400
committerGitHub <noreply@github.com>2018-06-05 18:52:04 -0400
commitc231b38e84a8a4844fd27f82bbbea51776fa977a (patch)
tree991610c8c04d0f02bd9583ed2c4d5222c5360827 /home/tables.asm
parentcab2e5548b6e0bfb7c4ef57e5aea258b60928cc3 (diff)
parent71811d4060f8542f0e92b6dcbace2e5bbd48ccd0 (diff)
Merge pull request #7 from pret/master
Merge master
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