Difference between revisions of "SetTextVal"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m (Xifanie moved page Event Instruction 9D to SetTextVal)
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
See [[Text Format]] for more information on Text Variables.
 
See [[Text Format]] for more information on Text Variables.
 
  
 
See also: [[Event_Instruction_9A|{9A} {{IE_9A}}]] ― [[Event_Instruction_9B|{9B} {{IE_9B}}]] ― [[Event_Instruction_9C|{9C} {{IE_9C}}]] ― [[Event_Instruction_9E|{9E} {{IE_9E}}]]
 
See also: [[Event_Instruction_9A|{9A} {{IE_9A}}]] ― [[Event_Instruction_9B|{9B} {{IE_9B}}]] ― [[Event_Instruction_9C|{9C} {{IE_9C}}]] ― [[Event_Instruction_9E|{9E} {{IE_9E}}]]
  
 +
Note: this command may be bugged if the value of a byte goes too high. See the [[Talk:SetTextVal|Discussion]] page for more information. SetTextVar does not seem to share this issue, however.
  
 
== Text Variable : Byte (hex) ==
 
== Text Variable : Byte (hex) ==

Latest revision as of 17:19, 16 July 2023

{9D} SetTextVal

SetTextVal(xTV,xVALU)

Pushes a value to the specified Text Variable.

See Text Format for more information on Text Variables.

See also: {9A} ResetTextIncrement{9B} PushTextVal{9C} PushTextVar{9E} SetTextVar

Note: this command may be bugged if the value of a byte goes too high. See the Discussion page for more information. SetTextVar does not seem to share this issue, however.

Text Variable : Byte (hex)

Click here for a list of the Text Variables


Immediate Value : Half-Word (hex)

Value to be written to the Text Variable.