Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_gray_wheel_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
image_xscale = 0
4
image_yscale = 0
5
image_alpha = 0
6
scene = 0
7
cutscene_timer = 0
8
spin_speed = 0
9
spin_speed_max = 12
10
for (var i = 0; i < sprite_get_number(spr_battle_flowey_wheel_petals_grey); i++)
11
{
12
    var petal = instance_create_depth(x, y, (depth + 1), obj_flowey_battle_gray_wheel_petal_gray)
13
    petal.image_index = i
14
}
15
petal_sprite_special[0] = 3442
16
petal_sprite_special[1] = 1944
17
petal_sprite_special[2] = 3178
18
petal_sprite_special[3] = 3074
19
petal_sprite_special[4] = 856
20
petal_sprite_special[5] = 3524
21
wheel_phase_number = 0