diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2019-03-30 16:51:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-30 16:51:30 -0400 |
commit | ec8869584ff7a02ab1ca12fe8b5e6652034f2f17 (patch) | |
tree | c5f73ab73975166562e74d4a1889be63f160fc87 /engine/items | |
parent | 179dc85ba1464ce6ec358f54a638e1dd70fb8283 (diff) | |
parent | e598e49edb0e7107a81214499f5517fb7d3f3bf5 (diff) |
Merge pull request #617 from FredrIQ/master
Fix wram labeling for wPCItems
Diffstat (limited to 'engine/items')
-rw-r--r-- | engine/items/items.asm | 4 |
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 |