Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_gray_horse_Alarm_1

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
instance_destroy()
4
var bul_count = 7
5
var bul_dir_mult = 360 / bul_count
6
var dir_start = irandom_range(0, 360)
7
for (var i = 0; i < bul_count; i++)
8
{
9
    var bul = instance_create_depth(x, y, -100, obj_flowey_battle_phase_2_gray_pellet)
10
    bul.speed = 14
11
    bul.direction = dir_start + i * bul_dir_mult
12
}