Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/MOTION/slot_06_gotHit.txt
2026-03-25 23:32:36 +01:00

26 lines
638 B
Text

function motion_gotHit() /* entry=89 class_id=0x01B7 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
num; /* [BP-02h] type=0x69 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2B(vel, ref);
num = retval;
if (((num != 3) || (num != 6)) && (Item.getFrame(arg_06) != 5)) goto block_0409;
block_0394:
class_0A0C_slot_33(0x021B, *(arg_06));
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
suspend;
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
suspend;
block_0409:
return;
}