Undertale script viewer

← back to main script listing

gml_Object_obj_undynedate_afterward_Create_0

(view raw script w/o annotations or w/e)
1
con = 0;
2
if (global.flag[389 dated_undyne] == 3)
3
{
4
    global.flag[20 animation_index] = 0;
5
    con = 1;
6
    alarm[4] = 45;
7
    global.interact = 1;
8
    if (instance_exists(obj_mainchara))
9
    {
10
        obj_mainchara.x = 120;
11
        obj_mainchara.y = 160;
12
        global.interact = 1;
13
    }
14
    undyne = instance_create(150, 135, obj_undyne_actor);
15
    undyne.sprite_index = spr_undyne_lt;
16
    global.flag[390 undyne_expression] = 0;
17
}
18
else
19
{
20
    instance_destroy();
21
    exit;
22
}