summaryrefslogtreecommitdiff
path: root/engine/delay.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/delay.asm')
-rw-r--r--engine/delay.asm23
1 files changed, 0 insertions, 23 deletions
diff --git a/engine/delay.asm b/engine/delay.asm
deleted file mode 100644
index 4e8b2147c..000000000
--- a/engine/delay.asm
+++ /dev/null
@@ -1,23 +0,0 @@
-DelayFrame: ; 45a
-; Wait for one frame
- ld a, 1
- ld [VBlankOccurred], a
-
-; Wait for the next VBlank, halting to conserve battery
-.halt
- halt ; rgbasm adds a nop after this instruction by default
- ld a, [VBlankOccurred]
- and a
- jr nz, .halt
- ret
-; 468
-
-
-DelayFrames: ; 468
-; Wait c frames
- call DelayFrame
- dec c
- jr nz, DelayFrames
- ret
-; 46f
-