Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_credits_final_neutral_Other_4

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
switch room
4
{
5
    case rm_hotland_roof:
6
        camera_set_view_speed(view_camera[0], -1, -1)
7
        instance_destroy(obj_hotland_roof_light_controller)
8
        instance_destroy(obj_hotland_roof_cutscene_neutral)
9
        instance_destroy(obj_martlet_npc)
10
        break
11
    case 144:
12
        instance_destroy(obj_steamworks_04_controller)
13
        audio_stop_sound(snd_machinery)
14
        break
15
    case 127:
16
        instance_destroy(obj_wild_east_cutscene_manager)
17
        break
18
    case 59:
19
        instance_destroy(obj_determination)
20
        break
21
    case 31:
22
        instance_destroy(obj_determination)
23
        instance_destroy(obj_dalv)
24
        break
25
}
26
27
if (camera_target_current <= (array_length(target_room) - 1))
28
{
29
    camera_set_view_target(view_camera[0], -4)
30
    camera_set_view_pos(view_camera[0], (camera_start_x[camera_target_current] - 160), (camera_start_y[camera_target_current] - 120))
31
}