Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martlet_final_syringe_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
image_angle += 10
4
if (y > (obj_martlet_final_body_intro.bbox_bottom - 20) && image_alpha == 1)
5
{
6
    var snd = audio_play_sound(snd_glass_break_1, 1, 0)
7
    audio_sound_gain(snd, 0.5, 0)
8
    image_alpha = 0
9
    part_sys = part_system_create(1)
10
    part_system_position(part_sys, x, y)
11
    alarm[0] = 90
alarm[0]

instance_destroy() part_system_clear(part_sys)
12
}