Identify more bit flags (#1153)

This commit is contained in:
Sylvie
2024-11-29 19:29:30 -05:00
committed by GitHub
parent 8894e29da2
commit 644bd42fb0
78 changed files with 539 additions and 472 deletions

View File

@@ -390,7 +390,7 @@ CheckMovingOffEdgeOfMap::
GetMapScreenCoords::
ld hl, wOverworldMapBlocks
ld a, [wXCoord]
bit 0, a
bit 0, a ; even or odd?
jr nz, .odd_x
; even x
srl a
@@ -408,7 +408,7 @@ GetMapScreenCoords::
ld c, a
ld b, 0
ld a, [wYCoord]
bit 0, a
bit 0, a ; even or odd?
jr nz, .odd_y
; even y
srl a