summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/map.asm2
-rw-r--r--home/mobile.asm5
2 files changed, 4 insertions, 3 deletions
diff --git a/home/map.asm b/home/map.asm
index 0f72b235d..36a176993 100644
--- a/home/map.asm
+++ b/home/map.asm
@@ -517,7 +517,7 @@ ReadMapTriggers:: ; 23ac
ld a, l
ld [wCurrMapTriggerHeaderPointer], a ; map trigger pointer
ld a, h
- ld [wdc09], a
+ ld [wCurrMapTriggerHeaderPointer + 1], a
ld a, c
and a
ret z
diff --git a/home/mobile.asm b/home/mobile.asm
index dbf982d72..f8e45472e 100644
--- a/home/mobile.asm
+++ b/home/mobile.asm
@@ -127,7 +127,8 @@ Timer:: ; 3e93
; 3ed7
Function3ed7:: ; 3ed7
- ld [$dc02], a
+; unreferenced
+ ld [wdc02], a
ld a, [hROMBank]
push af
ld a, BANK(Function114243)
@@ -138,6 +139,6 @@ Function3ed7:: ; 3ed7
ld a, b
rst Bankswitch
- ld a, [$dc02]
+ ld a, [wdc02]
ret
; 3eea