mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-23 12:33:32 +00:00
add Spellwielder cheat, fix cache
This commit is contained in:
parent
71645d75ef
commit
89a07cdd56
BIN
res/CACHE00.IDX
BIN
res/CACHE00.IDX
Binary file not shown.
BIN
res/CACHE01.IDX
BIN
res/CACHE01.IDX
Binary file not shown.
BIN
res/CACHE10.IDX
BIN
res/CACHE10.IDX
Binary file not shown.
BIN
res/CACHE11.IDX
BIN
res/CACHE11.IDX
Binary file not shown.
@ -359,7 +359,7 @@
|
||||
1004,SPACE.RESCUE=Space Rescue
|
||||
0007,SPARE.CHANGE=Spare Change
|
||||
0001,SPECTRE=Spectre
|
||||
0100,SPELLWIELDER=Spellwielder
|
||||
0106,SPELLWIELDER=Spellwielder
|
||||
0001,SPIDER.RAID=Spider Raid
|
||||
0116,SPIDERBOT=Spiderbot
|
||||
1001,SPINDIZZY=Spindizzy
|
||||
|
@ -7,6 +7,9 @@
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+GET_MACHINE_STATUS
|
||||
and #CHEATS_ENABLED
|
||||
sta cheat+1
|
||||
lda #<callback1
|
||||
sta $77A2
|
||||
lda #>callback1
|
||||
@ -29,8 +32,27 @@ callback2
|
||||
sta $8778
|
||||
lda #$FA
|
||||
sta $877A ; reset vector
|
||||
|
||||
cheat
|
||||
lda #0 ; SMC
|
||||
beq +
|
||||
lda #<callback3
|
||||
sta $ABD3
|
||||
lda #>callback3
|
||||
sta $ABD4
|
||||
sta $1812
|
||||
+
|
||||
jmp $BE00
|
||||
|
||||
callback3
|
||||
ldx $1812
|
||||
dex
|
||||
bne +
|
||||
stx $1812
|
||||
stx $1ACB
|
||||
+
|
||||
jmp $8774
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user