Deltarune (Chapter 2) script viewer

← back to main script listing

gml_GlobalScript_scr_jump_to_point

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

function scr_jump_to_point(arg0, arg1, arg2, arg3) { return scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0); }
(arg0, arg1, arg2, arg3)
2
{
3
    return scr_jump_to_point_sprite
scr_jump_to_point_sprite

function scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, arg4, arg5) { __jump_to_point = instance_create(x, y, obj_jump_to_point); __jump_to_point.target = id; with (__jump_to_point) { startx = x; starty = y; endx = arg0; endy = arg1; jumpspeed = arg2; jumptime = arg3; jumpsprite = arg4; landsprite = arg5; if (arg4 > 0) usesprites = 1; drawshadow = 0; } return __jump_to_point; }
(arg0, arg1, arg2, arg3, 0, 0);
4
}