summaryrefslogtreecommitdiff
path: root/engine/items
diff options
context:
space:
mode:
authorFredrik Ljungdahl <fredde1994@gmail.com>2019-03-18 16:43:58 +0100
committerFredrik Ljungdahl <fredde1994@gmail.com>2019-03-18 16:43:58 +0100
commite598e49edb0e7107a81214499f5517fb7d3f3bf5 (patch)
treec5f73ab73975166562e74d4a1889be63f160fc87 /engine/items
parent179dc85ba1464ce6ec358f54a638e1dd70fb8283 (diff)
Fix wram labeling for wPCItems
Diffstat (limited to 'engine/items')
-rw-r--r--engine/items/items.asm4
1 files changed, 2 insertions, 2 deletions
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