Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_ch2_blue_button_Alarm_0

(view raw script w/o annotations or w/e)
1
var _forcefield = instance_nearest(x - 160, y + 160, obj_forcefield);
2
if (!i_ex(_forcefield))
3
    exit;
4
with (_forcefield)
5
{
6
    stayVisible = 0;
7
    y -= 160;
8
    if (i_ex(solid1))
9
        solid1.y -= 160;
10
}