Fix wram labeling for wPCItems

This commit is contained in:
Fredrik Ljungdahl
2019-03-18 16:43:58 +01:00
parent 179dc85ba1
commit e598e49edb
7 changed files with 11 additions and 12 deletions

View File

@@ -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