Undertale script viewer

← back to main script listing

gml_Object_obj_torhandhold1_Step_2

(view raw script w/o annotations or w/e)
1
if (path_position == 1 && conversation == 0)
2
{
3
    with (obj_mainchara)
4
        path_end();
5
    path_end();
6
    global.phasing = 0;
7
    obj_spiketile2.solid = 1;
8
    obj_mainchara.visible = true;
9
    tor = instance_create(x + 12, y, obj_toroverworld4);
10
    alarm[0] = 2;
gml_Object_obj_torhandhold1_Alarm_0.gml

global.msc = 218; instance_create(0, 0, obj_dialoguer); conversation = 3;
11
    with (tor)
12
        direction = 180;
13
    with (tor)
14
        facing = 3;
15
    visible = false;
16
    conversation = 2;
17
}
18
if (conversation == 3 && instance_exists(obj_dialoguer) == 0)
19
{
20
    with (tor)
21
        path_start(path_walkright, 3, path_action_stop, 0);
22
    global.interact = 0;
23
    instance_destroy();
24
    global.plot = 8;
25
}