Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_death_screen_fade_out_flowey_Step_0

(view raw script w/o annotations or w/e)
1
image_alpha += 0.007
2
if (image_alpha >= 1 && no_loop == false)
3
{
4
    alarm[0] = 60
alarm[0]

script_execute(gml_Script_scr_battle_load) script_execute(gml_Script_scr_determine_death_count_yellow) instance_destroy() switch global.battle_enemy_name { case "flowey": room_goto(rm_battle_flowey Flowey - Phase 1 Battle Room) break case "flowey2": room_goto(rm_battle_flowey_phase_2 Flowey - Phase 2 Battle Room) break default: room_goto(rm_battle Battle room) break } var glitch = instance_create(x, y, obj_flowey_battle_screen_glitch_fight) glitch.persistent = true glitch.alarm[0] = 9 audio_play_sound(snd_flowey_glitch_yellow, 1, 0)
5
    no_loop = true
6
}