Keep "paragraphs" of related code together

This commit is contained in:
Rangi 2019-01-24 21:10:45 -05:00
parent a5c1d9572c
commit 84b6a084cb
2 changed files with 3 additions and 3 deletions

View File

@ -633,13 +633,13 @@ AnimateFlowerTile:
; Alternate tile graphic every other frame ; Alternate tile graphic every other frame
ld a, [wTileAnimationTimer] ld a, [wTileAnimationTimer]
and %10 and %10
ld e, a
; CGB has different color mappings for flowers. ; CGB has different color mappings for flowers.
ld e, a
ldh a, [hCGB] ldh a, [hCGB]
and 1 and 1
add e add e
swap a swap a
ld e, a ld e, a
ld d, 0 ld d, 0

View File

@ -102,8 +102,8 @@ LoadMapPart::
ld a, [wTilesetBlocksBank] ld a, [wTilesetBlocksBank]
rst Bankswitch rst Bankswitch
call LoadMetatiles call LoadMetatiles
ld a, "■" ld a, "■"
hlcoord 0, 0 hlcoord 0, 0
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT ld bc, SCREEN_WIDTH * SCREEN_HEIGHT