Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_attack_blue_revolver_bullet_Step_0

(view raw script w/o annotations or w/e)
1
if (hardcoded_pushback && pushback_counter > 0.5)
2
{
3
    x += lengthdir_x(pushback_counter, direction + 30);
4
    y += lengthdir_y(pushback_counter, direction + 30);
5
    scr_ease_towards_direction_manual(point_direction(x, y, obj_growtangle.x, obj_growtangle.y), 45, 0.8);
6
    image_angle = direction;
7
    pushback_counter *= 0.875;
8
}