Fixed clobbering of X in userinput

This commit is contained in:
Rob McMullen 2017-07-20 21:07:46 -07:00
parent 0afa3a6b64
commit f7924f12bd

View File

@ -288,6 +288,7 @@ userinput
ldx #38
ldy #23
jsr printhex
ldx #0
pla
bpl input_not_movement ; stop movement of player if no direction input
@ -295,7 +296,6 @@ userinput
; down, which causes a pause after the initial movement. Not setting the
; strobe allows smooth movement from the start, but there's no way to stop
;sta KBDSTROBE
ldx #0
check_up cmp #$8d ; up arrow
beq input_up