Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_legend_Create_0

(view raw script w/o annotations or w/e)
1
if (scr_is_switch_os())
2
    instance_create(x, y, obj_switchAsyncHelper);
3
global.currentsong[0] = snd_init("legend.ogg");
4
snd_pitch(global.currentsong[0], 0.95);
5
global.currentsong[1] = mus_play(global.currentsong[0]);
6
contimer = 0;
7
ytimer = 0;
8
xtimer = 0;
9
yoff = 0;
10
xoff = 0;
11
con = 1;
12
fadecolor = c_black;
13
chunkfade = 0;
14
chunkamt = 1;
15
border = 1;
16
pic = spr_introimage0;
17
fadespeed = 0.02;
18
global.flag[6 disable_text_skip] = 1;
19
textimer = 0;
20
ingame = 0;
21
if (global.plot == 20)
22
    ingame = 1;
23
skipped = 0;
24
skiptimer = 0;
25
draw_screen = true;
26
skip_buffer = 10;
27
subsubcon = 0;