Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_shakeobj_ext_Create_0

(view raw script w/o annotations or w/e)
1
active = 0;
2
target = 0;
3
shakeamt = 10;
4
shakereduct = 2;
5
shakexamt = 10;
6
shakeyamt = 10;
7
if (global.darkzone == 0)
8
{
9
    shakeamt *= 0.5;
10
    shakereduct *= 0.5;
11
}
12
shakespeed = 1;
13
nowx = 0;
14
nowy = 0;
15
on = 1;
16
timer = 0;