Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_death_screen_fade_out_flowey_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
var glitch = instance_create(x, y, obj_flowey_battle_screen_glitch_fight)
18
glitch.persistent = true
19
glitch.alarm[0] = 9
20
audio_play_sound(snd_flowey_glitch_yellow, 1, 0)