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 --- engine/items/items.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/items') diff --git a/engine/items/items.asm b/engine/items/items.asm index 28c79f4cc..ef0f10dda 100644 --- a/engine/items/items.asm +++ b/engine/items/items.asm @@ -145,10 +145,10 @@ GetPocketCapacity: .not_bag ld c, MAX_PC_ITEMS ld a, e - cp LOW(wPCItems) + cp LOW(wNumPCItems) jr nz, .not_pc ld a, d - cp HIGH(wPCItems) + cp HIGH(wNumPCItems) ret z .not_pc -- cgit v1.2.3