29 lines
572 B
Text
29 lines
572 B
Text
function elevplat_hit() /* entry=50 class_id=0x012F slot=0x05 */
|
|
{
|
|
var
|
|
referent, /* [BP+00h] type=0x69 */
|
|
r, /* [BP+0Ah] type=0x69 */
|
|
vel, /* [BP+0Ch] type=0x69 */
|
|
cargo; /* [BP-02h] type=0x24 */
|
|
|
|
entry:
|
|
set_info(0x020B, *(arg_06));
|
|
process_exclude();
|
|
if (r != 1) goto block_015E;
|
|
|
|
block_00F9:
|
|
cargo = r;
|
|
if (cargo < 0x0100) goto block_015E;
|
|
|
|
block_010C:
|
|
if (!Kernel.resetRef(cargo)) goto block_015E;
|
|
|
|
block_011F:
|
|
if (Item.getZ(cargo) < Item.getZ(arg_06)) goto block_015E;
|
|
|
|
block_013B:
|
|
|
|
block_015E:
|
|
return;
|
|
|
|
}
|