Replace magic number with TEXTBOX_FRAME_TILES (#1057)

This commit is contained in:
Idain 2023-07-18 09:58:37 -04:00 committed by GitHub
parent 31c55dc74d
commit 1d64befdb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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