Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_darkroom1_wallswitch_Other_10

(view raw script w/o annotations or w/e)
1
if (global.flag[704] == 0)
2
{
3
    snd_play(snd_locker);
4
    
scr_shakescreen
scr_shakescreen

function
scr_shakescreen(arg0 = 4, arg1 = 4)
{ var shaker = instance_create(x, y, obj_shake); if (i_ex(shaker)) { shaker.shakex = arg0; shaker.shakey = arg1; } }
();
5
    global.flag[704] = 1;
6
}