Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_lightsource_Other_14

(view raw script w/o annotations or w/e)
1
hit = false;
2
var _scanx = obj_overworldheart.x + 10;
3
var _scany = obj_overworldheart.y + 10;
4
if (point_distance(x, y, _scanx, _scany) < (smallerLight / 2))
5
    hit = true;