39 lines
945 B
Text
39 lines
945 B
Text
|
|
/* synthesized appendix for MCRATE */
|
|
/* sparse lines above preserve recovered debugger line numbers where available */
|
|
|
|
/* ===== slot 0x06 gotHit ===== */
|
|
function mcrate_gotHit() /* entry=234 class_id=0x0432 slot=0x06 */
|
|
{
|
|
set_info(0x020C, *(arg_06));
|
|
process_exclude();
|
|
FREE.slot_35(arg_0C, arg_0A);
|
|
if (!retval) {
|
|
spawn ITEM.slot_29(pid, 100, arg_0C, arg_0A, arg_06);
|
|
suspend;
|
|
/* dword_to_word */
|
|
if (process_result) {
|
|
FREE.slot_20(1);
|
|
if (!retval) {
|
|
}
|
|
return;
|
|
}
|
|
else {
|
|
local_02 = Item.getX(arg_06);
|
|
local_04 = Item.getY(arg_06);
|
|
local_05 = Item.getZ(arg_06);
|
|
set_info(1, 0);
|
|
if (Item.getFrame(arg_06) == 0) {
|
|
spawn ITEM.slot_2A(pid, 1, 0, arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else if (Item.getFrame(arg_06) == 1) {
|
|
spawn ITEM.slot_2A(pid, 1, 1, arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
return;
|
|
}
|