disable Mapple debug key, mark in-game cheat

This commit is contained in:
Peter Ferrie 2024-10-16 07:07:44 -07:00
parent 594a282ec9
commit 7fb0bbc35e
2 changed files with 4 additions and 33 deletions

View File

@ -278,7 +278,7 @@
10001,MAD.BOMBER=Mad Bomber
00011,MAD.RAT=Mad Rat
00011,MANIC.MINER=Manic Miner
00041,MAPPLE=Mapple
00071,MAPPLE=Mapple
10010,MARAUDER=Marauder
11050,MARBLE.MADNESS=Marble Madness
00011,MB=Mario Bros.

View File

@ -8,42 +8,13 @@
!source "src/macros.a"
+ENABLE_ACCEL
jmp skip
!pseudopc $200+*-$100 {
callback
pla
pha
cmp #$5f
beq +
dec $512B
+ jmp $50C0
}
skip
ldy #0
- lda $100,y
sta $200,y
iny
bne -
+RESET_VECTOR_HALF $200
+NEW_RESET_VECTOR $200
lda #$60
sta $950B
jsr $6C17 ; decompress
dey
sty $4DE8 ; disable debug key
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$ad
sta $4276 ; patch - don't increase lives
sta $4B75 ; patch - don't decrease lives
lda #$4C
sta $50BD
lda #<callback
sta $50BE
lda #>callback
sta $50BF
+
lda MockingboardStuff
beq no_mb
and #7