Exterminator cheat

This commit is contained in:
Peter Ferrie 2020-12-10 08:02:17 -08:00
parent c7937477eb
commit a757e72552
2 changed files with 25 additions and 1 deletions

View File

@ -98,7 +98,7 @@
0000,DUNG.BEETLES
0001,EGGS.IT=Eggs-It
0000,EPOCH
0000,EXTERMINATOR
0001,EXTERMINATOR
0001,EVOLUTION
0001,FALCONS
0004,FAT.CITY

View File

@ -0,0 +1,24 @@
;license:MIT
;(c) 2020 by qkumba
!cpu 6502
!to "build/PRELAUNCH/EXTERMINATOR",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $944D
jsr $5300 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
dec $552D ; patch - don't decrease lives
+
+DISABLE_ACCEL
jmp $1F80
!if * > $1C0 {
!error "code is too large, ends at ", *
}