Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/PIT/slot_06_gotHit.txt

30 lines
577 B
Text

function pit_gotHit() /* entry=192 class_id=0x0364 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
item, /* [BP-02h] type=0x24 */
n; /* [BP-04h] type=0x24 */
set_info(0x020C, *(arg_06));
process_exclude();
item = ref;
FREE.slot_2C(vel, ref);
if (!retval) {
return;
}
else if (!Actor.isNPC(item)) {
n = ref;
if (n == 1) {
spawn FREE.slot_21(pid, 98, 0x00000000);
suspend;
return;
}
else {
return;
}
return;
}
return;
}