Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_ch2_room_cyber_battle_maze_2_Step_0

(view raw script w/o annotations or w/e)
1
if (northcon == 1)
2
{
3
    northcon = -1;
4
    layer_set_visible("TILES_Secret_North", false);
5
    snd_play(snd_locker);
6
    instance_create(0, 0, obj_shake);
7
    if (i_ex(northcollider))
8
        instance_destroy(northcollider);
9
}
10
if (southcon == 1)
11
{
12
    southcon = -1;
13
    layer_set_visible("TILES_Secret_South", false);
14
    snd_play(snd_locker);
15
    instance_create(0, 0, obj_shake);
16
    if (i_ex(southcollider))
17
        instance_destroy(southcollider);
18
}