add cheat for Spy's Demise

This commit is contained in:
4am 2019-10-11 09:57:18 -04:00
parent b557667613
commit b5fc6f4ad9
5 changed files with 27 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -12,7 +12,7 @@
- Added help screen (press ? in search or browse mode to show)
- Added global cheat mode (press Ctrl-C in search or browse mode to toggle)
- Added 59 game cheats
- Added 60 game cheats
- Fixed corrupted graphics in Asteroid Blaster
- Fixed corrupted graphics in Sneakers game, demo, and screenshots, and now we are entirely done with this I promise
- Fixed Axis Assassin demo hanging on IIgs

View File

@ -14,6 +14,7 @@
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
; lives in $0F82,X (X=0/1 for player 1/2)
lda #$BD
sta $7D7E ; patch - don't decrease lives
sta $7D9A ; patch - don't decrease lives

View File

@ -0,0 +1,23 @@
;license:MIT
;(c) 2019 by 4am
!cpu 6502
!to "build/PRELAUNCH/SPYS.DEMISE",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $0853
jsr $0800 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
; lives in $17
lda #$A5
sta $6D8A ; patch - don't decrease lives
sta $6DD0 ; patch - don't increase lives
+
+DISABLE_ACCEL
jmp $6000

View File

@ -23,6 +23,7 @@
patch
lda #0 ; SMC
beq +
; lives in $14FE
lda #$AD
sta $0640 ; patch - don't decrease lives
sta $0774 ; patch - don't decrease lives