Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_screen_glitch_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var glitch_sound = audio_play_sound(snd_flowey_glitch_yellow, 1, 0)
4
audio_sound_gain(glitch_sound, 0.4, 0)
5
audio_sound_pitch(glitch_sound, random_range(0.8, 1.2))
6
alarm[0] = 5
alarm[0]

if live_call() return global.live_result; application_surface_draw_enable(true) instance_destroy()