Undertale script viewer

← back to main script listing

gml_Object_obj_6gun_act_Step_0

(view raw script w/o annotations or w/e)
1
if (x < 0 && hspeed < 0)
2
    hspeed = -hspeed;
3
if (x > room_width && hspeed > 0)
4
    hspeed = -hspeed;