Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_death_screen_fade_out_retry_screen_Alarm_0

(view raw script w/o annotations or w/e)
1
script_execute(gml_Script_scr_battle_load)
2
script_execute(gml_Script_scr_determine_death_count_yellow)
3
instance_destroy()
4
switch global.battle_enemy_name
5
{
6
    case "flowey":
7
        room_goto(rm_battle_flowey Flowey - Phase 1 Battle Room)
8
        break
9
    case "flowey2":
10
        room_goto(rm_battle_flowey_phase_2 Flowey - Phase 2 Battle Room)
11
        break
12
    default:
13
        room_goto(rm_battle Battle room)
14
        break
15
}
16
17
instance_create(x, y, obj_battle_fade_in_screen)