summaryrefslogtreecommitdiff
path: root/engine/events
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2019-03-03 14:27:39 -0500
committerGitHub <noreply@github.com>2019-03-03 14:27:39 -0500
commite96330e66a6017f558d83004a15906edf70b2da9 (patch)
treeeb94f2465355e1ea7988e7d6bc77baf0140e3dbb /engine/events
parente671636bba211b30a15b86bf748989b6e61dcf0a (diff)
parent79dc22c769a5a84b561884508e2643747cf9ec08 (diff)
Merge pull request #608 from Rangi42/master
Identify more collision-related constants and data
Diffstat (limited to 'engine/events')
-rw-r--r--engine/events/checkforhiddenitems.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/events/checkforhiddenitems.asm b/engine/events/checkforhiddenitems.asm
index c0d31fe24..c71bd2905 100644
--- a/engine/events/checkforhiddenitems.asm
+++ b/engine/events/checkforhiddenitems.asm
@@ -60,7 +60,7 @@ CheckForHiddenItems:
.next
; Restore the bg_event pointer and increment it by the length of a bg_event.
pop hl
- ld bc, 5
+ ld bc, BG_EVENT_SIZE
add hl, bc
; Restore the BG event counter and decrement it. If it hits zero, there are no hidden items in range.
ld a, [wBuffer2]