Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_38_overlay_Alarm_0

(view raw script w/o annotations or w/e)
1
if (image_index == 0)
2
{
3
    audio_play_sound(snd_electric_flash, 1, 0);
4
    image_index = 1;
5
    flash_count -= 1;
6
}
7
else
8
{
9
    image_index = 0;
10
}
11
if (flash_count > 0)
12
    alarm[0] = 4;
gml_Object_obj_steamworks_38_overlay_Alarm_0.gml

if (image_index == 0) { audio_play_sound(snd_electric_flash, 1, 0); image_index = 1; flash_count -= 1; } else { image_index = 0; } if (flash_count > 0) alarm[0] = 4;