summaryrefslogtreecommitdiff
path: root/engine/events
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-09 15:17:03 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-09 15:20:40 -0500
commit17894e5f39520db2f21452d056c4683915086d8d (patch)
tree935e2d8231b5a73acfb9e648a9e12eff067f11ee /engine/events
parent03e149e55933cb9725a5785f21136f9fc3f3cade (diff)
Replace $0 with 0 for "ld l, a / ld h, 0" idiom
Diffstat (limited to 'engine/events')
-rw-r--r--engine/events/kurt.asm6
-rw-r--r--engine/events/map_name_sign.asm2
2 files changed, 4 insertions, 4 deletions
diff --git a/engine/events/kurt.asm b/engine/events/kurt.asm
index ab8dd3ca0..c99bc5d8c 100644
--- a/engine/events/kurt.asm
+++ b/engine/events/kurt.asm
@@ -176,7 +176,7 @@ Kurt_GetQuantityOfApricorn:
ld hl, wNumItems
ld a, [wCurItem]
ld c, a
- ld b, $0
+ ld b, 0
.loop
inc hl
ld a, [hli]
@@ -344,7 +344,7 @@ Kurt_GetAddressOfApricornQuantity:
ld hl, wNumItems
inc hl
ld c, a
- ld b, $0
+ ld b, 0
add hl, bc
add hl, bc
inc hl
@@ -358,7 +358,7 @@ Kurt_GetRidOfItem:
ld hl, wNumItems
ld a, [wCurItemQuantity]
ld c, a
- ld b, $0
+ ld b, 0
inc hl
add hl, bc
add hl, bc
diff --git a/engine/events/map_name_sign.asm b/engine/events/map_name_sign.asm
index d674eebb1..ec39619f3 100644
--- a/engine/events/map_name_sign.asm
+++ b/engine/events/map_name_sign.asm
@@ -147,7 +147,7 @@ PlaceMapNameCenterAlign:
ld a, SCREEN_WIDTH
sub c
srl a
- ld b, $0
+ ld b, 0
ld c, a
hlcoord 0, 2
add hl, bc