Undertale script viewer

← back to main script listing

gml_Object_obj_lighttower_Create_0

(view raw script w/o annotations or w/e)
1
ts = 0;
2
on = 0;
3
if (room == room_fire_preshootguy4)
4
{
5
    if (global.flag[400 completed_shoot_puzzle4] > 0)
6
        on = 1;
7
}
8
if (room == room_fire_conveyorlaser)
9
{
10
    if (global.flag[399 completed_shoot_puzzle3] > 0)
11
        on = 1;
12
}
13
if (room == room_fire8)
14
{
15
    if (global.flag[374 completed_shoot_puzzle1] > 0)
16
        on = 1;
17
}
18
if (room == room_fire9)
19
{
20
    if (global.flag[375 completed_shoot_puzzle2] > 0)
21
        on = 1;
22
}
23
alarm[0] = 1;