diff options
author | ehw <Knuckles500@gmail.com> | 2018-06-05 18:52:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-05 18:52:04 -0400 |
commit | c231b38e84a8a4844fd27f82bbbea51776fa977a (patch) | |
tree | 991610c8c04d0f02bd9583ed2c4d5222c5360827 /home/tables.asm | |
parent | cab2e5548b6e0bfb7c4ef57e5aea258b60928cc3 (diff) | |
parent | 71811d4060f8542f0e92b6dcbace2e5bbd48ccd0 (diff) |
Merge pull request #7 from pret/master
Merge master
Diffstat (limited to 'home/tables.asm')
-rwxr-xr-x | home/tables.asm | 6 |
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
|