Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/CONVFLR/slot_0A_equip.txt

20 lines
450 B
Text

function convflr_equip() /* entry=128 class_id=0x022C slot=0x0A */
{
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 0) {
FREE.slot_33(0x0205, *(arg_06));
return;
}
else if (arg_0A == 1) {
FREE.slot_33(0x0205, *(arg_06));
spawn CONVEYOR.slot_20(-3, 0, arg_06);
return;
}
else if (arg_0A == 2) {
FREE.slot_33(0x0205, *(arg_06));
spawn CONVEYOR.slot_20(3, 0, arg_06);
return;
}
return;
}