anchor.diff:  	momentum_y = Clamp(momentum_y + amounty, -momentum_max, momentum_max)
   	calculate_momentum_speed()
   
  -/obj/item/device/flightpack/proc/update_cached_pull()
  -	if(!wearer)
  -		return
  -	if(!QDELETED(wearer.pulling))
  -		cached_pull = wearer.pulling
  -	if(istype(cached_pull))
  -		old_pull_turf = get_turf(cached_pull)
  -	else if(old_pull_turf)
  -		old_pull_turf = null
  -
  -/obj/item/device/flightpack/proc/handle_linked_movement(turf/oldTurf, turf/newTurf)
  -	if(!QDELETED(cached_pull))
  -		cached_pull.forceMove(oldTurf)
  -
   /obj/item/device/flightpack/intercept_user_move(dir, mob, newLoc, oldLoc)
   	if(!flight)
   		return
  -	update_cached_pull()
   	var/momentum_increment = momentum_gain
   	if(boost)
   		momentum_increment = boost_power
  
positive.code: 			A.open()
  		wearer.visible_message("<span class='warning'>[wearer] rolls sideways and slips past [A]</span>")
  		var/turf/target = get_turf(A)
  		var/turf/old = get_turf(wearer)
  		if(istype(A, /obj/machinery/door/window) && (get_turf(wearer) == get_turf(A)))
  			target = get_step(A, A.dir)
  		update_cached_pull()
  		wearer.forceMove(target)
  		handle_linked_movement(old, target)
  	return pass
  
  
  /obj/item/device/flightpack/proc/mobknockback(mob/living/victim, power, direction)
  	if(!ismob(victim))
  		return FALSE
  	update_cached_pull()
  	var/turf/old = get_turf(wearer)
  	var/turf/T = get_turf(victim)
  	wearer.forceMove(T)
  	handle_linked_movement(old, T)
  	wearer.visible_message("<span class='notice'>[wearer] flies over [victim]!</span>")
  
  /obj/item/device/flightpack/proc/victimknockback(atom/movable/victim, power, direction)
  
negative.code: 	wearer.movement_type |= FLYING
  	wearer.pass_flags |= flight_passflags
  	usermessage("ENGAGING FLIGHT ENGINES.")
  	wearer.floating = TRUE
  	wearer.visible_message("<font color='blue' size='2'>[wearer]'s flight engines activate as they lift into the air!</font>")
  	//I DONT HAVE SOUND EFFECTS YET playsound(
  	flight = TRUE
  	update_slowdown()
  	update_icon()
  	ion_trail.start()
  
  