Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_flower_spiral_spawner_pacifist_Alarm_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
for (var i = 0; i < bullet_number; i++)
4
{
5
    var bullet = instance_create(x, y, obj_battle_enemy_attack_ceroba_flower_spiral_bullet)
6
    bullet.attack_dir = (i + 1) * (360 / bullet_number)
7
    bullet.creator = id
8
    if (bullet.attack_dir > 360)
9
        bullet.attack_dir -= 360
10
}
11
if (bullet_number == 6)
12
    bullet_number = 7
13
else
14
    bullet_number = 6
15
alarm[0] = 40
alarm[0]

if live_call() return global.live_result; for (var i = 0; i < bullet_number; i++) { var bullet = instance_create(x, y, obj_battle_enemy_attack_ceroba_flower_spiral_bullet) bullet.attack_dir = (i + 1) * (360 / bullet_number) bullet.creator = id if (bullet.attack_dir > 360) bullet.attack_dir -= 360 } if (bullet_number == 6) bullet_number = 7 else bullet_number = 6 alarm[0] = 40 image_xscale = 1.5 image_yscale = 1.5
16
image_xscale = 1.5
17
image_yscale = 1.5