Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_npc_conbini_Create_0

(view raw script w/o annotations or w/e)
1
counter = 
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; }
(318, 54, spr_lw_conbini_register);
2
counter.depth = obj_mainchara.depth + 10000;
3
sans = 
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; }
(340, 50, spr_sans_d);
4
sans.depth = counter.depth + 10;
5
con = 99;
6
myinteract = 0;
7
talked = 0;
8
interacting = false;
9
if (global.chapter == 2)
10
{
11
    if (global.flag[308 seen_eggs_husband] == 0)
12
    {
13
        con = -1;
14
        myinteract = 0;
15
        talked = 0;
16
        interacting = false;
17
        toriel = -1;
18
        asgore = -1;
19
    }
20
}