Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_rudy_Create_0

(view raw script w/o annotations or w/e)
1
con = 0;
2
if (global.flag[255 talk_rudy_ch1] == 0)
3
{
4
    global.interact = 1;
5
    con = 1;
6
    n = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(118, 88, spr_noelle_walk_right_lw);
7
    n.depth = 100000;
8
    sprite_index = spr_rudy_l;
9
}
10
else
11
{
12
    instance_create(x, y, obj_npc_room);
13
    instance_destroy();
14
}
15
interact = 0;
16
myinteract = 0;
17
talked = 0;