passport/src/patchers/t00_muserwts.a
2021-06-21 11:57:02 -04:00

26 lines
626 B
Plaintext

;-------------------------------
; #MUSERWTS
; RWTS changes based on track
;
; tested on
; - The Caverns of Freitag (MUSE)
; - The Function Game (MUSE)
;-------------------------------
!zone {
; gTrack = 0
; Caller found DOS 3.3 RWTS
lda gIsMUSERWTS
bne .exit
lda #$06
ldx #$F2
jsr compare3 ; if T00,S06,$F2 ==
!byte $20,$B6,$B6
bcs .exit ; passport-test-suite/The Function Game.woz [C=0] matches
jsr PrintByID
!byte s_bytrack
jsr modify1 ; then set T00,S06,$F2 =
!byte $2C
.exit
}