Undertale script viewer

← back to main script listing

gml_Object_obj_undynedate_inside_Create_0

(view raw script w/o annotations or w/e)
1
table = 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;
(177, 115, spr_undynetable);
2
with (table)
3
    scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
();
4
piano = 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;
(60, 100, spr_undyne_piano);
5
with (piano)
6
    scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
();
7
sword = 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;
(obj_solidthin.x, obj_solidthin.y - 34, spr_giantsword);
8
with (sword)
9
    scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
();
10
teacup = 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;
(104, 57, spr_undteacup);
11
with (teacup)
12
    scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
();
13
con = 1;
14
global.interact = 1;
15
alarm[4] = 40;
16
caster_free(all);
17
global.facing = 2;
18
papyrus = instance_create(120, 140, obj_papyrus_actor);
19
papyrus.sprite_index = papyrus.usprite;
20
papyrus.fun = 1;
21
papyrus.image_speed = 0;
22
undyne = instance_create(140, 80, obj_undyne_actor);
23
undyne.sprite_index = undyne.dtsprite;
24
con = 1;
25
if (con == 104)
26
{
27
    global.currentsong = caster_load("music/undynetruetheme.ogg");
28
    caster_loop(global.currentsong, 0.9, 1);
29
    global.phasing = 1;
30
    con = 104;
31
    undyne.x = 208;
32
    undyne.y = 10;
33
    view_object[0] = -4;
34
    obj_mainchara.cutscene = 1;
35
    obj_mainchara.x = 200;
36
    obj_mainchara.y = 140;
37
}