35 lines
847 B
Text
35 lines
847 B
Text
function mbarrel_gotHit() /* entry=113 class_id=0x01DD slot=0x06 */
|
|
{
|
|
var
|
|
referent, /* [BP+00h] type=0x69 */
|
|
ref, /* [BP+0Ah] type=0x69 */
|
|
vel, /* [BP+0Ch] type=0x69 */
|
|
item, /* [BP-02h] type=0x24 */
|
|
item2, /* [BP-04h] type=0x24 */
|
|
x, /* [BP-06h] type=0x69 */
|
|
y, /* [BP-08h] type=0x69 */
|
|
z, /* [BP-09h] type=0x62 */
|
|
qLo; /* [BP-0Bh] type=0x69 */
|
|
|
|
set_info(0x020C, *(arg_06));
|
|
process_exclude();
|
|
spawn ITEM.slot_27(pid, 100, vel, ref, arg_06);
|
|
suspend;
|
|
/* dword_to_word */
|
|
if (process_result) {
|
|
FREE.slot_20(1);
|
|
if (!retval) {
|
|
}
|
|
return;
|
|
}
|
|
else if (Item.getFrame(arg_06) == 0) {
|
|
z = Item.getZ(arg_06);
|
|
x = Item.getX(arg_06);
|
|
y = Item.getY(arg_06);
|
|
qLo = Item.getQLo(arg_06);
|
|
spawn ITEM.slot_2A(pid, arg_06);
|
|
suspend;
|
|
FREE.slot_20(3);
|
|
}
|
|
return;
|
|
}
|