Difference between revisions of "FF7/Field/Script/Opcodes/7E TLKON"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
 
m (2 revisions imported)
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 05:17, 23 May 2019

  • Opcode: 0x7E
  • Short name: TLKON
  • Long name: Talk Switch

Memory layout

0x7E S

Arguments

  • const UByte B: Switch on/off (0/1, respectively).

Description

Turns on or off, for an entity, the ability for the playable character to interact with the entity by pressing the [X] button. More precisely, this enables or disables the On Press script (script 2); if set to off, script 2 will not execute when the button is pressed and the player is facing the entity's object. If set to on, the script will execute, as normal.