UpdateUnit

From Final Fantasy Hacktics Wiki
(Redirected from Event Instruction C5)
Jump to navigation Jump to search

{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)