Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_shutta_photo_controller_Collision_obj_shutta_photo_annoyingdog

(view raw script w/o annotations or w/e)
1
if (state == "capture")
2
{
3
    array_push(subjects, other.id);
4
    if (point_distance(x, y, other.x + 40, other.y + 40) < centered_distance)
5
        endmessage = stringsetloc(
* Great dog picture!
* Well centered!
"* Great dog picture!&* Well centered!", "obj_shutta_photo_controller_slash_Collision_obj_shutta_photo_annoyingdog_gml_7_0"
);
6
    else
7
        endmessage = stringsetloc(
* Dog picture was not centered well!
"* Dog picture was not centered well!", "obj_shutta_photo_controller_slash_Collision_obj_shutta_photo_annoyingdog_gml_11_0"
);
8
    instance_destroy(other);
9
}