2019-09-30 17:09:57 +00:00
|
|
|
;license:MIT
|
|
|
|
;(c) 2019 by 4am
|
|
|
|
|
|
|
|
!cpu 6502
|
|
|
|
!to "build/PRELAUNCH/GAMMA.GOBLINS",plain
|
|
|
|
*=$106
|
|
|
|
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
|
2019-10-05 01:34:49 +00:00
|
|
|
+ENABLE_ACCEL
|
2019-09-30 17:09:57 +00:00
|
|
|
lda #$60
|
|
|
|
sta $2034
|
|
|
|
jsr $2000 ; 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 $06FE
|
2019-09-30 17:09:57 +00:00
|
|
|
lda #$AD
|
|
|
|
sta $4EF3 ; patch - don't decrease lives
|
|
|
|
lda #$00
|
|
|
|
sta $7F62 ; patch - don't increase lives
|
2019-10-05 01:34:49 +00:00
|
|
|
+
|
|
|
|
+DISABLE_ACCEL
|
|
|
|
lda #$00
|
2019-09-30 17:09:57 +00:00
|
|
|
tay
|
|
|
|
jmp $2035
|