mirror of
https://github.com/a2-4am/4cade.git
synced 2025-02-07 20:31:11 +00:00
add cheat for Lady Tut
This commit is contained in:
parent
5d8900e743
commit
8f3c220fda
File diff suppressed because one or more lines are too long
@ -11,7 +11,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 56 game cheats
|
||||
- Added 57 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
|
||||
|
32
src/prelaunch/lady.tut.a
Normal file
32
src/prelaunch/lady.tut.a
Normal file
@ -0,0 +1,32 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by 4am
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH/LADY.TUT",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+GET_MACHINE_STATUS
|
||||
and #CHEATS_ENABLED
|
||||
sta cheat
|
||||
ldx #(end_patch-patch-1) ; copy patch code to zero page (stack will be destroyed by the time we need to patch)
|
||||
- lda patch,x
|
||||
sta $F0,x
|
||||
dex
|
||||
bpl -
|
||||
lda #$F0
|
||||
sta $084F
|
||||
lda #$00
|
||||
sta $0850
|
||||
jmp $0800 ; decompress
|
||||
patch
|
||||
cheat=*+1
|
||||
lda #$00 ; SMC
|
||||
beq +
|
||||
; lives in $07
|
||||
lda #$A5
|
||||
sta $76AC ; patch - don't decrease lives
|
||||
+
|
||||
jmp $8460
|
||||
end_patch
|
Loading…
x
Reference in New Issue
Block a user