summaryrefslogtreecommitdiff
path: root/engine/items/items.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-09 15:16:44 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-09 15:20:35 -0500
commitbc8636d68805116ef126feecc07cde63238490da (patch)
treed88fed0393eb69c8c37fbaf7ee21f7dd3af289c9 /engine/items/items.asm
parent6e20c30f6e48ba36237d42b13ea6e6827b62ff40 (diff)
Replace $0 with 0 for "ld l, a / ld h, 0" idiom
Diffstat (limited to 'engine/items/items.asm')
-rw-r--r--engine/items/items.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/items/items.asm b/engine/items/items.asm
index 42381b41..cfdd4a4c 100644
--- a/engine/items/items.asm
+++ b/engine/items/items.asm
@@ -240,7 +240,7 @@ RemoveItemFromPocket:
cp c
jr nc, .ok ; memory
ld c, a
- ld b, $0
+ ld b, 0
add hl, bc
add hl, bc
ld a, [wCurItem]