mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-26 17:49:43 +00:00
cheat for Star Blazer
This commit is contained in:
parent
3206d03e67
commit
19549734ae
@ -274,7 +274,7 @@
|
|||||||
1000,SPINDIZZY
|
1000,SPINDIZZY
|
||||||
0000,SPY.HUNTER
|
0000,SPY.HUNTER
|
||||||
0001,SPYS.DEMISE=Spy's Demise
|
0001,SPYS.DEMISE=Spy's Demise
|
||||||
0000,STAR.BLAZER
|
0001,STAR.BLAZER
|
||||||
1001,STAR.CRUISER
|
1001,STAR.CRUISER
|
||||||
0000,STAR.THIEF
|
0000,STAR.THIEF
|
||||||
1000,STARBLASTER
|
1000,STARBLASTER
|
||||||
|
31
src/prelaunch/star.blazer.a
Normal file
31
src/prelaunch/star.blazer.a
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
;license:MIT
|
||||||
|
;(c) 2020 by qkumba
|
||||||
|
|
||||||
|
!cpu 6502
|
||||||
|
!to "build/PRELAUNCH/STAR.BLAZER",plain
|
||||||
|
*=$106
|
||||||
|
|
||||||
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
|
+ENABLE_ACCEL
|
||||||
|
lda #$60
|
||||||
|
sta $722A
|
||||||
|
sta $725D
|
||||||
|
jsr $4A58 ; decompress
|
||||||
|
+DISABLE_ACCEL
|
||||||
|
jsr $4400
|
||||||
|
+ENABLE_ACCEL
|
||||||
|
jsr $B4C6 ; decompress
|
||||||
|
|
||||||
|
+GET_MACHINE_STATUS
|
||||||
|
and #CHEATS_ENABLED
|
||||||
|
beq +
|
||||||
|
dec $F5C ; patch - don't decrease lives
|
||||||
|
dec $F6B ; patch - don't increase lives
|
||||||
|
+
|
||||||
|
+DISABLE_ACCEL
|
||||||
|
jmp ($20)
|
||||||
|
|
||||||
|
!if * > $1C0 {
|
||||||
|
!error "code is too large, ends at ", *
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user