summaryrefslogtreecommitdiff
path: root/engine/gfx/color.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 /engine/gfx/color.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 'engine/gfx/color.asm')
-rw-r--r--engine/gfx/color.asm28
1 files changed, 14 insertions, 14 deletions
diff --git a/engine/gfx/color.asm b/engine/gfx/color.asm
index 2426eba78..7f2fc8fa1 100644
--- a/engine/gfx/color.asm
+++ b/engine/gfx/color.asm
@@ -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