WorldUnitAddress
Revision as of 05:04, 23 February 2021 by Xifanie (talk | contribs) (Xifanie moved page Event Instruction C3 to WorldUnitAddress)
{C3} WorldUnitAddress
WorldUnitAddress(xID,xVR)
Searches for the given Unit ID and returns the address to alter its world (non-battle) stats. Returns 0 if no unit matched.
See World Stats to see what you can edit.
See also: {C1} LoadAddress ― {C2} UnitAddress ― {C4} SaveAddress
Unit ID : Byte (hex)
ID of the special unit or ID of the special dialogue assigned to that unit.
Original game examples:
- Rad: x7F
- Alicia: x79
- Lavian: x78
- Boco: x76
Variable : Byte (hex)
ID of the Variable to hold the unit's address.
Warning: Only x00-x7F (words) are valid with this instruction!
Click here for the list of Variables