key combination help

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by MrFake, Oct 24, 2016.

  1. MrFake
    OP

    MrFake Advanced Member

    Newcomer
    56
    0
    Sep 11, 2016
    United States
    So I'm converting Item Cycler from fort42, and I have successfully done but I don't know the key combos. Like when it said DD000000 00000020 in C, that woul be if (is_pressed(BUTTON_LEFT)) , but apparently that an undeclared statement. I guess this is a thread for people who have converted these types of things before.
     
  2. DarkFlare69

    DarkFlare69 GBAtemp Psycho!

    Member
    4,680
    2,509
    Dec 8, 2014
    United States
    Ohio
    It would be
    Code:
    if (is_pressed(BUTTON_DL)) {
    
    For left
     
    Last edited by DarkFlare69, Oct 24, 2016
    RyDog likes this.
  3. MrFake
    OP

    MrFake Advanced Member

    Newcomer
    56
    0
    Sep 11, 2016
    United States
    so like but DD for dpad down and DR for dpad right?
     
  4. DarkFlare69

    DarkFlare69 GBAtemp Psycho!

    Member
    4,680
    2,509
    Dec 8, 2014
    United States
    Ohio
    Code:
    if(is_pressed(BUTTON_L + BUTTON_DD)){