Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_ch2_scene19c_berdly_smart_word_Step_0

(view raw script w/o annotations or w/e)
1
if (!text_finish)
2
{
3
    if (text_alpha < 1)
4
    {
5
        text_alpha += 0.05;
6
    }
7
    else
8
    {
9
        text_finish = true;
10
        alarm[0]
 = 30;
gml_Object_obj_ch2_scene19c_berdly_smart_word_Alarm_0.gml

text_fade = true;
11
    }
12
}
13
if (text_fade)
14
{
15
    if (text_alpha > 0)
16
        text_alpha -= 0.05;
17
    else
18
        instance_destroy();
19
}