Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_gray_cross_bomb_Alarm_0

(view raw script w/o annotations or w/e)
1
audio_play_sound(snd_bullet_warning, 1, 0)
2
image_xscale = 1.25
3
image_yscale = 1.25
4
warning_number -= 1
5
if (warning_number < 0)
6
{
7
    instance_destroy()
8
    audio_play_sound(snd_undertale_explosion, 1, 0)
9
    instance_create_depth(x, y, -99, obj_flowey_battle_gray_cross_bomb_smoke)
10
    var expl1 = instance_create_depth(x, y, -100, obj_flowey_battle_gray_cross_bomb_explosion)
11
    var expl2 = instance_create_depth(x, y, -100, obj_flowey_battle_gray_cross_bomb_explosion)
12
    if (image_index == 0)
13
    {
14
        expl1.image_angle = 0
15
        expl2.image_angle = 90
16
    }
17
    else
18
    {
19
        expl1.image_angle = 45
20
        expl2.image_angle = 135
21
    }
22
}
23
alarm[0] = 20
alarm[0]

audio_play_sound(snd_bullet_warning, 1, 0) image_xscale = 1.25 image_yscale = 1.25 warning_number -= 1 if (warning_number < 0) { instance_destroy() audio_play_sound(snd_undertale_explosion, 1, 0) instance_create_depth(x, y, -99, obj_flowey_battle_gray_cross_bomb_smoke) var expl1 = instance_create_depth(x, y, -100, obj_flowey_battle_gray_cross_bomb_explosion) var expl2 = instance_create_depth(x, y, -100, obj_flowey_battle_gray_cross_bomb_explosion) if (image_index == 0) { expl1.image_angle = 0 expl2.image_angle = 90 } else { expl1.image_angle = 45 expl2.image_angle = 135 } } alarm[0] = 20