Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_ch4_PDC10_Create_0

(view raw script w/o annotations or w/e)
1
con = -1;
2
customcon = 0;
3
make_npcs = false;
4
phone_throw = false;
5
phone_timer = 0;
6
if (global.plot >= 50 && global.plot < 60)
7
{
8
    var couch_sparkle = instance_create(475, 550, obj_npc_room_animated);
9
    couch_sparkle.sprite_index = spr_shine_white;
10
    couch_sparkle.image_speed = 0.2;
11
    with (couch_sparkle)
12
        depth = 94310;
13
    if (
scr_debug
scr_debug

function
scr_debug()
{ if (global.debug == 1) return 1; }
() && global.tempflag[91] == 1)
14
    {
15
        global.tempflag[91] = 0;
16
        if (!snd_is_playing(global.currentsong[1]))
17
        {
18
            global.currentsong[0] = snd_init("noelle_house_wip.ogg");
19
            global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.9, 1);
20
        }
21
    }
22
}
23
else
24
{
25
    instance_destroy();
26
}