Crusader_Decomp/USECODE/REGRET/BBOX.unk

36 lines
815 B
Text

/* synthesized appendix for BBOX */
/* sparse lines above preserve recovered debugger line numbers where available */
/* ===== slot 0x06 gotHit ===== */
function bbox_gotHit() /* entry=302 class_id=0x0525 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
if (Item.getFrame(arg_06)) {
if (UCMachine.rndRange(1, 0) == 1) {
}
return;
}
else {
spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
FREE.slot_20(1);
if (!retval) {
}
return;
}
else {
spawn ITEM.slot_2C(pid, arg_06);
suspend;
spawn ITEM.slot_2A(pid, 1, 1, arg_06);
suspend;
}
}
}
return;
}