Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_pulley_elevator_Alarm_0

(view raw script w/o annotations or w/e)
1
elevator_can_collide = false
2
instance_create(obj_pl.x, obj_pl.y, obj_npc_clover_dunes_24)
3
if (global.party_member != noone)
4
{
5
    with (global.party_member)
6
    {
7
        var martlet_npc = instance_create(x, y, obj_martlet_npc)
8
        martlet_npc.npc_dynamic_depth = false
9
        martlet_npc.x_dest[0] = other.follower_x_target
10
        martlet_npc.y_dest[0] = other.follower_y_target
11
        martlet_npc.end_direction = "down"
12
        martlet_npc.can_walk = true
13
        martlet_npc.image_blend = global.party_member.image_blend
14
        instance_destroy()
15
    }
16
}
17
if instance_exists(obj_shadow_master)
18
    obj_shadow_master.inst_number_last = 0