Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_22_energy_ball_Create_0

(view raw script w/o annotations or w/e)
1
speed = 8
2
var pl_x_diff = obj_pl.x - obj_steamworks_22_axis_throwing.player_x_last
3
direction = point_direction(x, y, (obj_pl.x + pl_x_diff * 15), obj_pl.y)
4
direction += irandom_range(-5, 5)