Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_feather_flow_vertical_Alarm_1

(view raw script w/o annotations or w/e)
1
if (image_blend == c_red)
2
    image_blend = c_white
3
else
4
{
5
    audio_play_sound(snd_bullet_warning, 1, 0)
6
    image_blend = c_red
7
    feather_explode_counter += 1
8
}
9
alarm[1] = 3
alarm[1]

if (image_blend == c_red) image_blend = c_white else { audio_play_sound(snd_bullet_warning, 1, 0) image_blend = c_red feather_explode_counter += 1 } alarm[1] = 3 if (feather_explode_counter > 3) { var i = 1 var angle_base = irandom_range(0, 359) while (i <= 3) { with (instance_create(x, y, obj_battle_enemy_attack_martlet_feather_flow_explosion)) angle = angle_base + 120 * i i++ } audio_play_sound(snd_mart_spiral_attack_2, 1, 0) instance_destroy() }
10
if (feather_explode_counter > 3)
11
{
12
    var i = 1
13
    var angle_base = irandom_range(0, 359)
14
    while (i <= 3)
15
    {
16
        with (instance_create(x, y, obj_battle_enemy_attack_martlet_feather_flow_explosion))
17
            angle = angle_base + 120 * i
18
        i++
19
    }
20
    audio_play_sound(snd_mart_spiral_attack_2, 1, 0)
21
    instance_destroy()
22
}