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((0 << 0), 0) < (x - 10) && hspeed == 0)
2
{
3
    if (!alarm[0])
4
        alarm[0] = 10
alarm[0]

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
    alarm[0] = -1
alarm[0]

hspeed = -7 global.sworks_flag[2] = 1 sprite_index = spr_axis_left image_speed = (1/3)
8
if (x < 0)
9
    instance_destroy()