ASM Help

Discussion in 'Discussion and Q&A Archive' started by Lone Devil, Jan 18, 2011.

Thread Status:
Not open for further replies.
  1. Lone Devil

    Lone Devil Internet War Veteran Member

    Joined:
    Dec 29, 2010
    Messages:
    186
    Location:
    Dallas Texas
    I've been trying to make a code similar to this:



    Code:
    cmpi.b	#$10, ($FFFFF605)	&#59; has B been pressed?

    I wanted so make a character choosen by pressing up,down,left,or right on the title screen.


    tried many times,and later ended up with a fucked up error.


    so is there a code for these?
     
    Last edited by a moderator: Jan 18, 2011
  2. superdanattack

    superdanattack Newcomer Member

    Joined:
    Sep 24, 2010
    Messages:
    20
    What game are you working with? If your working with sonic 1 there is a guide, you can find it here. As for Sonic 2, I you'll have to add it to the options screen, I don't know how though.
     
  3. Lone Devil

    Lone Devil Internet War Veteran Member

    Joined:
    Dec 29, 2010
    Messages:
    186
    Location:
    Dallas Texas
    I'm working on Sonic 1 and I knew that guide last year, i'm talkin about is there more codes besides B and C.


    like



    Code:
    cmpi.b	#$20, ($FFFFF605)	 &#59; has C been pressed?
    for example.


    I need to know the code for pressing Up,Down,Left,and Right. so my 4 extra chars can be playable on Level select.
     
  4. SpirituInsanum

    SpirituInsanum Well-Known Member Member

    Joined:
    Feb 11, 2010
    Messages:
    642
    Can't tell for sure what the problem is, but just in case:


    Up: 1


    Down: 2


    Left: 4


    Right: 8


    edit: damn I post sooooo slowly... xD
     
    Last edited by a moderator: Jan 18, 2011
  5. Lone Devil

    Lone Devil Internet War Veteran Member

    Joined:
    Dec 29, 2010
    Messages:
    186
    Location:
    Dallas Texas
    OMFG!!! IT WORKS! THANK YOU SO MUCH!!!!


    really appreciated. :D
     
Thread Status:
Not open for further replies.