summaryrefslogtreecommitdiff
path: root/engine/events/checkforhiddenitems.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/events/checkforhiddenitems.asm')
-rw-r--r--engine/events/checkforhiddenitems.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/events/checkforhiddenitems.asm b/engine/events/checkforhiddenitems.asm
index 0e0e282c9..4eafef5ba 100644
--- a/engine/events/checkforhiddenitems.asm
+++ b/engine/events/checkforhiddenitems.asm
@@ -46,9 +46,9 @@ CheckForHiddenItems:
jr nz, .next
; Has this item already been found? If not, set off the Itemfinder.
ld a, [wCurMapScriptBank]
- call GetFarHalfword
+ call GetFarWord
ld a, [wCurMapScriptBank]
- call GetFarHalfword
+ call GetFarWord
ld d, h
ld e, l
ld b, CHECK_FLAG