mirror of
https://github.com/a2-4am/4cade.git
synced 2024-09-30 15:54:42 +00:00
22 lines
483 B
Plaintext
22 lines
483 B
Plaintext
|
;license:MIT
|
||
|
;(c) 2019 by 4am
|
||
|
|
||
|
!cpu 6502
|
||
|
!to "build/PRELAUNCH/MR.ROBOT",plain
|
||
|
*=$106
|
||
|
|
||
|
!source "src/prelaunch/common.a"
|
||
|
|
||
|
lda #$60
|
||
|
sta $0842
|
||
|
jsr $0800 ; decompress
|
||
|
+GET_MACHINE_STATUS
|
||
|
and #CHEATS_ENABLED
|
||
|
beq +
|
||
|
; lives in EF
|
||
|
lda #$00
|
||
|
sta $777C ; patch - don't decrease lives
|
||
|
sta $78C5 ; patch - don't increase lives
|
||
|
+
|
||
|
jmp $7600
|