4cade/src/prelaunch/county.fair.a

27 lines
497 B
Plaintext
Raw Permalink Normal View History

2020-04-25 01:32:49 +00:00
;license:MIT
;(c) 2020 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/COUNTY.FAIR",plain
2020-04-25 01:32:49 +00:00
*=$106
!source "src/macros.a"
2020-04-25 01:32:49 +00:00
+ENABLE_ACCEL
lda #$60
sta $65AA
jsr $651F ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$a5
sta $1060 ; patch - don't decrease ammunition
+
+DISABLE_ACCEL
jmp $800
!if * > $1C0 {
!error "code is too large, ends at ", *
}