mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-27 08:50:01 +00:00
add cheat for Up'n Down
This commit is contained in:
parent
f5fe41ff00
commit
a4bc9b52a3
File diff suppressed because one or more lines are too long
@ -9,7 +9,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 49 game cheats
|
||||
- Added 50 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
|
||||
- Added missing levels in Out Of This World
|
||||
|
23
src/prelaunch/up.n.down.a
Normal file
23
src/prelaunch/up.n.down.a
Normal file
@ -0,0 +1,23 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by 4am
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH/UP.N.DOWN",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
ldx #7 ; copy patch code to zero page (stack will be destroyed by the time we need to patch)
|
||||
- lda patch,x
|
||||
sta $F8,x
|
||||
dex
|
||||
bpl -
|
||||
lda #$F8 ; call patch instead of $200
|
||||
sta $4061
|
||||
lda #$00
|
||||
sta $4062
|
||||
jmp $2DC2
|
||||
patch
|
||||
lda #$B5
|
||||
sta $0912 ; patch - don't decrease lives
|
||||
jmp $0200 ; continue with load
|
Loading…
Reference in New Issue
Block a user