Correct documentation

Split out text_constants.asm
This commit is contained in:
Remy Oukaour
2017-12-26 22:36:01 -05:00
parent d15429e3b7
commit c4a18b1329
8 changed files with 54 additions and 61 deletions

View File

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