event_inherited(); if (alarm[0] > 0) { direction += clamp(angle_difference(scr_at_player(), direction) / power(alarm[0], 0.6), -sqrt(alarm[0]), sqrt(alarm[0])); image_angle = direction; with (obj_regularbullet) { if (sprite_index == spr_bullet_toebean) { if (owner == other.id) { direction = other.direction + (10 * image_yscale * image_index); x = other.x + lengthdir_x(12 - (6 * image_index), other.direction) + lengthdir_x(12 * image_index, other.direction + (90 * sign(image_yscale))); y = other.y + lengthdir_y(12 - (6 * image_index), other.direction) + lengthdir_y(12 * image_index, other.direction + (90 * sign(image_yscale))); } } } }