Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_credits_ch5_tbc_Create_0

(view raw script w/o annotations or w/e)
1
creditalpha = 1;
2
y_pos = __view_get(e__VW.YView, 0);
3
x_pos = __view_get(e__VW.XView, 0) + (__view_get(e__VW.WView, 0) / 2);
4
line_height = 20;
5
continued_text[0] = stringsetloc(
To be continued
"To be continued", "obj_credits_ch5_slash_Create_0_gml_25_0"
);
6
continued_text[1] = stringsetloc(
in Chapter 6
"in Chapter 6", "obj_credits_ch5_slash_Create_0_gml_26_0"
);
7
year_alpha = 0;
8
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("year_alpha", -1, 1, 120);
9
alarm[0]
 = 180;
gml_Object_obj_credits_ch5_tbc_Alarm_0.gml

scr_lerpvar("year_alpha", 1, 0, 90);
scr_lerpvar("creditalpha", 1, 0, 90);
10
alarm[1]
 = 330;
gml_Object_obj_credits_ch5_tbc_Alarm_1.gml

game_restart_true();
11
12
enum e__VW
13
{
14
    XView,
15
    YView,
16
    WView,
17
    HView,
18
    Angle,
19
    HBorder,
20
    VBorder,
21
    HSpeed,
22
    VSpeed,
23
    Object,
24
    Visible,
25
    XPort,
26
    YPort,
27
    WPort,
28
    HPort,
29
    Camera,
30
    SurfaceID
31
}