Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_30_lever_Create_0

(view raw script w/o annotations or w/e)
1
image_speed = 0
2
scene = 0
3
cutscene_timer = 0
4
if (global.sworks_flag[19] == 1)
5
{
6
    image_index = image_number - 1
7
    scene = -1
8
    instance_deactivate_layer("colliders_nobridge")
9
    instance_activate_layer("colliders_bridge")
10
    layer_set_visible("ast_shortcut_railing", true)
11
}
12
else
13
{
14
    instance_deactivate_layer("colliders_bridge")
15
    instance_activate_layer("colliders_nobridge")
16
    layer_y("ast_shortcut", -160)
17
    layer_set_visible("ast_shortcut_railing", false)
18
}