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

35 lines
749 B
Plaintext

;-------------------------------
; #MASTERY
; RWTS changes based on track
;
; tested on
; - Mastery Arithmetic Games v1.2 (Mastery Development)
;-------------------------------
!zone {
; gTrack = 0
; Caller found DOS 3.3 RWTS
lda #$07
ldx #$00
jsr compare3
!byte $20,$AF,$BE
bcs .exit
lda #$08
ldx #$AF
ldy #$0B
jsr compare
!byte $84,$48
!byte $85,$49
!byte $A0,$04
!byte $B1,$48
!byte $C9,$03
!byte $90
bcs .exit
jsr PrintByID
!byte s_bytrack
ldx #$B8
jsr modify1
!byte $23
.exit
}