Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_ch2_room_cyber_maze_fireworks_Create_0

(view raw script w/o annotations or w/e)
1
if (global.chapter != 2)
2
{
3
    instance_destroy();
4
}
5
else
6
{
7
    hacker = instance_create(394, 206, obj_npc_sign);
8
    with (hacker)
9
        
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
10
    hacker.sprite_index = spr_npc_cursor_walk_left;
11
}
12
check1 = 0;
13
check2 = 0;
14
check3 = 0;
15
fireworks_con = 0;