Undertale script viewer

← back to main script listing

gml_Object_obj_grillbynpc_sansdate_Create_0

(view raw script w/o annotations or w/e)
1
dsprite = spr_sans_d;
2
usprite = spr_sans_u;
3
lsprite = spr_sans_l;
4
rsprite = spr_sans_r;
5
dtsprite = spr_sans_d;
6
utsprite = spr_sans_u;
7
ltsprite = spr_sans_l;
8
rtsprite = spr_sans_r;
9
myinteract = 0;
10
facing = 0;
11
direction = 90;
12
talkedto = 0;
13
image_speed = 0;
14
con = 0;
15
if (global.flag[89 dated_sans1] != 1)
16
{
17
    instance_destroy();
18
}
19
else
20
{
21
    con = 1;
22
    visible = true;
23
    rimshot = caster_load("music/rimshot.ogg");
24
    whoopee = caster_load("music/whoopee.ogg");
25
    mystery = caster_load("music/mysteriousroom2.ogg");
26
}
27
scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
();
28
burg = 0;
29
curvol = 1;
30
counter = scr_marker
scr_marker

thismarker = instance_create(argument0, argument1, obj_npc_marker); thismarker.visible = true; thismarker.image_speed = 0; thismarker.sprite_index = argument2; return thismarker;
(92, 65, spr_grillbycounter);
31
counter.depth = 199990;