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

21 lines
411 B
Text

function sswitchn_gotHit() /* entry=247 class_id=0x0452 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel; /* [BP+0Ch] type=0x69 */
set_info(0x020C, *(arg_06));
process_exclude();
FREE.slot_2B(vel, ref);
if (retval == 4) {
if (ref == 1) {
return;
}
else {
spawn SSWITCHN.use(pid, arg_06);
suspend;
}
}
return;
}