Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_dw_churchc_prophecies_Create_0

(view raw script w/o annotations or w/e)
1
con = 0;
2
timer = 0;
3
init = 0;
4
siner = 0;
5
layer_set_visible("DEBUG_ASSETS", 0);
6
if (
scr_debug
scr_debug

function
scr_debug()
{ if (global.debug == 1) return 1; }
())
7
{
8
    if (keyboard_check(ord("P")))
9
    {
10
    }
11
    global.flag[23] = 1;
12
}
13
roomglow = instance_create(0, 0, obj_roomglow);
14
lasttouch = "loc1_fall";
15
triginit = 0;
16
wallswitch = -4;
17
destructableblockpos = [];
18
climbcon = 0;
19
climbtimer = 0;
20
water = [];
21
var spritesArray = layer_get_all_elements("DEBUG_ASSETS");
22
for (var i = 0; i < array_length(spritesArray); i++)
23
{
24
    if (layer_sprite_get_sprite(spritesArray[i]) == 1959)
25
        npc = scr_makenpc_fromasset(spritesArray[i]);
26
}
27
28
function compare_by_x(arg0, arg1)
29
{
30
    return arg0.x - arg1.x;
31
}