Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_carcutscene_Create_0

(view raw script w/o annotations or w/e)
1
for (i = 0; i < 20; i += 1)
2
{
3
    prevalpha[i] = 0;
4
    prevwx[i] = -200;
5
    prevwy[i] = -200;
6
    prevstringmax[i] = 0;
7
    prevhspace[i] = 0;
8
    prevlinecount[i] = 0;
9
    prevvspace[i] = 0;
10
}
11
carcon = 0;
12
drawwave = 0;
13
con = 0;
14
dhaver = 0;
15
v = 0;
16
vx = 0;
17
vy = 0;
18
myd = 23827382;
19
if (global.plot > 1)
20
{
21
    instance_destroy();
22
}
23
else
24
{
25
    global.facing = 0;
26
    with (obj_npc_sign)
27
        instance_destroy();
28
    global.currentsong[0] = snd_init("mus_introcar.ogg");
29
    con = 1;
30
    alarm[4]
 = 30;
gml_Object_obj_carcutscene_Alarm_4.gml

con += 1;
31
    global.interact = 1;
32
    k = 30;
33
    t = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(195, 240, spr_toriel_lt);
34
    with (t)
35
        depth = 400000;
36
    c = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(131, 240, spr_torcar_d);
37
    with (c)
38
        depth = 500000;
39
}