mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Replace magic number with TEXTBOX_FRAME_TILES (#1057)
This commit is contained in:
parent
31c55dc74d
commit
1d64befdb7
@ -1037,13 +1037,13 @@ Function106464::
|
||||
Function10649b: ; unreferenced
|
||||
ld a, [wTextboxFrame]
|
||||
maskbits NUM_FRAMES
|
||||
ld bc, 6 * LEN_1BPP_TILE
|
||||
ld bc, TEXTBOX_FRAME_TILES * LEN_1BPP_TILE
|
||||
ld hl, Frames
|
||||
call AddNTimes
|
||||
ld d, h
|
||||
ld e, l
|
||||
ld hl, vTiles2 tile "┌" ; $79
|
||||
ld c, 6 ; "┌" to "┘"
|
||||
ld c, TEXTBOX_FRAME_TILES ; "┌" to "┘"
|
||||
ld b, BANK(Frames)
|
||||
call Function1064c3
|
||||
ld hl, vTiles2 tile " " ; $7f
|
||||
|
Loading…
Reference in New Issue
Block a user