Search Codes

Button Conditionals.

Gamepad

Gamepad Address: 0x102F48A8

A = 0x8000
B = 0x4000
Start = 0x8
Select = 0x4
D-Up = 0x200
D-Down = 0x100
D-Right = 0x400
D-Left = 0x800
R = 0x10
L = 0x20
ZR = 0x40
ZL = 0x80
X = 0x2000
Y = 0x1000
Home = 0x2
TV = 0x10000
Right Joystick = 0x20000
Left Joystick = 0x40000
.

Pro Controller

A = 0x10
B = 0x40
Start = 0x400
Select = 0x1000
D-Up = 0x1
D-Down = 0x4000
D-Right = 0x8000
D-Left = 0x2
R = 0x200
L = 0x2000
ZR = 0x4
ZL = 0x80
X = 0x8
Y = 0x20
Home = 0x800
TV = 0x?
Right Joystick = 0x10000
Left Joystick = 0x20000
.

Pro Controller Address in
The Legend of Zelda: Breath of the Wild: 0x112ED0D8
Super Mario Maker: 0x10A26BF0

Pro Classic Controller

Unknown.


Wii U Codetype docu

Base format
00000000 KKKKKKKK
LLLLLLLL 00000000


Red = Codetype
  00 = RAM Writes
  01 = Patch/String Writes
  02 = Skip Writes
  03 = If equal
  04 = If not equal
  05 = If greater
  06 = If lower
  07 = If greater or equal
  08 = If lower or equal
  09 = Conditional logical AND
  0A = Conditional logical OR
  0B = If value between
  0C = Add Time-Dependence
  0D = Reset Timer
  10 = Load Integer
  11 = Store Integer
  12 = Load Float
  13 = Store Float
  14 = Integer Operations
  15 = Float Operations
  20 = Memory fill
  30 = Load Pointer
  31 = Add Offset to Pointer
  C0 = Execute ASM
  C1 = Perform Cafe OS Syscalls
  D0 = Termination
  D1 = No Operation
  D2 = Timer Termination
  F0 = Corruptor
Blue = Use Pointer format of codetype
Green = Byte length: 0 = 1 Byte; 1 = 2 Bytes; 2 = 4 Bytes

RAM Write
00000000 KKKKKKKK
000000LL 00000000
Writes LL to KKKKKKKK