diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-09 15:16:44 -0500 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-09 15:20:35 -0500 |
| commit | bc8636d68805116ef126feecc07cde63238490da (patch) | |
| tree | d88fed0393eb69c8c37fbaf7ee21f7dd3af289c9 /home | |
| parent | 6e20c30f6e48ba36237d42b13ea6e6827b62ff40 (diff) | |
Replace $0 with 0 for "ld l, a / ld h, 0" idiom
Diffstat (limited to 'home')
| -rw-r--r-- | home/map.asm | 8 | ||||
| -rw-r--r-- | home/menu.asm | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/home/map.asm b/home/map.asm index 22719788..75281a1b 100644 --- a/home/map.asm +++ b/home/map.asm @@ -1029,7 +1029,7 @@ CoordinatesEventText:: CheckObjectMask:: ldh a, [hMapObjectIndexBuffer] ld e, a - ld d, $0 + ld d, 0 ld hl, wObjectMasks add hl, de ld a, [hl] @@ -1038,7 +1038,7 @@ CheckObjectMask:: MaskObject:: ldh a, [hMapObjectIndexBuffer] ld e, a - ld d, $0 + ld d, 0 ld hl, wObjectMasks add hl, de ld [hl], -1 ; masked @@ -1047,7 +1047,7 @@ MaskObject:: UnmaskObject:: ldh a, [hMapObjectIndexBuffer] ld e, a - ld d, $0 + ld d, 0 ld hl, wObjectMasks add hl, de ld [hl], 0 ; unmasked @@ -1565,7 +1565,7 @@ GetCoordTile:: and a jr z, .nope ld l, a - ld h, $0 + ld h, 0 add hl, hl add hl, hl ld a, [wTilesetCollisionAddress] 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] |
