UpdateUnit

From Final Fantasy Hacktics Wiki
Revision as of 05:04, 23 February 2021 by Xifanie (talk | contribs) (Xifanie moved page Event Instruction C5 to UpdateUnit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)