Crusader_Decomp/USECODE/REGRET/DICOR3.unk

33 lines
779 B
Text

/* synthesized appendix for DICOR3 */
/* sparse lines above preserve recovered debugger line numbers where available */
/* ===== slot 0x06 gotHit ===== */
function dicor3_gotHit() /* entry=43 class_id=0x00A9 slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
FREE.slot_35(arg_0C, arg_0A);
if (retval) {
return;
}
else {
local_02 = Item.getFrame(arg_06);
spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
if (global[0x0005]) {
suspend;
}
for local_06 in nearby_items(family=6, origin=arg_06) {
NPC.slot_2A(local_06);
if (!retval) {
spawn NPC.slot_2C(local_06);
}
else if (Actor.isDead(local_06)) {
spawn NPC.slot_2D(3, local_06);
}
/* loopnext */
}
}
return;
}