add cheat for Pooyan

This commit is contained in:
4am 2019-10-06 21:03:11 -04:00
parent 00e3875350
commit 8b9393f0dd
3 changed files with 25 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -11,7 +11,7 @@
- Added help screen (press ? in search or browse mode to show) - 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 global cheat mode (press Ctrl-C in search or browse mode to toggle)
- Added 57 game cheats - Added 58 game cheats
- Fixed corrupted graphics in Asteroid Blaster - 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 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 - Fixed Axis Assassin demo hanging on IIgs

23
src/prelaunch/pooyan.a Normal file
View File

@ -0,0 +1,23 @@
;license:MIT
;(c) 2019 by 4am
!cpu 6502
!to "build/PRELAUNCH/POOYAN",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $203A
jsr $2000 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$BD
sta $7D7E ; patch - don't decrease lives
sta $7D9A ; patch - don't decrease lives
sta $758A ; patch - don't increase lives
+
+DISABLE_ACCEL
jmp $6000