Check trade requirements before animation

The issue is, that checking availebility of money and items to sell is done after the animation, thus forcing the player to wait for the error.

I think it would be better, if it checks first, whether the player can afford it, and then just cancels and s/he does not have to wait for the animation, which is kinda annoying. (imo)

This PR fixes the issue.