Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_lightsource_behind_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 (_scanx >= bbox_left && _scanx <= bbox_right && _scany >= bbox_top && _scany <= bbox_bottom)
5
    hit = true;