function miss2_slot_20() /* entry=354 class_id=0x090E slot=0x20 */
{
  var
    up, /* [BP+06h] type=0x62 */
    counter, /* [BP-02h] type=0x69 */
    inc, /* [BP-04h] type=0x69 */
    item; /* [BP-06h] type=0x24 */

  set_info(1, 0);
  counter = 0;
  if (!up) {
    inc = 1;
  }
  else {
    inc = -1;
  }
  while (counter == 2) {
    for item in nearby_items(shape=0x04D5, origin=global[0x003C]) {
      /* loopnext  */
    }
    spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
    suspend;
    counter = (1 + counter);
  }
  return;
}
