From e598e49edb0e7107a81214499f5517fb7d3f3bf5 Mon Sep 17 00:00:00 2001 From: Fredrik Ljungdahl Date: Mon, 18 Mar 2019 16:43:58 +0100 Subject: Fix wram labeling for wPCItems --- mobile/mobile_12_2.asm | 2 +- mobile/mobile_5f.asm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mobile') 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 -- cgit v1.2.3