Undertale Yellow script viewer

← back to main script listing

gml_RoomCC_rm_steamworks_05c_3_Create

(view raw script w/o annotations or w/e)
1
if ((global.sworks_flag[31] > 0 && global.sworks_flag[31] < 3) && global.route != 3)
2
{
3
    instance_destroy();
4
    exit;
5
}
6
if (global.sworks_flag[1] < 3)
7
{
8
    if (global.route == 3)
9
    {
10
        message[0] = "* (Locked.)";
11
    }
12
    else
13
    {
14
        message[0] = "* (You peer inside the#  chamber...)\t";
15
        message[1] = "* (It's far too dark to make#  anything out.)";
16
    }
17
}
18
else
19
{
20
    message[0] = "* ...";
21
}