Crusader_Decomp/USECODE/REGRET/BIGCAN.unk

30 lines
694 B
Text

/* synthesized appendix for BIGCAN */
/* sparse lines above preserve recovered debugger line numbers where available */
/* ===== slot 0x06 gotHit ===== */
function bigcan_gotHit() /* entry=173 class_id=0x0313 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
local_02 = Item.getFrame(arg_06);
FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
if (local_02 == 2) {
FREE.slot_20(2);
FREE.slot_20(4, 5, 4);
FREE.slot_20(retval, 4);
return;
}
else if (local_02 == 1) {
spawn ITEM.slot_2A(pid, 0, 1, arg_06);
suspend;
return;
}
else {
spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
}
}
return;
}