diff --git a/galactic-armada/src/main/utils/input-utils.asm b/galactic-armada/src/main/utils/input-utils.asm index 94e2616..7ca3362 100644 --- a/galactic-armada/src/main/utils/input-utils.asm +++ b/galactic-armada/src/main/utils/input-utils.asm @@ -27,8 +27,8 @@ WaitForKeyFunction_Loop: ld a, [mWaitKey] ld b, a ld a, [wCurKeys] - and a, b - jp WaitForKeyFunction_NotPressed + and b + jp z, WaitForKeyFunction_NotPressed ld a, [wLastKeys] and b