Deltarune script viewer

← back to main script listing

gml_Object_obj_npc_puzzlemaster1_ch1_Create_0

(view raw script w/o annotations or w/e)
1
myinteract = 0;
2
talked = 0;
3
image_speed = 0;
4
image_xscale = 2;
5
image_yscale = 2;
6
con = 0;
7
if (global.flag[215 talked_joe] == 1)
8
{
9
    instance_destroy();
10
}
11
else
12
{
13
    pwall = instance_create_ch1(x + 10, y - 20, obj_soliddark_ch1);
14
    pwall.image_yscale = 3;
15
}
16
lecturecon = 0;
17
if (global.plot >= 42 || global.flag[211 c_round_outcome] == 3)
18
    lecturecon = 100;
19
scr_depth_ch1
scr_depth_ch1

function scr_depth_ch1() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();