summaryrefslogtreecommitdiff
path: root/engine/menus
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/menus
parent6e20c30f6e48ba36237d42b13ea6e6827b62ff40 (diff)
Replace $0 with 0 for "ld l, a / ld h, 0" idiom
Diffstat (limited to 'engine/menus')
-rw-r--r--engine/menus/scrolling_menu.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/menus/scrolling_menu.asm b/engine/menus/scrolling_menu.asm
index d23b4d1e..6a8d6fd4 100644
--- a/engine/menus/scrolling_menu.asm
+++ b/engine/menus/scrolling_menu.asm
@@ -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]