Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_rhythmgame_Other_10

(view raw script w/o annotations or w/e)
1
if (replayversion && !tenna_boss)
2
{
3
    global.interact = 1;
4
    if (!i_ex(obj_minigame_quit_ui))
5
        instance_create(x, y, obj_minigame_quit_ui);
6
}
7
intro_con = 2;
8
y = 0;
9
loadsong = 1;
10
bg_con = 1;
11
image_blend = c_white;
12
floor_color = #24396D;
13
fade = 1;
14
with (performer)
15
    silhouette = false;
16
with (obj_rhythmgame_chart)
17
{
18
    with (performer)
19
        silhouette = false;
20
}
21
if (freeplay == -1)
22
    freeplay = 1;
23
if (freeplay == -2)
24
    freeplay = 0;
25
if (freeplay)
26
    difficulty = 5;
27
if (freeplay == 1 && hardmode)
28
{
29
    leniency = 1;
30
    bonus = 10;
31
}
32
else
33
{
34
    leniency = 1.6;
35
    bonus = 0;
36
}
37
fame = 6000;
38
total_fame = 6000;
39
max_score = 25000;
40
points = 0;
41
max_combo = 0;
42
combo = 0;
43
looptimer = 0;
44
trackpos = 0;
45
effects.con = 2;
46
show_chart = 1;
47
if (tutorial == 0 && !tenna_boss)
48
    button_alpha = 9;