diff options
Diffstat (limited to 'engine/events/checkforhiddenitems.asm')
-rw-r--r-- | engine/events/checkforhiddenitems.asm | 6 |
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 |