cheat for The Spy Strikes Back

This commit is contained in:
Peter Ferrie 2020-03-22 18:25:39 -07:00
parent 908da16f5e
commit 738472fcee
2 changed files with 28 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,27 @@
;license:MIT
;(c) 2019 by 4am
!cpu 6502
!to "build/PRELAUNCH/SPY.STRIKES.BAK",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $0849
jsr $0800 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
; lives in $17
lda #$A5
sta $6AE7 ; patch - don't decrease lives
sta $87EE ; patch - don't increase lives
+
+DISABLE_ACCEL
jmp $6000
!if * > $1C0 {
!error "code is too large, ends at ", *
}