Action Replay DS Button Mappings: Difference between revisions

From ProjectPokemon Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Action Replay Button Mappings==
These are specific to Action Replay.
{|cellpadding="20" cellspacing="0" border="1" class="sortable"
{|cellpadding="20" cellspacing="0" border="1" class="sortable"
!Name
!Name
Line 72: Line 69:
|}
|}


===Use in Action Replay DS===
==Use in Action Replay DS==
For [[Action Replay DS]] an if command for would be:
For [[Action Replay DS]] an if command for would be:


Line 79: Line 76:
:D2000000 00000000
:D2000000 00000000


====Notes====
===Notes===
* ZZZZ is the button in hexadecimal.
* ZZZZ is the button in hexadecimal.
* XXXXXXXX XXXXXXXX is the command to be executed when the button is pressed.
* XXXXXXXX XXXXXXXX is the command to be executed when the button is pressed.
Line 86: Line 83:
* D2000000 00000000 acts as an end if command in this case.
* D2000000 00000000 acts as an end if command in this case.


====Example Uses====
===Example Uses===
For a code to press L to be activated the code would be:
For a code to press L to be activated the code would be:
:94000130 FDFF0000
:94000130 FDFF0000

Revision as of 19:05, 2 August 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 command for would be:

94000130 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 you the bitwise AND command. L and R (FDFF AND FEFF) bitwised is FCFF. The code for pressing L and R would be:

94000130 FCFF0000
CODE
D2000000 00000000

References