I see two things that may be tripping you up. In your map_setup() function, you have both tools and water set to 1, but I think you probably meant to have one of those be 2 instead.
In your move_player() function, you have it adding 0.1 on button presses, rather than 1. That will definitely make player movement a bit odd.
I hope that helps! If not, let me know and I'll be happy to help debug further.