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

@@ -97,7 +97,7 @@ InitUnownPuzzlePiecePositions:
and $f
ld hl, .PuzzlePieceInitialPositions
ld e, a
ld d, $0
ld d, 0
add hl, de
ld e, [hl]
ld hl, wPuzzlePieces
@@ -449,7 +449,7 @@ UnownPuzzle_CheckCurrentTileOccupancy:
ld hl, wPuzzlePieces
ld a, [wUnownPuzzleCursorPosition]
ld e, a
ld d, $0
ld d, 0
add hl, de
ld a, [hl]
ret