Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/ELEVATOR/slot_09_release.txt

37 lines
779 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 */
entry:
set_info(0x020D, *(arg_06));
process_exclude();
w = Intrinsic0057(arg_06);
if (w != 0) goto block_0FB5;
block_0F3C:
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 */
block_0F82:
if condition goto block_0FB3;
block_0F85:
door = item;
spawn class_0A06_slot_21(pid, 2, door);
suspend;
/* loopnext */
goto block_0F82;
block_0FB3:
block_0FB5:
return;
}