function door3_slot_29() /* entry=378 class_id=0x0A08 slot=0x29 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    counter, /* [BP-02h] type=0x69 */
    maxFrame; /* [BP-04h] type=0x69 */

  entry:
    set_info(0x0207, *(arg_06));
    maxFrame = 9;
    class_0A0C_slot_2D(Item.getZ(arg_06), Item.legal_create(arg_06), Intrinsic0013(arg_06), maxFrame, 0x053D, *(arg_06));
    if retval goto block_2187;

  block_2151:
    spawn class_0A0C_slot_32(pid, 5, 0x00000000);
    suspend;
    goto block_2191;

  block_2187:
    /* word_to_dword  */
    /* pop_result  */
    goto block_21F0;

  block_2191:
    counter = (maxFrame - 1);

  block_219B:
    if (counter >= 0) goto block_21E6;

  block_21A3:
    spawn class_0A0C_slot_32(pid, 5, 0x00000000);
    suspend;
    counter = (counter - 1);
    goto block_219B;

  block_21E6:
    /* word_to_dword  */
    /* pop_result  */
    goto block_21F0;

  block_21F0:
    return;

}
