function nostril_equip() /* entry=237 class_id=0x043E slot=0x0A */
{
  var
    referent, /* [BP+00h] type=0x69 */
    event, /* [BP+0Ah] type=0x69 */
    fire; /* [BP-02h] type=0x24 */

  set_info(0x0211, *(arg_06));
  process_exclude();
  if (event == 0) {
    /* loopscr value_u8=0x24 */
    /* loopscr value_u8=0x3D */
    /* loopscr value_u8=0x40 */
    /* loopscr value_u8=0x25 */
    /* loop current_var=0xFE string_bytes=0x6 loop_type=0x6 */
    while (!condition) {
      spawn NOSTRIL.slot_20(fire, arg_06);
      /* loopnext  */
    }
    return;
  }
  else if (event == 1) {
    if (!(Item.getStatus(arg_06) & 0x1000)) {
      return;
    }
    else {
      ITEM.slot_23(0x1000, arg_06);
      spawn NOSTRIL.slot_21(arg_06);
      return;
    }
  }
  return;
}
