function scr_floortex_shift_objects_Zaxis(arg0, arg1) { if (arg1 == 0) exit; arg0.y_ow += arg1; arg0.bbox_bottom_ow += arg1; arg0.bbox_top_ow += arg1; arg0.bbox_bottom_plat += arg1; arg0.bbox_top_plat += arg1; with (arg0) { var _mainchara = instance_place(x, y, obj_mainchara); with (_mainchara) { var _x = (bbox_left + bbox_right) / 2; if (collision_line(_x, bbox_bottom - 2, _x, bbox_bottom + 6, arg0, 0, 0)) { if (!instance_place(x, y + arg1, obj_solidblock)) y += arg1; } } } with (obj_platswap_helper) { with (obj_id) { var _walltex = -4; if (instance_exists(walltex)) { if (walltex.floortex == arg0) _walltex = walltex; } if (floortex == arg0 || instance_exists(_walltex)) { y_ow += arg1; set_floortex_obj_yplat(); if (obj_platswap.transition_time <= 0) { if (obj_platswap.mode == 0) y = y_ow; else y = y_plat; } } } } with (obj_papergrass) { if (floortex == arg0) { y_ow += arg1; set_floortex_obj_yplat(); if (obj_platswap.transition_time <= 0) { if (obj_platswap.mode == 0) y = y_ow; else y = y_plat; } } } with (obj_rock3d) { if (floortex == arg0) { y_ow += arg1; set_floortex_obj_yplat(); if (obj_platswap.transition_time <= 0) { if (obj_platswap.mode == 0) y = y_ow; else y = y_plat; } } } with (obj_pinktree) { if (floortex == arg0) { y_ow += arg1; set_floortex_obj_yplat(); if (obj_platswap.transition_time <= 0) { if (obj_platswap.mode == 0) y = y_ow; else y = y_plat; } } } }