summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2019-03-30 16:51:30 -0400
committerGitHub <noreply@github.com>2019-03-30 16:51:30 -0400
commitec8869584ff7a02ab1ca12fe8b5e6652034f2f17 (patch)
treec5f73ab73975166562e74d4a1889be63f160fc87 /mobile
parent179dc85ba1464ce6ec358f54a638e1dd70fb8283 (diff)
parente598e49edb0e7107a81214499f5517fb7d3f3bf5 (diff)
Merge pull request #617 from FredrIQ/master
Fix wram labeling for wPCItems
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