mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-24 18:32:15 +00:00
27 lines
551 B
Plaintext
27 lines
551 B
Plaintext
;license:MIT
|
|
;(c) 2019 by 4am
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH/GOLD.RUSH",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
+ENABLE_ACCEL
|
|
lda #$60
|
|
sta $36F3
|
|
jsr $0800 ; decompress
|
|
+GET_MACHINE_STATUS
|
|
and #CHEATS_ENABLED
|
|
beq +
|
|
; lives in $0A33 (capped at 9)
|
|
lda #$AD
|
|
sta $13EE ; patch - don't decrease lives
|
|
+
|
|
+DISABLE_ACCEL
|
|
jmp $0B00
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|