Undertale script viewer

← back to main script listing

gml_Object_obj_playmovement_Draw_0

(view raw script w/o annotations or w/e)
1
if (drawtext == 1)
2
{
3
    sn = instance_create(60, 180, obj_songwriter);
4
    sn.sting = string1;
5
    if (global.language != "en")
6
    {
7
        sn.can_off = 0;
8
        sn.alarm[3] = strtime1;
9
    }
10
    drawtext = 0;
11
}
12
if (drawtext2 == 1)
13
{
14
    sn2 = instance_create(60, 190, obj_songwriter);
15
    sn2.sting = string2;
16
    if (global.language != "en")
17
    {
18
        sn2.can_off = 0;
19
        sn2.alarm[3] = strtime2;
20
    }
21
    drawtext2 = 0;
22
}