Ok... so I am on the wishing well level, and my code seems fine, the hero says "there is 104 gold", but he takes 2 steps and just stops. Does not collect gold. Am I doing something wrong? Here is my code:(Don't think this is a bug, but I could be wrong)`

You need to redefine the variable item. You defined the it before the while loop and because of that, it thinks that the old nearest item is still the nearest one. However, your hero says Non satis or Nimis, lightning will clear the field with a fresh field of coins. However, the variable item still references and old coin, so the system fails trying to look for that coin. Also, by not looping the moveXY, whenever the hero takes a coin, there will no longer be 104 coins and as a result, the coin field will refresh. A simple solution is to put it inside the while (true) loop: