Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_asset_steamworks_04_pipe_side_Other_76

(view raw script w/o annotations or w/e)
1
if (layer_instance_get_instance(ds_map_find_value(event_data, "element_id")) == id && ds_map_find_value(event_data, "event_type") == "sprite event")
2
{
3
    switch ds_map_find_value(event_data, "message")
4
    {
5
        case "steam_sound":
6
            var steam_sound = audio_play_sound(snd_pinkgoo_steam, 1, 0)
7
            audio_sound_pitch(steam_sound, random_range(0.8, 1))
8
            audio_sound_gain(steam_sound, 0.5, 0)
9
            break
10
    }
11
12
}