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

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Halkun
(NOTES)
m (6 revisions imported)
 
(2 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 05: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.