function elevator_release() /* entry=124 class_id=0x021E slot=0x09 */ { var referent, /* [BP+00h] type=0x69 */ w, /* [BP-02h] type=0x69 */ item, /* [BP-04h] type=0x24 */ door; /* [BP-06h] type=0x24 */ set_info(0x020D, *(arg_06)); process_exclude(); w = Item.getSurfaceWeight(arg_06); if (w == 0) { spawn class_0A0C_slot_32(pid, 30, 0x00000000); suspend; /* loopscr value_u8=0x24 */ /* loopscr value_u8=0x42 */ /* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */ while (!condition) { door = item; spawn class_0A06_slot_21(pid, 2, door); suspend; /* loopnext */ } } return; }