Deltarune script viewer

← back to main script listing

gml_Object_obj_lerppitch_Step_0

(view raw script w/o annotations or w/e)
1
frames++;
2
var newpitch = lerp(initpitch, targetpitch, frames / maxframes);
3
snd_pitch(sndtarget, newpitch);
4
if (frames >= maxframes)
5
    instance_destroy();