Difference between revisions of "ButtonPress"
Jump to navigation
Jump to search
(Created page with "__FORCETOC__ = {9F} {{IE_9F}} = {{IE_9F_ex}} Stores 0x00000001 in Variable 0 if all specified buttons are being pressed at the same time when executing this instruction. Els...") |
|||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
{{IE_9F_ex}} | {{IE_9F_ex}} | ||
− | + | If all specified buttons are being pressed at the same time when executing this instruction, the event jumps to the specified GoToTarget. | |
− | |||
− | |||
Latest revision as of 16:23, 7 March 2022
{9F} ButtonPressGoTo
ButtonPressGoTo(xBUTT,xGT)
If all specified buttons are being pressed at the same time when executing this instruction, the event jumps to the specified GoToTarget.
Buttons : Byte (hex)
While the game will register L3/R3 and even the analog stick coordinates in some emulators, the original console is unable to, and thus those buttons should be avoided.
- x8000 Left
- x4000 Down
- x2000 Right
- x1000 Up
- x0800 Start
- x0400 R3 (do not use)
- x0200 L3 (do not use)
- x0100 Select
- x0080 Square
- x0040 Cross (X)
- x0020 Circle
- x0010 Triangle
- x0008 R1
- x0004 L1
- x0002 R2
- x0001 L2