Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_attack_ace_dealing_cards_Alarm_0

(view raw script w/o annotations or w/e)
1
if (card_draw_warning_rectangle == false)
2
{
3
    if (!audio_is_playing(snd_bullet_warning))
4
        audio_play_sound(snd_bullet_warning, 1, 0)
5
    card_draw_warning_rectangle = true
6
}
7
else
8
    card_draw_warning_rectangle = false
9
if (card_warning_number < card_warning_max)
10
{
11
    card_warning_number++
12
    alarm[0] = 4
alarm[0]

if (card_draw_warning_rectangle == false) { if (!audio_is_playing(snd_bullet_warning)) audio_play_sound(snd_bullet_warning, 1, 0) card_draw_warning_rectangle = true } else card_draw_warning_rectangle = false if (card_warning_number < card_warning_max) { card_warning_number++ alarm[0] = 4 } else { alarm[1] = activation_delay card_warning_number = 0 }
13
}
14
else
15
{
16
    alarm[1] = activation_delay
alarm[1]

card_active = true audio_play_sound(snd_card_game_deal, 1, 0)
17
    card_warning_number = 0
18
}