function pepsins_use() /* entry=39 class_id=0x009A slot=0x01 */
{
  set_info(0x0207, *(arg_06));
  process_exclude();
  local_04 = 0;
  local_06 = 1;
  local_0D = Item.getX(arg_06);
  local_0B = (Item.getY(arg_06) + 32);
  local_09 = (Item.getZ(arg_06) + 32);
  if (UCMachine.rndRange(100, 0) <= 50) {
    if (!Item.legalCreateAtPoint(local_0D, 0, 0x0343, local_02)) {
      suspend;
      /* loop_selector local_02 in nearby_items(shape=0x01E4, origin=global[0x001E]) */
      while (!condition) {
        if (!(Item.getStatus(local_02) & 0x0080)) {
          spawn ITEM.slot_2A(pid, 1, 0, local_02);
          suspend;
        }
        /* loopnext  */
      }
    }
    return;
  }
  else if (!Item.legalCreateAtPoint(local_0D, 0, 0x0579, local_02)) {
    suspend;
  }
  return;
}
