Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_puzzle_water_meter_overworld_yellow_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)
14
        image_speed = 0.2
15
    else
16
    {
17
        image_speed = 0
18
        if instance_exists(obj_snowdin06_woodbars)
19
        {
20
            if (obj_snowdin06_woodbars.slide == false)
21
            {
22
                obj_snowdin06_woodbars.slide = true
23
                audio_play_sound(snd_slidedoor_open, 1, 0)
24
            }
25
        }
26
    }
27
}