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

20 lines
450 B
Text
Raw Normal View History

2026-03-25 23:32:13 +01:00
function convflr_equip() /* entry=128 class_id=0x022C slot=0x0A */
{
2026-03-26 00:37:17 +01:00
set_info(0x0211, *(arg_06));
process_exclude();
if (arg_0A == 0) {
FREE.slot_33(0x0205, *(arg_06));
2026-03-26 00:37:17 +01:00
return;
}
else if (arg_0A == 1) {
FREE.slot_33(0x0205, *(arg_06));
spawn CONVEYOR.slot_20(-3, 0, arg_06);
2026-03-26 00:37:17 +01:00
return;
}
else if (arg_0A == 2) {
FREE.slot_33(0x0205, *(arg_06));
spawn CONVEYOR.slot_20(3, 0, arg_06);
2026-03-25 23:32:13 +01:00
return;
2026-03-26 00:37:17 +01:00
}
return;
2026-03-25 23:32:13 +01:00
}