function door2_slot_34() /* entry=377 class_id=0x0A07 slot=0x34 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    counter, /* [BP-02h] type=0x69 */
    maxFrame, /* [BP-04h] type=0x69 */
    link, /* [BP-06h] type=0x69 */
    item, /* [BP-08h] type=0x24 */
    item2; /* [BP-0Ah] type=0x24 */

  entry:
    set_info(0x0207, *(arg_06));
    spawn class_0A06_slot_22(pid, arg_06);
    suspend;
    set_info(1, 0);
    maxFrame = 7;
    counter = 1;

  block_25AC:
    if (counter <= maxFrame) goto block_25F7;

  block_25B7:
    spawn class_0A0C_slot_32(pid, 5, 0x00000000);
    suspend;
    counter = (1 + counter);
    goto block_25AC;

  block_25F7:
    link = Item.fall(arg_06);
    if (Intrinsic0019(Item.getZ(arg_06), (Item.legal_create(arg_06) - 0x00D0), Intrinsic0013(arg_06), 1, 0x0090, item2) != 1) goto block_2670;

  block_2663:

  block_2670:
    if (Intrinsic0019((Item.getZ(arg_06) + 80), Item.legal_create(arg_06), Intrinsic0013(arg_06), 0, 0x01ED, item) != 1) goto block_26B2;

  block_26A5:

  block_26B2:
    /* word_to_dword  */
    /* pop_result  */
    goto block_26BC;

  block_26BC:
    return;

}
