testAttr method

void testAttr()

Implementation

void testAttr() {
  //Debugger.verbose('${pcHex(-1)} [test_attr]');

  final operands = mem.loadb(programCounter- 1) < 193
      ? visitOperandsLongForm()
      : visitOperandsVar(2, false);

  GameObject obj = GameObject(operands[0].value);

  //Debugger.verbose('    (test Attribute) >>> object: ${obj.shortName}(${obj.id}) ${operands[1].value}: ${obj.isFlagBitSet(operands[1].value)}');
  branch(obj.isFlagBitSet(operands[1].value!));
}