Sonic 2 in Sonic 1 level select

Discussion in 'Discussion and Q&A Archive' started by Pokepunch, Dec 2, 2009.

Thread Status:
Not open for further replies.
  1. Pokepunch

    Pokepunch That guy who posts on occasion Member

    Joined:
    Aug 7, 2009
    Messages:
    270
    Location:
    UK
    I've ported the Sonic 2 level select to Sonic 1 (in the title). How do I change the music?
     
    Last edited by a moderator: Dec 3, 2009
  2. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    There should be a reference to PlayMusic in the screen code. Like this:



    move.w #$8F,d0
    jsr (PlaySound).l ; play game over music



    Change $8F to what you want to use.
     
  3. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    I stopped backseat modding, so instead of endless drama whoring about you, I'll just let you with the information you need (Though it's a damn easy question, and actually looking for it a little bit would've asked your question. So this falls basically under Rule 4B. But whatever):


    Open the file s2_menu.asm. At the beginning you will have a lot of portugues text, which doesn't matter at all. But you will notice this block:



    Slow_Motion_Flag equ $FFFFFFE1
    Debug_Mode_Flag equ $FFFFFFE2


    Level_Select_Menu_snd = $0091


    Emerald_Snd = $0093


    Ring_Snd = $00B5


    Volume_Down = $00E0


    Stop_Sound = $00E4



    Of course not excactly like this (because I changed it for myself). But anyway, Level_Select_Menu_snd = $0091 is what you are looking for. Just replace the $0091 with the ID of the song you want (just remember to put a $ in!).
     
  4. Pokepunch

    Pokepunch That guy who posts on occasion Member

    Joined:
    Aug 7, 2009
    Messages:
    270
    Location:
    UK
    Thanks selbi
     
Thread Status:
Not open for further replies.