Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_spikes_Step_0

(view raw script w/o annotations or w/e)
1
if (room == rm_darkruins_04 && global.flag[1 First Dark Ruins switch puzzle completion] == true)
2
    swit = true
3
if (swit == true)
4
{
5
    if place_meeting(x, y, obj_interactable)
6
        instance_destroy(instance_place(x, y, obj_interactable))
7
    image_index = 1
8
}
9
if (image_index == 1)
10
    solid = false
11
else
12
    solid = true