summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/audio.asm2
-rw-r--r--home/map.asm6
-rw-r--r--home/map_objects.asm6
3 files changed, 7 insertions, 7 deletions
diff --git a/home/audio.asm b/home/audio.asm
index 803c6e07d..779c2267d 100644
--- a/home/audio.asm
+++ b/home/audio.asm
@@ -479,7 +479,7 @@ Unreferenced_Function3d9f::
xor a
ld [wVirtualOAMSprite38Attributes], a
ld [wVirtualOAMSprite39Attributes], a
- ld a, [wc296]
+ ld a, [wUnusedBCDNumber]
cp 100
jr nc, .max
add 1
diff --git a/home/map.asm b/home/map.asm
index b85599de8..659e5688d 100644
--- a/home/map.asm
+++ b/home/map.asm
@@ -1,8 +1,8 @@
; Functions dealing with rendering and interacting with maps.
-ClearUnusedC7E8::
- ld hl, wUnusedC7E8
- ld bc, wUnusedC7E8End - wUnusedC7E8
+ClearUnusedMapBuffer::
+ ld hl, wUnusedMapBuffer
+ ld bc, wUnusedMapBufferEnd - wUnusedMapBuffer
ld a, 0
call ByteFill
ret
diff --git a/home/map_objects.asm b/home/map_objects.asm
index 4cc28b07d..162bfbc5c 100644
--- a/home/map_objects.asm
+++ b/home/map_objects.asm
@@ -395,11 +395,11 @@ LoadMovementDataPointer::
; Load the movement data pointer for object a.
ld [wMovementObject], a
ldh a, [hROMBank]
- ld [wMovementDataPointer], a
+ ld [wMovementDataBank], a
ld a, l
- ld [wMovementDataPointer + 1], a
+ ld [wMovementDataAddress], a
ld a, h
- ld [wMovementDataPointer + 2], a
+ ld [wMovementDataAddress + 1], a
ld a, [wMovementObject]
call CheckObjectVisibility
ret c