Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_b3bs_lancerget_Create_0

(view raw script w/o annotations or w/e)
1
init = 0;
2
with (instance_create(128, 128, obj_board_screen))
3
{
4
    screenwidth = 1344;
5
    screenheight = 160;
6
    depth = 100000;
7
}
8
if (global.flag[1055 sword_route_progress] >= 6)
9
    
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; }
(128, 128, spr_pxwhite, 1344, 160, undefined, undefined, c_black, 99999);
10
var activecount = global.flag[1099 lancer_control_num];
11
for (var i = 3; i > -1; i--)
12
{
13
    var console = instance_create(256 + (i * 320), 268, obj_b3bs_lancerget_console);
14
    if (i != 0)
15
    {
16
        if (activecount)
17
            console.hascontroller = false;
18
        activecount--;
19
        if (i == 1)
20
            console.lany = board_tiley(4);
21
    }
22
    else
23
    {
24
        console.con = 9999;
25
    }
26
}
27
instance_create(250, 276, obj_b3bs_lancerget_lancer);