Difference between revisions of "WorldUnitAddress"
Jump to navigation
Jump to search
(Created page with "= {C3} {{IE_C3}} = {{IE_C3_ex}} {{IE_C3_desc}} See World Stats to see what you can edit. See also: {C1} {{IE_C1}} ― Event_Instruction_C2|{...") |
m (Xifanie moved page Event Instruction C3 to WorldUnitAddress) |
(No difference)
|
Latest revision as of 05:04, 23 February 2021
{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