UnitAddress

From Final Fantasy Hacktics Wiki
Revision as of 05:04, 23 February 2021 by Xifanie (talk | contribs) (Xifanie moved page Event Instruction C2 to UnitAddress)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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