mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-26 20:30:29 +00:00
cheat for Mr. Cool (#363)
* cheat for Mr. Cool * cheat for Mr. Cool * cheat for Mr. Cool
This commit is contained in:
parent
2e714d950f
commit
7745343e65
@ -188,7 +188,7 @@
|
||||
0000,MONSTER.MASH
|
||||
0001,MONTEZUMA=Montezuma's Revenge
|
||||
0001,MOON.PATROL
|
||||
0000,MR.COOL=Mr. Cool
|
||||
0001,MR.COOL=Mr. Cool
|
||||
1001,MR.DO=Mr. Do!
|
||||
1001,MR.ROBOT=Mr. Robot
|
||||
0001,MS.PACMAN=Ms. Pacman
|
||||
|
27
src/prelaunch/mr.cool.a
Normal file
27
src/prelaunch/mr.cool.a
Normal file
@ -0,0 +1,27 @@
|
||||
;license:MIT
|
||||
;(c) 2021 by 4am/xot
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH/MR.COOL",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
lda #$60
|
||||
sta $83C
|
||||
jsr $800 ; decompress
|
||||
|
||||
+GET_MACHINE_STATUS
|
||||
and #CHEATS_ENABLED
|
||||
beq +
|
||||
lda #$2C
|
||||
sta $4C47 ; patch - don't decrease lives
|
||||
sta $562F ; patch - don't increase lives
|
||||
|
||||
+ +DISABLE_ACCEL
|
||||
jmp $4000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
Loading…
Reference in New Issue
Block a user