Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_cutscene_snowdin_16_Create_0

(view raw script w/o annotations or w/e)
1
if (global.snowdin_flag[17] > 0 || global.geno_complete[2] == true)
2
{
3
    instance_create((obj_martlet_snowdin_16.x + 13), obj_martlet_snowdin_16.y, obj_martlet_bridge_note)
4
    instance_destroy(obj_martlet_snowdin_16)
5
    instance_destroy()
6
    global.snowdin_flag[17] = 1
7
    return;
8
}
9
audio_sound_gain(snd_snowdin_bridge, 0, 0)
10
audio_sound_gain(mus_ambient_river, 0.2, 0)
11
if instance_exists(obj_transition)
12
{
13
    obj_transition.fade_in_speed = 0.025
14
    obj_transition.fade_out_speed = 0.025
15
}
16
scr_cutscene_start
scr_cutscene_start

function scr_cutscene_start() //gml_Script_scr_cutscene_start { global.cutscene = true obj_pl.state = gml_Script_scr_frozen_state obj_pl.image_index = 0 obj_pl.image_speed = 0 }
()
17
scene = 0
18
timer = 10
19
actor_martlet = 1493