You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Board menu (#11) [Commit 1]
This commit is contained in:
@@ -19,6 +19,23 @@ FillBoxWithByte::
|
||||
jr nz, .row
|
||||
ret
|
||||
|
||||
FillBoxWithConsecutiveBytes::
|
||||
.row
|
||||
push bc
|
||||
push hl
|
||||
.col
|
||||
ld [hli], a
|
||||
inc a
|
||||
dec c
|
||||
jr nz, .col
|
||||
pop hl
|
||||
ld bc, SCREEN_WIDTH
|
||||
add hl, bc
|
||||
pop bc
|
||||
dec b
|
||||
jr nz, .row
|
||||
ret
|
||||
|
||||
ClearTilemap::
|
||||
; Fill wTilemap with blank tiles.
|
||||
|
||||
|
Reference in New Issue
Block a user