blob: 85a6baa2db6ebf529651752f89a6ab8e7c5e7a6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
; a = keys to escape
WaitUntilKeysArePressed:
push bc
ld b, a
.loop_input
push bc
call DoFrameIfLCDEnabled
pop bc
ldh a, [hKeysPressed]
and b
jr z, .loop_input
pop bc
ret
|