Difference between revisions of "ButtonPress"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m (Xifanie moved page Event Instruction 9F to ButtonPress)
 
Line 3: Line 3:
 
{{IE_9F_ex}}
 
{{IE_9F_ex}}
  
Stores 0x00000001 in Variable 0 if all specified buttons are being pressed at the same time when executing this instruction.
+
If all specified buttons are being pressed at the same time when executing this instruction, the event jumps to the specified GoToTarget.
 
 
Else stores 0x00000000.
 
  
  

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