2019-09-30 17:33:13 +00:00
|
|
|
;license:MIT
|
|
|
|
;(c) 2019 by 4am
|
|
|
|
|
|
|
|
!cpu 6502
|
|
|
|
!to "build/PRELAUNCH/GOLD.RUSH",plain
|
|
|
|
*=$106
|
|
|
|
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
|
2019-10-05 01:34:49 +00:00
|
|
|
+ENABLE_ACCEL
|
2019-09-30 17:33:13 +00:00
|
|
|
lda #$60
|
|
|
|
sta $36F3
|
|
|
|
jsr $0800 ; decompress
|
2019-10-05 01:34:49 +00:00
|
|
|
+GET_MACHINE_STATUS
|
|
|
|
and #CHEATS_ENABLED
|
|
|
|
beq +
|
2019-10-06 14:39:59 +00:00
|
|
|
; lives in $0A33 (capped at 9)
|
2019-09-30 17:33:13 +00:00
|
|
|
lda #$AD
|
|
|
|
sta $13EE ; patch - don't decrease lives
|
2019-10-05 01:34:49 +00:00
|
|
|
+
|
|
|
|
+DISABLE_ACCEL
|
2019-09-30 17:33:13 +00:00
|
|
|
jmp $0B00
|
2019-12-13 05:51:54 +00:00
|
|
|
|
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|