diff options
Diffstat (limited to 'engine/items.asm')
-rwxr-xr-x | engine/items.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/items.asm b/engine/items.asm index 81c080dda..b0bffb6d6 100755 --- a/engine/items.asm +++ b/engine/items.asm @@ -331,7 +331,7 @@ ReceiveKeyItem: ; d35a ret TossKeyItem: ; d374 - ld a, [wd107] + ld a, [CurItemQuantity] ld e, a ld d, 0 ld hl, NumKeyItems @@ -554,7 +554,7 @@ GetItemAttr: ; d460 ld a, [CurItem] dec a ld c, a - ld a, NUM_ITEMATTRS + ld a, ITEMATTR_STRUCT_LENGTH call AddNTimes ld a, BANK(ItemAttributes) call GetFarByte |