Difference between revisions of "UpdateUnit"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "= {C5} {{IE_C5}} = {{IE_C5_ex}} {{IE_C5_desc}} See also: {92} {{IE_92}}{C4} {{IE_C4}} {{UnitID}} == Parameters : ...")
 
m (Xifanie moved page Event Instruction C5 to UpdateUnit)
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
  
 
See also: [[Event_Instruction_92|{92} {{IE_92}}]] ― [[Event_Instruction_C4|{C4} {{IE_C4}}]]
 
See also: [[Event_Instruction_92|{92} {{IE_92}}]] ― [[Event_Instruction_C4|{C4} {{IE_C4}}]]
 +
 +
Note: Can also affect whether a unit is controllable or not (Battle Stats variable x01BA). It's possible this works on many kinds of data in the Temporary Battle Offsets.
  
  

Latest revision as of 05:04, 23 February 2021

{C5} UpdateUnit

UpdateUnit(xID,xPR)

Updates a unit's characteristics in special ways that cannot be easily achieved manually. Can currently only update statuses on a unit.


See also: {92} InflictStatus{C4} SaveAddress

Note: Can also affect whether a unit is controllable or not (Battle Stats variable x01BA). It's possible this works on many kinds of data in the Temporary Battle Offsets.


Unit ID : Byte (hex)

ID of the unit specified in the ENTD.


Parameters : Byte (hex)

  • x02: Updates inflicted/removed statuses when battle resumes. (see Battle Stats 0x01A7 to 0x01B0)