summaryrefslogtreecommitdiff
path: root/home/text.asm
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2020-02-13 18:30:13 +0100
committermid-kid <esteve.varela@gmail.com>2020-02-13 18:31:10 +0100
commit26b8bf003e3523fee94c4c18447ea55f9eb1d429 (patch)
tree96515ae3efceb833cd71c93786150daa3348c71c /home/text.asm
parent34ceaac71d32baace82f1e6de8fd4b252fb92a84 (diff)
Standardize on lowercase Tilemap and Attrmap
We used to have a mixture of TileMap and and Tilemap, as well as the similar AttrMap. Standardize on one.
Diffstat (limited to 'home/text.asm')
-rw-r--r--home/text.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/home/text.asm b/home/text.asm
index f8142939e..82fdd7111 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -19,12 +19,12 @@ FillBoxWithByte::
jr nz, .row
ret
-ClearTileMap::
-; Fill wTileMap with blank tiles.
+ClearTilemap::
+; Fill wTilemap with blank tiles.
hlcoord 0, 0
ld a, " "
- ld bc, wTileMapEnd - wTileMap
+ ld bc, wTilemapEnd - wTilemap
call ByteFill
; Update the BG Map.
@@ -35,10 +35,10 @@ ClearTileMap::
ClearScreen::
ld a, PAL_BG_TEXT
- hlcoord 0, 0, wAttrMap
+ hlcoord 0, 0, wAttrmap
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
call ByteFill
- jr ClearTileMap
+ jr ClearTilemap
Textbox::
; Draw a text box at hl with room for b lines of c characters each.
@@ -99,7 +99,7 @@ TextboxBorder::
TextboxPalette::
; Fill text box width c height b at hl with pal 7
- ld de, wAttrMap - wTileMap
+ ld de, wAttrmap - wTilemap
add hl, de
inc b
inc b
@@ -422,7 +422,7 @@ LineFeedChar::
CarriageReturnChar::
pop hl
push de
- ld bc, -wTileMap + $10000
+ ld bc, -wTilemap + $10000
add hl, bc
ld de, -SCREEN_WIDTH
ld c, 1