Replace $0 with 0 for "ld l, a / ld h, 0" idiom

This commit is contained in:
Rangi
2020-11-09 15:17:03 -05:00
parent 03e149e559
commit 17894e5f39
42 changed files with 160 additions and 160 deletions

View File

@@ -425,7 +425,7 @@ ScrollingMenu_CallFunctions1and2:
and a
jr z, .done
ld e, a
ld d, $0
ld d, 0
add hl, de
ld d, h
ld e, l
@@ -491,7 +491,7 @@ ScrollingMenu_GetListItemCoordAndFunctionArgs:
ld a, [wMenuScrollPosition]
add e
ld e, a
ld d, $0
ld d, 0
ld hl, wMenuData_ItemsPointerAddr
ld a, [hli]
ld h, [hl]