49 lines
1 KiB
Text
49 lines
1 KiB
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 */
|
|
|
|
entry:
|
|
set_info(0x020C, *(arg_06));
|
|
process_exclude();
|
|
spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
|
|
suspend;
|
|
/* dword_to_word */
|
|
if (!process_result) goto block_014E;
|
|
|
|
block_011B:
|
|
class_0A0C_slot_20(1);
|
|
if retval goto block_013B;
|
|
|
|
block_012B:
|
|
goto block_0148;
|
|
|
|
block_013B:
|
|
|
|
block_0148:
|
|
goto block_0207;
|
|
|
|
block_014E:
|
|
if (Item.getFrame(arg_06) != 0) goto block_0207;
|
|
|
|
block_0160:
|
|
z = Item.getZ(arg_06);
|
|
x = Intrinsic0013(arg_06);
|
|
y = Item.legal_create(arg_06);
|
|
qLo = Item.getQHi(arg_06);
|
|
spawn class_0A1E_slot_2A(pid, arg_06);
|
|
suspend;
|
|
class_0A0C_slot_20(3);
|
|
|
|
block_0207:
|
|
return;
|
|
|
|
}
|