library switch

This commit is contained in:
2022-08-20 01:56:28 -04:00
parent 1215065fbe
commit 5a7e9bd769
8 changed files with 736 additions and 79 deletions
+4 -4
View File
@@ -1261,7 +1261,7 @@ checkJoy
;------------JOY-------------
;happy happy joy joy
;check for joystick now
lda JSTICK0
lda STICK0
and #$0f
cmp #$0f
beq notpressedJoy
@@ -1270,7 +1270,7 @@ checkJoy
jmp jumpFromStick
notpressedJoy
;fire
lda TRIG0S
lda STRIG0
jeq pressedSpace
mva #$ff pressTimer ; stop counting frames
jmp notpressed
@@ -2493,7 +2493,7 @@ checkJoy
;------------JOY-------------
;happy happy joy joy
;check for joystick now
lda JSTICK0
lda STICK0
and #$0f
cmp #$0f
beq notpressedJoy
@@ -2502,7 +2502,7 @@ checkJoy
jmp jumpFromStick
notpressedJoy
;fire
lda TRIG0S
lda STRIG0
jeq pressedSpace
mva #$ff pressTimer ; stop counting frames
jmp notpressed