Skip to content

Commit

Permalink
Replace magic number with TEXTBOX_FRAME_TILES (#1057)
Browse files Browse the repository at this point in the history
  • Loading branch information
Idain committed Jul 18, 2023
1 parent 31c55dc commit 1d64bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mobile/mobile_41.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1d64bef

Please sign in to comment.