mirror of
https://github.com/a2-4am/4cade.git
synced 2024-09-26 21:56:44 +00:00
infinite lives cheat for Pac-Man
This commit is contained in:
parent
b55a899834
commit
834c380511
@ -189,7 +189,7 @@
|
|||||||
0000,OOTW=Out of This World
|
0000,OOTW=Out of This World
|
||||||
0000,OUTPOST
|
0000,OUTPOST
|
||||||
0000,OUTWORLD
|
0000,OUTWORLD
|
||||||
0000,PAC.MAN=Pac-Man
|
0001,PAC.MAN=Pac-Man
|
||||||
0100,PAPERBOY
|
0100,PAPERBOY
|
||||||
1001,PENETRATOR
|
1001,PENETRATOR
|
||||||
1001,PENTAPUS
|
1001,PENTAPUS
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2019 by qkumba/Frank M.
|
;(c) 2019 by qkumba/Frank M./4am
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "build/PRELAUNCH/PAC.MAN",plain
|
!to "build/PRELAUNCH/PAC.MAN",plain
|
||||||
@ -18,6 +18,14 @@
|
|||||||
lda #1
|
lda #1
|
||||||
sta $104A ; reset vector patch
|
sta $104A ; reset vector patch
|
||||||
|
|
||||||
|
+READ_RAM2_NO_WRITE
|
||||||
|
lda MachineStatus
|
||||||
|
and #CHEATS_ENABLED
|
||||||
|
beq +
|
||||||
|
lda #$A5
|
||||||
|
sta $5C0E ; patch - don't decrease lives
|
||||||
|
sta $4135 ; patch - don't increase lives
|
||||||
|
+
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $1000
|
jmp $1000
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user