db $42

JMP Main : JMP Main : JMP no : JMP no : JMP no : JMP no : JMP no
JMP Main : JMP no : JMP no


Main:
LDA $16
AND #$08
BEQ no
LDA $1F2B
CMP #$01
BEQ YEP
LDA #$2A
STA $1DFC
RTL

YEP:
LDA #$29
STA $1DFC
LDA #$02
STA $1426
LDA #$06
STA $71
STZ $89
STZ $88
no:
RTL