passport/src/patchers/trillium2.a
2021-06-21 10:33:16 -04:00

35 lines
737 B
Plaintext

;-------------------------------
; #TRILLIUM2
;
; tested on
; - Nine Princes of Amber
; - Perry Mason
;-------------------------------
!zone {
lda gTrack
cmp #$17
bne .exit
lda #$0C
ldx #$C1
ldy #$09
jsr compare
!byte $A2,$A7
!byte $A0,$19
!byte $20,$2D,$F1
!byte $C9,$00
bcs .exit ; passport-test-suite/Nine Princes in Amber.woz [C=0] matches
jsr PrintByID
!byte s_trillium
jsr inx4
jsr modify1
!byte $2C ; BIT
inx
inx
inx
jsr modify1
!byte $A9 ; LDA
.exit
}