RosterHasUnit
Revision as of 04:51, 24 August 2021 by Xifanie (talk | contribs) (Created page with "__FORCETOC__ = {C7} {{IE_C7}} = {{IE_C7_ex}} Variable 0x0000 = 1 if a unit is found, 0 otherwise See also: {C3} {{IE_C3}} == Parameters : Byte (h...")
{C7} RosterHasUnit
RosterHasUnit(xPR,xIDEN)
Variable 0x0000 = 1 if a unit is found, 0 otherwise
See also: {C3} WorldUnitAddress
Parameters : Byte (hex)
- 0x80: Main Roster (World Formation)
- 0x40: Bench (Unit Bench Hack)
- 0x01:
- 0x01: Search for Name ID
- 0x00: Search for Main ID
If you do not specify the Main Roster or Bench as flags, then this instruction will always return 0!
Main ID / Name ID : Half-Word (hex)
The Main ID or Name ID to search for.
- Main ID Format: 0x00-0xFF
- Name ID Format: 0x0000-0x03FF