Crusader_Decomp/USECODE/REGRET/DICOR2.unk

33 lines
780 B
Text

/* synthesized appendix for DICOR2 */
/* sparse lines above preserve recovered debugger line numbers where available */
/* ===== slot 0x06 gotHit ===== */
function dicor2_gotHit() /* entry=172 class_id=0x030E 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;
}