| Name | Binary | Hexadecimal |
|---|---|---|
| NDS Not Folded | 0111111111111111 | 7FFF |
| ??? | 1011111111111111 | BFFF |
| Debug | 1101111111111111 | DFFF |
| ??? | 1110111111111111 | EFFF |
| Y | 1111011111111111 | F7FF |
| X | 1111101111111111 | FBFF |
| L | 1111110111111111 | FDFF |
| R | 1111111011111111 | FEFF |
| Down | 1111111101111111 | FF7F |
| Up | 1111111110111111 | FFBF |
| Right | 1111111111011111 | FFDF |
| Left | 1111111111101111 | FFEF |
| Start | 1111111111110111 | FFF7 |
| Select | 1111111111111011 | FFFB |
| B | 1111111111111101 | FFFD |
| A | 1111111111111110 | FFFE |
Use in Action Replay DS
For Action Replay DS an if equal command would be:
- 94000130 ZZZZYYYY
- XXXXXXXX XXXXXXXX
- D2000000 00000000
An if not equal command would be:
- A4000130 ZZZZYYYY
- XXXXXXXX XXXXXXXX
- D2000000 00000000
For buttons that did not appear on the GBA(X/Y/touchscreen), the command is:
- 92FFFFA8 ZZZZYYYY
- XXXXXXXX XXXXXXXX
- D2000000 00000000
If-not for the NDS-only buttons:
- A2FFFFA8 ZZZZYYYY
- XXXXXXXX XXXXXXXX
- D2000000 00000000
Notes
- ZZZZ is the button in hexadecimal.
- XXXXXXXX XXXXXXXX is the command to be executed when the button is pressed.
- 9XXXXXXX ZZZZYYYY is the if command.
- 04000130 is the GBA-compatible buttons pressed variable for the Nintendo DS.
- 02FFFFA8 is the NDS-only buttons pressed variable for the Nintendo DS.
- D2000000 00000000 acts as an end if command in this case. (It actually ends all previous if and repeat commands, and is generally used at the end of a code.)
Example Uses
For a code to press L to be activated the code would be:
- 94000130 FDFF0000
- CODE
- D2000000 00000000
To combine codes use bitwise AND. L & R = FDFF & FEFF = FCFF. The code for pressing L and R would be:
- 94000130 FCFF0000
- CODE
- D2000000 00000000
References
Edited by evandixon
Recommended Comments
There are no comments to display.