         else
           'running'
 
-      if samus.motion != m
-        console.log "Motion updated: #{samus.motion}"
+      # if samus.motion != m
+        # console.log "Motion updated: #{samus.motion}"
 
 
 class CollisionSpike

        grid = window.mapSpriteGrid
        bottomHits = tileSearchHorizontal(grid, newBottom, left,right-1)
        if bottomHits.length > 0
          newY = (Math.floor(newBottom/tileWidth) * tileWidth) - (samusHeight*(1-samusAnchorY))
          velY = 0 if velY > 0
        else
          topHits = tileSearchHorizontal(grid, newTop, left,right-1)
          if topHits.length > 0
            newY = (Math.floor(newTop/tileWidth) + 1) * tileWidth + (samusHeight*samusAnchorY)
            velY = 0 if velY < 0

        newBottom = newY


        leftHits = tileSearchVertical(grid, newLeft, newTop,newBottom-1)
        if leftHits.length > 0
          s = leftHits[0]
          newX = s.x + s.width + (samusWidth*samusAnchorX)
          velX = 0 if velX < 0
        else
          rightHits = tileSearchVertical(grid, newRight, newTop,newBottom-1)
          if rightHits.length > 0
            s = rightHits[0]
            newX = s.x - (samusWidth*(1-samusAnchorX))
            velX = 0 if velX > 0

        velocity.x = velX
        velocity.y = velY
