summaryrefslogtreecommitdiff
path: root/home/menu.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 /home/menu.asm
parent6e20c30f6e48ba36237d42b13ea6e6827b62ff40 (diff)
Replace $0 with 0 for "ld l, a / ld h, 0" idiom
Diffstat (limited to 'home/menu.asm')
-rw-r--r--home/menu.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/menu.asm b/home/menu.asm
index ed17e05e..8fb7c418 100644
--- a/home/menu.asm
+++ b/home/menu.asm
@@ -635,7 +635,7 @@ ContinueGettingMenuJoypad:
call GetMenuIndexSet
ld a, [wMenuCursorY]
ld l, a
- ld h, $0
+ ld h, 0
add hl, de
ld a, [hl]
ld [wMenuSelection], a
@@ -698,7 +698,7 @@ MenuJumptable::
GetMenuDataPointerTableEntry::
ld e, a
- ld d, $0
+ ld d, 0
ld hl, wMenuDataPointerTableAddr
ld a, [hli]
ld h, [hl]