mirror of
https://github.com/a2-4am/4cade.git
synced 2024-06-26 12:29:33 +00:00
fix Flobynoid cheat and anti-tamper
This commit is contained in:
parent
e88da4bf73
commit
07c46301ef
|
@ -27,7 +27,15 @@
|
||||||
lda #2
|
lda #2
|
||||||
sta $B6D7
|
sta $B6D7
|
||||||
|
|
||||||
jsr DisableAccelerator
|
lda MachineStatus
|
||||||
|
and #CHEATS_ENABLED
|
||||||
|
beq +
|
||||||
|
lda #$8E ; STX
|
||||||
|
sta cheat1
|
||||||
|
sta cheat2
|
||||||
|
sta cheat3
|
||||||
|
|
||||||
|
+ jsr DisableAccelerator
|
||||||
|
|
||||||
jsr $BBB3
|
jsr $BBB3
|
||||||
jsr $B627
|
jsr $B627
|
||||||
|
@ -43,15 +51,15 @@ hook_b !pseudopc $2c8 {
|
||||||
lda #$CE
|
lda #$CE
|
||||||
cmp $AD9
|
cmp $AD9
|
||||||
bne +
|
bne +
|
||||||
stx $AD9 ; patch - don't decrease lives
|
cheat1 cpx $AD9 ; SMC patch - don't decrease lives
|
||||||
+ cmp $1461
|
+ cmp $1461
|
||||||
bne +
|
bne +
|
||||||
stx $1461 ; patch - don't trigger anti-cheat
|
cheat2 cpx $1461 ; patch - don't trigger anti-cheat
|
||||||
+ lda $1893
|
+ lda $1893
|
||||||
cmp #$EE
|
cmp #$EE
|
||||||
bne +
|
bne +
|
||||||
stx $1893 ; patch - don't increase lives
|
cheat3 cpx $1893 ; SMC patch - don't increase lives
|
||||||
lda $B088
|
+ lda $B088
|
||||||
eor #$0D
|
eor #$0D
|
||||||
bne +
|
bne +
|
||||||
sta $B088 ; patch - don't trigger anti-tamper
|
sta $B088 ; patch - don't trigger anti-tamper
|
||||||
|
|
Loading…
Reference in New Issue
Block a user