mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-23 16:29:34 +00:00
cheat for The Spy Strikes Back
This commit is contained in:
parent
908da16f5e
commit
738472fcee
File diff suppressed because one or more lines are too long
27
src/prelaunch/spy.strikes.bak.a
Normal file
27
src/prelaunch/spy.strikes.bak.a
Normal 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 ", *
|
||||
}
|
Loading…
Reference in New Issue
Block a user