Undertale Yellow script viewer

← back to main script listing

gml_RoomCC_rm_dalvroomhall_1_Create

(view raw script w/o annotations or w/e)
1
nextroom = 38
2
xx = 220
3
yy = 170
4
if (global.flag[17 Dalv fate] == 3 || global.flag[17 Dalv fate] == 4)
5
{
6
    instance_create(157, 100, obj_melancholy_blocker_dalvsroom)
7
    with (obj_melancholy_blocker_dalvsroom)
8
    {
9
        image_xscale = 1.69
10
        image_yscale = 1.25
11
    }
12
    instance_destroy()
13
}
14
else if (global.flag[17 Dalv fate] != 2)
15
{
16
    instance_create(157, 100, obj_doorway_blocker_dalvsroom)
17
    with (obj_doorway_blocker_dalvsroom)
18
    {
19
        image_xscale = 1.69
20
        image_yscale = 1.25
21
    }
22
    instance_destroy()
23
}