Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_ch4_PDC16_vfx_Create_0

(view raw script w/o annotations or w/e)
1
siner = 0;
2
window_siner = 0;
3
palette_index = 0;
4
window_alpha = 0.2;
5
layer_names = ["Compatibility_Tiles_Depth_1000000", "Compatibility_Tiles_Depth_995000", "Compatibility_Tiles_Depth_990000", "Compatibility_Tiles_Depth_5000"];
6
siner_active = false;
7
overlay_active = false;
8
bg_active = false;
9
window_active = false;
10
pal_swap_layer_init();
11
for (var i = 0; i < array_length(layer_names); i++)
12
{
13
    pal_swap_enable_layer(layer_names[i]);
14
    pal_swap_set_layer(4884, palette_index, layer_names[i], false);
15
}
16
pal_swap_reset();
17
with (obj_church_event)
18
    visible = false;
19
overlay_marker = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(-20, -20, spr_pixel_white);
20
with (overlay_marker)
21
{
22
    image_blend = #191F34;
23
    depth = 120;
24
    image_xscale = 200;
25
    image_yscale = 200;
26
}