Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_09_axis_Step_0

(view raw script w/o annotations or w/e)
1
if (__view_get(e__VW.XView, 0) < (x - 10) && hspeed == 0)
2
{
3
    if (!alarm[0])
4
        alarm[0] = 10;
gml_Object_obj_steamworks_09_axis_Alarm_0.gml

hspeed = -7; global.sworks_flag[2] = 1; sprite_index = spr_axis_left; image_speed = 1/3;
5
}
6
else if (alarm[0] > -1 && hspeed == 0)
7
{
8
    alarm[0] = -1;
gml_Object_obj_steamworks_09_axis_Alarm_0.gml

hspeed = -7; global.sworks_flag[2] = 1; sprite_index = spr_axis_left; image_speed = 1/3;
9
}
10
if (x < 0)
11
    instance_destroy();
12
13
enum e__VW
14
{
15
    XView,
16
    YView,
17
    WView,
18
    HView,
19
    Angle,
20
    HBorder,
21
    VBorder,
22
    HSpeed,
23
    VSpeed,
24
    Object,
25
    Visible,
26
    XPort,
27
    YPort,
28
    WPort,
29
    HPort,
30
    Camera,
31
    SurfaceID
32
}