summaryrefslogtreecommitdiff
path: root/home/delay.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 17:39:09 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 17:39:09 -0500
commita1951cefc09035e11077a433b28ec8c66b3b03db (patch)
tree4de98db5a6edb6d74192028d50893da2b764421f /home/delay.asm
parent79bd48f85c7dd1868264e290b12dad17a6e25b95 (diff)
Prefix wram labels with w, part 2.
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