Making Characters load pallettes in sonic 1?

Discussion in 'Discussion and Q&A Archive' started by venom, Jun 11, 2013.

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

    venom Newcomer Trialist

    Joined:
    Jun 2, 2013
    Messages:
    2
    Location:
    Fort Worth,Texas,U.S.A
    We are trying to making a hack of sonic 1 that includes multiple characters in it but we can't make characters load their own pallettes. Can someone help us? We have Tails,Knuckles,Manic,and Spider-man just in case you need this info.
     
    Last edited by a moderator: Jun 11, 2013
  2. fdswerty

    fdswerty Well-Known Member Member

    Joined:
    Apr 10, 2013
    Messages:
    138
    You could add checks about what character you are using: (next code is s3k-based and custom, I am just using it as a example, and it won't work on your hack)




    cmpi.w    #2,(Player_mode).w ;are we playing as Tails?

    bne.w     Code_rts ;if not branch

    bsr.w      Tails_Pal ;if yes, load Tails' palette



    So, you'll just need to check when you are playing as Tails/Knuckles/Mighty and then load their maps/palettes/art.

    EDIT: Edited my post due to you posting first about mappings.
     
    Last edited by a moderator: Jun 11, 2013
Thread Status:
Not open for further replies.