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

@@ -103,7 +103,7 @@ InitPartyMenuPalettes:
ld hl, PalPacket_PartyMenu + 1
call CopyFourPalettes
call InitPartyMenuOBPals
call WipeAttrMap
call WipeAttrmap
ret
; SGB layout for SCGB_PARTY_MENU_HP_PALS
@@ -284,7 +284,7 @@ Unreferenced_Function8bec:
ld a, [wEnemyLightScreenCount] ; col
ld c, a
ld a, [wEnemyReflectCount] ; row
hlcoord 0, 0, wAttrMap
hlcoord 0, 0, wAttrmap
ld de, SCREEN_WIDTH
.loop
and a
@@ -320,8 +320,8 @@ ApplyMonOrTrainerPals:
.load_palettes
ld de, wBGPals1
call LoadPalette_White_Col1_Col2_Black
call WipeAttrMap
call ApplyAttrMap
call WipeAttrmap
call ApplyAttrmap
call ApplyPals
ret
@@ -359,7 +359,7 @@ ApplyHPBarPals:
.PartyMenu:
ld e, c
inc e
hlcoord 11, 1, wAttrMap
hlcoord 11, 1, wAttrmap
ld bc, 2 * SCREEN_WIDTH
ld a, [wCurPartyMon]
.loop
@@ -437,8 +437,8 @@ LoadMailPalettes:
ld a, BANK(wBGPals1)
call FarCopyWRAM
call ApplyPals
call WipeAttrMap
call ApplyAttrMap
call WipeAttrmap
call ApplyAttrmap
ret
.MailPals:
@@ -453,8 +453,8 @@ Unreferenced_Function95f0:
ld a, BANK(wBGPals1)
call FarCopyWRAM
call ApplyPals
call WipeAttrMap
call ApplyAttrMap
call WipeAttrmap
call ApplyAttrmap
ret
.Palette:
@@ -590,8 +590,8 @@ ResetBGPals:
pop af
ret
WipeAttrMap:
hlcoord 0, 0, wAttrMap
WipeAttrmap:
hlcoord 0, 0, wAttrmap
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
xor a
call ByteFill
@@ -605,7 +605,7 @@ ApplyPals:
call FarCopyWRAM
ret
ApplyAttrMap:
ApplyAttrmap:
ldh a, [rLCDC]
bit rLCDC_ENABLE, a
jr z, .UpdateVBank1
@@ -622,7 +622,7 @@ ApplyAttrMap:
ret
.UpdateVBank1:
hlcoord 0, 0, wAttrMap
hlcoord 0, 0, wAttrmap
debgcoord 0, 0
ld b, SCREEN_HEIGHT
ld a, $1
@@ -659,7 +659,7 @@ CGB_ApplyPartyMenuHPPals:
ld a, [de]
inc a
ld e, a
hlcoord 11, 2, wAttrMap
hlcoord 11, 2, wAttrmap
ld bc, 2 * SCREEN_WIDTH
ld a, [wSGBPals]
.loop