-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
691 additions
and
690 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,69 @@ | ||
!zone { | ||
lda CRASH | ||
bne .nocrash | ||
lda CXP0FB | ||
ora CXP1FB | ||
and #$80 | ||
beq .nocrash | ||
lda #8 | ||
sta AUDC1 | ||
lda #0 | ||
sta AUDV0 | ||
sta AUDC0 | ||
lda #$80 | ||
sta CRASH | ||
lda #$3f | ||
sta EXPLOSION | ||
lda #0 | ||
sta SPEEDY0_LO | ||
sta SPEEDY0_HI | ||
sta SPEEDY1_LO | ||
sta SPEEDY1_HI | ||
sta SPEEDX0_LO | ||
sta SPEEDX0_HI | ||
sta SPEEDX1_LO | ||
sta SPEEDX1_HI | ||
lda CRASH | ||
bne .nocrash | ||
lda CXP0FB | ||
ora CXP1FB | ||
and #$80 | ||
beq .nocrash | ||
lda #8 | ||
sta AUDC1 | ||
lda #0 | ||
sta AUDV0 | ||
sta AUDC0 | ||
lda #$80 | ||
sta CRASH | ||
lda #$3f | ||
sta EXPLOSION | ||
lda #0 | ||
sta SPEEDY0_LO | ||
sta SPEEDY0_HI | ||
sta SPEEDY1_LO | ||
sta SPEEDY1_HI | ||
sta SPEEDX0_LO | ||
sta SPEEDX0_HI | ||
sta SPEEDX1_LO | ||
sta SPEEDX1_HI | ||
|
||
lda CXP0FB | ||
and #$80 | ||
beq .nocrashp0 | ||
dec P0LIVES | ||
lda CXP0FB | ||
and #$80 | ||
beq .nocrashp0 | ||
dec P0LIVES | ||
.nowinnerp0 | ||
lda #120 | ||
sta Y0_HI | ||
lda P0LIVES | ||
bne .nocrashp0 | ||
lda #1 | ||
sta RESET | ||
lda #120 | ||
sta Y0_HI | ||
lda P0LIVES | ||
bne .nocrashp0 | ||
lda #1 | ||
sta RESET | ||
.nocrashp0 | ||
lda CXP1FB | ||
and #$80 | ||
beq .nocrashp1 | ||
dec P1LIVES | ||
lda CXP1FB | ||
and #$80 | ||
beq .nocrashp1 | ||
dec P1LIVES | ||
.nowinnerp1 | ||
lda #120 | ||
sta Y1_HI | ||
lda P1LIVES | ||
bne .nocrashp1 | ||
lda #1 | ||
sta RESET | ||
lda #120 | ||
sta Y1_HI | ||
lda P1LIVES | ||
bne .nocrashp1 | ||
lda #1 | ||
sta RESET | ||
.nocrashp1 | ||
lda P0LIVES | ||
ora P1LIVES | ||
bne .notboth | ||
lda #$50 | ||
sta WINNER_COLOR | ||
jmp .nocrash | ||
lda P0LIVES | ||
ora P1LIVES | ||
bne .notboth | ||
lda #$50 | ||
sta WINNER_COLOR | ||
jmp .nocrash | ||
.notboth | ||
lda P0LIVES | ||
bne .checknext | ||
lda #P1COL-10 | ||
sta WINNER_COLOR | ||
jmp .nocrash | ||
lda P0LIVES | ||
bne .checknext | ||
lda #P1COL-10 | ||
sta WINNER_COLOR | ||
jmp .nocrash | ||
.checknext | ||
lda P1LIVES | ||
bne .nocrash | ||
lda #P0COL-10 | ||
sta WINNER_COLOR | ||
lda P1LIVES | ||
bne .nocrash | ||
lda #P0COL-10 | ||
sta WINNER_COLOR | ||
.nocrash | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
!zone { | ||
tax | ||
and #%11001100 | ||
beq .noblow | ||
lda SNDFRAME | ||
and #1 | ||
bne .noblow | ||
lda #8 | ||
sta AUDC0 | ||
lda #1 | ||
sta AUDF0 | ||
lda #2 | ||
sta AUDV0 | ||
jmp .nothrust | ||
tax | ||
and #%11001100 | ||
beq .noblow | ||
lda SNDFRAME | ||
and #1 | ||
bne .noblow | ||
lda #8 | ||
sta AUDC0 | ||
lda #1 | ||
sta AUDF0 | ||
lda #2 | ||
sta AUDV0 | ||
jmp .nothrust | ||
.noblow | ||
txa | ||
and #$11 | ||
beq .nothrust | ||
lda #8 | ||
sta AUDC0 | ||
lda #20 | ||
sta AUDF0 | ||
lda #4 | ||
sta AUDV0 | ||
txa | ||
and #$11 | ||
beq .nothrust | ||
lda #8 | ||
sta AUDC0 | ||
lda #20 | ||
sta AUDF0 | ||
lda #4 | ||
sta AUDV0 | ||
.nothrust | ||
} |
Oops, something went wrong.