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

@@ -72,7 +72,7 @@ PokeGear:
.InitTilemap:
call ClearBGPalettes
call ClearTileMap
call ClearTilemap
call ClearSprites
call DisableLCD
xor a
@@ -1783,7 +1783,7 @@ _TownMap:
ld [wVramState], a
call ClearBGPalettes
call ClearTileMap
call ClearTilemap
call ClearSprites
call DisableLCD
call Pokegear_LoadGFX
@@ -2035,7 +2035,7 @@ PokegearMap:
_FlyMap:
call ClearBGPalettes
call ClearTileMap
call ClearTilemap
call ClearSprites
ld hl, hInMenu
ld a, [hl]
@@ -2497,7 +2497,7 @@ Pokedex_GetArea:
.GetAndPlaceNest:
ld [wTownMapCursorLandmark], a
ld e, a
farcall FindNest ; load nest landmarks into wTileMap[0,0]
farcall FindNest ; load nest landmarks into wTilemap[0,0]
decoord 0, 0
ld hl, wVirtualOAMSprite00
.nestloop
@@ -2675,7 +2675,7 @@ FillTownMap:
TownMapPals:
; Assign palettes based on tile ids
hlcoord 0, 0
decoord 0, 0, wAttrMap
decoord 0, 0, wAttrmap
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
.loop
; Current tile
@@ -2817,7 +2817,7 @@ Unreferenced_Function92311:
xor a
ld [wTownMapPlayerIconLandmark], a
call ClearBGPalettes
call ClearTileMap
call ClearTilemap
call ClearSprites
ld hl, hInMenu
ld a, [hl]