32 lines
702 B
Text
32 lines
702 B
Text
function bigcan_gotHit() /* entry=170 class_id=0x0313 slot=0x06 */
|
|
{
|
|
var
|
|
referent, /* [BP+00h] type=0x69 */
|
|
ref, /* [BP+0Ah] type=0x69 */
|
|
vel, /* [BP+0Ch] type=0x69 */
|
|
fram, /* [BP-02h] type=0x69 */
|
|
lid; /* [BP-04h] type=0x24 */
|
|
|
|
set_info(0x020C, *(arg_06));
|
|
process_exclude();
|
|
fram = Item.getFrame(arg_06);
|
|
FREE.slot_2C(vel, ref);
|
|
if (!retval) {
|
|
if (fram == 2) {
|
|
FREE.slot_20(2);
|
|
FREE.slot_20(4, 5, 4);
|
|
FREE.slot_20(retval, 4);
|
|
return;
|
|
}
|
|
else if (fram == 1) {
|
|
spawn ITEM.slot_28(pid, 0, 1, arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else {
|
|
spawn ITEM.slot_28(pid, 0, 0, arg_06);
|
|
suspend;
|
|
}
|
|
}
|
|
return;
|
|
}
|