Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_pulley_elevator_Create_0

(view raw script w/o annotations or w/e)
1
elevator_active = false
2
elevator_can_collide = true
3
elevator_next_room = -4
4
act = 0
5
scene = 0
6
timer = 20
7
pull_speed = 0
8
shake_strength = 1
9
player_x = 0
10
player_y = 0
11
follower_x_target = x + 20
12
follower_y_target = y + 14
13
target_y = 0
14
starting_y = y
15
if (room == rm_dunes_25 || room == rm_dunes_27)
16
    sprite_index = spr_pulley_elevator_dark
17
if (!instance_exists(obj_pulley_elevator_top))
18
    instance_create(0, 0, obj_pulley_elevator_top)