Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_flower_spiral_spawner_Alarm_0

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

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] = 30 if (global.battle_phase == 2) alarm[0] = 20 image_xscale = 1.5 image_yscale = 1.5
14
if (global.battle_phase == 2)
15
    alarm[0] = 20
alarm[0]

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] = 30 if (global.battle_phase == 2) alarm[0] = 20 image_xscale = 1.5 image_yscale = 1.5
16
image_xscale = 1.5
17
image_yscale = 1.5