Deltarune (Chapter 4) script viewer

← back to main script listing

gml_GlobalScript_scr_custom_marker_depth

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

function
scr_custom_marker_depth(arg0, arg1, arg2, arg3, arg4)
{ thismarker = instance_create_depth(arg0, arg1, arg2, arg3); with (thismarker) { sprite_index = arg4; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(arg0, arg1, arg2, arg3, arg4)
2
{
3
    thismarker = instance_create_depth(arg0, arg1, arg2, arg3);
4
    with (thismarker)
5
    {
6
        sprite_index = arg4;
7
        image_speed = 0;
8
        image_xscale = 2;
9
        image_yscale = 2;
10
    }
11
    return thismarker;
12
}