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

@@ -1482,7 +1482,7 @@ Pokedex_PrintListing:
; Load de with wPokedexOrder + [wDexListingScrollOffset]
ld a, [wDexListingScrollOffset]
ld e, a
ld d, $0
ld d, 0
ld hl, wPokedexOrder
add hl, de
ld e, l
@@ -1581,7 +1581,7 @@ Pokedex_GetSelectedMon:
ld hl, wDexListingScrollOffset
add [hl]
ld e, a
ld d, $0
ld d, 0
ld hl, wPokedexOrder
add hl, de
ld a, [hl]