Difference between revisions of "FF7/Field/Script/Opcodes/33 UC"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>Halkun
ffrtt>BukTop
m (6 revisions imported)
 
(3 intermediate revisions by 2 users not shown)
Line 13: Line 13:


==== Description ====
==== Description ====
Disables or enables the movability of the playable character. If switched to off (1), the player cannot move the character using the directional buttons until a corresponding UC (0) is called.
Disables or enables the movability of the playable character, and hides arrows and the hand pointer. If switched to off (1), the player cannot move the character using the directional buttons until a corresponding UC (0) is called, at which point the arrows and hand pointer return.
 
===== NOTES =====
It would seem that when UC is on, one-shot initialization commands such as XYZI are "reset" and work again.

Latest revision as of 04:16, 23 May 2019

  • Opcode: 0x33
  • Short name: UC
  • Long name: Character movability

Memory layout

0x33 S

Arguments

  • const UByte S: On/off switch (0/1, respectively).

Description

Disables or enables the movability of the playable character, and hides arrows and the hand pointer. If switched to off (1), the player cannot move the character using the directional buttons until a corresponding UC (0) is called, at which point the arrows and hand pointer return.