Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

Gateshark

Brian Bowman edited this page Jul 25, 2016 · 12 revisions

Gateshark is the new AR format used by Gateway for Nintendo 3ds Cheatcodes

Codes

Command Block A Block B Explanation
0x0 0XXXXXXX YYYYYYYY Writes WORD YYYYYYYY to (0XXXXXXX + Offset)
0x1 1XXXXXXX 0000YYYY Writes SHORT YYYY to (0XXXXXXX + Offset)
0x2 2XXXXXXX 000000YY Writes BYTE YY to (0XXXXXXX + Offset)
0x3 3XXXXXXX YYYYYYYY WORD Value at (0XXXXXXX + Offset) is less than YYYYYYYY
0x4 4XXXXXXX YYYYYYYY WORD Value at (0XXXXXXX + Offset) is more than YYYYYYYY
0x5 5XXXXXXX YYYYYYYY WORD Value at (0XXXXXXX + Offset) is equal to YYYYYYYY
0x6 6XXXXXXX YYYYYYYY WORD Value at (0XXXXXXX + Offset) is not equal to YYYYYYYY
0x7 7XXXXXXX 0000YYYY SHORT Value at (0XXXXXXX + Offset) is less than YYYY
0x8 8XXXXXXX 0000YYYY SHORT Value at (0XXXXXXX + Offset) is more than YYYY
0x9 9XXXXXXX 0000YYYY SHORT Value at (0XXXXXXX + Offset) is equal to YYYY
0xA AXXXXXXX 0000YYYY SHORT Value at (0XXXXXXX + Offset) is not equal to YYYY
0xB BXXXXXXX 00000000 Set Offset to the WORD value at (0XXXXXXX + Offset)
0xC C0000000 YYYYYYYY Repeat the following block YYYYYYYY times
0xD0 D0000000 00000000 Ends the last conditional block
0xD1 D1000000 YYYYYYYY Ends the repeat block and increase the offset by YYYYYYYY
0xD2 D2000000 00000000 Resets everything. Used for chaining codes.
0xD3 D3000000 YYYYYYYY Sets the offset to YYYYYYYY
0xD4 D4000000 YYYYYYYY Adds YYYYYYYY to the DxData (?)
0xD5 D5000000 YYYYYYYY Sets DxData to YYYYYYYY
0xD6 D9000000 YYYYYYYY Copies WORD value from DxData to (YYYYYYYY + Offset), then increases offset by 4
0xD7 DA000000 YYYYYYYY Copies SHORT value from DxData to (YYYYYYYY + Offset), then increases offset by 2
0xD8 DB000000 YYYYYYYY Copies BYTE value from DxData to (YYYYYYYY + Offset), then increases offset by 1
0xD9 D6000000 YYYYYYYY Loads DxData with the WORD at address (YYYYYYYY + Offset)
0xDA D7000000 YYYYYYYY Loads DxData with the SHORT at address (YYYYYYYY + Offset)
0xDB D8000000 YYYYYYYY Loads DxData with the BYTE at address (YYYYYYYY + Offset)
0xDC DC000000 YYYYYYYY Adds YYYYYYYY to the Offset
0xDD DD000000 YYYYYYYY GATEWAY ONLY: Activates with the button code YYYYYYYY

Button Codes

Button Value
A 0x00000001
B 0x00000002
Select 0x00000004
Start 0x00000008
Right 0x00000010
Left 0x00000020
Up 0x00000040
Down 0x00000080
R 0x00000100
L 0x00000200
X 0x00000400
Y 0x00000800
Clone this wiki locally