Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_bridge_platform_Create_0

(view raw script w/o annotations or w/e)
1
if (global.snowdin_flag[11] == 1)
2
{
3
    image_speed = 0
4
    sprite_index = spr_bridge_platform_stand
5
    depth = (-y)
6
    var chain = instance_create(x, y, obj_bridge_chain)
7
    with (chain)
8
    {
9
        image_index = 0
10
        image_speed = 0
11
    }
12
    return;
13
}
14
image_speed = 0.5
15
depth = (-y)
16
chain = instance_create(x, y, obj_bridge_chain)
17
chain.image_speed = image_speed
18
fall = false