Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_flower_spray_spawner_Alarm_0

(view raw script w/o annotations or w/e)
1
audio_play_sound(snd_enemy_bullet_shot, 1, 0)
2
for (var a = 0; a < array_length_1d(bullet_number); a++)
3
{
4
    for (var i = 0; i < bullet_number[a]; i++)
5
    {
6
        var bullet = instance_create(x, y, obj_battle_enemy_attack_ceroba_flower_spray_bullet)
7
        var bullet_arc = (bullet_number[a] - 1) * bullet_spread / 2
8
        bullet.speed = bullet_speed[a]
9
        bullet.direction = (point_direction(x, y, 320, 320)) - bullet_arc + i * bullet_spread
10
    }
11
}
12
alarm[0] = 16
alarm[0]

audio_play_sound(snd_enemy_bullet_shot, 1, 0) for (var a = 0; a < array_length_1d(bullet_number); a++) { for (var i = 0; i < bullet_number[a]; i++) { var bullet = instance_create(x, y, obj_battle_enemy_attack_ceroba_flower_spray_bullet) var bullet_arc = (bullet_number[a] - 1) * bullet_spread / 2 bullet.speed = bullet_speed[a] bullet.direction = (point_direction(x, y, 320, 320)) - bullet_arc + i * bullet_spread } } alarm[0] = 16 image_xscale = 1.5 image_yscale = 1.5
13
image_xscale = 1.5
14
image_yscale = 1.5