Deltarune (Chapter 3) script viewer
← back to main script listing
gml_Object_obj_car_breakable_Collision_obj_susiezilla
(view raw script w/o annotations or w/e)
|
1
|
if (hitted == 0)
|
|
2
|
{
|
|
3
|
if (other.height > 4)
|
|
4
|
exit;
|
|
5
|
event_user(0);
|
|
6
|
if (other.x < x)
|
|
7
|
hspeed = 12;
|
|
8
|
else
|
|
9
|
hspeed = -12;
|
|
10
|
}
|