summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/gfx.asm2
-rw-r--r--home/map.asm4
-rw-r--r--home/palettes.asm2
3 files changed, 4 insertions, 4 deletions
diff --git a/home/gfx.asm b/home/gfx.asm
index 7a22086d..82e6656e 100644
--- a/home/gfx.asm
+++ b/home/gfx.asm
@@ -74,7 +74,7 @@ FarCopyBytes::
ret
-FarCopyBytesDouble:
+FarCopyBytesDouble::
; Copy bc bytes from a:hl to bc*2 bytes at de,
; doubling each byte in the process.
diff --git a/home/map.asm b/home/map.asm
index 2106dc5c..a5d84a5c 100644
--- a/home/map.asm
+++ b/home/map.asm
@@ -89,7 +89,7 @@ LoadMapPart:: ; 1fc8 (0:1fc8)
rst Bankswitch
call LoadMetatiles
ld a, $60
- ld hl, wTilemap
+ hlcoord 0, 0
ld bc, $168
call ByteFill
ld a, $5
@@ -1475,7 +1475,7 @@ ScrollMapUp::
ret
ScrollMapRight::
- ld hl, wTilemap
+ hlcoord 0, 0
ld de, wBGMapBuffer
call BackupBGMapColumn
ld c, $24
diff --git a/home/palettes.asm b/home/palettes.asm
index 131a7128..1e462a67 100644
--- a/home/palettes.asm
+++ b/home/palettes.asm
@@ -258,7 +258,7 @@ ClearVBank1::
ret
Functiond2a::
- ld hl, wTilemap
+ hlcoord 0, 0
ld de, wAttrmap
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
.asm_d33