4cade/src/prelaunch/championship.lode.runner.a

29 lines
620 B
Plaintext
Raw Normal View History

2019-10-12 02:08:55 +00:00
;license:MIT
;(c) 2019 by 4am
!cpu 6502
!to "build/PRELAUNCH.INDEXED/CL",plain
2019-10-12 02:08:55 +00:00
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $1F74
jsr $1F00 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
; lives in $7D, capped at 255
lda #$FF
sta $60DD ; start with 255 lives
lda #$A5
sta $61AB ; patch - don't decrease lives
+
+DISABLE_ACCEL
jmp $6000
2019-12-13 05:51:54 +00:00
!if * > $1C0 {
!error "code is too large, ends at ", *
}