function npc_slot_21() /* entry=387 class_id=0x0A11 slot=0x21 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    x, /* [BP+0Ah] type=0x69 */
    counter; /* [BP-02h] type=0x69 */

  set_info(0x020A, *(arg_06));
  if (x) {
    x = 1;
  }
  counter = 1;
  while (counter > x) {
    if ((Actor.isDead(arg_06) == 0) && (Actor.getInCombat(arg_06) != 0)) {
      suspend;
    }
    counter = (1 + counter);
  }
  return;
}
