WorldUnitAddress

From Final Fantasy Hacktics Wiki
Revision as of 05:04, 23 February 2021 by Xifanie (talk | contribs) (Xifanie moved page Event Instruction C3 to WorldUnitAddress)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{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