clearAttr method

void clearAttr()

Implementation

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

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

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

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