Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dunes_4_controller_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
shift_layers = -1
4
if (instance_number(obj_dunes_4_controller) > 1)
5
{
6
    instance_destroy()
7
    return;
8
}
9
obj_shadow_collider.sprite_index = -4
10
if (obj_pl.y > 320)
11
    shift_layers = 0
12
else
13
    shift_layers = 1