Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_controller_dw_city_big_2_Create_0

(view raw script w/o annotations or w/e)
1
forcefield = scr_forcefield
scr_forcefield

function scr_forcefield(arg0, arg1, arg2, arg3, arg4, arg5) { field = instance_create(arg0, arg1, obj_forcefield); field.image_xscale = arg2; field.image_yscale = arg3; field.skip = arg4; field.stayVisible = arg5; with (field) scr_depth(); return field; }
(680, 1040, 2, 8, 1, 1);
2
toggle = 0;
3
hasToggled = 0;
4
con = 0;
5
timer = 0;
6
toggledtimer = 0;
7
bothToggled = 0;
8
noellePuzzle = 0;
9
failurecount = 0;
10
revengeNoelle = 0;
11
revengecon = 0;
12
ignoreHardWork = 0;
13
weirdRoute = false;
14
noelleWaitCheck = 0;
15
fakeStep = 0;
16
noelleWaiting = 0;
17
if (global.flag[383 solved_forcefield_1] == 1)
18
{
19
    con = 9999;
20
    bothToggled = 1;
21
    with (forcefield)
22
        instance_destroy();
23
    instance_destroy();
24
}
25
weird_prompt = false;
26
myinteract = 0;