Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_wall_controller_Create_0

(view raw script w/o annotations or w/e)
1
siner = 0;
2
xx = __view_get(e__VW.XView, 0);
3
yy = __view_get(e__VW.YView, 0);
4
wallsize = 4;
5
sinespeed = 0;
6
sinetargetspeed = 1.2;
7
spawncount = 5;
8
alarm[0] = 172;
gml_Object_obj_sneo_wall_controller_Alarm_0.gml

if (turnaroundcon == 0) { if (timer >= 3) sinetargetspeed = -1.1; alarm[0] = 98; } if (turnaroundcon == 1) { if (timer >= 3) sinetargetspeed = 1.2; } turnaroundcon++;
9
made = 0;
10
waittime = 125.66370614359172 / spawncount;
11
timer = waittime;
12
type = 3;
13
global.turntimer += 33;
14
brake = 0;
15
init = 0;
16
breakspotconsecutive = 1 + irandom(6);
17
breakspotpreviouscon = 0;
18
introtimer = 0;
19
turnaroundcon = 0;
20
difficulty = obj_spamton_neo_enemy.difficulty;
21
lilguytimer = -91;
22
23
enum e__VW
24
{
25
    XView,
26
    YView,
27
    WView,
28
    HView,
29
    Angle,
30
    HBorder,
31
    VBorder,
32
    HSpeed,
33
    VSpeed,
34
    Object,
35
    Visible,
36
    XPort,
37
    YPort,
38
    WPort,
39
    HPort,
40
    Camera,
41
    SurfaceID
42
}