summaryrefslogtreecommitdiff
path: root/engine/events/checkforhiddenitems.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2018-09-09 17:41:58 -0400
committerGitHub <noreply@github.com>2018-09-09 17:41:58 -0400
commit8c435054a0c5c8d3a0ad49f42790c492583caef5 (patch)
tree90185ca2b5d8a799bde7fc790809bafa7815f3f3 /engine/events/checkforhiddenitems.asm
parent84cfbc70fac02032d1608f89e9f551ab3d987315 (diff)
parentbb4a6e5f550c2bde42541aa201aaa720cd461005 (diff)
Merge pull request #562 from Rangi42/master
Curr → Cur
Diffstat (limited to 'engine/events/checkforhiddenitems.asm')
-rw-r--r--engine/events/checkforhiddenitems.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/events/checkforhiddenitems.asm b/engine/events/checkforhiddenitems.asm
index 2af9a1a1f..c0d31fe24 100644
--- a/engine/events/checkforhiddenitems.asm
+++ b/engine/events/checkforhiddenitems.asm
@@ -10,15 +10,15 @@ CheckForHiddenItems:
add SCREEN_HEIGHT / 4
ld [wBuffer3], a
; Get the pointer for the first bg_event in the map...
- ld hl, wCurrMapBGEventsPointer
+ ld hl, wCurMapBGEventsPointer
ld a, [hli]
ld h, [hl]
ld l, a
; ... before even checking to see if there are any BG events on this map.
- ld a, [wCurrMapBGEventCount]
+ ld a, [wCurMapBGEventCount]
and a
jr z, .nobgeventitems
-; For i = 1:wCurrMapBGEventCount...
+; For i = 1:wCurMapBGEventCount...
.loop
; Store the counter in wBuffer2, and store the bg_event pointer in the stack.
ld [wBuffer2], a