ASM Trouble

Discussion in 'Discussion and Q&A Archive' started by fantasticfish, May 31, 2009.

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

    fantasticfish The Fantastic Fish Member

    Joined:
    May 2, 2009
    Messages:
    73
    I'm trying to make a leap move so that Sonic 2 performs the following procedure each frame:


    If you aren't pressing A, then return to the frame procedure


    If your number of rings < 10 then return to the frame procedure


    If you aren't standing, walking, running, or waiting, then return to the frame procedure


    If you aren't on the ground, then return to the frame procedure.


    If you aren't Super Sonic, then return to the frame procedure.


    And...


    You go up at the speed that you go after bouncing on a yellow spring,


    You lose 10 rings, and...


    Your animation becomes the spring animation where Sonic twists in the air.


    When I tried it I got an error.


    If anyone could translate that into ASM code so there's something in the main loop about it, and it has its own procedure, I'd be very thankful and


    give that person credit. And please make sure Sonic doesn't both jump and "leap" at the same time
     
    Last edited by a moderator: May 31, 2009
  2. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Well, I don't get you. What do you mean with "return to frame procedure"?
     
  3. fantasticfish

    fantasticfish The Fantastic Fish Member

    Joined:
    May 2, 2009
    Messages:
    73
    Sorry. I mean something like



    Code:
    &#34;rts&#34;
     
  4. amphobius

    amphobius spreader of the pink text Member

    Joined:
    Feb 24, 2008
    Messages:
    970
    Location:
    United Kingdom
    You stole my idea.


    (Play Mobius Adventures and press A button.)
     
  5. fantasticfish

    fantasticfish The Fantastic Fish Member

    Joined:
    May 2, 2009
    Messages:
    73
    I did? This was just a test so I could make a Sonic 2 move editor!
     
  6. shadowbeasts

    shadowbeasts I'm Legend Member

    Joined:
    Jan 5, 2009
    Messages:
    286
    Location:
    Good 'ol USA.
    A Sonic 2 Move editor sounds interesting I'd like to know what it does, it sounds useful. Will it be able to work with super sonic?
     
  7. fantasticfish

    fantasticfish The Fantastic Fish Member

    Joined:
    May 2, 2009
    Messages:
    73
    A topic about that is here.


    But I still need the actual answer to the question...
     
  8. iojnekns

    iojnekns OBAMA '012!!!!1!!!!!&#33 Member

    Joined:
    Mar 27, 2009
    Messages:
    258
    [​IMG]


    Coming right up! Would you like fries with that?
     
  9. fantasticfish

    fantasticfish The Fantastic Fish Member

    Joined:
    May 2, 2009
    Messages:
    73
    No, but I would like a magical edit that makes the bosses have Sonic in them (dripping with sarcasm...)
     
Thread Status:
Not open for further replies.