Need value for a suitable animation

Discussion in 'Discussion and Q&A Archive' started by sonic, Mar 29, 2008.

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

    sonic Well-Known Member Member

    Joined:
    Mar 27, 2008
    Messages:
    62
    Location:
    Michigan
    I'm porting the wall recoil from the Sonic the Hedgehog 2 Nick Arcade Prototype to Sonic the Hedgehog, using animations from Sonic the Hedgehog. What do I change move.b #4,$24(a0) to to change the animation from this:


    [​IMG]


    to this:


    [​IMG]


    ?
     
  2. StephenUK

    StephenUK Working on a Quackshot disassembly Member

    Joined:
    Aug 5, 2007
    Messages:
    1,026
    Animation is stored at $1C(a0) not $24(a0) as far as I know. It is in S2 anyway and I'm sure S1 uses the exact same SST layout.
     
  3. sonic

    sonic Well-Known Member Member

    Joined:
    Mar 27, 2008
    Messages:
    62
    Location:
    Michigan
    Thanks. I guess I was looking at the wrong location. Now I just need to find the correct value for the animation I want to use.


    Edit: I found it. The value is $1A.
     
    Last edited by a moderator: Mar 30, 2008
Thread Status:
Not open for further replies.