Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_dw_churchc_final_prophecy_Create_0

(view raw script w/o annotations or w/e)
1
roomglow = instance_create(x, y, obj_roomglow);
2
roomglow.active = true;
3
prophecy_camera = false;
4
prophecy_camera_x = camerax();
5
prophecy_camera_y = cameray();
6
prophecy_list[0][0] = "laststory";
7
prophecy_list[0][1] = [600, 850];
8
prophecy_list[1][0] = "end1";
9
prophecy_list[1][1] = [1720, 690];
10
prophecy_list[2][0] = "end2";
11
prophecy_list[2][1] = [2690, 490];
12
prophecy_list[3][0] = "savetheworlds";
13
prophecy_list[3][1] = [3400, 330];
14
prophecy_list[4][0] = "end5";
15
prophecy_list[4][1] = [5640, 320];
16
for (var i = 0; i < array_length(prophecy_list); i++)
17
{
18
    var flag = prophecy_list[i][0];
19
    var pos = prophecy_list[i][1];
20
    var prophecy = instance_create(pos[0], pos[1], obj_dw_church_prophecy);
21
    prophecy.extflag = flag;
22
    prophecy.active = true;
23
}
24
if (
scr_debug
scr_debug

function
scr_debug()
{ if (global.debug == 1) return 1; }
())
25
{
26
    with (obj_border_controller)
27
        hide_border();
28
}