summaryrefslogtreecommitdiff
path: root/home/delay.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/delay.asm')
-rw-r--r--home/delay.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/delay.asm b/home/delay.asm
index 450b4190c..300f65c88 100644
--- a/home/delay.asm
+++ b/home/delay.asm
@@ -1,12 +1,12 @@
DelayFrame:: ; 45a
; Wait for one frame
ld a, 1
- ld [VBlankOccurred], a
+ ld [wVBlankOccurred], a
; Wait for the next VBlank, halting to conserve battery
.halt
halt ; rgbasm adds a nop after this instruction by default
- ld a, [VBlankOccurred]
+ ld a, [wVBlankOccurred]
and a
jr nz, .halt
ret