function miss2_slot_25() /* entry=354 class_id=0x090E slot=0x25 */
{
  var
    up, /* [BP+06h] type=0x62 */
    item, /* [BP-02h] type=0x24 */
    x, /* [BP-04h] type=0x69 */
    y, /* [BP-06h] type=0x69 */
    z, /* [BP-07h] type=0x62 */
    counter, /* [BP-09h] type=0x69 */
    inc, /* [BP-0Bh] type=0x69 */
    itemNum; /* [BP-0Dh] type=0x69 */

  set_info(1, 0);
  counter = 32;
  itemNum = 0;
  if (!up) {
    inc = 2;
  }
  else {
    inc = -2;
  }
  /* global_address global_id=0x3C */
  spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
  suspend;
  /* global_address global_id=0x3C */
  while (!counter) {
    /* loopscr value_u8=0x24 */
    /* loopscr value_u8=0x43 */
    /* loop current_var=0xFE string_bytes=0x8 loop_type=0x2 */
    while (!condition) {
      x = Item.getX(item);
      y = Item.getY(item);
      z = Item.getZ(item);
      itemNum = (1 + itemNum);
      if ((counter <= 16) && (Item.getShape(item) == wallgun_shape_04c8)) {
        if (up == 1) {
          if (Item.getFrame(item) == 12) {
            if (Item.getFrame(item)) {
            }
          }
        }
      }
      if (itemNum == 5) {
        itemNum = 0;
        counter = (counter - 2);
        spawn MISS2.slot_24(pid, 4, 0x00000000);
        suspend;
      }
      /* loopnext  */
    }
  }
  /* global_address global_id=0x3C */
  spawn FREE.waitNTimerTicks(pid, 15, 0x00000000);
  suspend;
  /* global_address global_id=0x3C */
  spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
  suspend;
  return;
}
