Difference between revisions of "UpdateUnit"
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 : ...") |
(Added in that this can affect whether a unit's controllable or not.) |
||
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. | ||
Revision as of 17:10, 15 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)