Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_attack_warning_exclamation_mark_Step_0

(view raw script w/o annotations or w/e)
1
counter += image_speed
2
sound_play_noloop = false
3
switch counter
4
{
5
    case 3.2:
6
    case 5.6:
7
    case 8:
8
        with (obj_attack_warning_exclamation_mark)
9
        {
10
            if (sound_play_noloop == true)
11
                return;
12
        }
13
        audio_play_sound(snd_bullet_warning, 20, 0)
14
        sound_play_noloop = true
15
        break
16
}