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.
This commit is contained in:
mid-kid
2020-02-13 18:30:13 +01:00
parent 34ceaac71d
commit 26b8bf003e
84 changed files with 630 additions and 630 deletions

View File

@@ -29,7 +29,7 @@ ReanchorBGMap_NoOAMUpdate::
call OverworldTextModeSwitch
ld a, HIGH(vBGMap1)
call .LoadBGMapAddrIntoHRAM
call _OpenAndCloseMenu_HDMATransferTileMapAndAttrMap
call _OpenAndCloseMenu_HDMATransferTilemapAndAttrmap
farcall LoadOW_BGPal7
farcall ApplyPals
ld a, $1
@@ -84,7 +84,7 @@ HDMATransfer_FillBGMap0WithBlack:
ld a, "■"
ld hl, wDecompressScratch
ld bc, wScratchAttrMap - wDecompressScratch
ld bc, wScratchAttrmap - wDecompressScratch
call ByteFill
ld a, HIGH(wDecompressScratch)
ldh [rHDMA1], a

View File

@@ -5,11 +5,11 @@ BlankScreen:
call ClearBGPalettes
call ClearSprites
hlcoord 0, 0
ld bc, wTileMapEnd - wTileMap
ld bc, wTilemapEnd - wTilemap
ld a, " "
call ByteFill
hlcoord 0, 0, wAttrMap
ld bc, wAttrMapEnd - wAttrMap
hlcoord 0, 0, wAttrmap
ld bc, wAttrmapEnd - wAttrmap
ld a, $7
call ByteFill
call WaitBGMap2

View File

@@ -2643,7 +2643,7 @@ Script_writeunusedbytebuffer:
Script_closetext:
; script command 0x49
call _OpenAndCloseMenu_HDMATransferTileMapAndAttrMap
call _OpenAndCloseMenu_HDMATransferTilemapAndAttrmap
call CloseText
ret

View File

@@ -233,7 +233,7 @@ LoadMapTimeOfDay:
farcall UpdateTimeOfDayPal
call OverworldTextModeSwitch
call .ClearBGMap
call .PushAttrMap
call .PushAttrmap
ret
.ClearBGMap:
@@ -264,14 +264,14 @@ LoadMapTimeOfDay:
call ByteFill
ret
.PushAttrMap:
.PushAttrmap:
decoord 0, 0
call .copy
ldh a, [hCGB]
and a
ret z
decoord 0, 0, wAttrMap
decoord 0, 0, wAttrmap
ld a, $1
ldh [rVBK], a
.copy