37 lines
778 B
Text
37 lines
778 B
Text
function convflr_gotHit() /* entry=128 class_id=0x022C slot=0x06 */
|
|
{
|
|
var
|
|
referent, /* [BP+00h] type=0x69 */
|
|
ref, /* [BP+0Ah] type=0x69 */
|
|
v, /* [BP+0Ch] type=0x69 */
|
|
xdir, /* [BP-01h] type=0x62 */
|
|
ydir, /* [BP-02h] type=0x62 */
|
|
item, /* [BP-04h] type=0x24 */
|
|
a, /* [BP-05h] type=0x62 */
|
|
b; /* [BP-06h] type=0x62 */
|
|
|
|
set_info(0x020C, *(arg_06));
|
|
process_exclude();
|
|
xdir = 0;
|
|
ydir = -3;
|
|
if (!Item.getQHi(arg_06)) {
|
|
ydir = 3;
|
|
}
|
|
FREE.slot_2C(v, ref);
|
|
if (!retval) {
|
|
return;
|
|
}
|
|
else {
|
|
item = ref;
|
|
a = Item.IsOn(*(arg_06), item);
|
|
b = 1;
|
|
if (Item.getQHi(arg_06) == 0x00FF) {
|
|
b = 0;
|
|
}
|
|
if (!(a && b)) {
|
|
spawn CONVEYOR.slot_20(pid, ydir, xdir, arg_06);
|
|
suspend;
|
|
}
|
|
}
|
|
return;
|
|
}
|