Rename the object_struct field labels and constants (#1005)

Fixes #990
This commit is contained in:
Rangi
2022-09-12 09:15:44 -04:00
committed by GitHub
parent 4c239a6f65
commit 41d5ea0482
30 changed files with 442 additions and 431 deletions

View File

@@ -1,13 +1,13 @@
_LoadMapPart::
ld hl, wSurroundingTiles
ld a, [wMetatileStandingY]
ld a, [wPlayerMetatileY]
and a
jr z, .top_row
ld bc, SURROUNDING_WIDTH * 2
add hl, bc
.top_row
ld a, [wMetatileStandingX]
ld a, [wPlayerMetatileX]
and a
jr z, .left_column
inc hl