Undertale script viewer
← back to main script listing
gml_Object_obj_asriel_swordmaster_Other_19
(
view raw script w/o annotations or w/e
)
1
if (abs(x - thisx) < 2)
2
x = thisx;
3
if (x > thisx)
4
x -= 1;
5
if (x < thisx)
6
x += 1;