Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_factory_elevator_Create_0

(view raw script w/o annotations or w/e)
1
act = 1;
2
scene = 0;
3
cutscene_timer = 0;
4
door_closed_amount = 0;
5
screenshake_intensity = 0;
6
if (global.route == 3)
7
    global.hotland_flag[6] = 1;
8
if (global.hotland_flag[6] == 0)
9
{
10
    act = 2;
11
    layer_enable_fx("effect_dark_overlay", true);
12
}
13
else
14
{
15
    layer_enable_fx("effect_dark_overlay", false);
16
}