Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_dustpile_susie_Other_10

(view raw script w/o annotations or w/e)
1
if (bust == 0)
2
{
3
    snd_free(global.currentsong[0]);
4
    global.interact = 1;
5
    instance_create(0, 0, obj_shake);
6
    snd_play(snd_cough);
7
    con = 10;
8
    bust = 1;
9
    for (i = 0; i < 12; i += 1)
10
        instance_create(x + 20 + (i * 6), y + 20 + random(25), obj_dustball_pilebreak);
11
    s = 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; }
(x + 10, y, spr_susie_shock);
12
    with (s)
13
        scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
14
    alarm[4] = 2;
15
    with (s)
16
        hspeed = 10;
17
    with (obj_mainchara)
18
        cutscene = 0;
19
}