24 lines
645 B
Text
24 lines
645 B
Text
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 FREE.waitNTimerTicks(pid, 30, 0x00000000);
|
|
suspend;
|
|
/* loop_selector item in selector_0x42(arg0=0x0189, arg1=0x0289, arg2=(10 * 32), origin=global[0x003C]) */
|
|
while (!condition) {
|
|
door = item;
|
|
spawn DOOR.slot_21(pid, 2, door);
|
|
suspend;
|
|
/* loopnext */
|
|
}
|
|
}
|
|
return;
|
|
}
|