aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-14 10:21:18 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-14 13:32:09 -0400
commitf37cf959c930ae9595f9f71ce0d9b17dcf5421d0 (patch)
tree33cc0d34fec73e972f4fb040b8b31f59b7e69805 /engine/events
parentMerge pull request #269 from Rangi42/master (diff)
downloadpokeyellow-f37cf959c930ae9595f9f71ce0d9b17dcf5421d0.tar.gz
pokeyellow-f37cf959c930ae9595f9f71ce0d9b17dcf5421d0.tar.xz
pokeyellow-f37cf959c930ae9595f9f71ce0d9b17dcf5421d0.zip
Clean up some data, using macros for multiline list entries
Diffstat (limited to 'engine/events')
-rwxr-xr-xengine/events/hidden_items.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/events/hidden_items.asm b/engine/events/hidden_items.asm
index 6a5835cd..97bb0b71 100755
--- a/engine/events/hidden_items.asm
+++ b/engine/events/hidden_items.asm
@@ -142,7 +142,7 @@ FindHiddenItemOrCoinsIndex:
.loop
inc c
ld a, [hli]
- cp $ff ; end of the list?
+ cp -1 ; end of the list?
ret z ; if so, we're done here
cp b
jr nz, .next1