Announcement

Collapse
No announcement yet.

SMB Title Screen - Add Music

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SMB Title Screen - Add Music

    Hi,

    Does anyone know how, for the NES version of Super Mario Brothers, I can change what bytes are used for the arguments in the title screen data so that I can add music to it? Like, for instance, the water theme (byte $02 in the area music data) or the overworld theme (byte $01 in area music data).

    ;music constants

    (area and event music data)
    %10000000 ($80) = Silence

    (area music data)
    %01000000 ($40) = StarPowerMusic
    %00100000 ($20) = PipeIntroMusic
    %00010000 ($10) = CloudMusic
    %00001000 ($08) = CastleMusic
    %00000100 ($04) = UndergroundMusic
    %00000010 ($02) = WaterMusic
    %00000001 ($01) = GroundMusic

    (event music data)
    %01000000 ($40) = TimeRunningOutMusic
    %00100000 ($20) = EndOfLevelMusic
    %00010000 ($10) = AltGameOverMusic
    %00001000 ($08) = EndOfCastleMusic
    %00000100 ($04) = VictoryMusic
    %00000010 ($02) = GameOverMusic
    %00000001 ($01) = DeathMusic

    ~Ben
    Last edited by SMB2J-2Q; 07-15-2010, 03:30:41 AM. Reason: Forgot to sign my name at the end.
Working...
X