Deltarune (Chapter 3) script viewer
← back to main script listing
gml_Object_obj_susiezilla_collectible_text_Collision_obj_susiezilla_collectible_text
(view raw script w/o annotations or w/e)
|
1
|
if (x < other.x)
|
|
2
|
x -= 2;
|
|
3
|
if (x > other.x)
|
|
4
|
x += 2;
|
|
5
|
if (y < other.y)
|
|
6
|
y -= 2;
|
|
7
|
if (y > other.y)
|
|
8
|
y += 2;
|