News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Super Mario Bros. 1 - Level Clear Music?  (Read 947 times)

SMB2J-2Q

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Super Mario Bros. 1 - Level Clear Music?
« on: April 07, 2020, 07:56:57 pm »
According to a user from China calling himself "w7n," he says that somewhere in the music data for the Level Complete theme (which starts at $FCB0), there are two bytes that should be changed. One of these is $64 (which corresponds to note C5), which he says does not belong in the Square 1 wave note data table, and the other, he says, is $02 (corresponding to note D6) which would be part of the SQ1 data, but I cannot find that.

From his music hacking guide:
https://www.romhacking.net/documents/630/

What he says is that the last note of the level clear fanfare is overrode when the timer tick sound plays to give you the bonus points for clearing a level. He says that by exchanging these two pitches, the final note of the fanfare will not be overrode by the timer tick sound.

The exact music data for the Level Clear theme...
Code: [Select]
WinLevelMusicData:
    .db $87, $04, $06, $0c, $14, $1c, $22, $86, $2c, $22
    .db $87, $04, $60, $0e, $14, $1a, $24, $86, $2c, $24
    .db $87, $04, $08, $10, $18, $1e, $28, $86, $30, $30
    .db $80, $64, $00

    .db $cd, $d5, $dd, $e3, $ed, $f5, $bb, $b5, $cf, $d5
    .db $db, $e5, $ed, $f3, $bd, $b3, $d1, $d9, $df, $e9
    .db $f1, $f7, $bf, $ff, $ff, $ff, $34
    .db $00 ;unused byte

    .db $86, $04, $87, $14, $1c, $22, $86, $34, $84, $2c
    .db $04, $04, $04, $87, $14, $1a, $24, $86, $32, $84
    .db $2c, $04, $86, $04, $87, $18, $1e, $28, $86, $36
    .db $87, $30, $30, $30, $80, $2c


~Ben
« Last Edit: April 08, 2020, 01:43:53 am by SMB2J-2Q »