getChild method

void getChild()

Implementation

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

  final operand = visitOperandsShortForm();

  final resultTo = readb();

  GameObject obj = GameObject(operand.value);

  writeVariable(resultTo, obj.child);

  branch(obj.child != 0);
}