summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/vblank.asm4
-rw-r--r--home/video.asm6
2 files changed, 5 insertions, 5 deletions
diff --git a/home/vblank.asm b/home/vblank.asm
index c32adcf6..3c8e4aac 100644
--- a/home/vblank.asm
+++ b/home/vblank.asm
@@ -136,7 +136,7 @@ VBlank0::
rst Bankswitch
ldh a, [hSeconds]
- ldh [hSecondsBackup], a
+ ldh [hUnusedBackup], a
ret
@@ -387,7 +387,7 @@ VBlank3::
xor a
ldh [rIF], a
- ; enable ints
+ ; enable ints
ld a, %11111
ldh [rIE], a
ret
diff --git a/home/video.asm b/home/video.asm
index 519cd6e1..c0c8b47c 100644
--- a/home/video.asm
+++ b/home/video.asm
@@ -399,7 +399,7 @@ AnimateTileset::
Function1642::
nop
- ldh a, [hVBlankCounter + 1]
+ ldh a, [hFF9E]
and a
ret z
@@ -409,7 +409,7 @@ Function1642::
jr z, .two
ld a, 2
- ldh [hVBlankCounter + 1], a
+ ldh [hFF9E], a
ld hl, hBGMapAddress
ld a, [hli]
ld h, [hl]
@@ -437,7 +437,7 @@ endr
ld de, $320
.go
- ldh [hVBlankCounter + 1], a
+ ldh [hFF9E], a
ld hl, hBGMapAddress
ld a, [hli]
ld h, [hl]