event_inherited(); if (global.pause_plat) exit; with (ral_hook) { if (other.con != 4 && other.con != 5 && other.con != 6) hookscale = scr_approach(hookscale, 0, 0.1); else hookscale = scr_approach(hookscale, 1, 0.1); image_xscale = other.image_xscale * hookscale; image_yscale = other.image_yscale * hookscale; if (ralsei_ready) { if (other.con < 5) { with (other) { con = 5; contimer = 0; clear_targets(); } } } if (hookscale < 1) _act.blocked = 2; else _act.blocked = 0; x = other.x; y = other.y; image_angle = other.image_angle; image_alpha = other.image_alpha; depth = other.depth + 1; var ang = image_angle - 90; var pointdir = point_direction(0, 0, -10, 40) + image_angle; var pointdist = point_distance(0, 0, -10, 40); xoffset = 10 + lengthdir_x(pointdist, pointdir); hang_xoffset = xoffset; newx = x + hang_xoffset; yoffset = -5 + lengthdir_y(pointdist, pointdir); hang_yoffset = yoffset; newy = y + hang_yoffset; } if (con == 8) { }