Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_decibat_eyes_opening_Step_0

(view raw script w/o annotations or w/e)
1
if (fade == true)
2
{
3
    image_alpha -= 0.1
4
    if (image_alpha < 0)
5
        image_alpha = 0
6
    if (image_alpha == 0)
7
        instance_destroy()
8
}
9
if (image_index >= 8 && image_speed != 0)
10
    image_speed = set_new_image_speed_value
11
if (image_index >= 18 && no_loop_blinking_1 == false)
12
{
13
    audio_play_sound(snd_decibatblink, 20, 0)
14
    no_loop_blinking_1 = true
15
}
16
else if (image_index >= 24 && no_loop_blinking_2 == false)
17
{
18
    audio_play_sound(snd_decibatblink, 20, 0)
19
    no_loop_blinking_2 = true
20
}