Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_petal_Create_0

(view raw script w/o annotations or w/e)
1
rotation_speed = random_range(2, 8)
2
petal_sprite = irandom_range(0, 2)
3
weight = random_range(2, 10)
4
trajectory = random_range(0, 4)
5
modifier = 1000
6
if (petal_sprite >= 1)
7
{
8
    petal_size = choose(1, 0.5)
9
    sprite_index = petal_2
10
    image_xscale = petal_size
11
    image_yscale = petal_size
12
}