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
|
; 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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user