Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dunes_small_boulders_Create_0

(view raw script w/o annotations or w/e)
1
image_index = irandom_range(3, 6)
2
image_speed = 0
3
switch image_index
4
{
5
    case 3:
6
        vspeed -= 4.5
7
        break
8
    case 4:
9
        vspeed -= 4
10
        break
11
    case 5:
12
        vspeed -= 3.5
13
        break
14
    case 6:
15
        vspeed -= 3
16
        break
17
}
18
19
hspeed = choose(-1, 1)
20
grav = 0.2
21
depth = (-room_height) - 1
22
depth = (-room_height)