add cheat for Lode Runner

This commit is contained in:
4am 2019-10-11 22:03:23 -04:00
parent 11c4b8bba3
commit 09c96948d5
3 changed files with 26 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 64 game cheats
- Added 65 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 Apple IIgs

View File

@ -0,0 +1,24 @@
;license:MIT
;(c) 2019 by 4am
!cpu 6502
!to "build/PRELAUNCH/LODE.RUNNER",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $1F4E
jsr $1F00 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
; lives in $98, capped at 255
lda #$FF
sta $606F ; start with 255 lives
lda #$A5
sta $613F ; patch - don't decrease lives
+
+DISABLE_ACCEL
jmp $9050