Skip to content

Commit

Permalink
Removed B key
Browse files Browse the repository at this point in the history
  • Loading branch information
dmatviichuk committed Jun 11, 2021
1 parent 2940f7c commit 60e4170
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions main.s
Original file line number Diff line number Diff line change
Expand Up @@ -271,15 +271,15 @@
eor pressingOld
and pressing
and #%00000001
beq CheckB
jsr PressA
CheckB:
lda pressing
eor pressingOld
and pressing
and #%00000010
beq EndController
jsr PressB
jsr PressA
; CheckB:
; lda pressing
; eor pressingOld
; and pressing
; and #%00000010
; beq EndController
; jsr PressB

EndController:
rts
Expand Down Expand Up @@ -402,14 +402,14 @@
rts


PressB:
lda gameLoaded
cmp #$00
bne :+
rts
: jsr DrawO
jsr LoadGrid ; load defaults
rts
; PressB:
; lda gameLoaded
; cmp #$00
;bne :+
;rts
; : jsr DrawO
; jsr LoadGrid ; load defaults
; rts


DrawX:
Expand Down

0 comments on commit 60e4170

Please sign in to comment.