Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_clover_dunes_12_Alarm_0

(view raw script w/o annotations or w/e)
1
if instance_exists(obj_stresso)
2
{
3
    obj_stresso.active = true
4
    instance_destroy()
5
}
6
else
7
{
8
    scr_cutscene_end
scr_cutscene_end

function scr_cutscene_end() //gml_Script_scr_cutscene_end { global.cutscene = false obj_pl.alarm[0] = 1 }
()
9
    global.current_room_overworld = room_get_name(room)
10
    instance_create(0, 0, obj_elevator_controller)
11
    trs = instance_create(0, 0, obj_transition)
12
    with (trs)
13
    {
14
        newRoom = 93
15
        xx = 160
16
        yy = 125
17
    }
18
}