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

30 lines
577 B
Text
Raw Normal View History

2026-03-25 23:32:36 +01:00
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 */
2026-03-26 00:37:17 +01:00
set_info(0x020C, *(arg_06));
process_exclude();
item = ref;
FREE.slot_2C(vel, ref);
2026-03-26 00:37:17 +01:00
if (!retval) {
return;
}
else if (!Actor.isNPC(item)) {
2026-03-25 23:32:36 +01:00
n = ref;
2026-03-26 00:37:17 +01:00
if (n == 1) {
spawn FREE.slot_21(pid, 98, 0x00000000);
2026-03-26 00:37:17 +01:00
suspend;
return;
}
else {
return;
}
2026-03-25 23:32:36 +01:00
return;
2026-03-26 00:37:17 +01:00
}
return;
2026-03-25 23:32:36 +01:00
}