summaryrefslogtreecommitdiff
path: root/home/delay.asm
blob: b9b7ac1f1e7e97bcc5d64cc8e7c5f23bcf34b764 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DelayFrame:: ; 32e
	ld a, $1
	ld [$ceea], a
.asm_333
	halt
	ld a, [$ceea]
	and a
	jr nz, .asm_333
	ret

DelayFrames:: ; 33c
.loop
	call DelayFrame
	dec c
	jr nz, .loop
	ret