Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_boulder_machine_Create_0

(view raw script w/o annotations or w/e)
1
depth = (-y)
2
if (global.dunes_flag[16] > 0)
3
    return;
4
alarm[0] = 30
alarm[0]

var my_boulder = instance_create(x, (y - 27), obj_boulders_dunes_25b) with (my_boulder) parent_machine = other.id
5
if (!audio_is_playing(snd_machinery))
6
    audio_play_sound(snd_machinery, 1, 1)