Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dunes_12_elevator_Create_0

(view raw script w/o annotations or w/e)
1
elevator_menu_open = false
2
elevator_solution = "none"
3
timer = 0
4
if (global.dunes_flag[4] >= 2)
5
    sprite_index = spr_dunes_13_elevator_fixed
6
if (obj_pl.x > 320)
7
{
8
    image_index = image_number - 1
9
    image_speed = -0.3
10
    obj_pl.image_alpha = 1
11
    audio_play_sound(snd_elevator_open, 1, 0)
12
}
13
else
14
    image_speed = 0