So I wanted a block that can end the level if Mario hits it, I asked and got this code (credit to Thomas)
LDA #$0B : STA $1DFB ; music
LDA #$FF ; show level end card
STA $13C6 ; remove this line if you want Mario to do the full goal walk
It works, but It plays castle level end music, and I couldn't find a way to make it play normal level end music. Help? is this too early to re-ask?