Deltarune (Chapter 3) script viewer

← back to main script listing

gml_GlobalScript_scr_marker_ext

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

function
scr_marker_ext(arg0, arg1, arg2, arg3 = 1, arg4 = 1, arg5 = 0, arg6 = 0, arg7 = 16777215, arg8 = depth, arg9 = false, arg10 = -1, arg11 = 1)
{ var thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { depth = arg8; sprite_index = arg2; image_speed = arg5; image_xscale = arg3; image_yscale = arg4; image_index = arg6; image_blend = arg7; image_alpha = arg11; if (arg9)
scr_depth();
} if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker; }
(arg0, arg1, arg2, arg3 = 1, arg4 = 1, arg5 = 0, arg6 = 0, arg7 = 16777215, arg8 = depth, arg9 = false, arg10 = -1, arg11 = 1)
2
{
3
    var thismarker = instance_create(arg0, arg1, obj_marker);
4
    with (thismarker)
5
    {
6
        depth = arg8;
7
        sprite_index = arg2;
8
        image_speed = arg5;
9
        image_xscale = arg3;
10
        image_yscale = arg4;
11
        image_index = arg6;
12
        image_blend = arg7;
13
        image_alpha = arg11;
14
        if (arg9)
15
            
scr_depth
scr_depth

function
scr_depth()
{ if (argument_count > 0) { with (argument0) depth = 100000 - ((y * 10) + (sprite_height * 10)); } else { depth = 100000 - ((y * 10) + (sprite_height * 10)); } }
();
16
    }
17
    if (arg10 > 0)
18
        
scr_doom
scr_doom

function
scr_doom(arg0, arg1)
{ with (instance_create_depth(0, 0, 0, obj_doom)) { alarm[0] target = arg0; } }
(thismarker, arg10);
19
    return thismarker;
20
}