UpdateUnit
Revision as of 05:04, 23 February 2021 by Xifanie (talk | contribs) (Xifanie moved page Event Instruction C5 to UpdateUnit)
{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)