Yeah don't use ==, use AND. Using == is like a noob mistake.
Well that's how I got used to doing it sooo
Oh, hey. my old post is suddenly popular now... interesting... .-.
doesnt work what goes in parentheses
If you have a New 3DS or Circle Pad Pro, put XON EXPAD near the top of your code to enable ZL, ZR, and the C-Stick (XOFF EXPAD turns it all off).
STICK OUT X,Y is how you read the magnitude of the Circle Pad (Magnitude is how far from the center it is pushed). X and Y can be replaced with whatever variables you want receiving the data.
STICKEX OUT X,Y does the exact same thing, but for the C-Stick. Make sure you've turned it on if you plan on using it!
Also, button presses are only registered every frame. If you use IF BUTTON(2) AND #A THEN for example, it will still output true as long as no frames have passed. Use VSYNC 1 properly to avoid this. Don't use WAIT 1 because that's also pretty amateur/useless.