Super form rotatting palette's

Discussion in 'Discussion and Q&A Archive' started by Unspoken, Dec 11, 2007.

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

    Unspoken Well-Known Member Member

    Joined:
    Aug 10, 2007
    Messages:
    64
    Whilst working on my super Tails in Sonic 2 project I was looking into giving super Tails a rottating palette, Here is some information I have finally worked out


    S3K


    lea ($FFFFFC04).w,a1 - controls the location of where to read from in the palette (for Sonic)


    move.l (a0,d0.w),(a1)+ same as below? 22F0


    move.w 4(a0,d0.w),(a1) controls amount of colours to be inverted 32B0 (3 colours)


    S2


    lea ($FFFFFB04).w,a1 - controls the location of where to read from in the palette (for Sonic)


    move.l (a0,d0.w),(a1)+ same as below? 22F0


    move.l 4(a0,d0.w),(a1) controls amount of colours to be inverted 22B0 (4 colours)


    lea ($FFFFFC10) for Tails in S3K


    lea ($FFFFF084) for both games under water super palettes


    FE19 Super Sonic/Knuckles_flag


    F65F Super palette flag.


    F65E Super palette counter. Decremented with every frame. (Sonic/Knuckles)


    F65C Super palette colour index (Sonic/Knuckles)


    F667 Super_Tails_Flag


    F669 Super palette counter. Decremented with every frame. (Tails)


    F668 Super palette colour index (Tails)


    Hope that helps some people, will add more as I find it.
     
    Last edited by a moderator: Jun 19, 2008
Thread Status:
Not open for further replies.