Undertale script viewer

← back to main script listing

gml_Object_obj_titleimage_Create_0

(view raw script w/o annotations or w/e)
1
intronoise = caster_load("music/intronoise.ogg");
2
caster_play(intronoise, 1, 1);
3
alarm[0] = 600;
gml_Object_obj_titleimage_Alarm_0.gml

caster_free(intronoise); room_goto_previous();
4
alarm[1] = 100;
5
d = 0;
6
ballamount = 0;
7
special_x = 0;
8
drawpw = 0;
9
pw1 = 0;
10
pw2 = 0;
11
pw3 = 0;
12
pw4 = 0;
13
if (ossafe_file_exists("undertale.ini"))
14
{
15
    ossafe_ini_open("undertale.ini");
16
    if (ini_read_real("General", "Won", 0) > 0)
17
        pw1 = 1;
18
    if (ini_read_real("General", "Truth", 0) > 0)
19
    {
20
        pw1 = 1;
21
        pw2 = 1;
22
    }
23
    if (ini_read_real("EndF", "EndF", 0) >= 2)
24
    {
25
        pw1 = 1;
26
        pw2 = 1;
27
    }
28
    if (ini_read_real("reset", "reset", 0) > 0)
29
    {
30
        pw1 = 1;
31
        pw2 = 1;
32
    }
33
    if (ini_read_real("Sans", "Intro", 0) > 0)
34
        pw3 = 1;
35
    if (ini_read_real("Sans", "F", 0) > 0)
36
        pw3 = 1;
37
    if (ini_read_real("Sans", "SK", 0) > 0)
38
        pw3 = 1;
39
    if (ossafe_file_exists("system_information_963"))
40
        pw3 = 1;
41
    ossafe_ini_close();
42
}
43
proceed = 0;