Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_death_screen_fade_out_retry_screen_Step_0

(view raw script w/o annotations or w/e)
1
image_alpha += 0.15
2
if (image_alpha >= 1 && no_loop == false)
3
{
4
    alarm[0] = 30
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 } instance_create(x, y, obj_battle_fade_in_screen)
5
    no_loop = true
6
}