summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
Diffstat (limited to 'mobile')
-rw-r--r--mobile/mobile_12_2.asm2
-rw-r--r--mobile/mobile_5f.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/mobile/mobile_12_2.asm b/mobile/mobile_12_2.asm
index 27d59471a..cd5a7b233 100644
--- a/mobile/mobile_12_2.asm
+++ b/mobile/mobile_12_2.asm
@@ -158,7 +158,7 @@ MobileCheckOwnMonAnywhere:
UnusedFindItemInPCOrBag:
ld a, [wScriptVar]
ld [wCurItem], a
- ld hl, wPCItems
+ ld hl, wNumPCItems
call CheckItem
jr c, .found
diff --git a/mobile/mobile_5f.asm b/mobile/mobile_5f.asm
index d36daca91..48ba99276 100644
--- a/mobile/mobile_5f.asm
+++ b/mobile/mobile_5f.asm
@@ -2664,7 +2664,7 @@ Function17e165:
pop hl
jr c, .asm_17e195
push hl
- ld hl, wPCItems
+ ld hl, wNumPCItems
call CheckItem
pop hl
jr c, .asm_17e195