UnitAddress
Jump to navigation
Jump to search
{C2} UnitAddress
UnitAddress(xID,xVR)
Searches for the given Unit ID or Character Identity and returns the address to alter its stats. Returns 0 if no unit matched.
See Battle Stats to see what you can edit.
See also: {C1} LoadAddress ― {C3} WorldUnitAddress ― {C4} SaveAddress
Unit ID : Byte (hex)
ID of the unit specified in the ENTD.
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