Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_flowey_spiral_attack_10_Step_0

(view raw script w/o annotations or w/e)
1
if instance_exists(spawner)
2
{
3
    x = spawner.x + (lengthdir_x(move_dist, direction))
4
    y = spawner.y + (lengthdir_y(move_dist, direction))
5
}
6
direction += spin_spd
7
move_dist += move_spd
8
if (fade_out == true)
9
{
10
    image_alpha -= 0.25
11
    if (image_alpha <= 0)
12
        instance_destroy()
13
}