Deltarune (Chapter 3) script viewer

← back to main script listing

gml_GlobalScript_scr_jump_to_point_board

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

function
scr_jump_to_point_board(arg0, arg1, arg2, arg3, arg4 = 0)
{ var ___jump =
scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump) { trackalpha = arg4; trackblend = arg4; trackindex = arg4; tracksprite = arg4; board = true; } return ___jump; }
(arg0, arg1, arg2, arg3, arg4 = 0)
2
{
3
    var ___jump = 
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
    with (___jump)
5
    {
6
        trackalpha = arg4;
7
        trackblend = arg4;
8
        trackindex = arg4;
9
        tracksprite = arg4;
10
        board = true;
11
    }
12
    return ___jump;
13
}