function fffloor2_equip() /* entry=104 class_id=0x01C8 slot=0x0A */
{
  set_info(0x0211, *(arg_06));
  process_exclude();
  if (arg_0A == 0) {
    for local_02 in nearby_items(shape=17, origin=arg_06) {
      /* loopnext  */
    }
    return;
  }
  else if (arg_0A == 1) {
    for local_02 in nearby_items(shape=17, origin=arg_06) {
      /* loopnext  */
    }
    /* bit_not  */
    return;
  }
  else if (arg_0A == 29) {
    spawn FREE.slot_3B(pid, 10, 0x00000000);
    suspend;
    /* loop_selector local_04 in nearby_items(shape=0x0135, origin=arg_06) */
    while (!condition) {
      /* loopnext  */
    }
    return;
  }
  else if (arg_0A == 30) {
    spawn FREE.slot_3B(pid, 10, 0x00000000);
    suspend;
    /* loop_selector local_02 in nearby_items(shape=17, origin=arg_06) */
    while (!condition) {
      /* loopnext  */
    }
    spawn FREE.slot_3B(pid, 10, 0x00000000);
    suspend;
    /* loop_selector local_04 in nearby_items(shape=0x01C8, origin=arg_06) */
    while (!condition) {
      /* loopnext  */
    }
    return;
  }
  else if (arg_0A == 31) {
    for local_02 in nearby_items(shape=17, origin=arg_06) {
      /* loopnext  */
    }
    return;
  }
  return;
}
