Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_elevator_controller_Alarm_1

(view raw script w/o annotations or w/e)
1
scene = 2
2
if (global.route == 3)
3
    audio_play_sound(mus_elevator_broken, 1, 0)
4
else
5
    audio_play_sound(mus_elevator, 1, 0)
6
audio_play_sound(snd_rumble, 1, 1)
7
if (global.dunes_flag[4] < 3)
8
    alarm[2] = 660
alarm[2]

scene = 3 shake_int = 4 audio_play_sound(snd_elevator_start, 1, 0) audio_stop_sound(mus_elevator) audio_stop_sound(mus_elevator_broken) audio_stop_sound(snd_rumble) darkness_alpha = 0
9
else
10
    alarm[2] = 90
alarm[2]

scene = 3 shake_int = 4 audio_play_sound(snd_elevator_start, 1, 0) audio_stop_sound(mus_elevator) audio_stop_sound(mus_elevator_broken) audio_stop_sound(snd_rumble) darkness_alpha = 0