Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_dw_churchc_savepoint_Step_2

(view raw script w/o annotations or w/e)
1
var cy = cameray();
2
if (cy != 0)
3
{
4
    volume = 
scr_progress
scr_progress

function
scr_progress(arg0, arg1, arg2, arg3, arg4)
{ return clamp(arg3 + (((arg0 - arg1) / (arg2 - arg1)) * (arg4 - arg3)), arg3, arg4); }
(cameray(), 236, 755, 0, maxvol);
5
    snd_volume(global.currentsong[1], volume, 0);
6
}