fix Wings of Fury cheat

This commit is contained in:
Peter Ferrie 2020-05-17 11:18:49 -07:00
parent 3235186653
commit 3bffcab3f4

View File

@ -15,18 +15,25 @@
+GET_MACHINE_STATUS +GET_MACHINE_STATUS
and #CHEATS_ENABLED and #CHEATS_ENABLED
beq + beq +
lda #<cheat ldy #(cheat_e-cheat)-1
sta $8276 - lda cheat,y
lda #>cheat sta $200,y
sta $8277 dey
bpl -
iny
sty $8274
lda #2
sta $8275
+ +
jmp $800 ; decompress jmp $800 ; decompress
cheat cheat !pseudopc $200 {
jsr $2000 jsr $2000
lda #$AD lda #$AD
sta $AAAC ; patch - don't decrease lives sta $AAAC ; patch - don't decrease lives
rts rts
}
cheat_e
callback callback
jsr DisableAccelerator jsr DisableAccelerator