Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_train_snowball_Other_10

(view raw script w/o annotations or w/e)
1
if (falling)
2
{
3
    can_push = false;
4
    exit;
5
}
6
var _px = obj_homealone_heart.px;
7
if (place_meeting(x + _px, y, obj_solidblock) || place_meeting(x + _px, y, obj_traintrack_parent))
8
    can_push = false;
9
else
10
    can_push = true;