mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Keep "paragraphs" of related code together
This commit is contained in:
parent
a5c1d9572c
commit
84b6a084cb
@ -633,13 +633,13 @@ AnimateFlowerTile:
|
||||
; Alternate tile graphic every other frame
|
||||
ld a, [wTileAnimationTimer]
|
||||
and %10
|
||||
ld e, a
|
||||
|
||||
; CGB has different color mappings for flowers.
|
||||
ld e, a
|
||||
ldh a, [hCGB]
|
||||
and 1
|
||||
|
||||
add e
|
||||
|
||||
swap a
|
||||
ld e, a
|
||||
ld d, 0
|
||||
|
@ -102,8 +102,8 @@ LoadMapPart::
|
||||
|
||||
ld a, [wTilesetBlocksBank]
|
||||
rst Bankswitch
|
||||
|
||||
call LoadMetatiles
|
||||
|
||||
ld a, "■"
|
||||
hlcoord 0, 0
|
||||
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
|
||||
|
Loading…
Reference in New Issue
Block a user