Correct documentation
Split out text_constants.asm
This commit is contained in:
@@ -1,17 +1,7 @@
|
||||
BORDER_WIDTH EQU 2
|
||||
TEXTBOX_WIDTH EQU SCREEN_WIDTH
|
||||
TEXTBOX_INNERW EQU TEXTBOX_WIDTH - BORDER_WIDTH
|
||||
TEXTBOX_HEIGHT EQU 6
|
||||
TEXTBOX_INNERH EQU TEXTBOX_HEIGHT - BORDER_WIDTH
|
||||
TEXTBOX_X EQU 0
|
||||
TEXTBOX_INNERX EQU TEXTBOX_X + 1
|
||||
TEXTBOX_Y EQU SCREEN_HEIGHT - TEXTBOX_HEIGHT
|
||||
TEXTBOX_INNERY EQU TEXTBOX_Y + 2
|
||||
|
||||
ClearBox:: ; fb6
|
||||
; Fill a c*b box at hl with blank tiles.
|
||||
|
||||
ld a, " "
|
||||
; fallthrough
|
||||
|
||||
FillBoxWithByte::
|
||||
.row
|
||||
@@ -56,7 +46,6 @@ ClearScreen:: ; fdb
|
||||
; fe8
|
||||
|
||||
|
||||
|
||||
TextBox:: ; fe8
|
||||
; Draw a text box at hl with room for
|
||||
; b lines of c characters each.
|
||||
|
Reference in New Issue
Block a user