Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_bullet_umbrella_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
timer++;
3
base = 
scr_approach_curve
scr_approach_curve

function
scr_approach_curve(arg0, arg1, arg2)
{ return
scr_approach(arg0, arg1, max(0.1, abs(arg1 - arg0) / arg2));
}
(base, 0, 50);
4
hspeed = ((sin(timer / driftrate) * drift) / max(base, 1)) + base;
5
image_angle = sin(timer / 11) * 15;