Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_dw_b3bs_sadshadowguys_Create_0

(view raw script w/o annotations or w/e)
1
con = 0;
2
pipnpc = instance_create(750, 276, obj_npc_room);
3
pipnpc.extflag = "poppins";
4
for (var i = 0; i < 5; i++)
5
{
6
    consolemarker[i] = 
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(250 + (98 * i), 252, spr_ch3_dw_b3bs_console);
7
    consolemarker[i].image_index = 1;
8
    consolemarker[i].image_speed = 0;
9
    consolemarker[i].depth = 97000;
10
    sadshad[i] = instance_create(252 + (98 * i), 242, obj_npc_room);
11
    sadshad[i].sprite_index = spr_shadowman_playgamesad;
12
    sadshad[i].extflag = "sadshad";
13
    boardshad[i] = 
scr_board_marker
scr_board_marker

function
scr_board_marker()
{ var _thismarker = instance_create(argument0, argument1, obj_board_marker); _thismarker.sprite_index = argument2; _thismarker.image_xscale = 2; _thismarker.image_yscale = 2; if (argument_count >= 4) _thismarker.image_speed = argument3; if (argument_count >= 5) { if (argument4 != -1) _thismarker.depth = argument4; } if (argument_count >= 6) _thismarker.image_xscale = argument5; if (argument_count >= 6) _thismarker.image_yscale = argument5; if (argument_count >= 7) _thismarker.animateonce = argument6; return _thismarker; }
(264 + (98 * i), 164, spr_dw_b3bs_sadshadowguys, 0.05);
14
    with (boardshad[i])
15
    {
16
        image_index = i * pi * 4;
17
        image_speed += (((i % 2) == 0) * 0.01);
18
    }
19
}
20
with (instance_create(192, 96, obj_board_screen))
21
{
22
    screenwidth = 576;
23
    screenheight = 160;
24
    depth = 100000;
25
}