           if @man.body.velocity.x < move_boost and @man.body.velocity.x > 0
             @man.body.velocity.x = move_boost
 
-      negate = if @mouse_pos.x < @man.body.position.x then "-" else ""
+      negate = @mouse_pos.x < @man.body.position.x
       # jumping
       if grounded
         if move_left or move_right

        @playSfx('jump')

      # point the man+arm in direction of mouse
      animation_name2 = negate + animation_name
      if @sprite_man.animation isnt animation_name2
        @sprite_man.setAnimation animation_name2

      # selecting a different gun
      if @control_state[Control.SwitchToGrapple] and @equipped_gun isnt Control.SwitchToGrapple

          ani_name = "arm-flung"
        else
          ani_name = "arm"
        arm_animation = ani_name
      else
        arm_animation = @gun_animations[@equipped_gun]

      if @sprite_arm.animation isnt arm_animation
        @sprite_arm.setAnimation arm_animation
      if negate then @sprite_arm.scale.x = -1

      if @equipped_gun is Control.SwitchToGrapple
        claw_reel_in_speed = 400
