Undertale script viewer

← back to main script listing

gml_Object_obj_plotwall_room_Create_0

(view raw script w/o annotations or w/e)
1
phase = 0;
2
plotrating = 0;
3
scale = 1;
4
if (room == room_ruins15B)
5
    plotrating = 13;
6
if (room == room_ruins15C)
7
{
8
    plotrating = 14;
9
    scale = 0;
10
}
11
if (room == room_ruins15D)
12
    plotrating = 15;
13
if (room == room_tundra_snowpuzz)
14
    plotrating = 48;
15
if (room == room_tundra_xoxosmall)
16
    plotrating = 52;
17
if (room == room_tundra_xoxopuzz)
18
    plotrating = 55;
19
if (scale == 1)
20
    image_yscale = 400;
21
if (scale == 0)
22
    image_xscale = 400;
23
if (global.plot > plotrating)
24
    instance_destroy();