summaryrefslogtreecommitdiff
path: root/engine/gfx/pic_animation.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/pic_animation.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/pic_animation.asm')
-rw-r--r--engine/gfx/pic_animation.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/gfx/pic_animation.asm b/engine/gfx/pic_animation.asm
index 88dc1f6d9..8eff13ad1 100644
--- a/engine/gfx/pic_animation.asm
+++ b/engine/gfx/pic_animation.asm
@@ -87,7 +87,7 @@ AnimateFrontpic:
.loop
call SetUpPokeAnim
push af
- farcall HDMATransferTileMapToWRAMBank3
+ farcall HDMATransferTilemapToWRAMBank3
pop af
jr nc, .loop
ret
@@ -261,9 +261,9 @@ PokeAnim_DeinitFrames:
ld a, BANK(wPokeAnimCoord)
ldh [rSVBK], a
call PokeAnim_PlaceGraphic
- farcall HDMATransferTileMapToWRAMBank3
+ farcall HDMATransferTilemapToWRAMBank3
call PokeAnim_SetVBank0
- farcall HDMATransferAttrMapToWRAMBank3
+ farcall HDMATransferAttrmapToWRAMBank3
pop af
ldh [rSVBK], a
ret
@@ -830,13 +830,13 @@ PokeAnim_SetVBank1:
xor a
ldh [hBGMapMode], a
call .SetFlag
- farcall HDMATransferAttrMapToWRAMBank3
+ farcall HDMATransferAttrmapToWRAMBank3
pop af
ldh [rSVBK], a
ret
.SetFlag:
- call PokeAnim_GetAttrMapCoord
+ call PokeAnim_GetAttrmapCoord
ld b, 7
ld c, 7
ld de, SCREEN_WIDTH
@@ -858,7 +858,7 @@ PokeAnim_SetVBank1:
ret
PokeAnim_SetVBank0:
- call PokeAnim_GetAttrMapCoord
+ call PokeAnim_GetAttrmapCoord
ld b, 7
ld c, 7
ld de, SCREEN_WIDTH
@@ -879,12 +879,12 @@ PokeAnim_SetVBank0:
jr nz, .row
ret
-PokeAnim_GetAttrMapCoord:
+PokeAnim_GetAttrmapCoord:
ld hl, wPokeAnimCoord
ld a, [hli]
ld h, [hl]
ld l, a
- ld de, wAttrMap - wTileMap
+ ld de, wAttrmap - wTilemap
add hl, de
ret