Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_ow_flashing_arrow_Alarm_0

(view raw script w/o annotations or w/e)
1
if (image_alpha == 0)
2
{
3
    if (!audio_is_playing(snd_bullet_warning))
4
        audio_play_sound(snd_bullet_warning, 1, 0)
5
    image_alpha = 1
6
    flash_count -= 1
7
}
8
else
9
{
10
    image_alpha = 0
11
    if (flash_count <= 0)
12
        instance_destroy()
13
}
14
alarm[0] = 15
alarm[0]

if (image_alpha == 0) { if (!audio_is_playing(snd_bullet_warning)) audio_play_sound(snd_bullet_warning, 1, 0) image_alpha = 1 flash_count -= 1 } else { image_alpha = 0 if (flash_count <= 0) instance_destroy() } alarm[0] = 15