summaryrefslogtreecommitdiff
path: root/engine/selectmenu.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2016-08-11 15:55:32 -0400
committerGitHub <noreply@github.com>2016-08-11 15:55:32 -0400
commit700321a7fb2d6c852ffc91cc0b8867526cb76813 (patch)
tree1a81b2ef5a4d7a2e5a9433e990ea178f5083acbf /engine/selectmenu.asm
parentc33ba049a5a993fc678fd1698645039ce4974022 (diff)
parent050a0162b89c645c4a2a3ed311c4da791fb3de6c (diff)
Merge pull request #342 from PikalaxALT/master
More label interpretations
Diffstat (limited to 'engine/selectmenu.asm')
-rwxr-xr-xengine/selectmenu.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/engine/selectmenu.asm b/engine/selectmenu.asm
index 4e461a68e..838438a4c 100755
--- a/engine/selectmenu.asm
+++ b/engine/selectmenu.asm
@@ -45,9 +45,8 @@ CheckRegisteredItem: ; 13345
inc hl
ld e, a
ld d, 0
-rept 2
add hl, de
-endr
+ add hl, de
call .IsSameItem
jr c, .NoRegisteredItem
and a
@@ -71,9 +70,8 @@ endr
inc hl
ld e, a
ld d, 0
-rept 2
add hl, de
-endr
+ add hl, de
call .IsSameItem
jr c, .NoRegisteredItem
ret