Action Replay DS Button Mappings: Difference between revisions
Jump to navigation
Jump to search
Matthewbauer (talk | contribs) |
Matthewbauer (talk | contribs) |
||
| Line 70: | Line 70: | ||
==Use in Action Replay DS== | ==Use in Action Replay DS== | ||
For [[Action Replay DS]] an if command | For [[Action Replay DS]] an if equal command would be: | ||
:94000130 ZZZZYYYY | :94000130 ZZZZYYYY | ||
:XXXXXXXX XXXXXXXX | |||
:D2000000 00000000 | |||
An if not equal command would be: | |||
:A4000130 ZZZZYYYY | |||
:XXXXXXXX XXXXXXXX | :XXXXXXXX XXXXXXXX | ||
:D2000000 00000000 | :D2000000 00000000 | ||
Revision as of 04:33, 14 December 2009
| 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
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.
- 94000130 is the buttons pressed variable for the Nintendo DS.
- D2000000 00000000 acts as an end if command in this case.
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