save some blocks

This commit is contained in:
Peter Ferrie 2021-02-22 21:02:27 -08:00
parent b0ff5ad722
commit b0869b4fbd
2 changed files with 13 additions and 8 deletions

View File

@ -13,23 +13,28 @@ callback
jsr $BD57
ldx $B7EC
ldy $B7ED
cpx #$19
beq +
cpx #$18
bne ++
+ cpy #$0E
cpx #$17
bne ++
lda #0
sta $BA48
cpy #8
beq +
cpy #5
bne ++
sta $BB48
rol
sta $BB4D ; hook in-game reset
bne ++
+ sta $BA48
rol
sta $BA4D ; hook in-game reset
++
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
cpx #$13
cpx #$14
bne +
cpy #$03
cpy #$0B
bne +
lda #$a5
sta $BBD2 ; patch - don't decrease lives