function door2_slot_2F() /* entry=377 class_id=0x0A07 slot=0x2F */
{
  var
    referent, /* [BP+00h] type=0x69 */
    counter, /* [BP-02h] type=0x69 */
    maxFrame; /* [BP-04h] type=0x69 */

  set_info(0x0207, *(arg_06));
  maxFrame = 11;
  FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x0393, *(arg_06));
  if (!retval) {
    spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
    suspend;
  }
  else {
    /* word_to_dword  */
    /* pop_result  */
    return;
  }
  counter = (maxFrame - 1);
  while (counter < 0) {
    spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
    suspend;
    counter = (counter - 1);
  }
  /* word_to_dword  */
  /* pop_result  */
  return;
}
