Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_verlet_guardener_wind

(view raw script w/o annotations or w/e)
1
function scr_verlet_guardener_wind
scr_verlet_guardener_wind

function scr_verlet_guardener_wind(argument0) //gml_Script_scr_verlet_guardener_wind { for (var i = 0; i < array_length(argument0); i++) { var p = array_get(argument0, i) if (!(array_get(p, 4))) { if position_meeting(array_get(p, 0), array_get(p, 1), obj_guardener_verlet_wind) array_set(p, 0, ((array_get(p, 0)) - 0.025)) } } }
(argument0) //gml_Script_scr_verlet_guardener_wind
2
{
3
    for (var i = 0; i < array_length(argument0); i++)
4
    {
5
        var p = array_get(argument0, i)
6
        if (!(array_get(p, 4)))
7
        {
8
            if position_meeting(array_get(p, 0), array_get(p, 1), obj_guardener_verlet_wind)
9
                array_set(p, 0, ((array_get(p, 0)) - 0.025))
10
        }
11
    }
12
}