mirror of
https://github.com/a2-4am/passport.git
synced 2025-02-04 06:29:58 +00:00
add Trillium patcher for Nine Princes in Amber and Perry Mason
This commit is contained in:
parent
0175335383
commit
fd4eb96d71
@ -790,6 +790,7 @@ _applyToAll
|
||||
!source "patchers/ssprot.a" ; gIsF7F6 only
|
||||
!source "patchers/f7f6.a" ; gIsF7F6 only
|
||||
!source "patchers/trillium.a" ; gIsTrillium only
|
||||
!source "patchers/trillium2.a" ; T17 only
|
||||
!source "patchers/advent.a" ; gIsAdvent only
|
||||
!source "patchers/davidsonforth.a" ; gIsDavidson only
|
||||
!source "patchers/davidsonasm.a" ; gIsDavidson only
|
||||
|
42
src/patchers/trillium2.a
Normal file
42
src/patchers/trillium2.a
Normal file
@ -0,0 +1,42 @@
|
||||
;-------------------------------
|
||||
; #TRILLIUM2
|
||||
;
|
||||
; tested on
|
||||
; Nine Princes of Amber
|
||||
; Perry Mason
|
||||
;-------------------------------
|
||||
!zone {
|
||||
bit gMode ; nothing to do here in verify-only mode
|
||||
bpl .exit
|
||||
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
|
||||
sta gDisplayBytes
|
||||
pha
|
||||
lda #s_trillium
|
||||
jsr PrintByID
|
||||
pla
|
||||
inx
|
||||
inx
|
||||
inx
|
||||
inx
|
||||
ldy #$01
|
||||
jsr modify
|
||||
!byte $2C ; BIT
|
||||
inx
|
||||
inx
|
||||
inx
|
||||
ldy #$01
|
||||
jsr modify
|
||||
!byte $A9 ; LDA
|
||||
.exit
|
||||
}
|
@ -144,7 +144,7 @@ StringTable
|
||||
; can be set directly before calling PrintByID.
|
||||
;
|
||||
.header
|
||||
!text "Passport by 4am 2018-08-14",$00
|
||||
!text "Passport by 4am 2018-09-22",$00
|
||||
.mainmenu
|
||||
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
||||
!text " "
|
||||
|
Loading…
x
Reference in New Issue
Block a user