Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_snowdin_19_watermeter_Step_0

(view raw script w/o annotations or w/e)
1
if (fill == 1)
2
{
3
    if (image_index < 9)
4
        image_speed = 0.2
5
    else
6
    {
7
        instance_destroy(part_drops_puzzle)
8
        image_speed = 0
9
    }
10
}
11
if (fill == 2)
12
{
13
    if (image_index < 25 && (!instance_exists(obj_transition)))
14
        image_speed = 0.2
15
    else
16
    {
17
        image_speed = 0
18
        global.snowdin_flag[12] = 2
19
        instance_destroy(part_drops_puzzle)
20
        if instance_exists(obj_snowdin_19_woodbars)
21
        {
22
            if (obj_snowdin_19_woodbars.slide == false)
23
            {
24
                obj_snowdin_19_woodbars.slide = true
25
                audio_play_sound(snd_slidedoor_open, 1, 0)
26
            }
27
        }
28
    }
29
}