Difference between revisions of "SetTextVal"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Noted that there seems to be a bug with this command.)
Line 10: Line 10:
 
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.  
+
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) ==

Revision as of 17:15, 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.