Changes

Jump to navigation Jump to search

FF7/Field/Script/Opcodes/7E TLKON

718 bytes added, 02:45, 13 December 2006
no edit summary
* Opcode: '''0x7E'''
* Short name: '''TLKON'''
* Long name: Talk Switch

==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x7E
! width="40" | ''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.

Navigation menu